@font-face {
    font-family: "BebasNeue";
    src: url('./components/fonts/Bebas_Neue/BebasNeue-Regular.ttf')
}

@font-face {
    font-family: "Rubik";
    src: url('./components/fonts/static/Rubik-Light.ttf')
}

* {
    box-sizing: border-box;
}

body {
    width: 100%;
    min-height: 100dvh;
    display: grid;
    grid-template-rows: auto 1fr auto;
    font-family: 'Rubik', sans-serif;
    background: 
        url('../images/pantheon3web.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0;
}

.header {
    grid-row: 1;
    width: 100%;
    min-height: 70px;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0 50px;
    background-color: black;
}


.header__logo {
    width: 10%;
    max-width: 150px;
    height: 100%;
    max-height: 50px;
}

.header__logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-fit: center;
}

.header__nav--primary ul {
    display: flex;
    flex-direction: row;
    list-style-type: none;
    gap: 20px;
}

a {
    color: white;
    font-family: 'Rubik';
}

a:link {
    text-decoration: none;
}


.header__nav--secondary {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-left: auto;       
    gap: 25px;                 
}   
svg {
    color: white;
}

.main-page {
    grid-row: 2;
    display: grid;
    grid-template-rows: auto auto;
    width: 100%;
}

.hero {
    grid-row: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: start;
    padding: 0 50px 0 50px;
    animation-name: fadeUp;
    animation-duration: 3s;
}

.hero__text {
    max-width: 500px;
    color: rgba(255,255,255,0.85);
    font-family: 'Rubik';
    line-height: 1.5;
    margin: 0;
}

.hero__title { 
    margin: 0;
    font-family: 'BebasNeue', sans-serif;
    font-size: clamp(4rem, 12vw, 12rem);
    width: 100%;
    color: white;  
    letter-spacing: 4px;
    line-height: 0.9;
    margin-top: 20px;
}

.hero__action {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 500px;
    height: 47px;
    gap: 15px;
    margin: 15px 0 20PX 0;
}
.hero__button {
    width: 100%;
    height: 100%;
    font-family: 'Rubik';
    font-weight: bold;
    font-size: medium;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.hero__button--play{
    background-color: rgb(244, 246, 248);
} 
.hero__button--play:hover {
    background-color: rgb(210, 210, 210, 0.5);
}

.hero__button--information {
    background-color: rgb(255, 255, 255, 0.4);
    color: white;
}
.hero__button--information:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.section-carousels {
    grid-row: 2;
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow-x: hidden;
    padding: 0 0 10px 50px;
    height: 100%;
}   

.carousel {
    padding-top: 15px;
    display: flex;
    flex-direction: row;
    flex: 0 0 auto;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 8px;
    scroll-snap-type: x mandatory;
}

.carousel__titles {
    color: white;
    font-family: 'BebasNeue', sans-serif;
    margin: 0;
}


.film {
    flex: 0 0 auto;
    width: 250px;
    height: 160px;
    scroll-snap-align: start;
}

.film img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: 3px;
    transition: transform 1s ease;
    cursor: pointer;
}



.film:hover img {
    transform: scale(1.1);
    object-fit: contain;
}

.footer {
    grid-row: 3;
    height: 100%;
}

.footer__information {
    display: flex;
    flex-direction: column;
}

.footer__information ul {
    display: flex;
    flex-direction: row;
    list-style: none;
    padding-left: 50px;
    gap: 20px;
}

.footer__information--links {
    color: rgb(156, 156, 156);
}

.footer p {
    padding-left: 50px;
    color: rgb(156, 156, 156);
    margin: 0;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(100px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@media ( max-width: 480px ) {
   

    .header {
        padding: 0 15px;
    }

    .header__logo {
        width: 30%;
        height: 100%;
    }

    .header__nav--primary {
        display: none;
    }

    .header__nav--secondary {
        margin-left: auto;
        gap: 15px;
    }

    .hero {
        padding: 0 15px;
    }

    .hero__text {
        width: 350px;
        font-size: small;
    }

    .hero__action {
        width: 250px;
    }

    .hero__button {
        height: 30px;
        font-size: small;
    }

    .section-carousels {
        padding: 0 0 10px 15px;
    }

    .carousel {
        overflow-x: auto;
    }

    .footer__information ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        padding-left: 15px;
        gap: 10px 20px;
    }

    .footer__information p {
        padding: 0 0 5px 15px;
    }
    
    html, body {
        overflow-x: hidden;
    }

}
