.main-title {
    margin: 100px 0 80px 0;
    text-transform: uppercase;
    padding: 0 20px;
}

.sub-title {
    padding: 0 20px;
}

label.sub-title {
    padding: 0;
}

.container {
    justify-content: center;
    width: 1200px;
    max-width: 100%;
    margin: 60px auto 0 auto;
}

.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
    width: 10%;
}

.card .big-icon {
    margin-bottom: 30px;
}

.big-icon {
    width: 96px;
    height: 96px;
    color: #333333;
}

.contact-box {
    background-color: var(--main-red-color);
    width: 100%;
    margin: 80px 0;
    flex-direction: column;
}

.right-contact .square-input {
    height: 100%;
}

.title-box {
    color: var(--secondary-color);
    font-size: 40px;
    font-weight: bold;
    margin: 50px 0;
}

.right-contact {
    position: relative;
}

.right-contact button {
    background-color: white;
    font-size: 20px;
    color: var(--main-red-color);
    gap: 15px;
    padding: 10px 2rem;
    border-radius: 30px;
    position: absolute;
    bottom: -75px;
    left: 50%;
    transform: translateX(-50%);
}

.left-contact {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

#contact-form {
    display: flex;
    margin: 0 0 100px 0;
}

#contact-form > div {
    width: 50%;
    padding: 0 100px;
}

#send-image svg {
    height: 30px;
}

#message {
    height: 100%;
}

.square-input label {
    color: white;
}

@media screen and (max-width: 1200px) {
    .container {
        flex-direction: column;
        justify-content: center;
        gap: 50px;
    }

    .title-box {
        margin: 50px 20px 0 20px;
        font-size: 20px;
    }

    .card {
        width: 100%;
    }

    #contact-form {
        flex-direction: column;
    }

    #contact-form > div {
        width: 100%;
        padding: 0 50px;
    }

    .right-contact .square-input label {
        margin-top: 2rem;
    }

    #message {
        height: 200px;
    }
}

@media screen and (max-width: 700px) {
    .main-title {
        margin: 40px 0 25px 0;
    }
}

@media screen and (max-width: 480px) {
    .card {
        width: 100%;
    }

    #send-image svg {
        height: 24px;
        width: 18px;
    }

    #submit-button {
        font-size: 16px;
    }
}

.socials {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 100px;
    margin: 20px 0 100px 0;
    width: 100%;
}

.social .big-icon {
    margin-bottom: 20px;
}

.social .text {
    font-weight: lighter;
}

.social {
    display: flex;
    align-items: center;
    flex-direction: column;
    text-decoration: none;
    color: black;
}

textarea {
    resize: vertical;
    min-height: 3em;
}

.spinner {
    width: 30px;
    height: 30px;
}