@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&family=PT+Serif&family=Permanent+Marker&family=Roboto:wght@300&display=swap');

/*------------------------------------*\
    $Base / Version mobile
\*------------------------------------*/
* {
	margin: 0;
	padding: 0;
}

body{
    width: 100vw;
    height: 100vh;
    font-family: "Roboto", sans-serif;
    background-color: #dbd4c9;
}

p{
    color: #1a1a1a;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
}

/* En tête */
header{
    width: 100vw;
    top: 0;
    left: 0;
    background-color: rgba(224,216,205,.7);
    border-bottom: #1a1a1a solid 1px;
    backdrop-filter: blur(8px);
    padding: 2vh 0;
    position: fixed;
    z-index: 98;
}

#conteneur_flex_menu-depliant{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0 5vw;
}

h1{
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 2rem;
    color: #1a1a1a;
    text-transform: uppercase;  
    padding: 1.5vh 1vh;
}

span{
    color: #1a1a1a;
}

/* Code de google font de "https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0" */
@font-face {
    font-family: 'Material Symbols Outlined';
    font-style: normal;
    font-weight: 400;
    src: url(https://fonts.gstatic.com/s/materialsymbolsoutlined/v166/kJF1BvYX7BgnkSrUwT8OhrdQw4oELdPIeeII9v6oDMzByHX9rA6RzaxHMPdY43zj-jCxv3fzvRNU22ZXGJpEpjC_1v-p_4MrImHCIJIZrDCvHOej.woff2) format('woff2');
}

.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 28px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -moz-font-feature-settings: 'liga';
    -moz-osx-font-smoothing: grayscale;
}
/* fin du code ggl font */

.a_header{
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.6rem;
    text-decoration: none;
    color: #1a1a1a;
}


a{
    border-radius: 6.25rem;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.2rem;
    text-decoration:underline solid 1px;
    color: #1a1a1a;
    padding: 10px;
}

.flex_a{
    display: flex;
    justify-content: end;
    align-items: center;
    margin-right: 10px;
}

table{
    text-align:center;
}

.suppr_modi{
    margin: 0;
    padding: 0;
    font-size: 1rem;
}

li{
    padding: 0.75vh 0 1vh 8vw;
}

ul{
    list-style-type: none;
    padding-bottom: 1vh;
}

#menu-list {
    display: none;
    opacity: 0%;
}

#menu-list.show {
    opacity: 100%;
    display: block;
}

#div_menu_depliant:hover {
    cursor: pointer;
}

#div_menu_depliant{
    border: #1a1a1a solid 1px;
    border-radius: 6.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 6vh;
    transition: border 0.3s ease-in-out;
    padding: 0 15px;
}

#div_div_menu_depliant{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column-reverse;
}

#div_div_div_menu_depliant{
    width: 90vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.path_menu{
    translate: none;
    rotate: none; 
    scale: none; 
    transform-origin: 0px 0px 0px;
}

.icon{
    width: 32px;
    height: 3px;
    background-color: #1a1a1a;
    transition: all 400ms cubic-bezier(.84,.06,.52,1.8);
    position: relative;
    overflow: auto;
    top: 0;
    bottom: 0;
    border-radius: 2rem;
}

#icon-a{
  transform: translateY(-8px);
  animation-delay: 0.1ms;
}

#icon-c{
  transform: translateY(8px);
  animation-delay: 0.25s;
}

#icon-a.show{
    transform: rotate(45deg);
    top: 3px;
    left: 0;
}
#icon-c.show{
    transform: rotate(-45deg);
    top: -3px;
    left: 0;
}
#icon-b.show{
    opacity: 0;
}

h2{
    padding-right: 3vw;
    color: #1a1a1a;
    font-weight: 400;
    font-style: normal;
}

/* Main */
main{
    min-height: 100vh;
    margin-top: 80px;
}

/* Index main */
#louvre_main_1{
    width: 80vw;
    border-radius: 1rem;
    padding: .5vh 0;
}

.photo_encyclopedie{
    width: 80vw;
    height: 30vh;
    border-radius: 1rem;
    padding: .5vh 0;    
    object-fit: cover;
}

#presentation{
    text-align: center;
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.4rem;
    padding: 10vh;
    transition: all .6s cubic-bezier(.84,.06,.52,1.8);
    &:hover{
        transform: scale(104%);
        z-index: 50;

    }
}

#sous_titre_présentation{
    text-align: center;
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    font-size: 1.2rem;
}

#article_encyclopedie{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

#image_et_txt_article{
    padding: 3vw;
    margin: 3vw;
    background-color:#beaa8a;
    border-radius: .5rem;
    text-align: center;
}

.image_et_txt_encyclopedie{
    text-align: center;
    border: #1a1a1a solid 1px;
    border-radius: 2rem;
    padding: 4vw;
    width: 80vw;
    font-size: .95rem;
    margin-top: 4vh;
}

p>span{
    font-weight: 600;
}

#about_us{
    padding: 3vw;
    margin: 3vw;
    background-color:#beaa8a;
    border-radius: .5rem;
}

.svg_about_us{
    width: 30px;
    height: 30px;
    padding: 1vh;
    padding-top: 2vh;
}

.titre_vignette{
    font-weight: 600;
    font-size: 1.4rem;
    padding-bottom: 1.5vh;
    text-decoration: solid;
}

/* Listing main */
#article_encyclopedie_listing{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 4vh;
}

.image_et_txt_encyclopedie_listing{
    background-color: #beaa8a;
    border-radius: 2rem;
    margin: 2vh;
    padding: 5vw;
    max-height: max-content;
    font-size: .95rem;
    margin-bottom: 4vh; 
}

