.contact-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 20px;
}

.contact-wrapper #contact-form {
    width: 100%;
    padding: 50px;
    background-color: var(--color-5);
    border-radius: 5px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, .5);
    align-self: start;
    min-height: 600px;
}

.contact-wrapper #contact-form input,
.contact-wrapper #contact-form textarea {
    width: 100%;
    padding: 15px;
    font-size: 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: none;
    outline: none;
    color: #555;
    transition: all 200ms;
}

.contact-wrapper #contact-form textarea {
    font-size: 15px;
    font-family: sans-serif;
    width: 100%;
}

.contact-wrapper #contact-form .g-recaptcha {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: start;
    background-color: #f9f9f9;
    border-radius: 5px;
    height: 73px;
    overflow: hidden;
}

.contact-wrapper #contact-form .g-recaptcha:after {
    content: '';
    background-color: #f9f9f9;
    width: 100%;
    height: 100%;
    margin-left: -10px;
}

.contact-wrapper #contact-form input:active,
.contact-wrapper #contact-form textarea:active,
.contact-wrapper #contact-form input:focus,
.contact-wrapper #contact-form textarea:focus {
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .4);
    transition: all 200ms;
}

.contact-wrapper #contact-form #submit {
    width: 100%;
    padding: 20px 10px;
    font-size: 25px;
    margin-bottom: 0;
    border-radius: 5px;
    border: none;
    outline: none;
    box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .1);
    color: var(--color-5);
    cursor: none;
    background-color: #fff;
    transition: all 200ms;
}

.contact-wrapper #contact-form #submit:hover {
    color: #fff;
    background-color: rgb(73 67 54);
    transition: all 200ms;
}

.contact-wrapper .direct-contact-container {
    width: 100%;
    padding: 50px;
}

.contact-wrapper .direct-contact-container .subtitle a {
    text-decoration: none;
    color: var(--color-5);
    font-size: 36px;
}

.contact-wrapper .iconos-redes {
    justify-content: flex-start;
    margin: 20px 0;
}

.contact-wrapper .iconos-redes a {
    fill: var(--color);
    background-color: #fff;
    border: 1px solid #b7b7b7;
    border-radius: 50px;
    padding: 10px;
    position: relative;
    margin: 0 15px;
    transition: all 300ms;
}

.contact-wrapper .iconos-redes a:first-of-type {
    margin-left: 0;
}

.contact-wrapper .iconos-redes a:before {
    content: '';
    position: absolute;
    top: 0px;
    left: 0;
    width: 68px;
    height: 68px;
    border: 0px solid var(--color);
    border-radius: 50px;
    transition: all 300ms;
}

.contact-wrapper .iconos-redes a:hover {
    border: 1px solid transparent;
    transition: all 300ms;
}

.contact-wrapper .iconos-redes a:hover:before {
    top: -6px;
    left: -6px;
    width: 74px;
    height: 74px;
    border: 4px solid var(--color);
    transition: all 300ms;
}

.contact-wrapper .iconos-redes a span {
    overflow: hidden;
    display: flex;
}

.contact-wrapper .iconos-redes a span svg {
    height: 50px;
    width: 50px;
}

.mensaje-enviado {
    background-color: rgb(190 233 201 / 60%);
    padding: 30px 10px;
    border-radius: 5px;
    color: #0a370c;
    font-weight: bold;
    font-size: 15px;
    text-align: center;
}

.mensaje-enviado.error {
    background-color: rgba(233, 190, 190, 0.6);
    color: #370a0a;
    padding: 10px;
    margin-top: 10px;
}

@media screen and (max-width: 1200px) {
    .contact-wrapper {
        flex-direction: column;
    }

    .contact-wrapper #contact-form {
        padding: 20px;
        min-height: unset;
    }

    .contact-wrapper .direct-contact-container {
        padding: 50px 10px;
        text-align: center;
    }

    .contact-wrapper .direct-contact-container .subtitle a {
        font-size: 23px;
    }

    .contact-wrapper .iconos-redes {
        justify-content: center;
    }

    .contact-wrapper .iconos-redes a {
        margin: 0 5px;
    }
}