.permanent-marker-regular {
    font-family: "Permanent Marker", cursive;
    font-weight: 400;
    font-style: normal;
}
  
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;
}
/*navigation*/          
.sticky-section{
    position: fixed;
    width: 100%;
    z-index: 1000;
}
.nav-button{
    color: darkgray;
    display: none;
    width: 30px;
    font-size: 30px;
    cursor: pointer;
  
}
.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: black;
    height: 100px;
    max-width: 100%;
    padding: 10px;
}
.nav {
    text-decoration: none;
    color: darkgray;
    font-size: 1em;
    padding-right: 25px;
}
.nav:hover {
    color: white;
}
.nav-list {
    display: flex;
    list-style: none;
}
.logo-nav {
    object-fit: cover;
    width: 85px;
}
.name-nav{
    margin-left: -280px;
    font-family: "Permanent Marker", cursive;
    font-weight: 400;
    font-style: normal;
    color: white;
    font-size: 3em;
}
.burger {
    display: none;
}
                            /* section video */
video {
    margin-left: 10%;
    margin-top: 70px;
    width: 80%;
    background-color: black;
}
.youtube-video{
    aspect-ratio: 16/9;
}

                            /* articles */
h1 {
    font-family: "Permanent Marker", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 2.5em;
    padding-left: 70px;
    padding-top: 50px;
}
.text{
    font-size: 1.2em;
    color:black;
    padding-left: 70px;
    padding-bottom: 50px;
    padding-right: 20px;
}
h2{
    font-family: "Permanent Marker", cursive;
    font-weight: 400;
    font-style: normal;
    padding-left: 70px;
    font-size: 1.2em;
}
.phrase{
    font-family: "Permanent Marker", cursive;
    font-weight: 400;
    font-style: normal;
    width: 100%;
    text-align: center;
    margin-left: 0;
    padding-left: 0;
    font-size: 1.7em;
}

                            /* article 1 */
#quisommesnous{
    padding-top: 80px;
    padding-right: 0;
    padding-bottom: 50px;  
}
.presentation{
    display: flex;
}
.fondateur{
    object-fit: cover;
    width: 50%;
    height: 350px;
    padding: 10px;
}
.text-fondateur{
    padding-top: 10px;
    font-size: 1.3em;
    width: 80%;
    font-style: italic;
}
                            /* article 2 */
#pro{
    background-color: rgb(234, 229, 229);
    padding: 30px 0 50px 0;
}
.list{
    padding-top: 50px;
    padding-bottom: 100px;
    display: flex;
    justify-content: space-around;
    list-style-type: none;
    animation: loadservice 1.2s 1 forwards;
}
.list-service{
    margin-right: 20px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    text-align: center;
    padding: 20px;
    background-color: srgb(240, 244, 244);
}
@keyframes loadservice{
    0%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}
.service1{
    animation-delay: 0.2s;
}
.service2{
    animation-delay: 0.4s;
}
.service3{
    animation-delay: 0.6s;
}
.service4{
    animation-delay: 0.8s;
}
.service5{
    animation-delay: 1s;
}
.service{
    padding-left: 70px;
}
h3{
    font-family: "Permanent Marker", cursive;
    font-weight: 400;
    font-style: normal;
    padding-left: 70px;
    font-size: 1.3em;
}
.title{
    font-size: 1.7em;
    font-style: oblique;
}
                            /* carrousel */
.slider{
    width: 800px;
    height: 500px;
    overflow: hidden;
    margin: auto;
    margin-bottom: 50px;
}
.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%;    
}
.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-color: black;
}
#radio2:checked ~ .navigation-auto .auto-btn2{
    background-color: black;
}
#radio3:checked ~ .navigation-auto .auto-btn3{
    background-color: black;
}  
                         

                            /* article 3 */
.photo{
    width: 60%;
    margin-left: 20%;
    margin-bottom: 50px;
}
#mariage{
    padding-top: 30px;
    padding-bottom: 40px;
    background-color: white;
}
cite{
    font-family: "Permanent Marker", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 1.5em;
    display: block;
    width: 100%;
    text-align: center;
}
.list-etape{
    display: flex;
    list-style-type: none;
    justify-content: space-around;
    margin-top: 100px;
    animation: loadetape 1s 1 forwards;
    padding-bottom: 100px;
}
.etape{
    width: 25%;
    padding: 20px;
    text-align: center;
    font-size: 1.1em;
    background-color: rgb(238, 231, 231);
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
@keyframes loadetape{
    0%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}
.etape1{
    animation-delay: 0.3s;
}
.etape2{
    animation-delay: 0.6s;
}
.etape3{
    animation-delay: 0.9s;
}
.font{
    font-size: 1.8em;
    padding-bottom: 10px;
}

                            /* article 4*/
#contact{
    background-color:rgb(234, 229, 229);
    padding-top: 30px;
    padding-right: 0;
    padding-bottom: 50px;
}

                            /* Footer */
