@media only screen and (max-width: 1000px) {
    #s-form {
        display: none;
    }

    header {
        height: 80px;
    }

    nav {
        padding: 0 22px;
        height: 4rem;
    }

    main {
        margin: 0px 22px;
    }

    .fa-regular.fa-moon {
        display: none;
    }

    .left-box h1 {
        font-size: 1em;
        transform: scaleY(1.5);
        margin-bottom: 10px;
        line-height: 1.2em;
    }

    .left-box p {
        line-height: 1.5em;
        margin-top: 20px;
        font-size: 0.8em;
    }
}

@media only screen and (max-width: 600px) {
    header {
        height: fit-content;
    }

    nav {
        width: 100%;
        padding: 0 5px;
        height: 100px;
    }

    nav a {
        width: 100%;
        text-align: center;
        font-size: 3em;
        padding: 12px 0 0 0;
    }

    #logo-text {
        font-size: 7vw;
    }

    nav #header-menu {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    nav #header-menu a {
        text-align: center;
        width: fit-content;
        /* width: 100%; */
        font-size: 5vw;
    }

    #header-menu a {
        padding: 5px 5px;
        gap: 1%;
    }

    #s-form {
        display: none;
    }

    .fa-regular.fa-moon {
        display: none;
    }

    main {
        margin: 40px 15px;
    }

    .container {
        text-align: center;
        flex-direction: column-reverse;
    }

    .container .left-box {
        margin-top: 40px;
    }

    .container .right-box {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .left-box h1 {
        font-size: 1em;
        transform: scaleY(1.5);
        margin-bottom: 10px;
        line-height: 1.2em;
    }

    .left-box p {
        line-height: 1.5em;
        margin-top: 20px;
        font-size: 0.8em;
        padding: 0 30px;
    }

    .container .left-box .social-icon {
        margin-top: 1em;
        margin-left: 0.2em;
        display: flex;
        justify-content: center;
    }

    .container .left-box .social-icon a:first-child {
        margin: 0 3px 0 3px;
    }
}

@media only screen and (max-width: 450px) {
    .left-box h1 {
        text-align: center;
        padding: 0;
    }

    .left-box p {
        text-align: center;
        padding: 0;
    }

    .container .left-box a {
        padding: 7px 10px;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}