.details{
    display:flex;
    flex-direction:column;
    justify-content: center;
    align-items: center;
    font-family: 'Marcellus', sans-serif;

}



.hero{
    display:flex;
    justify-content: center;
    align-items: center;
    background-position-y: bottom;
    background-position-x: center;
    background-size: cover;
    height:100svh;
    width:100%;
    color: white;
    position: relative;
}

.hero video{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    pointer-events: none;
}
.hero video::-webkit-media-controls {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.hero h1{
    font-size: 80px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.card{
    display: flex;
    align-items: center;
    opacity:0;
    transform: scale(.6);
    transition: all .3s ease-in-out;
    width:100%;
}

.card.animate{
    opacity: 1;
    transform: scale(1);
}

.card .info{
    font-size: 23px;
    text-align: center;
    width:50%;
    box-sizing: border-box;
    padding:40px;
}


.card:nth-child(even){
    flex-direction: row-reverse;
}
.card picture{
   width:50%;
}

.card img{
    width: 100%;
    height: 500px;
    object-fit: cover;
}

@media screen and (max-width: 800px){
    .card{
        flex-direction: column-reverse;
        width:100%;
    }

    .card picture{
        width:100%;
    }

    .card .info{
        width:100%;
        padding:30px;
        box-sizing: border-box;
    }
    .hero h1{
        font-size: 50px;
        width:100%;
        text-align: center;
    }

    .card img{
        width: 100%;
        aspect-ratio: 1/1;
        object-fit: contain;
    }

    .card:nth-child(even){
        flex-direction: column-reverse;
    }
}