*{
    margin: 0;
    padding: 0;
    color: #eaebf4;
    background-color: #25262c;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    overflow-x: hidden;
    
}

h2{
    font-size: 1.25vw;
    font-weight: 500;
    font-family: 'Sintony', sans-serif;
}

header a{
    font-size: 1.25vw;
    font-weight: 500;
}

p{
    font-size: 1vw;
}


h1, h2{
    font-family: 'Sintony', sans-serif;

}

/* Style du Header */
header{
    height: 125px;
}
header nav{
    width: 100%;
    height: 125px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    font-weight: 500;
}

header nav > div{
    width: 70%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    font-weight: 500;
}

header ul{
    width: 50%;
    height: 50%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

li{
    list-style-type: none;
    display: flex;
    align-items: center;
    height: 50%;
}


/* Menu burger */

.b-a, .bar:nth-child(2), .bar:nth-child(1), .bar:nth-child(3) {
    transition: all 0.25s;
    content: "";
    position: absolute;
    left: 3.25px;
    height: 6px;
    width: 30px;
    border-radius: 15px;
    background-color: rgba(255, 255, 255, 0.95);
}
.menu-collapsed {
    background-color: #25262c;
    border-radius: 5px;
    border: #25262c solid 2.5px;
    display: none;
    position: fixed;
    top: 25px;
    left: 90%;
    height: 36px;
    width: 36px;
    z-index: 15;
    cursor: pointer;
}
.bar:nth-child(2) {
    top: 15px;
}
.bar:nth-child(1) {
    top: 5px;
    z-index: 15;

}
.bar:nth-child(3) {
    top:25px;
    z-index: 15;



}

.menu-expanded{
    background:none;
    border-radius: none;
    border: none;
}

.b-a-expanded, .menu-expanded .bar:nth-child(1), .menu-expanded .bar:nth-child(3) {
    transition: all 0.25s;
    top: 10px;

}
.menu-expanded .bar:nth-child(2) {
    background-color: transparent;
    transition: all 0.25s;
}
.menu-expanded .bar:nth-child(1) {
    transform: rotate(45deg);
    top:15px;

}
.menu-expanded .bar:nth-child(3) {
    transform: rotate(-45deg);
    top:15px;

}

 
header li a{
    padding: 10px;
}

.clicked-header{
    border-radius: 10px;
    background-color: #eaebf4;
    color: #25262c;
}


.reseaux{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: max-content;
    margin-right: 1.5%;
}

.reseaux > *{
    margin: 15px 0;
}

p .reseaux{
    width: max-content;
}

.logos{
    width: 75%;
    margin-top: 10%;
    display: flex;
    justify-content: space-around;
}

/* Style du Footer */

footer{
    width: 100%;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    box-sizing: border-box;
    max-height: max-content;

}

footer > nav{
    width: 100%;
}

.upper-footer{
    margin-top: 25px;
    flex: 3;
    display: flex;
    justify-content: space-around;
}

footer ul{
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.lower-footer{
    margin: 5px 0 0;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lower-footer > *{
    margin: 0 25px;
    font-weight: 300;
    padding-bottom: 7.5px;
}

footer a:hover{
    user-select: none;
    text-decoration: underline;
}

.site-plan{
    display: flex;
    flex-direction: column;
}

.upper-footer p{
    font-weight: bold;
}

.upper-footer li{
    font-weight: 300;
}

footer .reseaux{
    margin: 0; 
}

.upper-footer > div{
    flex: 1;

}

.upper-footer > :nth-child(2){
    padding: 12.5px;
}

.upper-footer .logos{
    justify-content: center;
    margin-top: 0px;
}

.upper-footer .logos div{
    margin: 0 15px;
}

.desc{
    font-weight: 300 !important;
    text-align: justify;
}


.upper-footer img{
    float: left;
}

.upper-footer div > img{
    margin-bottom: 15px;
    margin-right: 10px;
}


/* Tests Main */

main{
    width: 100%;
    

}

main#mentions{
    text-align: center;
    height: max-content;
}



/* Main Mentions Légales */

#rgpd{
    margin-top: 25px;
}
ol{
    width: 100%;
    height: fit-content;
    padding-left: initial;
    margin: 10px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}
ol li {
    list-style-type: decimal;
    display: list-item;
    width: fit-content;
    margin: 10px 10px;
    
}

#contact li{
    font-size: 1vw;
}


ol + p{
    margin: 25px 0 50px
}


/* Main Contact */

main#contact h1{
    text-align: center;
    width: 100%;
}

main#contact{
    display: flex;
    flex-wrap: wrap;
}

#form{
    width: 60%;
    min-height: 500px;
    display: flex;

    align-items: center;
    flex-direction: column;
}

#map{
    width: 40%;
    display: flex;
    align-items: center;
    flex-direction: column;
}

#map iframe{
    margin-top: 2.5%;
}

#map h2{
    margin-bottom: 1em;
}

label {
    display: block;
    margin-top: 1em;
    margin-left: 5px;
    font-weight: 500;
}

input, textarea{
    border: 2px solid #eaebf4;
    border-radius: 10px;
    padding: 5px;
    margin: 5px;
}

