@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Geom:ital,wght@0,300..900;1,300..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dela+Gothic+One&display=swap');

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    paint-order: stroke fill;
}


body{
    font-family: "Inter", sans-serif;
}

.line {
    display: block;
}

.t-italic{
    font-style: italic;
}

.t-bold{
    font-weight: bold;
}

nav{
    background: #ff3b3b;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);

    height: 70px;

    display: flex;
    justify-content: space-around;
    align-items: center;
}

nav .logo img{
    height: 50px;
    cursor: pointer;
    transition: 250ms all ease;
    transform: scale(1.2) rotate(-1deg);
}

nav .logo img:hover{
}

nav ul{
    display: flex;
    gap: 0.8rem;
    list-style: none;
}

nav ul li a{
    text-decoration: none;
    color: rgba(255, 255, 255, 0.95);
}

nav ul li a:hover{
    color: rgba(255, 255, 255, 1);
}

nav ul li .button{
    padding: 0.8rem 0.95rem;
    color: rgb(0, 0, 0, 0.8);
    background: rgba(255, 255, 255, 1);
    
    border-radius: 50px;

    font-weight: bold;
    font-family: sans-serif;

    transition: 200ms all ease;
}

nav ul li .button:hover{
    color: rgb(0, 0, 0, 1);
    background: rgb(209, 209, 209);
    transform: translateY(10px);
}


section{
    
    margin: auto;
}

.hero{

    position: relative;


    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 2.25rem;

    height: calc(100vh - 70px);

}

.hero p{
    color: rgb(0, 0, 0, 0.8);
    text-align: center;
    max-width: 600px;
}

.hero .buttons{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}

.hero .buttons a.active{
    color: rgba(255, 255, 255, 1);
    background: rgb(255, 59, 59);

    border: 1px solid transparent;
}


.hero .buttons a{
    padding: 0.8rem 1rem;

    color: #ff3b3b;
    background: transparent;
    
    border: 1px solid #ff3b3b;
    border-radius: 50px;
    
    font-weight: 500;
    text-decoration: none;

    transition: 300ms all ease;
}

.hero .buttons a:hover{
    color: rgba(255, 255, 255, 1);
    background: rgb(255, 59, 59);
    transform: translateY(-5px) scale(1.05);
}

.hero .buttons a:nth-child(odd):hover {
    rotate: -1deg;
}

.hero .buttons a:nth-child(even):hover {
    rotate: 1deg;
}

.hero-header {
    max-width: 900px;
    text-align: center;
    line-height: 1.25em;
    
    font-size: clamp(2.3rem, 3.5vw, 4rem);

    color: rgba(34, 34, 34, 1);

    font-family: "Dela Gothic One";
    font-weight: 500;

    opacity: 0;
}

.hero-header span{
    rotate: -1deg;
    padding: 0.2rem 0.4rem;
    border-radius: 0.4rem;
    color: #ff3b3b;
    background: #fff0f0;
}

.hero-info{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    justify-content: center;
    align-items: center;
    gap: 1rem;


}

.hero-info *{
    color: rgba(34, 34, 34, 1);
}

.hero-images img{
    max-width: 120px;
    position: absolute;
    top: 0;
    left: 0;
}



.movies-header{
    text-align: left;
    line-height: 50px;
    font-size: 1.7rem;
    
    border-left: 6px solid rgb(255, 59, 59);
    padding-left: 12px;
    color: rgb(255, 59, 59);

    font-family: "Dela Gothic One";
    font-weight: 500;

    margin-bottom: 20px;
}

.movies-header img{
    height: 100px;
    transform: scale(1);
}

.movies-section {
    margin-top: 40px;
    margin-bottom: 40px;
    padding-left: 4.5rem;
    padding-right: 4.5rem;
}


