@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

:root {
    --primary-color: #6366F1;
    --accent-color: #3f83f8;
    --text-color: #333333;
    --link-color: #2563eb;
    --background-color: #ffffff;
    --light-gray: #f0f0f0;
    --gray: #808080;
    --dark-gray: #555;
}

* {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
}

body {
    height: 100vh;
    text-align: center;
    background-color: var(--background-color);
    padding: 0.1rem;
}

.footer {
    background-color: white;
    color: black;
    padding: 2rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-top: 3rem;
    max-width: 100%;
    max-width: 1280px;
    text-align: left;
    display: flex;
    justify-content: space-between;
    padding-right: 2rem;
    margin-left: auto;
    margin-right: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
    width: 100%;
    gap: 2rem; 
}

.footer-left {
    flex: 1;
    min-width: 300px;
    margin-bottom: 1.5rem;
}

.footer-left h1 {
    font-size: 2rem;
    margin: 0 0 0.5rem 0;
    font-weight: bold;
}

.footer-left p {
    margin: 0.3rem 0;
    line-height: 1.6;
    font-size: 1rem;
}

.company-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 2rem 1rem;
    background-color: var(--light-gray);
    border-radius: 0.625rem;
    min-width: 350px;
    place-items: center;
}

.company-logo {
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.company-logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.svg-image {
    height: 1.56rem;
}

.logo-text {
    font-size: 1rem;
}

@media screen and (min-width: 640px) { 
    .company-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .company-title {
        font-size: 2.3rem;
        font-weight: bolder;
    }
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: black;
    border-top: 1px solid #444;
    padding-top: 1rem;
    width: 80rem;
}

@media screen and (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-left, .footer-right {
        text-align: center;
    }
}

/* -------------------------------------------------- */

@media screen and (min-width: 800px) {
    .footer-content {
        flex-direction: row;
        align-items: flex-start;
    }

    .company-grid {
        align-self: flex-start; 
        margin-left: auto;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 799px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .company-grid {
        margin: 2rem auto 0;
        grid-template-columns: repeat(2, 1fr);
        display: grid;
        place-items: center;
    }
}

@media screen and (max-width: 640px) {
    .company-grid {
        grid-template-columns: 1fr;
        display: grid;
        place-items: center;
    }
}