.header {
    height: 570px;
    width: 100%;
    background: rgb(62,57,107);
    position: relative;

}
.header__texture {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;left: 0;
    background: url("../img/Maison.jpg") center no-repeat;
    background-size: cover;
    z-index: 1;
    opacity: 0.6;
}

.header__mask {
    position: absolute;
    bottom: 0;
    background: 0 0;
    height: 43px;
    width: 100%;
    z-index: 10;

}

.header__navbar {
    width: 100%;
    height: 100px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.header__navbar--logo-title {
    color: #fff;
    font-size: 30px;
}

.header__navbar--menu-link {
    margin-left: 30px;
    color: #fff;
    text-decoration: none;
}

.header__navbar--menu-link:hover{
    color: #8900ff;
}

.header__btn{
    text-align: center;
    margin-top: 260px;
}

.header__btn-btn {
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding: 25px 50px;
    background: #8900ff;
    border-radius: 10px;
}

.header__btn-btn:hover{
    color: deepskyblue;
}

.menu-toggle {
    width: 50px;
    height: 50px;
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 20;
}




/* Partie pour le responsive */

/* Partie du menu burger pour mobile */
@media only screen and (max-width: 900px) {

    .container{
        width: 100%;
    }
    .header__navbar--menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 20px;
        left: 0;
        width: 100%;
        height: 40vh;
        background: rgba(51, 51, 51, 0.9);
        text-align: center;
        justify-content: center;
        padding: 20px 0;
        backdrop-filter: blur(10px);
        transition: 0.5s;
        z-index: 5;
        border-radius: 5%;
    }
    .header__navbar--menu a {
        display: block;
        padding: 10px;
        font-size: 20px;
    }
    
    .header__navbar--menu.active {
        display: flex;
    }

    .menu-toggle {
        width: 50px;
        height: 50px;
        display: flex;
        position: relative;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        z-index: 100px;
    }
    
    .menu-toggle::after{
        content: "";
        position: absolute;
        width: 35px;
        height: 2px;
        background-color: white;
        box-shadow: 0 10px 0 white;
        transform: translateY(-10px);
    }

    .menu-toggle.active::after{
        box-shadow: 0 0px 0 white;
        transform: rotate(45px);
    }
    
    .menu-toggle::before{
        content: "";
        position: absolute;
        width: 35px;
        height: 2px;
        background-color: white;
        transform: translateY(10px);
    }

    .menu-toggle.active::before{
        transform: rotate(-45px);
    }

    .menu-toggle::after,
    .menu-toggle::before {
        content: "";
        position: absolute;
        width: 35px;
        height: 3px;
        background-color: white;
        transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    }

    .menu-toggle::after {
        transform: translateY(-10px);
    }

    .menu-toggle::before {
        transform: translateY(10px);
    }

    .menu-toggle.active::after {
        transform: rotate(45deg) translateY(0);
    }

    .menu-toggle.active::before {
        transform: rotate(-45deg) translateY(0);
    }
}


