@font-face {
    font-family: 'PlayfairDisplay';
    src: url('../fonts/PlayfairDisplay-Medium.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

html {
    scroll-behavior: smooth;
}

header {    
    position: sticky; 
    width: 100%;
    height: 100px;
    z-index: 1000;
    align-content: inline-block;
}

body {
    font-family: 'PlayfairDisplay';
    color: #ededed; 
    text-align: center;
    background: rgb(78, 97, 125);
    letter-spacing: 0.15em; 
    margin: 0;  
}


h2 {
    margin-top: 50px;
    margin-bottom: 20px;
    font-size: 35px;
}


header h1 {
    font-size: 30px;
    min-width: 320px;
    letter-spacing: 0.5em;
}

header h2 {
    font-size: 18px;
    min-width: 320px;
    margin: 0;
    letter-spacing: 0.3em;
}

p {
  line-height: 1.8;
}


#home {
    height: 100vh;  /* Full screen */
    width: 100%;
    background: url('../images/portraits/panorama.jpg') center/cover no-repeat;
    display: flex;
    justify-content: space-evenly;
    text-align: center; 
}

    .image-description {
        display: none;
    }
    
#new-album {
    display: flex;
    background-color: #f5f5f5;
    color: rgb(78, 97, 125);
    flex-direction: column; 
    align-items: center; 
    text-align: center;
    padding-bottom: 60px;
}

    .cover {
        width: 300px; 
        height: 300px;
        display: flex;
        justify-content: center;
        align-items: center; 
        overflow: hidden; 
        margin: 10px 50px;
    }

    .cover img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

    .album-title {
        margin-bottom: 10px;
        font-size: 15px;
        /* color: black; */
        letter-spacing: 0.7em; 
    }

    .quote {
        font-size: 12px;
        font-style: italic;
        
    }

    .author {
        font-size: 12px;
    }

    .credits {
        font-size: 11px;
    }

    .buy-link {
        display: inline-block;
        background: rgb(78, 97, 125);
        color: #ededed;
        text-decoration: none;
        font-weight: bold;
        padding: 15px 30px;
        border-radius: 50px;
        transition: background-color 0.3s, transform 0.2s;
        text-align: center;
        font-size: 16px;
        margin-top: 30px;
    }

    .buy-link:hover {
        background-color: #ff69b4;
        transform: scale(1.05);
    }
    
#discography {
    display: flex;
    gap: 20px;
    flex-direction: column;
    align-items: center;
    padding-bottom: 60px;
}
    .release-container {
        display: grid;
        grid-template-columns: repeat(2, minmax(200px, 1fr));
        justify-content: center;
    }

    .release {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        text-decoration: none;
        color: inherit;
        display: block;
        margin-top: 30px;
    }

#videos {
    display: block;
    background-color: #f5f5f5;
    color: rgb(78, 97, 125);
    text-align: center;
    width: 100%;
    padding-top: 1px;
    padding-bottom: 60px;
}

    .video-container iframe,
    .video-facade {
        width: 100%;
        max-width: 720px;
        height: 405px;
        margin-top: 20px;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .video-facade {
        position: relative;
        cursor: pointer;
    }

    .video-facade img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .play-btn {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: none;
        border: none;
        cursor: pointer;
        width: 68px;
        height: 48px;
        padding: 0;
        transition: transform 0.15s;
    }

    .play-btn:hover {
        transform: translate(-50%, -50%) scale(1.12);
    }

    .play-btn svg {
        width: 100%;
        height: 100%;
    }

    .video-title {
        margin-top: 8px;
        margin-bottom: 32px;
        font-weight: bold;
        font-size: 18px;
        /* color: black; */
        letter-spacing: 0.3em;
        white-space: pre;
    }

#calendar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    background-color: rgb(135, 135, 135);
    width: 100%;
    padding-bottom: 60px;
}

    .calendar-event {
        display: grid;
        grid-template-columns: 1fr 1fr 2fr 1fr; /* Adjust column widths */
        width: 80%;
        padding: 10px;
        border-radius: 5px;
        text-align: left;
        align-items: center;
        gap: 10px;
        grid-template-columns: 2fr 1fr 2fr 1fr;

    }
    
    .event-place, .event-date, .event-description, .event-btn {
        text-align: left;
        white-space: nowrap;
        overflow: auto;
        text-overflow: ellipsis;
    }
    
    .event-btn {
        text-align: center;
        color: white;
        padding: 5px 10px;
        border-radius: 3px;
        text-decoration: none;
        display: inline-block;
        border: 2px solid white;
        background: transparent;
        font-size: 12px;
    }

#magic-image {
    height: 100vh;
    background: url('../images/portraits/yellowchair.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
}

#magic-image::before {
    transform: translateY(var(--parallax));
}

