:root {

    --customRed: #d49d9d;
    --customGreen: #7fe66a;
    --customOrange: #fac17c;
    --customMenu: #c8efdd;
    --customBlue: rgb(226, 255, 244);
    --customBeige: #ffefd6;
}

@font-face {
    font-family: customFont;
    src: url(../fonts/Handlee/Handlee-Regular.ttf);
}

* {

    /* font-family: 'Poppins';*/
    font-family: customFont;
    font-size: 1em;
}



p {


    text-align: justify;
    font-size: 1.3em;

}

.petit {
    font-size: 0.9em;
}

aside {

    text-align: left;
    font-size: 1em;
    font-weight: bold;
    font-style: italic;

}

h1 {
    font-style: italic;
    font-size: 1.3em;
    font-weight: bold;
    /*background-color: rgb(253, 251, 132);*/
    background-color: var(--customBeige);
    border-radius: 5px;
    text-align: center;
    color: red;
}

h2 {
    font-style: italic;
    font-size: 1.3em;
    font-weight: bold;
    text-align: center;
}



body {
    box-sizing: border-box;


    margin: auto;

    background-color: white;

    max-width: 1000px;
}



.red {
    /*color: var(--customRed);*/
    color: red;
}


/* HEADER */

header {
    position: sticky;
    top: 0;

    display: grid;
    grid-template-columns: 40px auto;
    grid-template-rows: auto;
    grid-template-areas:
        "home menu";
    /*justify-content: start;*/
    align-content: space-between;
    /*align-items: center;*/
    grid-auto-columns: 0;
    grid-auto-rows: 0;
    width: 100%;
    height: 25px;
    background-color: white;
    z-index: 10;
    border-bottom: 10px solid white;




}
.loading {
   display: inline;
   text-align: center;
   
 }
.loading img {
       height: 100px;
}



.maison,
.logo,
.burger,
nav {}

.maison {
    grid-area: home;
    margin: auto;

}



.burger {
    grid-area: burger;
    display: none;
    margin: auto;
}


.logo-principal {
    grid-area: logo;

    height: 100%;
    place-self: center;
    margin-top: 5px;
}

.logo-principal-2 {
    width: 100%;
    height: 100px;
    text-align: center;

}
.logo-principal-2 img {height: 75px;}


nav {
    grid-area: menu;
    background-color: white;
    width: 100%;

}



header ul {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;


}

#link5 {
    align-self: start;
    padding-left: 10px;
}

/*

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #333;
  }
  */


header li a,
.burger a,
.home-mobile a {
    color: white;
    /* padding: 14px 16px;*/
    text-decoration: underline;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1em;
    padding: 10px;
    color: black;
    text-decoration: underline solid gray 2px;

}


i {
    font-size: 1.5em;
    color: black;
}


/*
  li a, .dropbtn {
    display: inline-block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
  }
  */


header li a:hover,
.dropdown:hover .dropbtn {

    text-decoration: underline solid red 2px;
}

header li.dropdown {
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 250px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 50;
    left: 150px;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
    display: block;
}


#page {
    background-color: white;
    display: block;
    padding-bottom: 30px;
}



/*
.titre {

    display: inline-block;
    height: 50px;
    width: 100%;
    text-align: center;
    vertical-align: middle;
    grid-area: logo;
}
*/



/*


.menu {
    display: flex;
    width: 100%;

    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-items: center;
    justify-content: space-between;


}

.menu1 {
    flex-basis: 20px;
    align-self: center;
    font-size: 1.8em;


}

.menu2 {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    height: 50px;

    width: 100%;
    justify-content: space-around;
    align-items: center;
    text-align: center;
}

.menu2 .navlink {
    align-self: center;
}

.menu2 .navlink span {
    text-decoration: underline solid var(--customGreen) 2px;


}

.menu2 .item6 {
    flex-basis: 20px;
    align-self: center;
    font-size: 1.8em;

}

.menu2 .navlink span:hover {

    text-decoration-color: rgb(233, 73, 73);
    background-color: rgb(243, 216, 216);
}

.submenu1 {
    position: absolute;
    width: 100px;
    height: 100px;
    top: 50px;
    background-color: gray;

}
*/








/*

.mobiletitre {
    display: none;

}

.mobiletitre img {

    vertical-align: middle;

}

.menu3 {
    flex-basis: 20px;
    align-self: center;
    font-size: 1.8em;
    display: none;


}


*/





/* ---------------------   SECTION HOME -------------------*/
.home {
    /* position: relative;
    display: inline-block;
    
    margin: 0px;
    background-color: white;
    */
    text-align: center;
}

#photoHome {
    height: 300px;
}

