.reveal {
    opacity: 0;
    transform: translateY(60px);
}

header#hero {
    width: 100%;
    aspect-ratio: 21/9;
    position: relative;
    color: var(--color-white);
}

#hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--color-black);
    opacity: .5;
    /* couleur + opacité */
    pointer-events: none;
}

#hero::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    /* background: radial-gradient(
        circle at bottom center,
        rgb(7, 50, 45, 1) 0%,
        rgb(7, 50, 45, .5) 50%,
        rgb(7, 50, 45, .3) 90%,
        transparent 100%
    ); */
    background: linear-gradient(0deg, rgb(224, 255, 243, 1) 1%, rgba(224, 255, 243, 0) 5%);
    z-index: 0;
}

#hero-vid {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

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

#hero-texts {
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 50%;
    padding: 0 var(--margin);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

#hero-texts h1{
    filter: drop-shadow(0px 0px 15px rgb(27, 38, 59, .25));
    font-size: 64px;
}

#wrapper {
    min-height: 35vh;
    width: 70%;
    margin: auto;
}

section#info{
    width: 100%;
    margin: calc(var(--gutter)*4) 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: var(--gutter);
}

#info-title{
    margin-bottom: var(--gutter);
}

#info #info-fig{
    width: 100%;
    aspect-ratio: 21/9;
}

#info-img{
    border-radius: 20px;
    box-shadow: 0px 0px 15px -3px rgb(7, 50, 45, .25);
}

.info-button{
    max-width: 50%;
    margin: auto;
    background: var(--color-primary);
}

.info-button:hover{
    background: var(--color-secondary);
}

section#video{
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: calc(var(--gutter)*2);
    margin: calc(var(--gutter)*4) 0;
}

#video-container{
    width: 100%;
    aspect-ratio: 16/9;
    box-shadow: 0px 0px 15px -3px rgb(7, 50, 45, .25);
}

@media screen and (max-width: 1100px) {
    #hero{
        height: 550px;
    }
}

@media screen and (max-width: 750px) {
    #wrapper{
        width: 100%;
        padding: 0 var(--margin);
    }
}
