body, div {
    margin: 0;
    padding: 0;
}
body {
    font-size: 17px;
    font-family: "Roboto", sans-serif;
    color: black;
}
h1{
    text-align: center;
    font-size: 40px;
    font-weight: 600;
    width: 80%;
    color: #0284C7;
}
h2{
    font-size: 27px;
    font-weight: 400;
    width: 80%;
    text-align: center;
    margin-bottom : 0;
    color: #595959;
}
h3{
    width: 80%;
    text-align: center;
    align-self: center;
    font-size: 23px;
    font-weight: 430;
    color: #0F172A;
}
section{
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    width: 100%;
}
h4{
    font-size: 17px;
    font-weight: 430;
    margin: 0;
    margin-bottom: 5px;
}
p{
    margin: 0;
    padding: 0;
}
b{
    color: #0284C7;
}
a{
    color: #0284C7;
}
input{
    width: 100%;
    max-width: 300px;
    background-color: transparent;
    border: solid 2px black;
    border-top: none;
    border-left: none;
    border-right: none;
    font-size: 15px;
}
input:focus{
    outline: none;
}
input::placeholder{
    font-size: 15px;
    color: black;
}
select{
    width: 100%;
    background-color: transparent;
    border: solid 2px black;
    border-top: none;
    border-left: none;
    border-right: none;
    font-size: 15px;
}

select:focus{
    outline: none;
}


/*  Start Menu  */

header{
    position: fixed;
    display: flex;
    justify-content: space-between;
    top: 0;
    left: 0;
    width: 100%;
    height: 82px;
    background-color: #daeff4;
    z-index: 1000;
}
ul{
    list-style: none;
    display: flex;
    justify-content: flex-end;
}
.logo{
    width: 85px;
    height: 85px;
}
.nom_menu{
    text-decoration: none;
    color : black;
    font-size: 17px;
    font-weight: 430;
}
.item{
    text-decoration: none;
    padding-left: 40px;
}
.menu{
    margin-left: auto;
    margin-top: 18px;
    margin-right: 25px;
    max-width: 600px;
}
.image-menu{
    display: none;
}
.flag{
    margin-bottom: 5px;
    height: 28px;
}


.container-sous-item{
    display: none;
}
.container-sous-item.open{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: 0px;
}
#flag_selected{
    background: none;
    border: none;
    cursor: pointer;
    margin-top: -5px;
}


.search-bar{
    margin-left: 25px;
    max-width:600px
}

#search-form{
    margin-top: 35px;
    min-width: 200px;
    align-items: start;
}

#close{
    background-color: transparent;
    border: none;
    margin-top: -40px;
    margin-left: 180px;
}

.container-input{
    padding-left: 0;
    display: none;
}
.container-input.open{
    display: flex;
    align-items: start;
    gap: 50px;
}

header.open{
    height: 175px;
}

main.open{
    margin-top: 215px;
}

.item-input{
    margin-bottom: 15px;
    width: 200px;
}

#search{
    width: 200px;
    font-size: 17px;
}

#search::placeholder{
    font-size: 17px;
    font-weight: 430;
}


@media screen and (max-width: 950px){
    .search-bar{
        flex:5;
        margin-left: 0;
        max-width: none;
    }
    #search-form{
        margin-left: auto;
        margin-right: auto;
        width: 200px;
    }
    .container-input.open{
        flex-direction: column;
        gap: 15px;
    }
    header.open{
        height: auto;
    }
    main.open{
        margin-top: 250px;
    }
    
    .search-bar.open{
        display: none;
    }
    .image-menu{
        margin-top: 29.5px;
        display: flex;
        margin-left: auto;
        margin-right: 20px;
    }
    .burger {
        width: 40px;
        height: 25px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        background: none;
        border: none;
        cursor: pointer;
    }

    .burger span {
        height: 3px;
        width: 100%;
        background: #000;
        border-radius: 2px;
        transition: 0.3s ease;
    }

    .burger.open span:nth-child(1) {
        transform: translateY(10px) rotate(48deg);
    }

    .burger.open span:nth-child(2) {
        opacity: 0;
    }

    .burger.open span:nth-child(3) {
        transform: translateY(-10px) rotate(-48deg);
    }
    .burger.open{
        flex: 1;
    }
    .menu{
        margin: 0;
        margin-left: auto;
        margin-right: auto;
    }
    .menu.open-mobile{
        flex:5;
    }
    header.open-mobile{
        height: 250px;
    }
    header.open-flag{
        height: 325px;
    }
    .container-logo{
        flex: 1;
    }
    .container-item{
        display: none;
    }
    .container-item.open{
        width: 100%;
        margin-top: 60px;
        display: flex;
        flex-direction: column;
        align-items: center;
        background-color: #daeff4;
        padding-left: 0;
        padding-bottom: 15px;
    }
    .item{
        padding: 0;
        margin-bottom: 10px;
        margin-top: 10px;
    }
}

