@font-face {
    font-family: caveat;
    src: url("../assets/polices/Caveat-VariableFont_wght.woff");
}

:root{
    --base-clr: rgb(250, 243, 224);
    --line-clr: #42434a;
    --hover-clr: rgb(250, 253, 250);
    --text-clr: #211B0D;
    --accent-clr: #5e63ff;
    --secondary-text-clr: #b0b3c1;
    --orange: rgb(199, 115, 73);
}

*{
    margin: 0;
    padding: 0;
}

body{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    height: 100vh;
    max-height: 100vh;
    color: var(--text-clr);
}

.header{
    background-image: url(../assets/images/Accueil0.jpeg);
}

h1{
    background: transparent;
    padding: 30px;
    text-align: center;
    color: var(--base-clr);
    font-size: 4em;
    font-family: caveat;
}

.navbar {
    display: flex;
    gap:0.5em;
    background: transparent;
    text-align: center;
    align-items: center;


    > img:first-child{
        justify-self: center;
        margin: 0 auto 0 47.5%;
        /* background-color: rgb(250, 243, 223);
        border-radius: 45%; */
        
    }
    img[src*="close"]{
        height: 5rem;
    }
    img {
        display: inline-block;
        height: 5em;
        cursor: pointer;
        padding: 0 0 0 1%;
        transition: 0.7s ease-out;
        /* rotate: 0deg;
        transition: rotate 0.2 ease-in-out; */
    }
    /* img.rotate {
        rotate: 90deg; 
    } */

    ul {
        font-size: 1.5em;
        display: grid;
        grid-auto-flow: column;
        overflow: hidden;
        align-items: center;
        grid-gap:1em;
        grid-template-rows: 0fr;
        transition: 300ms ease-in-out;
        width: 0;
    }
    ul.show{
        grid-template-rows: 1fr;
        width: auto;
    }

    li{
        display : inline-block;
        cursor:pointer;
        color: var(--base-clr);
        background: transparent;
    }

    
}

.sidebar {
    cursor: pointer;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--orange);
    box-shadow: -10px 0 10px rgba(0 0 0 0.1);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    flex:1;
    height: 100vh;
    
    img{
        height: 5em;
    }
}
main {
    flex:1;
    color: var(--text-clr);
    background: var(--base-clr);
}
footer{
    padding: 1%;
    
    p:nth-child(2){
        margin-top: 0.3%;
        margin-bottom: 0.3%;
    }
}
footer {
    background: var(--orange);
    margin: 0%;
    padding: 1%;
    text-align: center;
    
    p {
    margin: 0%;
    color: var(--base-clr);
    }
    p:nth-child(2) {
    margin-top: 0.3%;
    margin-bottom: 0.3%;
    }
    a {
    color: var(--base-clr);
    text-decoration: none;
    }
    a:hover {
        text-decoration: underline;
    }
}

@media (orientation: portrait) {
    body{
        min-height: 100vh;
    }
}