input:focus, textarea:focus{
    border: 3px solid #eaebf4;
    outline: none;
}

input:not(:placeholder-shown):not(:focus):invalid {
    border: solid rgb(255, 60, 60) 2px;
}



#email{
    width: 250px;
}

form{
    margin: 2.5% 20%;
    width: 60%;
    border-radius: 2.5%;
    padding: 1%;
}

form, form > *{
    /* border: #eaebf4 1px solid; */
    background-color: #2f2e3b;
    color: #eaebf4;
}

textarea{
    resize: none;
    width: 80%;
    min-height: 200px;
    padding: 10px;  
    resize: vertical;
    max-height: 500px; 
}

input[type="submit"]{
    padding: 2.5px;
    margin: 25px;
}



/* Main Produits */
#produits{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

#filter-bar{
    width: 15%;
}

#filter-bar ul{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

#filter-bar li{
    margin: 15px 0;
}

#filter-bar li > *{
    padding: 5px 10px;
}

#card-container{
    width: 85%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
}

div.card{
    border-radius: 5%;
    width: 20%;
    margin: 40px 50px;
}
.card img{
    width: 100%;
    box-sizing: border-box;
}

.card, .card *{
    padding: 5px;
    background-color: whitesmoke;
    color: #25262c;
}

div.card div{
    display: flex;
    flex-wrap: wrap;

}

.card-name{
    width: 100%;
    margin-bottom: 15px;
    font-weight: 500;
}
.card-price{
    width: 50%;
    font-weight: 300;
}

.card button{
    background-color: #25262c;
    color: #eaebf4;
    border-radius: 10px;
    cursor: pointer;
}

#filter-bar button{
    border-radius: 10px;
    border: 2px solid #eaebf4;
    cursor: pointer;
}

.clicked-button{
    background-color: #eaebf4;
    color: #25262c;
}

#filter-bar p:first-of-type{
    font-weight: 500;
}

#produits h1{
    width: 100%;
    text-align: center;
}

/* Main evenements */

main#evenements{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


#carousel{
    /* border: #eaebf4 1px solid; */
    width: 50%;
    aspect-ratio: 16/9;
    position: relative;
    margin: 50px;
}

#carousel button{
    cursor: pointer;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    width: 40px;
    background-color: #25262c7e;
    position: absolute;
    z-index: 15;

}

.arrow{
    background-color: #25262c00;
    border: solid #eaebf4;
    border-width: 0 5px 5px 0;
    height: 25px;
    width: 25px;
    
}

#left-btn .arrow{
    rotate: 135deg;
    margin-left: 3px;
}

#right-btn .arrow{
    rotate: -45deg;
    margin-right: 3px;
}

#left-btn{
    top: 45%;
}

#right-btn{
    top: 45%;
    right: 0%
}

.carousel-slide{
    height: 100%;
    width: 100%;
    overflow: hidden;
    position: relative;

}

.carousel-slide div{
    position: absolute;
    bottom: 0%;
    z-index: 10;
    background-color: #25262ce1;

}

.carousel-slide div > *{
    margin-left: 10px;
    background: none;
    padding: 5px;
}

.carousel-slide img{
    width: 100%;
}

#carousel + h2{
    margin: 30px 0;
    font-size: 2vw;
}

.event-article{
    display: flex;
    width: 50%;
    border: 1px solid #2f2e3b;
    background-color: #2f2e3b;
    border-radius: 15px;
    margin: 25px 0;
}

.event-article *{
    background-color: #2f2e3b;
}

.event-article p{
    padding: 5px;
}

.event-article h2{
    padding: 5px;
}

.event-article img{
    height: 100%;
}

.event-article div{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}



/* Main Accueil */
#accueil{
    display: flex;
    flex-direction: column;
    align-items: center;

}

#accueil h1{
    margin-bottom: 50px;
}

#accueil h2{
    font-weight: 700;
    padding: 5px;
    text-align: center;
    width: 100%;
}


#container-accueil{
    display: flex;
    flex-wrap: wrap;
    width: 60%;
    border-radius: 35px;
}

#container-accueil > div{
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    position: relative;
    border-radius: 35px;
}

#accueil-text-vsquare-1{
    height: 50%;
    width: 100%;
    position: absolute;
    z-index: 5;
    bottom: 50%;
    text-align:justify;
}

#accueil-text-vsquare-2{
    height: 50%;
    width: 100%;
    position: absolute;
    z-index: 5;
    bottom: 0;
    text-align:justify;
}

#accueil-text-rectangle{
    justify-content: end;
    width: 100%;
    position: absolute;
    z-index: 5;
    bottom: 0;
    text-align:justify;
    padding-bottom: 5px;
}

#accueil-text-square-1{

    width: 50%;
    position: absolute;
    z-index: 5;
    bottom: 0%;
    left: 0%;
    text-align:justify;
}

#accueil-text-square-2{
    width: 50%;
    position: absolute;
    z-index: 5;
    bottom: 0%;
    left: 50%;
    text-align:justify;
}

.accueil-text *{
    line-height: 1.75vw;
    padding: 15px;
    background:none;
}

