@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Irish+Grover&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Questrial&display=swap');

*{
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

p{
    font-family: "Questrial", sans-serif;
    font-weight: 400;
    font-style: normal;
}


a{
    text-decoration: none;
    color: black;
}
body{
    background-color: #F5F5ED;
}

/* ---------------------------------------------------------------------------------------------------------- */

body h1,
body h2,
body h3,
header{
    font-family: "Irish Grover", system-ui;
    font-weight: 400;
    font-style: normal;
}

header .navbar{
    background-color: transparent;
    backdrop-filter: blur(5px);
    width: 100%;

    display: flex;
    justify-content: space-between;
    position: fixed;
    padding: 20px 30px 0 30px;

    align-items: center;

    z-index: 10;

}


.navbar ul{
    display: flex;
    justify-content: space-around;
    gap: 40px;
    list-style: none;

    width: fit-content;
}

.navbar ul li {
    padding: 15px 30px;

    border: 2px solid #f3a7b5;
    border-radius: 50px;
}

.navbar ul li:hover{
    background-color: #f3a7b5;
    transition: background 0.3s;
    color: white;
}

.navbar button{
    margin-top: 10px;
    font-family: "Irish Grover", system-ui;
    font-weight: 400;
    font-style: normal;
}

.navbar button {
    height: 50px;
    width: 100px;
    margin-bottom: 10px;
    background-color: transparent;
    border: solid 2px #f3a7b5;
    border-radius: 30px;
}

button:hover {
    background-color: #f3a7b5;
    transition: 0.5s;
    color: white;
    border: 1px solid #c0a0d6;
}


/* ------------------------------Burger menu----------------------- */
.burger-menu-button{
    display: none;
}

.burger-menu{
    display: none; 

    position: absolute;

    margin-left: auto;
    margin-right: auto;

    padding: 30px;
    padding-top: 100px;

    background: rgba(228, 224, 25, 0.2);
    backdrop-filter: blur(10px);

    overflow: hidden;
    border-radius: 0 0 20px 20px;

    transition: height 2s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    z-index: 5;
}

.burger-menu.open{
    display: block;
    height: fit-content;
    

}

.bouton-burger-menu button{
    width: 100%;
    height: 50px;
    margin-top: 25px;

    font-size: 25px;
    font-family: "Irish Grover", system-ui;
    font-weight: 400;
    font-style: normal;

    background-color: transparent;
    border: solid 2px #f3a7b5;
    border-radius: 30px;
}

.burger-menu ul{
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-items: center;
    gap: 30px;

    width: 100%;
}

.burger-menu ul li{
    padding: 30px;
    width: 100%;

    margin-left: auto;
    margin-right: auto;


    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;

    font-size: 25px;
    padding: 20px 30px;

    border: 2px solid #f3a7b5;
    border-radius: 50px;
    white-space: nowrap;

}





/* ------------------------------Reponsive----------------------- */

@media (max-width : 768px){
    .navbar{
        display: flex;
        justify-items: center;
        align-items: center;
    }
    .navbar ul,
    .navbar button{
        display: none;
    }

    .burger-menu-button {
        display: flex;
        justify-content: end;
        z-index: 100;
    }

    .burger-menu-button i{
        display: block;
        transform: scale(1.5);
        display: flex;
        flex-direction: row-reverse;
        padding-right: 50px;

    }
    .logo{
        width: 500px;
    }


}
