body{
    margin: 0;
}
                            /* Header */
.container {
    /*max-width: 1400px;*/
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
/* bouton top*/
#myBtn {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 20px; /* Place the button at the bottom of the page */
    right: 30px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    background-color: rgba(0, 0, 0, 0.61); /* Set a background color */
    color: white; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 15px; /* Some padding */
    border-radius: 50px; /* Rounded corners */
    font-size: 15px; /* Increase font size */
    height: 45px;
}
#myBtn:hover {
    background-color: #141414; /* Add a dark-grey background on hover */
}
/*video*/
.videoheader {
    opacity: 0.6;
    width: 100%;
    margin: 0;
    padding: 0;
    position: absolute;
}
/*navigation*/          
.nav-button{
    color: darkgray;
    display: none;
    width: 30px;
    font-size: 30px;
    cursor: pointer;
  
}
.navheader {
    display: flex;
    align-items: center;
    height: 850px;
    max-width: 100%;  
}
.nav {
    text-decoration: none;
    color:black;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: 2.7em;
    padding-right: 30px;
    opacity: 0;
    animation: visible 1.2s ease-out 1 forwards;
}
@keyframes visible {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}    
.position1 {
    animation-delay:0.2s
}
.position2 {
    animation-delay: 0.4s;
}
.position3 {
    animation-delay:0.8s
}
.position4 {
    animation-delay:1.2s
}
.position5 {
    animation-delay:1.6s
}
.position6 {
    animation-delay:2s
}

.nav:hover {
    color: white;
    padding-left: 2rem;
    letter-spacing: 3px;
}
.nav-list {
    display: flex;
    justify-content: space-between;
    list-style: none;
    z-index: 1000;
    width: 100%;
}
.logo-nav {
    object-fit: cover;
    width: 85px;
    position: absolute;
    top:10px;
    left: 20px;
    opacity: 1;
}
                            /* section video */
video {
    margin-left: 10%;
    margin-top: 70px;
    width: 80%;
    background-color: black;
}
.youtube-video{
    aspect-ratio: 16/9;
}

                            /* articles */
h1 {
    font-size: 2.5em;
    padding-left: 150px;
    padding-top: 30px;
}
.text{
    font-size: 1.2em;
    color: #575555;
    width: 60%;
    padding-left: 150px;
    padding-bottom: 50px;
}

                            /* article 1 */
#event{
    background-color: rgb(245, 241, 241);
    padding: 30px 0 50px 0;
}
                            /* carrousel */
                         
.video-wrapper {
    display: block;
    width: 100%;
    overflow-x: scroll;
    scrollbar-color: black rgb(251, 249, 249);
}
.video-list {
    display: block;
    white-space: nowrap;
    
}
.video-item {
    display: inline;
    
}
.video {
    width: 50%;
    margin: auto;
    height: 500px;
    margin-right: 20px;
}

/*.slides{
    width: 500%;
    height: 500px;
    display: flex;
}
.slides input{
    display: none;
} 
.slide{
    width: 20%;
    transition: 2s;
}
.slide .image{
    width: 800px;
    height: 500px;
}
.navigation-manual{
    position: absolute;
    padding-top: 10px;
    width: 800px;
    display: flex;
    justify-content: center;
}
.manual-btn{
    border: 2px solid black;
    padding: 5px;
    border-radius: 10px;
    cursor: pointer;
    transition: 1s;
}
.manual-btn:not(:last-child){
    margin-right: 40px;
}
.manual-btn:hover{
    background: black;
}
#radio1:checked ~ .first{
    margin-left: 0;
}
#radio2:checked ~ .first{
    margin-left: -20%;
}
#radio3:checked ~ .first{
    margin-left: -40%;    
}
#radio4:checked ~ .first{
    margin-left: -60%;    
}
#radio5:checked ~ .first{
    margin-left: -80%;    
}
.navigation-auto{
    position: absolute;
    display: flex;
    width: 800px;
    justify-content: center;
    padding-top: 10px;
}
.navigation-auto div{
    border: 2px solid black;
    padding: 5px;
    border-radius: 10px;
    transition: 1s;
}
.navigation-auto div:not(:last-child){
    margin-right: 40px;
}
#radio1:checked ~ .navigation-auto .auto-btn1{
    background: black;
}
#radio2:checked ~ .navigation-auto .auto-btn2{
    background: black;
}
#radio3:checked ~ .navigation-auto .auto-btn3{
    background: black;
} 
#radio4:checked ~ .navigation-auto .auto-btn4{
    background: black;
} 
#radio5:checked ~ .navigation-auto .auto-btn5{
    background: black;
}  
*/                        

                            /* article 2 */
.photo{
    width: 60%;
    margin-left: 20%;
}
#wedding{
    padding-top: 30px;
    padding-bottom: 40px;
}

                            /* article 3 */
#immobilier{
    background-color:rgb(245, 241, 241);
    padding-top: 30px;
    padding-right: 0;
    padding-bottom: 50px;
}

                            /* article 4 */
#vueaerienne {
    padding-top: 30px;
    padding-right: 0;
    padding-bottom: 50px;
}
                            /* article 5 */
#contact{
    background-color:rgb(245, 241, 241);
    padding-top: 30px;
    padding-right: 0;
    padding-bottom: 50px;
}
                            /* article 6 */