.social-icon{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
}
.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) {
    .nav{
        font-size: 1.2em;
    }
    #carrousel{
        height: 550px;
    }
}
/* petit pc portable*/
@media screen and (max-width: 1085px) {
    .nav {
        font-size: 1.2em;
    }
    .nav-list{
        padding: 10px;
    }
    .name-nav{
        display: none;
    }
    #carrousel{
        height: 500px;
    }
}
/* tablette */
@media screen and (max-width:930px) {
    .nav{
        font-size: 0.9em;
        padding-right: 10px;
    }
    .nav-list{
        padding: 0;
    }
    .name-nav{
        display: none;
    }
    .logo{
        margin-top: 50px;
    }
    .logo-nav{
        margin: 0;
        width: 70px;
        object-fit: cover;
    }
    video {
        width: 614px;
        height: 409px;
        margin-top: 60px;
    }
    h1 {
        padding-top: 30px;
    }
    .list{
        flex-direction: column;
    }
    .list-service{
        margin-bottom: 20px;
    }
    .presentation{
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .fondateur{
        width: 80%;
        height: 410px;
        margin-left: 10%;
        padding: 0;        
    }
    .slider{
        width: 80%;
        height: 500px;
    }
    .navigation-auto{
        width: 80%;
    }
    .navigation-manual{
        width: 80%;
    }
    .slide .image{
        width: 100%;
        height: 450px;
    }
    .list-etape{
        flex-direction: column;
    }
    .etape{
        width: 90%;
        margin-bottom: 20px;
    }
}

/* phone */
@media (max-width: 670px){
    .nav-list{
        overflow:hidden;
        display:flex;
        flex-direction:column;
        width:0;
        height:calc(100vh - 65px);  
        position:absolute;
        top:65px;
        background:black;     
        transform: translateX(110%);
        transition: all .5s ease-in-out;
    }
    .show-nav .nav-list {
        width:100vw;    
        transform: translateX(0);
        margin-top: 0;
        left: 0;
        padding-left: 20px;
        padding-top: 30px;
    }
    .nav{
        display: block;
        font-size: 1.5em;
        color: gray;
        transform: translateX(101%);
        transition: all .5s ease-in-out;
        padding-bottom: 10px;
    }
    .show-nav .nav {
        transform: translateX(0);
    }
    .nav:hover{
        color: white;
        padding-left: 2rem;
        letter-spacing: 3px;
    }
    .nav-bar{
        height: 50px;
        display: flex;
        justify-content:space-between;
        padding-left: 20px;
    }
    .name-nav{
        display: none;
    }
    /*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);
    }
      
    .logo{
        width: 100%;
        margin: 0;
        margin-top: 50px;
    }
    .logo-nav{
        width: 55px;
        height: 55px;
        margin: 0;
        margin-top: 5px;
        object-fit: cover;
    }
    h1{
       padding-left: 10px;
       font-size: 2em;
    }
    .title{
        font-size: 1.3em;
    }
    h2{
        padding-left: 20px;
        width: 100%;
    }
    h3, .service{
        padding-left: 20px;
        width: 100%;
    }
    .text{
        padding-left: 20px;
        width: 80%;
        font-size: 1.2em;
    }
    .photo{
        width: 100%;
        margin: 0;
    }
    .fondateur{
        width: 100%;
        margin-left: 0;
    }
    .text-fondateur{
        padding-top: 0;
    }
    .list{
        display: flex;
        flex-direction: column;
        padding-left: 0;
    }
    .list-service{
        width: 80%;
        margin: auto;
        margin-top: 20px;
    }
    /* 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;
    }
    cite{
        font-size: 1.1em;
    }
    .list-etape{
        flex-direction: column;
        padding: 0;
        margin-top: 20px;
    }
    .etape{
        width: 80%;
        margin:auto;
        margin-top: 20px;
    }
}