#list_musee{
    text-align: center;
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.4rem;
    padding: 8vh;
}

.voir_plus_list{
    display: flex;
    justify-content: center;
    align-items: center;
}

.voir_plus_list>a{
    border: #1a1a1a solid 1px;
    border-radius: 6.25rem;
    text-align: center;
    font-family: "Open Sans", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1rem;
    padding: 10px;
    margin: 3vh;
}

.voir_plus_list>a:hover{
    background-color: #1a1a1a;
    color: #beaa8a;
    transition: all .5s ease-in-out;
}

.a_lien_site_musee{
    font-size: inherit;
    text-decoration: underline;
}

/* Recherche */
form, #form_prenom_nom, #reponse_recherche{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100vw;
}

input, select, textarea{
    width: 50%;
    padding: 8px;
    margin-bottom: 10px;
    box-sizing: border-box;
    border: none;
    border-radius: 4rem;
    background-color: #ececec;
}

textarea{
    padding: 40px;
}

select{
    margin: 4px 0;
}

label {
    display: block;
    margin-bottom: 5px;
    margin: 5px;
    font-size: 1.2rem;
    text-align: center;
}
 
input[type="submit"]{
    border: #1a1a1a solid .5px;
    background-color: #e1e1e1;
    width: fit-content;
}

input[type="text"], input[type="number"]{
    border: #1a1a1a solid .5px;
    background-color: #e1e1e1;
    width: fit-content;
}

form>p{
    display: flex;
    justify-content: space-between;
}


/* Resultat formulaire */
#resultat_recherche{
    padding-top: 2vh;
    padding-bottom: 4vh;
    text-align: center;
}

#reponse_formulaire{
    padding: 0;
    padding-bottom: 0;
}

#reponse_age_prenom{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

input[name="ouverture"]:valid{
    background-color:lightgreen;
}

input[name="ouverture"]:invalid{
    background-color:red;
}

/* Footer */
footer{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    bottom: 0;
    width: 100vw;
    background-color: #1a1a1a;
    border-top: #1a1a1a solid 1px;
}

footer>ul{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding-top: 2vh;
    text-align: center;
}

footer>ul>li{
    padding: 0;
}

.a_footer{
    color: rgb(234, 234, 234);
    font-size: 1.1rem;
}

#foot>p{
    color: rgb(234, 234, 234);
    text-align: center;
    padding-bottom: 2vh;
}


/*------------------------------------*\
    $Version min-width<340px
\*------------------------------------*/
@media screen and (max-width: 360px){
    main{
        margin-top: 20vh;
    }
	#menu{
        display: inline-block;
    }

    #conteneur_flex_menu-depliant{
        display: inline-block;
        margin-bottom: 2vh;
    }
    
    #div_div_menu_depliant{
        display: block;
        width: fit-content;
    }
    #div_div_div_menu_depliant{ 
        flex-direction: column;
        align-items: baseline;
        width: fit-content;
    }
}

/*------------------------------------*\
    $Version Desktop
\*------------------------------------*/
@media screen and (min-width: 480px){
    .image_et_txt_encyclopedie_listing{
        text-align: center;
    }
}

@media screen and (min-width: 680px){
    main{
        margin-top: 22vh;
    }
	#div_div_menu_depliant{
        display: none;
        opacity: 0%;
    }
    #div_div_div_menu_depliant{
        width: fit-content;
        justify-content: center;
    }
    #menu-list{
        display: flex;
        justify-content: space-around;
        align-items: center;
        flex-direction: row;
        opacity: 100%;
    }
    #menu-list.show {
        opacity: 100%;
        display: inherit;
    }
    #conteneur_flex_menu-depliant{
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-direction: column;
    }
    #menu-list>li{
        margin: 0;
        padding: 1vh 3vw;
    }
    #menu-list>li>a{
        font-size: 1.4rem;
    }

}


/*------------------------------------*\
    $Version Desktop 800px
\*------------------------------------*/
@media screen and (min-width: 800px){
    h1{
        text-align: center;
    }
    main{
        margin-top: 110px;
    }

    #image_et_txt_article, .image_et_txt_encyclopedie{
        display: grid;
        grid-template-rows: 1fr 7fr;
        grid-template-columns: 1fr 1fr;
        width: 80%;
        justify-content: center;
        align-items: center;
        grid-gap: 2vw;
    }

    #louvre_main_1, .photo_encyclopedie{
        grid-column: 1/2;
        grid-row: 2/3;
        width: 100%;
        overflow: auto;
    }
    
    .texte_sous_photo_ency{
        grid-column: 2/3;
        grid-row: 2/3;
    }

    .titre_vignette{
        grid-column: 1/3;
        grid-row: 1/2;

    }

    #main_article{
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .article_encyclopedie_listing{
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        flex-wrap: wrap;
    }
    .image_et_txt_encyclopedie_listing{
        list-style: none;
        width: 30vw;
        margin-top: 10px;
        min-height: 95vh;
        margin:10px;
        border-radius: 8px;
        text-align: inherit;
    }
}

@media screen and (min-width: 980px){
    main{
        margin-top: 120px;
    }

    #conteneur_flex_menu-depliant{
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-direction: row;
    }
    #menu-list>li{
        margin: 0;
        padding: 10px;
    }

    .image_et_txt_encyclopedie_listing{
        min-height: 94vh;
    }

}

@media screen and (min-width: 1200px){
    .image_et_txt_encyclopedie_listing{
        min-height: 78vh;
    }
}