h2 {
    font-size: 2em;
    padding-left: 150px;
}                                    
.photolist {
    padding-left: 10px;
    text-align: center;
} 
.photolist2 {
    margin-top: 100px;
    margin-bottom: 50px;
}                           
.photogalerie{
    height: 200px;
    cursor: pointer;
} 
.photogalerie:hover {
    transform: scale(1.1);
}                           
                            /* article 7 */
.logo-partenaire {
    object-fit: cover;
    height: 100px;
}  
.logo-partenaire1 {
   height: 150px;
} 
#partenaire {
    display: flex;
    justify-content: space-around;
}                         

                            /* Footer */
.social-icon{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    background-color:rgb(245, 241, 241) ;
}
.icon{
    font-size:2em;
    padding: 15px;
    cursor: pointer;
    color: black;
}
.icon:hover{
    transform: scale(1.3);
}
.concept{
    background-color: black;
    height: 60px;
}
.name{
    color:beige;
    text-align: center;
    padding-top: 15px;
    margin: 0;    
}

                            /* media queries */

/* desktop */
@media screen and (max-width:1200px) {
    .logo-nav {
        width: 60px;
    }
    .navheader {
        height: 630px;
    }
    .nav{
        font-size: 1.8em;
    }
    #carrousel{
        height: 550px;
    }
}
/* petit pc portable*/
@media screen and (max-width: 1085px) {
    .logo-nav {
        width: 50px;
        top:0;
    }
    .navheader {
        height: 500px;
    }
    .nav {
        font-size: 1.5em;
    }
    .nav-list{
        padding: 10px;
    }
    .logo-partenaire {
        height: 60px;
        margin-bottom: 20px;
    }
}
/* tablette */
@media screen and (max-width:930px) {
    
    .nav{
        font-size: 1.3em;
        padding-right: 0;
    }
    .nav-list{
        padding: 10px;
    }
    .logo-nav{
        margin: 0;
        width: 50px;
        object-fit: cover;
    }
    .videoheader {
        height: 500px;
    }
    h1 {
        padding-top: 30px;
    }
    .presentation{
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .fondateur{
        width: 80%;
        height: 410px;
        margin-left: 10%;
        padding: 0;        
    }
    .slider{
        width: 80%;
        height: 500px;
    }
    .video {
        height: 400px;
    }
    .navigation-auto{
        width: 80%;
    }
    .navigation-manual{
        width: 80%;
    }
    .slide .image{
        width: 100%;
        height: 450px;
    }
    #partenaire {
        display: flex;
        flex-direction: column;
        align-items: center;
    }   
    .logo-partenaire {
        size: 0.8em;
    }                      
    
}

/* phone */
@media (max-width: 670px){
    #myBtn {
        color: transparent;
        background-color: transparent;
    }
    .nav-list {
        display: flex;
        flex-direction: column;
        margin-top: 60px;
    }
    .nav{
        font-size: 1.8em;
        color: white;
        padding-left: 30px;
    }
    
    .nav:hover{
        color: rgba(255, 255, 255, 0.659);
        padding-left: 2rem;
        letter-spacing: 3px;
    }
    .logo-nav {
        width: 40px;
        top:15px;
    }
    .navheader {
        height: 300px;
    }
    .videoheader {
        height: 300px;
    }
    /*toggle menu*/
    /*.burger {
        display:block;
        position:relative;
        padding:0;
        width:40px;
        height:40px;
        border:none;
        background:transparent;
        cursor:pointer;
    }
    .bar {
        display:block;    
        width:35px;
        height:3px;  
        border-radius:3px;
        background:gray; 
        transition: all .5s ease-in-out;   
    }
    .bar::before, .bar::after {
        content:"";
        width: 35px;
        height:3px;
        position:absolute; 
        left:0;  
        background:gray; 
        border-radius:3px;    
        transition: all .5s ease-in-out;
    }
    .bar::before {
        transform:translateY(-12px)
    }
    .bar::after {
        transform:translateY(12px)
    }
    .show-nav .bar {
        width:0;
        background:transparent;    
    }
    .show-nav .bar::before {
        transform:rotate(45deg);
    }
    .show-nav .bar::after {
        transform:rotate(-45deg);
    }
     */ 
    h1{
       padding-left: 10px;
       font-size: 2em;
    }
    .text{
        padding-left: 10px;
        width: 90%;
        font-size: 1em;
    }
    .photo{
        width: 100%;
        margin: 0;
    }
    .fondateur{
        width: 100%;
        margin-left: 0;
    }
    /* carrousel*/
    /*.slider{
        width: 100%;
        height: 300px;
    }
    .slide .image{
        width: 100%;
        height: 300px;
    }
    .navigation-auto{
        padding-top: 20px;
        width: 100%;
    }
    .navigation-manual{
        padding-top: 20px;
        width: 100%;
    }
    .slides{
        height: 300px;
    }*/
    .video-list {
        padding-left: 0px;
    }
    .video {
        width: 100%;
        height: 300px;
    }
    .photogalerie {
        width: 310px;
        object-fit:scale-down;
    }
    #partenaire {
        display: flex;
        flex-direction: column;
        align-items: center;        
    }   
    .logo-partenaire {
        size: 0.8em;
    }                      
    
}