.contact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 6em;
    padding-bottom: 4em;

    h1 {
        font-size: var(--size-4xl);
        font-family: var(--font-primary);
    }

    h2 {
        font-size: var(--size-2xl);
        font-family: var(--font-logo);
        margin-bottom: 2em;
    }
}

.contact__wrapper {
    display: flex;
    justify-content: center;
    align-items: start;
    gap: 4rem;

    form {
        display: flex;
        flex-direction: column;
        background-color: #fff;
        border-radius: 20px;
        padding: 3em 5em;
        box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
        transition: all 0.2s;
    }

    form:hover {
        box-shadow: none;
    }
}

.contact__company {
    background-color: #fff;
    border-radius: 20px;
    padding: 3em 3em;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    transition: all 0.2s;
}

.contact__company:hover {
    box-shadow: none;
}

.contact__company__item {
    margin-bottom: 3em;

    h2 {
        font-size: var(--size-2xl);
        font-weight: 500;
        letter-spacing: 0.05rem;
        margin-bottom: 0.2em;
    }

    a {
        text-decoration: none;
        color: var(--clr-slate);
        transition: all 0.3s;
        font-size: var(--size-base);
    }

    a:hover {
        color: var(--clr-red);
    }
}

.contact__company__item:last-child {
    margin-bottom: 0;
}

.contact__form__flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3em;
}

.contact__form__input {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    margin-bottom: 2rem;

    label {
        display: block;
        font-size: var(--size-lg);
        color: var(--clr-slate);
        transition: color 0.3s cubic-bezier(0.25, 0.01, 0.25, 1) 0s;
    }

    input {
        width: 250px;
        height: 44px;
        background-color: #05060f0a;
        border-radius: 0.5rem;
        padding: 0 1rem;
        border: 2px solid transparent;
        font-size: 1rem;
        transition: border-color 0.3s cubic-bezier(0.25, 0.01, 0.25, 1) 0s,
            color 0.3s cubic-bezier(0.25, 0.01, 0.25, 1) 0s,
            background 0.2s cubic-bezier(0.25, 0.01, 0.25, 1) 0s;
    }

    input:hover,
    input:focus {
        outline: none;
        border-color: var(--clr-red);
    }

    textarea {
        background-color: #05060f0a;
        border-radius: 0.5rem;
        padding: 1rem;
        border: 2px solid transparent;
        font-size: 1rem;
        transition: border-color 0.3s cubic-bezier(0.25, 0.01, 0.25, 1) 0s,
            color 0.3s cubic-bezier(0.25, 0.01, 0.25, 1) 0s,
            background 0.2s cubic-bezier(0.25, 0.01, 0.25, 1) 0s;
    }

    textarea:hover,
    textarea:focus {
        outline: none;
        border-color: var(--clr-red);
    }

    button {
        cursor: pointer;
    }
}
.contact__form__input:hover input,
.contact__form__input:hover textarea {
    outline: none;
    border-color: var(--clr-red);
}
.contact__form__input:hover label,
input:focus,
textarea:focus {
    color: var(--clr-red);
}

/* 2xl */
/* @media (max-width: 1536px) {} */

/* xl */
@media (max-width: 1280px) {
    .contact__wrapper {
        form {
            padding: 3em 4em;
        }
    }

    .contact__company {
        padding: 3em 2.5em;
    }

    .contact__company__item {
        h2 {
            font-size: var(--size-xl);
        }

        a {
            font-size: var(--size-sm);
        }
    }

    .contact__form__input {
        label {
            font-size: var(--size-base);
        }

        input {
            width: 220px;
            height: 40px;
            font-size: var(--size-sm);
        }

        textarea {
            font-size: var(--size-sm);
        }
    }
}

/* lg */
@media (max-width: 1024px) {
    .contact__wrapper {
        align-items: center;
        flex-direction: column;
    }

    .contact__company {
        padding: 3em 4.5em;
    }

    .contact__company__item {
        h2 {
            font-size: var(--size-2xl);
        }

        a {
            font-size: var(--size-lg);
        }
    }

    .contact__form__input {
        label {
            font-size: var(--size-lg);
        }

        input {
            width: 250px;
            height: 44px;
            font-size: var(--size-base);
        }

        textarea {
            font-size: var(--size-base);
        }
    }
}

/* md */
@media (max-width: 768px) {
    .contact__form__input {
        label {
            font-size: var(--size-base);
        }

        input {
            width: 200px;
            height: 40px;
            font-size: var(--size-sm);
        }

        textarea {
            font-size: var(--size-sm);
        }
    }
}

/* sm */
@media (max-width: 640px) {
    .contact {
        h1 {
            font-size: var(--size-3xl);
        }
        h2 {
            font-size: var(--size-lg);
        }
    }

    .contact__wrapper {
        form {
            padding: 3em 3em;
        }
    }

    .contact__company {
        padding: 3em 3.5em;
    }

    .contact__company__item {
        h2 {
            font-size: var(--size-xl);
        }

        a {
            font-size: var(--size-sm);
        }
    }

    .contact__form__flex {
        flex-direction: column;
        gap: 0;
    }

    .contact__form__input {
        label {
            font-size: var(--size-base);
        }

        input {
            width: 250px;
            height: 42px;
            font-size: var(--size-sm);
        }

        textarea {
            font-size: var(--size-sm);
        }
    }
}

/* xs */
/* @media (max-width: 475px) {} */
