@import url(style.css);
@import url(index.css);

@media (max-width: 1200px) {
    .foot-submit p {
        width: 80%;
        font-size: 12px;
    }

    .container {
        max-width: 800px;
    }

    .hero {
        max-width: 800px;
        height: 100vh;
        display: grid;
        grid-template-areas: "nav nav""ht hs""sc sc";
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 5rem 1fr 1.25rem;
    }

    .hero-text h1 {
        margin-top: 1rem;
        font-size: 2.875rem;
    }

    .form {
        width: 90%;
        margin-top: 1rem;
        padding: 1.2rem;
        box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.2);
    }

    .form h2 {
        color: var(--alt-black);
        font-size: 24px;
        text-align: left;
    }

    .business-cont {
        justify-content: space-around;
    }
}

@media (max-width: 420px) {
    p {
        text-align: center;
    }

    h1,
    h2,
    h3 {
        text-align: center;
    }

    .topbar {
        display: none;
    }

    .container {
        max-width: 350px;
        margin: auto;
    }

    .hero {
        max-width: 350px;
        height: 100vh;
        color: white;
        display: grid;
        grid-template-areas: "nav""ht""hs""sc";
        grid-template-columns: 100%;
        grid-template-rows: 6.25rem 1fr 1fr;
    }

    #navbar {
        display: none;
    }

    .navbar {
        padding-top: 1rem;
        display: flex;
        justify-content: center;
    }

    .navbar nav {
        display: none;
    }

    .hero-text h1 {
        margin-top: 1rem;
        font-size: 2.5rem;
        text-align: center;
    }

    .buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .buttons>.text-button {
        margin-top: 1rem;
        margin-left: 0rem;
    }

    .form {
        margin-top: 1rem;
        width: 100%;
        height: auto;
        padding: 1rem;
        box-shadow: 0rem 0.9375rem 1.875rem rgba(0, 0, 0, 0.2);
    }

    .form h2 {
        color: var(--alt-black);
        font-size: 1.5rem;
        text-align: left;
    }

    .form input {
        margin-top: 1rem;
    }

    .foot-submit p {
        font-size: 0.875rem;
        text-align: left;
        width: 70%;
    }

    .scroll {
        display: none;
    }

    .sec-21-flex {
        margin-bottom: 2rem;
    }

    .sec-21-flex div {
        width: 47.5%;
        margin-top: 2rem;
    }

    .sec-2-flex {
        flex-direction: column;
        gap: 1.2rem;
    }

    .sec-2-flex img {
        width: 12.5rem;
    }

    .box h2 {
        text-align: left;
    }

    .business {
        padding: 2.5rem;
    }

    .business-cont {
        flex-direction: column;
    }

    .sec-3-flex {
        flex-direction: column;
        gap: 1.2rem;
    }

    .sec-3-flex a {
        width: 100%;
        text-align: center;
    }

    .sec-3-flex h1 {
        width: 100%;
    }

    .sec-3-flex img {
        width: 12.5rem;
    }
}