#about {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    /* background-color: rgb(135, 135, 135); */
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

    .about h2 {
        margin-top: 20px;
    }


    .about-text-box {
        margin: 0;
        column-count: 1;
        column-gap: 20px;
        font-weight: 100;
        font-size:14px;
        width: 80%;
        max-width: 90%; 
        padding: 20px;
        box-sizing: border-box; 
        word-wrap: break-word; /* Ensures long words break properly */
        font-size: 15px;
        letter-spacing: 0.1em;
        margin-bottom: 50px;
        text-align: justify;
    }

footer {
    font-size: 10px;
    width: 35%;
    text-align: start;
    padding-left: 60px;
    padding-right: 60px;
    display: flex;
    flex-direction: column;
    margin-top: 10px;
}

    .top-btn {
        text-align: center;
        color: white;
        padding: 5px 10px;
        border-radius: 3px;
        text-decoration: none;
        display: inline-block;
        border: 2px solid white;
        background: transparent;
        font-size: 15;
        margin-bottom: 50px;
    }

    .social-icons {
        position: absolute;
        right: 100px;
    }

    .social-icons img {
        width: 40px;
        height: 40px;
        margin: 5px;
    }

@media (max-width: 768px) {
    h1 {
        font-size: 25px;
    }

    header h1 {
        font-size: 25px;
    }
    .header h2 {
        font-size: 18px;
    }

    h2 {
        font-size: 22px;
    }
    .description-box {
        font-size: 12px;
    }
    .quote {
        font-size: 10px;
    }

    .author {
        font-size: 9px;
    }

    .buy-link {
        font-size: 12px;
        padding: 20px;
        margin-top: 40px;
        padding-left: 40px;
        padding-right: 40px;
    }
    
    .cover {
        margin: 10px, 10px;
    }

    .video-container iframe,
    .video-facade {
        max-width: 480px;
        height: 270px;
    }
    
    .about-text-box {
        width: 90%;
        font-size: 12px;
        padding: 2px;
        column-count: 1;
    }
    .calendar-event {
        display: block;
        width: 80%;
        padding: 10px;
        border-radius: 5px;
        text-align: left;
        align-content: normal;
        gap: 10px;
        font-size: 10px;
        padding: 15px;
        margin-bottom: 40px;
    }

    .event-place, .event-date, .event-description {
        text-align: center;
        padding: 8px;
    }

    .event-btn {
        border: 1px solid white;
        position: absolute;
        right: 40%;
        left: 40%;
        margin-bottom: 20px;
        margin-top: 10px;
        font-size: 10px;
    }

    .footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        padding: 5px 10px;
    }
    
    .social-icons {
        display: inline-block;
        padding-top: 5px;
    }

    .social-icons img {
        width: 30px; 
        height: 30px;
    }

    .release-container {
        grid-template-columns: repeat(1, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    * {
        margin: 0;
        padding-bottom: 10px;
        box-sizing: border-box;
    }
    header h1 {
        font-size: 20px;
    }
    .header h2 {
        font-size: 20px;
    }
    .about-text-box {
        width: 90%;
        font-size: 15px;
        padding: 2px;
        column-count: 1;
    }
    .description-box {
        font-size: 11px;
    }
    .quote {
        font-size: 8px;
        width: 70%;
        line-height: 1.6;
    }

    .author {
        font-size: 8px;
    }
    .buy-link {
        font-size: 10px;
        padding: 15px;
        margin-top: 40px;
        padding-left: 40px;
        padding-right: 40px;
    }
    .release {
        display: flex;
    }
    .cover {
        max-width: 280px;
        max-height: 280px;
        margin: initial;
    }
    .calendar-event {
        display: block;
        width: 80%;
        padding: 10px;
        border-radius: 5px;
        text-align: left;
        align-content: normal;
        gap: 10px;
        font-size: 10px;
        padding: 15px;
    }

    .event-place, .event-date, .event-description {
        text-align: center;
        padding: 8px;
    }
    .event-btn {
        font-size: 7px;
        border: 1px solid white;
        position: absolute;
        right: 40%;
        left: 40%;
        margin-bottom: 20px;
        margin-top: 10px;
    }
    .video-title {
        font-size: 12px;
    }
    .video-container iframe,
    .video-facade {
        width: 100%;
        max-width: 320px;
        height: 180px;
        margin-top: 20px;
    }

    .album-title {
        font-size: 15px;
        width: 70%;
        padding: 4px;
    }

    .credits {
        width: 70%;
    }

    .top-btn {
        font-size: 15px;
    }

    .social-icons {
        position: initial;
        padding-top: 5px;
    }

    .social-icons img {
        width: 30px;
        height: 30px;
    }
    
    .footer {
        font-size: 8px;
        width: 100%;
        text-align: initial;
        padding: 5px, 5px;
        text-align: center;
    }
}
