﻿

:root {
    --text-dark: #0d213f;
    --text-light: #767268;
    --extra-light: #ffffff;
    --max-width: 1200px;
}

header {
    position: relative;
    height: 100vh;
    overflow: hidden;
   
}
    /*header { cũ nè
    background-image: url(background.mp4);
    background-repeat: no-repeat;
    background-size: cover;
    color: red !important;
}*/


    header::before {
        content: "";
        background: rgba(1, 0, 19, 0.45);
        position: absolute;
        bottom: 0;
        left: 0;
        top: 0;
        right: 0;
    }

* {
    padding: 0;
    margin: 0;
    box-sizing: inherit;
}

.section_container {
    max-width: var(--max-width);
    margin: auto;
    padding: 5rem 1rem;
}

.section_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.section_title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section_subtitle {
    font-size: 1.2rem;
    color: white;
    max-width: calc(var(--max-width) / 2);
}

.btn {
    padding: 0.75rem 2rem;
    outline: none;
    border: none;
    font-size: 1rem;
    color: var(--extra-light);
    background-color: red;
    border-radius: 5rem;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10;
}

    .btn:hover {
        background-color: var(--primary-color-dark);
    }

a {
    text-decoration: none;
}

img {
    width: 100%;
    display: block;
}

video {
    width: 100%;
    display: block;
}

body {
    font-family: 'Be Vietnam Pro', sans-serif;
}

nav {
    padding: 1rem;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--max-width);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav_logo {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
}

    .nav_logo span {
        color: var(--primary-color);
    }

    .nav_logo img {
        width: 45px;
        border-radius: 100%;
    }

.nav_links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.link a {
    padding: 0 1rem;
    transition: 0.3s;
    color: white;
}

    .link a:hover {
        color: var(--primary-color);
    }

header {
    background-color: var(--sencondary-color);
}

.header_container {
    min-height: 100vh;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.header_image {
    position: relative;
}

    .header_image img {
        position: absolute;
        top: 50%;
        left: 50%;
        border: 0.5rem solid var(--extra-light);
        border-radius: 2rem;
        box-shadow: 5px 5px 30px rgba(0,0,0,0.1);
    }

        .header_image img:nth-child(1) {
            max-width: 350px;
            transform: translate(-75%, -50%);
        }

        .header_image img:nth-child(2) {
            max-width: 250px;
            transform: translate(0%, -25%);
        }

    .header_image iframe {
        position: absolute;
        top: 50%;
        left: 50%;
        max-width: 350px;
        transform: translate(-50%, -50%);
        border: 0.5rem solid var(--extra-light);
        border-radius: 2rem;
        box-shadow: 5px 5px 30px rgba(0,0,0,0.1);
    }

    .header_image iframe {
        transform: translate(0%, -60%);
    }

    .header_image video {
        position: absolute;
        top: 50%;
        left: 50%;
        max-width: 350px;
        transform: translate(0, -50%);
        border: 0.5rem solid var(--extra-light);
        border-radius: 2rem;
        box-shadow: 5px 5px 30px rgba(0,0,0,0.1);
    }

    .header_image video {
        transform: translate(0%, -60%);
    }


.header_content {
    display: flex;
    align-items: center;
    justify-content: center;
}

    .header_content > div {
        max-width: 400px;
        display: grid;
        gap: 1rem;
    }

    .header_content .sub_header {
        font-size: 1rem;
        font-weight: 600;
        color: var(--primary-color);
    }

    .header_content h1 {
        font-size: 3rem;
        line-height: 4rem;
        font-weight: 800;
        color: white;
        z-index: 1;
    }

    .header_content .action_btns {
        display: flex;
        align-items: center;
        gap: 2rem;
        margin-top: 1rem;
    }

.story {
    display: flex;
    align-items: center;
    gap: 2rem;
    cursor: pointer;
}

.video_image {
    position: relative;
}

    .video_image img {
        width: 60px;
        height: 60px;
        border-radius: 100%;
        box-shadow: 5px 5px 30px rgba(0,0,0,0.1);
    }

    .video_image span {
        position: absolute;
        top: 50%;
        left: 100%;
        transform: translate(-50%, -50%);
    }

        .video_image span i {
            padding: 0.3rem 0.3rem 0.4rem 0.3rem;
            font-size: 1rem;
            color: red;
            background-color: var(--extra-light);
            border-radius: 100%;
            box-shadow: 5px 5px 30px rgba(0,0,0,0.1);
        }

.story > span {
    font-size: 1rem;
    font-weight: 600;
    /*color: var(--text-dark);*/
    color: var(--extra-light);
}
/*TN thêm*/
.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#musicToggle {
    top: 10px;
    right: 20px;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 45px;
    /* color: white; */
    font-size: 24px;
    /* cursor: pointer; */
    /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    background: transparent;
}

.hidden {
    display: none;
}
.spotify {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 35%;
    z-index: 9999;
}
@media screen and (max-width: 767px) {
    .spotify {
        position: fixed;
        bottom: 0;
        right: 0;
        width: 100%;
        z-index: 9999;
     
    }
    .header_content {
        display: block;
        align-items: center;
        justify-content: center;
    }
    .header_container {
        min-height: 100vh;
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 2rem;
        padding: 11rem 2rem 0 2rem;
    }

    .header_image {
        position: relative;
    }

        .header_image img {
            position: absolute;
            top: 50%;
            left: 50%;
            border: 0.5rem solid var(--extra-light);
            border-radius: 2rem;
            box-shadow: 5px 5px 30px rgba(0,0,0,0.1);
        }

            .header_image img:nth-child(1) {
                max-width: 50%;
                transform: translate(-100%, -50%);
            }

            .header_image img:nth-child(2) {
                max-width: 50%;
                transform: translate(0%, -25%);
            }

        .header_image iframe {
            position: absolute;
            top: 50%;
            left: 50%;
            max-width: 50%;
            transform: translate(-50%, -50%);
            border: 0.5rem solid var(--extra-light);
            border-radius: 2rem;
            box-shadow: 5px 5px 30px rgba(0,0,0,0.1);
        }

        .header_image iframe {
            transform: translate(0%, -60%);
        }

        .header_image video {
            position: absolute;
            top: 50%;
            left: 50%;
            max-width: 60%;
            transform: translate(-15%, -54%);
            border: 0.5rem solid var(--extra-light);
            border-radius: 2rem;
            box-shadow: 5px 5px 30px rgba(0,0,0,0.1);
        }


    .header_content h1 {
        font-size: 1.8rem;
        line-height: 2.4rem;
    }

    .header_content .sub_header {
        font-size: 0.9rem;
    }

    .btn {
        font-size: 0.9rem;
        padding: 0.6rem 1.4rem;
    }
}