/*  End Menu    */

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 122px;
}

.cta{
    margin-top: 50px;
    background: linear-gradient(135deg, #38bdf8, #0284c7);
    width: 300px;
    font-size: 20px;
    font-weight: 500;
    color: white;
    padding: 25px;
    border-radius: 10px;
    text-decoration: none;
    text-align: center;
    box-shadow: 2px 4px 20px 2px rgba(7, 54, 75, 0.5);
}

.container-section{
    align-items: center;
    width: 80%;
    margin-left: 10%;
    margin-right: 10%;
    display: flex;
    justify-content: space-between;
}

.container-section p {
    width: 48%;
}

.section-diplome{
    width: 80%;
    margin-left: 10%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    justify-content: center;
    gap: 35px;
}

.container-diplome{
    align-items: center;
    display: flex;
    flex-direction: column;
}

form{
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

option{
    background-color: #daeff4;
}

.categorie{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 80%;
}

.spacer{
    width: 9.34px;
}

.all-objet{
    margin-left: 10%;
    margin-right: 10%;  
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap : 35px;
    justify-content: center;

}

.objet{
    max-width: 350px;
    min-width: 250px;
    background-color: #E6F4FA;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    margin-bottom: 25px;
    box-shadow: 2px 4px 8px 2px rgba(0, 0, 0, 0.25);
}

.objet h3{
    align-self: center;
}

.objet p{
    margin-left: 15px;
}

.objet option{
    background-color: #E6F4FA;
    font-size: 17px;
}

.objet select{
    font-size: 17px;
}

.image-objet{
    display: flex;
    flex-direction: column;
}

.image-dot{
    align-self: center;
}

.image-objet img{
    max-height: 300px;
    max-width: 300px;
    object-fit: contain;
    border-radius: 15px;
    margin: 15px;
}

.dot{
    display: inline-block;       /* permet de définir largeur/hauteur */
    width: 10px;                 /* diamètre = 2 * rayon */
    height: 10px;                /* idem */
    border-radius: 50%;          /* transforme le carré en cercle */
    background-color: rgba(0, 0, 0, 0.5); /* noir semi-transparent */
    margin: 2px;                 /* espace entre les points */
}

.dot.active{
    width: 13px;
    height: 13px;
}

.form-admin{
    max-width: 330px;
    border-radius: 25px;
    background-color: rgb(194, 226, 255);
    margin-bottom: 25px;
    padding-bottom: 35px;
}

.bouton{
    max-width: 150px;
    border: none;
    background-color: #0284C7;
    color: #daeff4;
    font-weight: 430;
    padding: 10px 15px;
    border-radius: 15px;
}

.input{
    width: 80%;
}

.input-photo{
    width: 80%;
}

.delete{
    margin-top: 1px;
    border: none;
    background-color: transparent;
    font-size: 20px;
    font-weight: 700;
}

.text-dot{
    display: inline-block;
    margin-right: 10px;
    margin-left: 10px;
    width: 8px;
    height: 8px;
    border-radius: 100%;
    background-color: black;
}

/*Image*/

section img{
    width: 48%;
    height: fit-content;
}

@media screen and (max-width: 950px){
    .container-section p{
        width: 100%;
    }
    section img{
        width: 100%;
    }
    .container-section{
        flex-direction: column;
        gap:15px;
    }
    .container-footer{
        width: 90%;
        margin-left: 5%;
    }
}


/*Footer*/

footer{
    margin-top: 100px;
    background-color: #daeff4;
    display: flex;
    flex-direction: column;
    padding: 30px;
}

.container-footer{
    display: flex;
    justify-content: space-between;
    width: 80%;
    margin-left: 10%;
}

.slogan{
    font-weight: 600;
}

footer p{
    align-self: center;
}

@media screen and (max-width: 950px){
    .container-footer{
        width: 90%;
        margin-left: 5%;
    }
}