.contact-container {
    width: 100%;
    height: 100vh;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.cover-contact {
    width: 100%;
    height: 100%;
    background-image: url(https://i.postimg.cc/Ss698730/chester-wade-msnyz9-L6gs4-unsplash.jpg);
    background-position: center;
    background-size: cover;
}

.form-contact {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

form {
    width: 100%;
    height: 60%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

label {
    font-size: 24px;
    width: calc(100% - 200px);
    text-align: left;
}

input,
textarea {
    width: calc(100% - 200px);
    border: 2px solid var(--primary-color);
    border-radius: 40px;
    height: 60px;
    padding: 10px 20px;
    font-size: 24px;
    font-family: var(--font-family-general);
    outline: none;
    background-color: transparent;
    color: var(--white);
    caret-color: var(--secondary-color);
}

textarea {
    max-width: calc(100% - 200px);
    resize: vertical;
    min-height: 60px;
}

.submit {
    background: var(--gradient);
    border: none;
    cursor: pointer;
}

.contacts {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
}

.info-section {
    border: 2px solid var(--white);
    width: 260px;
    height: 80px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    font-size: 18px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.5s;
}

.info-section:hover {
    border: none;
    background: var(--gradient);
}

.social-media {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
}

.social {
    font-size: 32px;
    color: var(--white);
    text-decoration: none;
}

.social:hover {
    color: var(--primary-color);
}

@media (max-width: 1280px) {
    .contact-container {

        grid-template-columns: 30% 70%;
    }
}

@media (max-width: 990px) {
    label {
        width: calc(100% - 100px);
    }

    input,
    textarea {
        width: calc(100% - 100px);
        padding: 10px 20px;
        font-size: 18px;
    }

    textarea {
        max-width: calc(100% - 100px);
    }

    .info-section {
        border: 2px solid var(--white);
        width: 200px;
        height: 60px;
        font-size: 14px;
    }
}

@media (max-width: 880px) {
    .contact-container {
        grid-template-columns: 100%;
    }
    
    .cover-contact {
        display: none;
    }
}

@media (max-width: 510px) {
    .form-contact {
        padding: 20px;
    }

    label,
    input,
    textarea {
        width: 100%;
        padding: 10px 20px;
        font-size: 18px;
    }

    textarea {
        max-width: 100%;
    }

    .info-section {
        border: 2px solid var(--white);
        width: 100%;
        height: 60px;
        font-size: 14px;
    }

    .contacts {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
    }
}