/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

body {
  background-color: black;
  color: white;
  font-family: "Arial Narrow";
  padding-left: 50px;
  padding-right: 50px;
}

.site-logo {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 40px;
    height: auto;
    z-index: 9999;
    
}

a {
    color: #ffffff;
    text-decoration: underline;
}

a:hover {
    color: #ff0000;
    text-decoration: underline;
}

.album-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    max-width: 1000px;
}

.album {
    display: block;
    color: white;
    text-decoration: none;
    transition: transform 0.15s ease;
}

.album img {
    width: 100%;
    display: block;
    object-fit: cover;
    transition: opacity 0.15s ease;
}

.album span {
    display: block;
    margin-top: 10px;
    font-size: 16px;
    text-align: center;
}

.album:hover {
    transform: translateY(-4px);
}

.album:hover img {
    opacity: 0.8;
}

.album:hover span {
    color: #ff0000;
}

@media (max-width: 700px) {
    .album-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 450px) {
    .album-grid {
        grid-template-columns: 1fr;
    }
}

.album-page {
    max-width: 1000px;
    margin: 0 auto;
}

.album-header {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 50px;
    align-items: baseline;
}

.album-cover img {
    width: 100%;
    height: auto;
    display: block;
}

.album-info {
    margin-top: 15px;
    font-size: 14px;
    line-height: 1.5;
}

.album-info p {
    margin: 5px 0;
}

.album-details h1 {
    margin-top: 0;
    font-size: 42px;
    color: #ffffff;
}

.album-description {
    line-height: 1.7;
    color: #cccccc;
}

.tracklist {
    margin-top: 60px;
}

.tracklist h2 {
    color: #ff3333;
    border-bottom: 1px solid #ff3333;
    padding-bottom: 8px;
}

.track {
    display: grid;
    grid-template-columns: 50px 1fr 60px;
    padding: 12px 5px;
    border-bottom: 1px solid #222222;
}

.track-number {
    color: #777777;
}

.track-length {
    text-align: right;
    color: #999999;
}

.track:hover {
    background-color: #111111;
}

.track:hover .track-title {
    color: #ff3333;
}

@media (max-width: 700px) {

    .album-header {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .album-cover {
        max-width: 500px;
    }

    .album-details h1 {
        font-size: 32px;
    }

}