main section:first-of-type {
    padding-top: 60px;
}

main {
    padding-bottom: 90px;
}

h1 {
    padding-bottom: 24px;
}


/* Botones Contacto*/
.botones-container {
    display: flex;
    flex-direction: column;
    width: 35%;
    gap: 40px;
}

.botones-container .boton {
    padding: 1.5rem 3rem;
    border: 1px solid #2b2b2b73;
    border-radius: 15px;
    transition: all 300ms ease;
    color: var(--primary);
    text-decoration: none;
    cursor: pointer;
}

.botones-container .boton:hover, .botones-container .boton.active {
    border: 1px solid var(--primary);
    box-shadow: -3px 4px 2px #b3b3b3;
}

.botones-container .boton h2 {
    font-size: 26px;
    text-align: center;
    margin-bottom: 0;
    padding-left: 20px;
}

/* Form */
.form-container {
    width: 50%;
}

.form-container form {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.form-container .ancho-50 {
    width: 100%;
}

.form-container form .boton-rojo {
    width: auto;
    padding: 7px 40px;
    border: none;
}

form label {
    font-size: 18px;
}

@media (max-width: 1400px) {
    h1 {
        padding-bottom: 1.5rem;
    }

    .botones-container {
        width: 40%;
        gap: 30px;
    }

    .botones-container .boton {
        padding: 1rem 3rem;
    }

    .botones-container .boton h2 {
        font-size: 22px;
    }

    .botones-container .img-container img {
        height: 80px;
    }

    .form-container form {
        gap: 10px;
    }

    .form-container .ancho-50 {
        width: 47%;
    }
}

@media (max-width: 1200px) {
    .botones-container {
        width: 42%;
    }

    .botones-container .img-container img {
        width: 75px;
    }

    .botones-container .boton {
        height: 115px;
        padding: 1rem 1.5rem;
    }

    .form-container .ancho-50 {
        width: 100%;
    }
}

@media (max-width: 992px) {
    main section:first-of-type {
        padding-top: 40px;
    }

    .botones-container .boton h2 {
        font-size: 18px;
        padding-left: 15px;
    }
}

@media (max-width: 768px) {
    h1 {
        padding-bottom: 1rem;
    }

    .botones-container {
        width: 100%;
        gap: 10px;
        padding-bottom: 2rem;
    }

    .botones-container .boton {
        height: 75px;
    }

    .botones-container .img-container {
        justify-content: center;
    }

    .botones-container .img-container img {
        width: auto;
        height: 100%;
    }

    .form-container {
        width: 100%;
    }
} 

@media (max-width: 576px) {
    main section:first-of-type {
        padding-top: 30px;
    }

    .botones-container .boton {
        padding: 1rem;
    }

    .botones-container .boton h2 {
        font-size: 16px;
        padding-left: 0;
    }
}
