.footer {
    background: var(--main);
    padding: 50px 0px;
}

.footer-div {
    margin: auto;
}

.footer-top,
.footer-bottom {
    display: grid;
    align-items: center;
    justify-content: space-between;
}

.footer-top-right {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-top h6 {
    color: var(--text-tertiary);
    font-weight: var(--fw-md);
}

.footer-bottom h1 {
    font-family: var(--tertiary-font);
    color: var(--text-tertiary);
    font-weight: var(--fw-xxxl);
    margin-bottom: 0px;
}

.footer-bottom h5 {
    font-family: var(--tertiary-font);
    color: var(--text-tertiary);
    font-weight: var(--fw-xl);
    margin-bottom: 0px;
}

@media screen and (min-width: 1400px) {
    .footer-bottom h1 {
        font-size: 100px !important;
    }

    .footer-bottom h5 {
        font-size: 30px !important;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1400px) {
    .footer-bottom h1 {
        font-size: 90px !important;
    }

    .footer-bottom h5 {
        font-size: 25px !important;
    }
}

@media screen and (min-width: 1098px) {
    .footer-div {
        width: 85%;
    }

    .footer-top {
        grid-template-columns: 35% 63%;
    }

    .footer-top h6 {
        font-size: 14px;
    }

    .footer-bottom {
        grid-template-columns: 60% 40%;
    }

    .footer-bottom h1 {
        font-size: 75px;
    }

    .footer-bottom h5 {
        font-size: 20px;
    }
}

@media screen and (min-width: 767px) and (max-width: 1098px) {
    .footer-div {
        width: 90%;
    }

    .footer-top {
        grid-template-columns: 40% 58%;
    }

    .footer-top h6 {
        font-size: 14px;
    }

    .footer-bottom {
        grid-template-columns: 55% 45%;
    }

    .footer-bottom h1 {
        font-size: 50px;
    }

    .footer-bottom h5 {
        font-size: 18px;
    }
}

@media screen and (max-width: 767px) {
    .footer-div {
        width: 95%;
    }

    .footer-top,
    .footer-bottom {
        grid-template-columns: repeat(1, 1fr);
        row-gap: 20px;
    }

    .footer-top h6 {
        font-size: 14px;
    }

    .footer-bottom h1 {
        font-size: 40px;
        text-align: center;
    }

    .footer-bottom h5 {
        font-size: 18px;
        text-align: center;
    }
}