.movies-container {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.movie {
    width: 100%;
    max-width: 100%; /* Remove the 225px cap so grid controls sizing */
    height: auto;

    position: relative;

    background-color: rgba(0, 0, 0, 1);
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;

    font-family: sans-serif;
    font-weight: 400;

    border-radius: 1rem;
    overflow: hidden;

    cursor: pointer;

    transition: 300ms all ease;
}

.movie:nth-child(odd):hover {
    transform: scale(1.05) rotate(1deg);
}

.movie:nth-child(even):hover {
    transform: scale(1.05) rotate(-1deg);
}

.movie img{
    width: 100%;
    /* height: 100%; */
    /* object-fit: cover; */

    display: block;
    transition: 300ms all ease;
}

.movie:hover img{
    opacity: 50%;
    transform: scale(1.08);
    filter: blur(1px);
}

.movie:hover .movie-title{
    transform: translate(-50%, -50%);
}


.movie .movie-title{
    padding: 0.4rem 0.6rem;
    border-radius: 2rem;

    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%) scale(0);

    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -1px;
    text-align: center;
    color: rgba(255, 255, 255, 1);


    transition: 400ms all ease;
}

.movie span{
    padding: 0.4rem 0.6rem;
    border-radius: 0.8rem;

    position: absolute;

    bottom: -100px;
    /* left: 10px; */

    margin-left: 10px;
    margin-right: 10px;

    background: rgba(255, 255, 255, 1);

    transition: 350ms all ease;
}

.movie:hover span{
    bottom: 10px;
}


.vote-section{
    padding: 1.5rem 2.5rem;

    margin-top: 1rem;
    margin-bottom: 3rem;


    display: flex;
    justify-content: space-evenly;
    align-items: center;
    text-align: center;

    border-radius: 1rem;
    border: 1px solid rgb(255, 59, 59);
    color: rgb(255, 59, 59);

    background: rgba(255, 250, 240, 1) url(../img/background.png);
    background-size: 120px;
    background-repeat: repeat;
}

.vote-section span{
    text-align: center;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: -1px;
    font-weight: 800;
    transform: scale(1.2) rotate(-2deg);
    -webkit-text-stroke: 4px rgb(130, 32, 32);
}

.vote-section a{
    padding: 0.8rem 1rem;

    color: rgb(255, 59, 59);;
    background: transparent;
    
    border: 1px solid rgb(255, 59, 59);
    border-radius: 50px;
    
    font-weight: 600;
    font-family: monospace;
    font-size: 0.95rem;
    text-decoration: none;

    backdrop-filter: blur(4px);

    transition: 300ms all ease;    
}

.vote-section a:hover{
    color: rgba(255, 255, 255, 1);
    background: rgb(255, 59, 59);
    transform: scale(1.05);        
}

.vote-section a:active{
    transform: scale(0.95);
}

.teams{
    margin-top: 40px;
    max-width: 1200px;

    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.team-header{
    text-align: left;
    text-transform: uppercase;
    line-height: 50px;
    font-size: 1.4rem;
    
    border-left: 6px solid rgb(255, 59, 59);
    padding-left: 12px;
    color: rgb(255, 59, 59);

    font-family: "Dela Gothic One";
    font-weight: 500;

    margin-bottom: 20px;
}

.team-container{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    gap: 1rem;
    list-style: none;
}

.team-container .team-member{
    flex: 1 1 auto;
    min-width: max-content;
    max-width: 300px;

    font-size: 1.3rem;
    color: rgb(159, 167, 182);
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
    border-radius: 1rem;
    padding: 1.5rem 2.1rem;
    cursor: pointer;
    
    text-align: center;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 0.1rem;

    transition: 200ms all ease;
}

.team-container .team-member:hover{
    color: rgb(136, 143, 156);
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.15) 0px 0px 0px 1px;
    transform: scale(1.05);
}

.team-member .member-socials{
    font-size: 1rem;
}

.team-member .member-socials a i{
    margin-right: 2px;
}

.team-member .member-socials a{
    color: rgb(136, 143, 156);
}


@media screen and (max-width: 768px){
    .movies-container{
        justify-content: center;
    }
}

@media screen and (max-width: 768px) {
    nav ul{
        display: none;
    }

    .vote-button{
        display: block;
    }

    .movies-section {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .movies-container {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
}

@media screen and (max-width: 480px) {
    .vote-section{
        flex-direction: column;
        gap: 2rem;
    }

    .movies-container {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }

    .movie .movie-title {
        font-size: 1rem;
    }
}