html {scroll-behavior: smooth;
    *{/*outline: 1px solid red;*/ }}


[id] {
    scroll-margin-top: 89px;
    margin-bottom: 80px;
}
.main_div{
    min-height: 100vh;
    width: 100%;
}

#background-image{
    /* position: absolute; */
    top: 0;
    width: 100%;
    background-repeat: no-repeat;
    background-position: topS center;
    background-size: cover;
    height: calc(55vh + 220px);
    padding: 0;
    display: flex;
    justify-content: center;
}

#background-video {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    z-index: -1;
 }

 body{background-color: #fff; width: 100%}

 body *{
    font-family: 'Avenir Light', sans-serif;

}

 h1, h2, h3, h4, h5 {
    font-size: 30px;
    font-weight: initial;
    text-transform: uppercase;
    text-align: center;
    color: #000;
 }

 .text-lisible{
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    font-size: 30px;
    backdrop-filter: blur(7px);
    background-color: rgba(0, 0, 0, 0.2);
    padding: 10px 20px;
    border-radius: 10px;
 }
 
 /* Reset some default styles */
 body, html,div {
     margin: 0;
     padding: 0;
     display: flex;
     text-align: center;
     flex-direction: column;
     align-items: center;
 }
 
 /* Center the content and style the text */
 h1 {
     position: relative;
     font-size: 3em;
     margin-bottom: 20px;
 }
 
 
 label, p{
     display: block;
     text-align: center;
     /*width: calc(100% - 20px);*/
     margin: 10px 7%;
     font-size: 23px;
 }
 label, p, a { color: #000;}

 .img{
    box-shadow: 1px 1px 11px 2px rgb(0 0 0 / 61%);
    border-radius: 1em;
    max-height: 40vh;
    max-width: 41%
}
  
 footer *{color: #fff;margin: 10px 10px;
    width: calc(100% - 20px);}

img{pointer-events: none;}
/* ANIMATION IMAGE*/

.anim-up  {
    opacity: 0;
    transform: translateY(20vh);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.anim_translateY10vh.anim-up{
    transform: translateY(10vh);
}

.anim-up.visible {
    opacity: 1;
    transform: translateY(0);
}


.box{
    width: 70%;
    box-shadow: 1px 1px 11px 2px rgb(0 0 0 / 61%);
    border-radius: 1em;

    img{
        object-fit: cover;
        height: 40vh;
        width: 100%;
        border-radius: 1em 1em 0 0;
    }
}

@media screen and (max-width: 1000px) {
    .box{width: 100%;}
     label, p, a{
     font-size: 20px;}

     h1{font-size: 30px}

     h1, h2, h3, h4, h5 {
        width: 80%;
     }

     .img{
        max-height: 80vh;
        max-width: 80%
    }
}