﻿.contact-section {
    max-width: 1200px;
    width: 100%;
    justify-self: center;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

    .contact-section > div:first-of-type {
        display: flex;
        flex-direction: column;
        justify-self: center;
    }

        .contact-section > div:first-of-type h2 {
            font-size: 19px;
        }

        .contact-section > div:first-of-type > p {
            font-size: 12px;
            color: gray;
        }

        .contact-section > div:first-of-type > div > div {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            margin-top: 1.5rem;
        }

        .contact-section > div:first-of-type > div a {
            display: flex;
            gap: 5px;
            align-items: center;
            font-size: 12px;
            color: var(--black)
        }

            .contact-section > div:first-of-type > div a svg {
                width: 15px;
                height: 15px;
                min-width: 15px;
                min-height: 15px;
            }

    .contact-section > div:last-of-type form {
        justify-self: center;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        max-width: 350px;
        padding: 1rem;
        border-radius: 10px;
        border: var(--border);
    }

        .contact-section > div:last-of-type form div label {
            color: gray;
            font-size: 12px;
        }

        .contact-section > div:last-of-type form div:last-of-type {
            grid-column: span 2;
            display: flex;
            flex-direction: column;
            gap: 5px;
        }

        .contact-section > div:last-of-type form div textarea {
            padding: 5px 3px !important;
            outline: none;
            border: 0;
            border-radius: 0;
            border-bottom: var(--border) !important;
        }

        .contact-section > div:last-of-type form div input {
            padding: 5px 3px !important;
            outline: none;
            border: 0;
            border-radius: 0;
            border-bottom: var(--border) !important;
        }

        .contact-section > div:last-of-type form div input {
            width: calc(100% - 20px);
        }

.contact-section-mail-div {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

@media(max-width:1400px) {
}

@media(max-width:1200px) {
}

@media(max-width:992px) {
    .contact-section-mail-div {
        grid-template-columns: repeat(1, 1fr);
        gap: 1rem;
    }
}

@media(max-width:768px) {
    .contact-section {
        width: calc(100% - 2rem);
        grid-template-columns: 1fr;
        gap: 2rem;
    }

        .contact-section form {
            max-width: 430px !important;
            width: calc(100% - 2rem);
        }
}

@media(max-width:576px) {
    .contact-section > div:last-of-type form {
        display: flex;
        flex-direction: column;
    }

    .contact-section > div:last-of-type textarea,
    .contact-section > div:last-of-type input {
        font-size: 12px;
    }

    .contact-section > div:last-of-type button {
        width: 100%;
    }
}
