@import url('https://fonts.googleapis.com/css2?family=Doto:wght@100..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

h1 {
    font-family: "Doto", sans-serif;
    font-weight: 600;
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
}

.navbar {
   display: flex;
   justify-content: space-around;
   align-items: center;
   background: #2dce10;
   padding: 0.5%;
   bottom: 200px;
}

.title {
    font-family: "Doto", sans-serif;
    font-weight: 900;
    transition: font-weight 0.45s ease-out;
}

.title :hover {
    font-family: "Doto", sans-serif;
    font-weight: 300;
    transition: font-weight 0.45s ease-out;
}

body {
    background-color: black;
}

.content {
    color: white;
}

.tagline {
    font-family: "Inter", sans-serif;
    color: white;
}

#results { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 1rem; 
}

.card { 
    background: rgb(61, 61, 61); 
    border-radius: 8px; 
    box-shadow: 0 2px 6px rgba(0,0,0,0.1); 
    padding: 1rem; 
    text-align: center; 
    font-family: "Inter", sans-serif;
}

.card img { 
    width: 100%; 
    height: auto;
    border-radius: 6px; 
}

.search {
    padding: 1rem;
    text-align: center;
}

input {
    border: 1rem #2dce10;
    background-color: #333;
    color: #ffff;
}

button {
    border: 1rem #2dce10;
    background-color: #333;
    color: #ffff;
}

a {
    text-decoration: none; 
    color: inherit;
}

.results {
    text-align: center;
}


/* Modal styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Enable scrolling if needed */
    background-color: rgba(0, 0, 0, 0.7); /* Darker background */
    font-family: "Inter", sans-serif;
}

/* Modal content */
.modal-content {
    background-color: #222; /* Darker background */
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    color: white; /* Text color in modal */
    font-family: "Inter", sans-serif;
}

.modal-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.modal-album-art {
    width: 150px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
}

h2 {
    font-family: "Doto", sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    text-align: center;
}

/* Close button */
.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-btn:hover,
.close-btn:focus {
    color: white;
    text-decoration: none;
    cursor: pointer;
}

/* Track list styles */
.track-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    color: white;
}

.track-list li {
    margin: 10px 0;
    font-size: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.star-rating {
    display: inline-block;
    cursor: pointer;
}

.star {
    font-size: 20px;
    color: grey;
    margin-right: 5px;
}

.star:hover,
.star.selected {
    color: gold;
}
