* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: "Trenda";
    src: url("./assets/trenda.otf");
}

footer.loreal-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    background-color: rgba(0, 0, 0, .6);
    font-family: Trenda;
    z-index: 50;
    display: none;
}

footer .footer-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
    gap: 10px;
}

footer .footer-container .button-container {
    color: white;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

footer .footer-container .button-container label {
    text-transform: uppercase;
    font-size: 12px;
}

footer.loreal-footer .footer-container .items-container {
    width: 100%;
    height: 0;
    gap: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    transition: all .1s ease-in; 
    overflow-y: hidden;
}

footer.loreal-footer .footer-container .items-container.show {
    padding-top: 27px;
    height: 100%;
}

footer.loreal-footer .footer-container .items-container .item {
    height: 0;
    opacity: 0;
    display: flex;
    width: 30%;
    text-align: center;
    flex-direction: column;
    align-items: center;
    transition: all .5s ease;
}

footer.loreal-footer .footer-container .items-container.show .item{
    height: 100%;
    opacity: 1;
}

footer.loreal-footer .footer-container .items-container .item img {
    width: 60px;
    height: 60px;
}

footer.loreal-footer .footer-container .items-container .item span {
    color: white;
    text-transform: uppercase;
    font-size: 12px;
    margin-top: 10px;
    text-align: center;
}


@media (min-width:768px) {

    footer.loreal-footer .footer-container .items-container .item{
        height: 100%;
        opacity: 1;
    }

    footer .footer-container .button-container {
        height: 80px;
    }

    footer.loreal-footer .footer-container .items-container {
        max-width: 600px;
    }

    

    footer.loreal-footer .footer-container .items-container .item {
        width: 25%;
    }
}

@media (min-width:992px) {

    footer.loreal-footer .footer-container .items-container .item{
        height: 100%;
        opacity: 1;
    }

    footer.loreal-footer .footer-container .items-container {
        padding: 10px 0;
        height: max-content;
        display: flex !important;
        justify-content: center;
        gap: 90px;
        max-width: 100%;
    }

    footer.loreal-footer .footer-container .items-container.show {
        padding: 0;
    }

    footer.loreal-footer .footer-container .items-container .item {
        width: 48px;
        align-items: center;
    }

    footer.loreal-footer .footer-container .items-container .item img {
        width: 40px;
        height: 40px;
    }

    footer.loreal-footer .footer-container .items-container .item span {
        width: max-content;
        font-size: 10px;
        line-height: 0.7;
    }

    .footer-container .button-container {
        display: none !important;
    }
}


/* Hamburguer button */

.menu-btn {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    cursor: pointer;
    transition: all .5s ease-in-out;
    /* border: 3px solid #fff; */
}

.menu-btn__burger {
    width: 25px;
    height: 3px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(255, 101, 47, .2);
    transition: all .5s ease-in-out;
}

.menu-btn__burger::before,
.menu-btn__burger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(255, 101, 47, .2);
    transition: all .5s ease-in-out;
}

.menu-btn__burger::before {
    transform: translateY(-8px);
}

.menu-btn__burger::after {
    transform: translateY(8px);
}

/* ANIMATION */
.menu-btn.open .menu-btn__burger {
    transform: translateX(-50px);
    background: transparent;
    box-shadow: none;
}

.menu-btn.open .menu-btn__burger::before {
    transform: rotate(45deg) translate(35px, -35px);
}

.menu-btn.open .menu-btn__burger::after {
    transform: rotate(-45deg) translate(35px, 35px);
}
