* {
    box-sizing: border-box;
}

p {
    margin: 0;
}

a {
    text-decoration: none;
}

h5 {
    margin: 0;
    font-size: 1rem;
}

@media screen and (min-width: 240px) {

    /*STYLE ALL FOOTER___________________________________*/
    footer {
        margin-top: 32px;
    }

    .footer {
        background-color: #EC2A1A;
        padding: 50px 0 30px;
        width: 100%;
        display: flex;
        justify-content: center;
        margin: 0;
        max-width: none;
    }

    .footer .container {
        max-width: 1600px;
        width: 100%;
    }

    .footer .wrapper {
        padding: 0 40px;
    }

    .hidden {
        display: none;
    }

    .footer__header {
        margin-top: 15px;
        margin-bottom: 15px;
        font-weight: 700;
        color: white;
        text-align: center;
    }

    .footer__link-text p {
        line-height: 1.5;
    }

    .footer__link-text {
        color: white;
        margin: 0 25px;
        opacity: 0.8;
        transition: all 0.2s linear;
    }

    .footer__link-text:hover {
        opacity: 1;
        filter: drop-shadow(2px 4px 4px black);
        color: white;
        transition: all 0.2s linear;
    }

    .footer__content {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: 30px;
    }

    /*STYLE SECTION TOP___________________________________*/
    .footer__section-top {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        width: 100%;
    }

    /*STYLE SECTION BOTTOM___________________________________*/
    .footer__section-bottom {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        margin-top: 25px;
        opacity: 0.5;
        color: white;
    }

    /*STYLE SECTION LEFT___________________________________*/
    .footer__copyright {
        text-align: center;
    }

    .footer__section-left {
        display: flex;
        flex-direction: column;
    }

    /*STYLE SECTION MIDDLE___________________________________*/
    .footer__section-middle {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 300px;
    }

    .footer__logo-container {
        width: 140px;
        height: 0;
        background-color: transparent;
        border-radius: 10px;
        margin-bottom: 15px;
    }

    .footer__image-logo {
        width: inherit;
    }

    .footer__socials-media {
        width: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        border-top: 1px solid #f3f3f3;
        justify-content: center;
    }

    .footer__socials-media::before {
        content: "";
        position: absolute;
        width: 25px;
        height: 10px;
        background-color: #f3f3f3;
        top: 10px;
    }

    .footer__icon svg {
        width: 24px;
        height: 24px;
        color: white;
    }

    .footer__link {
        opacity: 0.8;
        margin: 14px 10px 10px;
        transition: all 0.2s linear;
    }

    .footer__link.active:hover {
        opacity: 1;
        filter: drop-shadow(2px 4px 4px black);
        color: white;
        transition: all 0.2s linear;
    }

    /*STYLE SECTION RIGHT___________________________________*/
    .footer__section-right {
        text-align: right;
    }

    .footer__payments {
        display: flex;
        flex-wrap: wrap;
    }

    .footer__payment-method {
        background-color: #f3f3f3;
        margin: 8px;
        border-radius: 5px;
        width: 55px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .footer__payment-method:last-child {
        margin-right: 0;
    }

    .footer__payment-method img {
        width: 50px;
        height: 25px;
        object-fit: scale-down;
    }

    /*STYLE SECTION FOOTER___________________________________*/
    .footer__section-left,
    .footer__section-middle,
    .footer__section-right {
        flex-basis: 100%;
        max-width: 100%;
    }
}

@media screen and (min-width: 720px) {

    /*STYLE ALL FOOTER___________________________________*/
    .footer__content {
        display: block;
        margin-bottom: 0;
        width: fit-content;
    }

    .footer__header {
        text-align: inherit;
        margin-top: 0;
    }

    .footer__link-text {
        margin: 0;
    }

     /*STYLE SECTION FOOTER___________________________________*/
    .footer__section-left,
    .footer__section-middle,
    .footer__section-right {
        flex-basis: 33%;
        max-width: 33%;
    }

    /*STYLE SECTION LEFT___________________________________*/
    .footer__copyright {
        text-align: left;
    }

    /*STYLE SECTION MIDDLE___________________________________*/
    .footer__logo-container {
        width: 175px;
        height: 0;
    }

    .footer__socials-media::before {
        top: 10px;
    }

    /*STYLE SECTION MIDDLE___________________________________*/
    .footer__section-right {
        display: flex;
        flex-direction: column;
        align-items: end;
    }

    /*STYLE SECTION BOTTOM___________________________________*/
    .footer__section-bottom {
        justify-content: space-between;
    }
}