.home p,
.home li {
    text-align: justify;
    font-size: 1.2em;
    padding-left: 30px;
    padding-right: 30px;
}

.home .container1 {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-items: center;
    margin: 25px 0 25px 0;
    gap: 20px;
}

.home .container1 .item1 {
    flex: 0 0 10vw;
    order: 1;
  

}

.home .container1 .item1 img {
    height: 400px;
 


}

.home .container1 .item2 {
    flex-basis: 1fr;
   order: 2;
}

.home .container2 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-items: start;
    width: 100%;
    align-content: center;
    justify-content: space-around;
    margin: 25px 0 25px 0;
}

.home .container2 .items img {
    height: 180px;
}

video {

    text-align: center;
    width: 90%;
    height: auto;
    max-width: 800px;
    margin: 25px 0 25px 0;
}

.home .bulle {

    position: relative;
    margin: 25px auto 25px auto;
    width: fit-content;

}

.home .bulle img {
    height: 150px;
}

.home .titre1 {
    position: absolute;
    top: 25%;
    left: 9%;
}

.home .titre2 {
    position: absolute;
    top: 37px;
    left: -5px;

}

.home .titre3 {
    position: absolute;
    top: 40px;
    left: 25%;
}

.home li {
    font-size: 1.3em;
    text-align: start;

}

/*
#phoenix {
    position: relative;
    display: inline-block;
    width: 100%;

    margin-left: auto;
    margin-right: auto;
    margin-top: 25px;
    margin-bottom: 25px;


}

#phoenix img {


    max-height: 50vi;



    opacity: 1;
}


#arbre {
    position: relative;
    display: inline-block;

    width: 100%;
    height: auto;
    margin-top: 25px;
    margin-bottom: 25px;

}


#arbre img {
    position: absolute;
    top: 0px;
    right: 0;


    max-height: 90vh;
    max-width: 90vw;
    opacity: 0.3;


}

#arbre .presentation {
    display: inline;


    font-size: 1.1em;
    color: black;
}
*/
.home .articles {


    /*max-width: 800px;*/
    margin: auto;
    margin-top: 0px;
    margin-bottom: 25px;
    width: 100%;
    background-color: var(--customOrange);
    padding: 0px;
    padding-top: 0px;
    padding-bottom: 15px;

    border-radius: 30px;
}

.home .articles .titreArticle {
    text-decoration: underline;
    font-size: 1.2em;
    text-align: start;
    padding-left: 50px;
    padding-top: 20px;
}

blockquote {
    min-height: 5em;
    /*padding   : 1em 4em;*/
    /*font      : 1em/150% sans-serif;*/
    font-size: 1.1em;
    position: relative;
    background-color: var(--customBeige);
    border-radius: 50px;
    text-align: justify;
    width: 90%;
    margin: 20px auto 20px auto;

    padding: 20px;
    padding-top: 4rem;
}

blockquote::before,
blockquote::after {
    position: absolute;
    height: 3rem;
    font: 6rem/100% Georgia, "Times New Roman", Times, serif;

}

blockquote::before {
    content: '“';
    top: 0.3rem;
    left: 0.9rem;

}

blockquote::after {
    content: '”';
    bottom: 0.3rem;
    right: 0.8rem;
}



blockquote i {
    display: block;
    font-size: 0.8em;
    margin-top: 1rem;
    margin-right: 4rem;
    text-decoration: italic;
    text-align: right;
}

 blockquote .ligneNom {
    position:relative;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    width: 100%;
   
    height: 100px;
    justify-items: end;
    justify-content: end;
  right: 50px;
  margin-top: 15px;
    
 }

 blockquote .photo {
  
    flex-basis: 83px;
 }
 blockquote .photo img {height:100px;}

 blockquote .signature {
    flex-basis: 70px;
  
    font-size: 0.8em;
    text-decoration: italic;
    align-self: end;
    text-align: center;
 }

.home .photosCabSwiper {
    height: 400px;
    width: 100%;
    margin-top: 20px;
    margin-bottom: 20px;

}


.home .swiper-slide {

    margin: auto;
    text-align: center;

}


.home .swiper-slide img {
    width: auto;
    height: auto;
    max-height: 300px;
    max-width: 100%;
    min-height: 30vh;
    margin: auto;
    border-radius: 15px;
}


.home .swiper-button-next,
.home .swiper-button-prev {
    position: absolute;
    top: 30%;
    z-index: 10;
    cursor: pointer;
    color: var(--customRed);
}


/* FOOTER */

.pied {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    align-content: space-around;
    justify-content: space-between;
    gap: 0px;
    width: 90%;
    height: 20px;
    margin-top: 20px;
    margin-left: 10px;
    margin-right: 10px;
    background-color: white;

}

