/* ---CONTACT STYLES--- */

.contact_section {
    padding: 3.5% 0 0 0;
}

.contact_section .contact_box {
    width: 100%;
    display: grid;
    grid-template-columns: 50% 50%;
}

.contact_section .info_box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1vw;
    padding: 10% 10% 10% 22%;
}

.contact_section h1 {
    color: var(--dark-blue);
    font-size: 3vw;
}

.contact_section h1 span {
    color: var(--gray);
}

.contact_section p {
    text-align: left;
}

.contact_section .form_box {
    display: flex;
    flex-direction: column;
    gap: .5vw;
}

.contact_section input,
.contact_section select {
    width: 100%;
    font-size: .9vw;
    border: none;
    background: #efefef;
    border-radius: .2vw;
    padding: .7vw;
}

.contact_section input:focus-visible,
.contact_section select:focus-visible,
.contact_section textarea:focus-visible {
    outline: none;
    background: #009dff20;
}

.contact_section textarea {
    width: 100%;
    height: 6vw;
    resize: none;
    font-size: .9vw;
    border: none;
    background: #efefef;
    border-radius: .2vw;
    padding: .7vw;
}

.contact_box .form_item {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .5vw;
}

.contact_section .main_button {
    position: relative;
    width: 100%;
}

.contact_section .main_button i {
    display: none;
    position: absolute;
    top: 32%;
    right: 2%;
    animation: rotate 2s linear infinite;
}

.contact_section .loading_button i {
    display: block;
}

.contact_section .message_box {
    height: 1.5vw;
    position: relative;
}

.contact_section .message_box p {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1vw;
    text-align: center;
}

.contact_section .done {
    color: #0bb300;
}

.contact_section .error {
    color: #f31212;
}

.contact_section .media_box {
    display: flex;
    height: 35vw;
    justify-content: center;
    align-items: flex-end;
    border-radius: 15vw 0 0 2vw;
    background: linear-gradient(to right, var(--dark-blue), var(--blue));
}

.contact_section img {
    width: 50%;
}

@media (max-width: 996px) {
    .contact_section {
        padding: 0;
    }
    .contact_section .contact_box {
        grid-template-columns: 1fr;
    }
    .contact_section .info_box {
        order: 2;
        gap: 3vw;
        padding: 10%;
    }
    .contact_section h1 {
        font-size: 8vw;
        text-align: center;
    }
    .contact_section p {
        text-align: center;
    }
    .contact_section .form_box {
        gap: 3vw;
    }
    .contact_section input,
    .contact_section select {
        font-size: 3.5vw;
        border-radius: .5vw;
        padding: 2.5vw;
    }
    .contact_section textarea {
        height: 30vw;
        font-size: 3.5vw;
        border-radius: .5vw;
        padding: 2.5vw;
    }
    .contact_box .form_item {
        display: grid;
        grid-template-columns: 1fr;
        gap: 3vw;
    }
    .contact_section .main_button i {
        right: 3%;
    }
    .contact_section .loading_button i {
        display: block;
    }
    .contact_section .message_box {
        height: 5vw;
    }
    .contact_section .message_box p {
        font-size: 3.5vw;
    }
    .contact_section .media_box {
        height: 60vw;
        border-radius: 30vw 0 0 5vw;
        margin: 0% 0 0 10%;
    }
    .contact_section img {
        width: 42%;
    }
}