@font-face {
    font-family: 'Sailors', regular;
    src: url('/fonts/sailors-webfont.ttf') format('truetype');
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Sailors', regular sans-serif;
    background-color: #042e1a;
    color: #f1e2d5;
}

html,
body {
    overflow-x: hidden;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    z-index: 1000;
}

#nav-links {
    display: flex;
    position: fixed;
    gap: 1rem;
    flex: 1;
    justify-content: right;
}

#burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    position: absolute;
    right: 3rem;
    top: 1rem;
}

#burger .bar {
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 5px;
}

header nav {
    display: flex;
    flex-wrap: wrap;
    right: 3rem;
    gap: 1rem;
    flex: 1;
    justify-content: right;
    overflow-x: auto;
}

header nav a {
    color: #f1e2d5;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    white-space: nowrap;
    transition: color 0.3s;
}

header nav a:hover {
    color: #1db954;
}

section {
    padding: 100px 20px 60px;
    margin: 0 auto;
}

.lead {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1; /* под квадратное видео */
    min-height: unset;   /* убираем 100vh */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* box-sizing: border-box;
    overflow: hidden;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; */
}

.background-video {
    .background-video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover; /* заполняет всю секцию */
        z-index: -1;
    }
    /* position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    top: 0;
    z-index: -1; */
}

.album-link {
    position: absolute;
    top: 77%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 18vw;
    max-width: 200px;
    min-width: 100px;
    z-index: 10;
    transition: transform 0.3s ease;
}

.album-link:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.cover {
    text-decoration: none;
    color: #f1e2d5;
    background-color: rgba(42, 44, 47, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    width: 100%;
    height: 100%;
    margin: 0;
}

.bio {
    display: grid;
    grid-template-columns: minmax(auto, 500px) minmax(auto, 800px);
    grid-template-areas: "bio-image bio-text";
    column-gap: 40px;
    justify-content: center;
}

.bio-image {
    width: 100%;
    grid-area: bio-image;
    border-radius: 15px;
}

.bio-image:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease-in-out;
}

.bio-text {
    display: flex;
    flex-direction: column;
    gap: 26px;
    grid-area: bio-text;
    font-size: 18px;
    font-weight: 400;
    line-height: 29.34px;
    margin: 0;
}

.bio-title .bio-paragraph {
    font-size: 2rem;
    font-weight: 400;
    line-height: 29px;
}

.shows {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 40px;
    background: url(images/dark_cover.png) no-repeat center;
    background-size: cover;
    width: 100%;
    aspect-ratio: 8 / 5;
    margin: 0 auto;
}

.shows-content {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1000px;
    flex-wrap: wrap;
    justify-content: center;
    text-align: left;
}

.shows-title {
    font-weight: 900;
    font-size: 32px;
    line-height: 76px;
    max-width: 540px;
    text-align: left;
}

.shows-text-block {
    max-width: 500px;
}

.shows-text {
    font-family: 'Sailors', regular;
    font-size: 16px;
    color: #f1e2d5;
}

h2 {
    font-family: 'Sailors', regular;
    font-size: 2rem;
    margin-bottom: 1rem;
}

p {
    line-height: 1.6;
}

#In-beeld {
    color: #f1e2d5;
    padding: 60px 20px;
    text-align: center;
}

#In-beeld h2 {
    font-family: 'Sailors', regular;
    font-size: 2rem;
    margin-bottom: 20px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 35px;
    margin-top: 20px;
}

.gallery img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.gallery img:hover {
    transform: scale(1.05);
}

#subscribe {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 60px 20px;
    text-align: center;
    color: #f1e2d5;
}

.subscribe-container {
    max-width: 600px;
    margin: 0 auto;
}

.subscribe-container h2 {
    font-family: 'Sailors', regular;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.subscribe-container p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.subscribe-form {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.subscribe-form input[type="email"] {
    padding: 12px 16px;
    border: none;
    border-radius: 4px;
    min-width: 250px;
    font-size: 1rem;
    font-family: 'Open Sans', sans-serif;
}

.subscribe-form button {
    background-color: #1db954;
    color: #f1e2d5;
    padding: 12px 24px;
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: 'Open Sans', sans-serif;
}

.subscribe-form button:hover {
    background-color: #17a34a;
}

@media (max-width: 768px) {
    #nav-links {
        display: none;
        width: 100%;
        justify-content: center;
    }

    #burger {
        display: flex;
    }

    #nav-links.active {
        display: flex;
        flex-direction: column;
        width: 100%;
        background-color: rgba(9, 102, 71, 0.7);
        padding: 1rem;
        position: absolute;
        top: 57px;
        left: 0;
    }

    header {
        flex-direction: column;
        align-items: center;
    }
    
    lead {
        aspect-ratio: 1 / 1;
        
    }

    .album-link {
        top: 70%;
        width: 25vw;
        min-width: 80px;
    }

    .shows {
        aspect-ratio: auto;
    }

    .shows-title {
        font-size: 24px;
        line-height: 1.3;
    }

    .shows-text {
        font-size: 10px;
    }

    .bio {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .bio-text {
        font-size: 16px;
        line-height: 26px;
        width: 100%;
        max-width: 100%;
        padding: 0 16px;
        box-sizing: border-box;
    }

    .bio-image {
        width: 100%;
        max-width: 100%;
        padding: 0 16px;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    .lead {
        min-height: 280px;
    }

    .album-link {
        top: 65%;
        width: 23vw;
        min-width: 70px;
    }

    .bio-text {
        padding-left: 16px;
        padding-right: 16px;
    }

    .shows {
        min-height: 250px;
        padding: 16px;
    }

    .shows-text {
        font-size: 8px;
    }
}