/* ---------- mobile ---------- */

.footer-module {
    padding-bottom: 24px;
}

.footer-module .footer-wrapper {
    max-width: 1440px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.footer-module .footer-wrapper .footer-container {
    background: #fafafa;
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 96px;
    border-radius: 2rem;
    padding-bottom: 24px;
}

.footer-module .footer-wrapper .footer-container a:hover {
    text-decoration: underline;
}

.contact {
    margin-bottom: 48px;
}
.explore {
    margin-bottom: 48px;
}

.explore ul {
    margin-bottom: 48px;

    &:last-of-type {
        margin-bottom: 0;
    }
}

.explore ul li:first-of-type {
    margin-bottom: 12px;
}

.explore ul li a {
    text-decoration: none;
    color: #737373;
}

.social {
    display: flex;
    flex-direction: column-reverse;
    gap: 96px;
}

.social small {
    display: block;
}

.social .icons {
    display: flex;
    gap: 12px;
}

.social .icons img {
    display: block;
    width: 2rem;
    height: auto;
} 

.footer-module .footer-wrapper ul li a {
    font-size: 20px;
}

/* ---------- tablet ---------- */

@media screen and (min-width: 48rem) {
    .footer-module .footer-wrapper .footer-container .contact {
        max-width: 66.66666%;
    }

    .footer-module .footer-wrapper .footer-container .explore {
        display: flex;
        flex-wrap: wrap;
        gap: 24px;
        justify-content: space-between;
    }

    .footer-module .footer-wrapper .footer-container .explore ul {
        width: calc(50% - 12px);
    }

    .footer-module .footer-wrapper .footer-container .social {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

}

/* ---------- laptop ---------- */

@media screen and (min-width: 90rem) {
    .footer-module .footer-wrapper .footer-container {
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        gap: 24px;
        padding-left: 24px;
        padding-right: 24px;
    }


    .footer-module .footer-wrapper .footer-container .contact {
        grid-column: span 6;
        grid-row: 1;
    }
    .footer-module .footer-wrapper .footer-container .explore {
        grid-column: span 6;
        grid-row: 1;
        
    }
    .footer-module .footer-wrapper .footer-container .social {
        grid-column: span 12;
        grid-row: 2;
    }
}