.accueil-text{
    height: 100%;
    background-color: #25262c8c;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


#container-accueil img{
    padding: 5px;
}

.v-rectangle{

    width: 50%;
}

.v-rectangle img{
    width: 100%;
}

.square-v-rectangle{
    width: 50%;
}

.square-v-rectangle img{
    width: 100%;
}

.square-rectangle{
    width: 100%;
}

.square-rectangle img{
    width: 100%;
    box-sizing: border-box;
}

.square-rectangle div{
    width: 50%;

}





/* Media Queries */
  
  /* Pour les tablettes */
@media only screen and (max-width:1199px){
    h1,h2{
        font-size: 2vw;
    }
    
    p,a{
        font-size: 1.5vw;
    }

    /* Footer */
    .upper-footer, .lower-footer{
        flex-wrap: wrap;
    }
    .upper-footer > div:first-of-type{
        flex: none;
        width: 100%;
    }

    .lower-footer > *{
        width: 40%;
        text-align: center;
    }

    ol{
        width: fit-content;
    }


    /* Header */
    header ul{
        width: max-content;

    }
    header ul li{
        margin: 10px; ;
    }

    /* Main Contact */
    main#contact > div{
        width: 100%;
    }
    main#contact form{
        width: 80%;
    }

    main#contact iframe{
        width: 400px;
        height: 400px;
    }

    /* Main Produits */
    #filter-bar{
        width: 30%;
    }

    #card-container{
        width: 70%;
    }

    div.card{
        width: 40%;
        margin: 20px 5px;
    }

    .card-name{
        margin: 0;
    }

    .card-price{
        width: 100%;
    }

    #produits h1{
        font-size: 1.75em;
    }

    /* Main evenement */
    #carousel{
        width: 100%;
    }
    #carousel-slide div{
        height: 30%;
    }

    .event-article{
        width: 85%;
    }

    /* Main Accueil */
    #container-accueil{

        width: 100%;

    }

    .accueil-text h2{
        font-size: 2.25vw;
    }

    .accueil-text p{
        font-size: 2vw;
        line-height: 1.75vw;
        padding: 10px;
    }

}
  
  /* Pour les téléphones */
@media only screen and (max-width: 767px) {
    h1,h2{
        font-size: 3.5vw;
    }
    
    p,a{
        font-size: 3vw;
    }

/* Header */
    header a{
        font-size: 3vw;
        font-weight: 500;
    }
    header p{
        font-size: 3vw;

    }
/* Style du Footer */
    .upper-footer, .lower-footer{
        flex-wrap: wrap;
    }
    .upper-footer > div{
        flex: none;
        width: 100%;
    }

    .upper-footer > div:nth-child(2) img{
        margin: 0;
    }


    .lower-footer > *{
        width: 100%;
        text-align: center;
    }

/* Style Header/Menu Burger */
    header{

        max-height: max-content;
        z-index: 20;

    }
    nav{
        max-height: max-content;

    }

    .hide{
        display: none;
    }

    .menu-dropdown{
        position: fixed;
        flex-direction: column;
        justify-content: flex-start;
        width: 50%;
        height: 100%;
        left: 100%;
        top: 0%;
        transition: left 1s;       
        z-index: 11;
    }

    .menu-dropdown ul{
        margin-top: 70px;
        flex-direction: column;
        width: 100%;
        height: 30%;

    }

    .menu-dropdown .reseaux{
        width: 100%;
    }
    .menu-dropdown .reseaux div{ 
        margin-top: 0;
    }

    .menu-dropdown li{
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }


    a.clicked-header{
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0;
        border-radius: 0;
        height: 100%;
        width: 100%;
        border: none;
        background-color: #3a3b42;
        color: #eaebf4;
    }   

    .menu-collapsed {
        display: block;
    }
    

    /* Main Contact */
    main#contact iframe{
        width: 300px;
        height: 300px;
    }



    /* Main Produits */

    #produits p{
        font-size: 2.5vw;
    }
    
    #produits button{
        font-size: 2vw;
    }

    #filter-bar{
        width: 100%;
        margin-bottom: 20px;
    }
    
    #filter-bar ul{
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
    }
    
    #filter-bar li:first-child, #filter-bar p{
        width: 100%;
        text-align: center;
        margin-bottom: 5px;
    }

    #filter-bar li{
        margin: 0 5px;
        /* width: 15%; */
    }
    
    #filter-bar li > *{
        padding: 5px;
    }

    /* Main Evenement */

    #evenements h2{
        font-size: 3vw;
    }

    .carousel-slide p{
        font-size: 2.25vw;
    }

    .event-article p{
        font-size: 2vw;
    }
    
    .event-article h2{
        font-size: 2.25vw;
    }

    /* Main Accueil */

    #accueil h1{
        font-size: 1rem;
    }

    #accueil p{
    font-family: 'Poppins', sans-serif;

        font-size: 2.5vw;
        font-weight: 300;
        line-height: 0.5rem;
    }

    /* Mentions Légales */
    #mentions h1{
        font-size: 4vw;
    }
    #mentions li, p{
        font-size: 3vw;
    }
}
  