.pied .items {
    text-align: center;
    width: auto;
    height: auto;



}

.pied a,
.pied p {
    font-size: 1em;
    text-align: center;
    margin: 0px;
}

.pied .item1 {
    flex-basis: 5fr;
}

.pied .item2 {
    flex-basis: 5fr;
}

.pied .item3 {
    flex-basis: 1fr;

}


.white-popup {
    position: relative;
    background: #FFF;
    padding: 0px;
    width: 100%;
    /*max-width: 500px;*/
    height: 100%;
    margin: 20px auto;


}

.white-popup p {

    font-size: 0.9em;


}

.form-mail {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    min-height: 300px;
    width: 80%;

}

.form-mail .item1 {

    max-height: 400px;


    display: flex;
    justify-items: center;
    align-items: center;
    justify-content: center;
}

.form-mail .item1 img {


    width: 60%;

    padding-top: auto;
    padding-bottom: auto;
    margin-top: auto;
    margin-bottom: auto;

}

.form-mail .item2 {


    text-align: center;

}

.form-mail .item2 h1 {
    text-align: center;
    color: rebeccapurple;
    font-size: 2em;
    text-align: center;
}


input[type=text] {

    width: 90%;
    /*padding: 12px 20px;*/
    margin: 10px 0;
    box-sizing: border-box;
    border: none;
    border-bottom: 2px solid var(--customOrange);
    background-color: beige;
}


.custombutton {
    margin: 15px;
    padding: 7px;
    background-color: var(--customBeige);
    border: 2px solid var(--customRed);
    border-radius: 13px;
    /*width: 150px;
    height: 30px;*/
}

.custombutton:hover {

    border-color: red;
}

.form-mail .msg p {
    color: red;
    text-align: center;
    font-size: 1.3em;
    border: 0;
    margin: 0;

}



/* ---------------------   MEDIA QUERY --------------------------*/

@media screen and (max-width: 600px) {

    header {
        height: 40px;
        grid-template-columns: 40px auto 40px;
        grid-template-rows: 50px auto;
        grid-template-areas: "home logo burger"
            "menu menu menu";

    }

    .burger {
        display: inline;
    }


    .logo-principal {
        height: 50px;
    }

    .logo-principal-2 {
        display: none;
    }

    nav {

        display: none;

    }

    nav ul {
        margin-top: 15px;
        gap: 10px;
        flex-direction: column;
        height: 150px;
        align-items: start;

    }

    
    .home .container1 .item1 {
        order: 2;
        display: none;
    }
    .home .container1 .item2 {
        order: 1;
    }

    .home .container1 .item1 img {}

    /*
    .titre-mobile, .burger, .home-mobile {
display: flex;

    }

    nav ul {
        display: none;
    }
    */
    /*
    .titre {
        display: none;
    }

    .menu2 {
        flex-direction: column;
        display: none;
        

    }
*/
    /*
    .mobiletitre {
        display: inline-block;
    }
    
    header, .menu {
        height: 50px;
    }

*/









    .form-mail {

        flex-direction: column;
    }

    .form-mail .item1 img {
        max-height: 100px;
        max-width: 100px;

    }

}


@media screen and (max-width: 800px) {

.home .container1 {
    flex-direction: column;

}
.home .container1 .item1 img {
    height: 250px;
}
}





#popup-mentions .swiper {
    width: 100%;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
}

#popup-mentions .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: beige;
    display: flex;
    justify-content: center;
    align-items: center;
}

#popup-mentions .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


#popup-mentions .swiper-button-next,
#popup-mentions .swiper-button-prev {
    position: absolute;
    top: 90%;
    /*width: calc(var(--swiper-navigation-size)/ 44 * 27);
        height: var(--swiper-navigation-size);
        
        margin-top: calc(0px - (var(--swiper-navigation-size)/ 2));*/
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    /*color: var(--swiper-navigation-color,var(--swiper-theme-color));*/

}

#popup-mentions .close-popup1 {

    font-size: 2em;
    position: absolute;
    top: 10px;
    right: 10px;
}

.style-popup {
    position: fixed;
    top: 20px;
    /*left: calc((100vw - 360px)/2);

width: 360px;*/
    max-height: 90vh;
    background-color: white;

    overflow-y: auto;
}


.style-popup .contain {

    margin: 20px;
}

.style-popup p {
    font-size: 1.1em;
}

.style-popup aside {

    background-color: rgb(253, 251, 132);
}


.style-popup i {
    position: absolute;
    top: 30px;
    right: 30px;
}