
@import url('https://fonts.googleapis.com/css?family=Yantramanav:100,300');

/* Estilos globales*/
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body{
    background: #e69e04;
}

@media screen and (min-width: 320px) and (max-width: 767px){
    .container-contact{
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        min-height: 100vh;
        padding: 20px;
    }
    
    .contenedor-form{
        width: 100%;
        display: grid;
        border-radius: 20px;
    }
    
    .contenedor-form .description{
        display: flex;
        width: 100%;
        flex-direction: column;
        background: #ffffff;
        padding: 10px;
        border-top-right-radius: 10px;
        border-top-left-radius: 10px;
    }
    
    .description .name-company{
        margin-top: 20px;
        font-size: 18px;
        font-weight: 700;
        text-transform: uppercase;
        color: #3a5783;
    }
    
    .img-company{
        display: flex;
        width: 100%;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .img-company img{
        height: 100px;
        margin-top: 0px;
    }
    
    .datos{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-evenly;
        align-items: center;
        margin-top: 20px;
        gap: 10px 20px;
    }

    .datos .direction, .number, .mail{
        font-size: 12px;
        margin-top: 5px;
    }
    
    .datos .fa-road, .fa-phone-alt, .fa-envelope{
        margin-right: 10px;
        color: #4e4e4d;
    }

    .datos .bi-arrow-return-left{
        color: #4e4e4d;
        font-size: 14px;
        margin-right: 10px;
    }

    .datos .link-form{
        font-size: 12px;
        text-decoration: none;
        font-weight: 600;
        color: #757474;
    }
    
    /* Estilos de form */
    .form-contact{
        padding: 20px;
        background: #f3f4f7;
        width: 100%;
        height: 100%;
        border-bottom-right-radius: 10px;
        border-bottom-left-radius: 10px;
    }
    
    .contact-us{
        font-size: 18px;
        text-transform: uppercase;
        margin-left: 0px;
        margin-top: 10px;
        color: #3a5783;
    }
    
    .global-form{
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 20px;
        justify-items: center;
        margin-top: 20px;
    }
    
    .global-form .forms-inputs,
    .global-form .message{
        width: 100%;
        padding: 10px;
        border: solid 1px #627EDC;
        border-radius: 4px;
    }
    
    .forms-inputs{
        max-width: 400px;
    }
    
    .message{
        grid-column: 1 / 3;
        resize: none;
    }
    
    /* Estilo para button */
    .button {
        grid-column: 1/3;
        width: 100%;
        height: 50px;
        border: unset;
        border: 1px solid #269dff;
        border-radius: 5px;
        z-index: 1;
        color: #000000;
        background: #ffffff;
        position: relative;
        transition: all 250ms;
        overflow: hidden;
        cursor: pointer;
    }
    
    .button{
        text-align: center;
        font-size: 13px;
        font-weight: 600;
        font-style: normal;
        text-transform: uppercase;
    }
    
    .button::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
        height: 100%;
        width: 0;
        background-color: #e69e04;
        transition: all 750ms
    }
    
    .button:hover {
        color: #ffffff;
    }
    
    .button:hover::before {
        width: 100%;
    }
    
    #error-msgs{
        color: #ff0d0d;
        font-size: 12px;
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        gap: 3px;
    }
}


@media screen and (min-width: 768px) and (max-width: 1023px){
    .container-contact{
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        min-height: 100vh;
        padding: 20px;
    }
    
    .contenedor-form{
        width: 100%;
        max-width: 1100px;
        margin-left: auto;
        margin-right: auto;
        height: 100%;
        display: grid;
        grid-template-columns: 30% 70%;
        border-radius: 20px;
    }
    
    .contenedor-form .description{
        display: flex;
        width: 100%;
        border-top-left-radius: 10px;
        border-bottom-left-radius: 10px;
        flex-direction: column;
        background: #ffffff;
        padding: 10px;
    }
    
    .description .name-company{
        margin-top: 20px;
        font-size: 18px;
        text-transform: uppercase;
        font-weight: 700;
        color: #3a5783;
    }
    
    .img-company{
        display: flex;
        width: 100%;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .description img{
        height: 120px;
        margin-top: 0px;
    }

    .datos{
        display: flex;
        flex-direction: column;
        margin-left: 7px;
        margin-top: 20px;
    }
    
    .datos .direction, .number, .mail{
        font-size: 12px;
        margin-top: 5px;
    }
    
    .datos .fa-road, .fa-phone-alt, .fa-envelope{
        margin-right: 10px;
        color: #4e4e4d;
    }

    .datos .bi-arrow-return-left{
        color: #4e4e4d;
        font-size: 14px;
        margin-right: 10px;
    }

    .datos .link-form{
        font-size: 13px;
        margin-top: 100px;
        text-decoration: none;
        font-weight: 600;
        color: #757474;
    }
    
    /* Estilos de form */
    .form-contact{
        padding: 20px;
        border-top-right-radius: 10px;
        border-bottom-right-radius: 10px;
        background: #f3f4f7;
        width: 100%;
        height: 100%;
    }
    
    .contact-us{
        font-size: 18px;
        text-transform: uppercase;
        margin-left: 0px;
        margin-top: 10px;
        color: #3a5783;
    }
    
    .global-form{
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 20px;
        justify-items: center;
        margin-top: 20px;
    }
    
    .global-form .forms-inputs,
    .global-form .message{
        width: 100%;
        padding: 10px;
        border: solid 1px #627EDC;
        border-radius: 4px;
    }
    
    .forms-inputs{
        max-width: 400px;
    }
    
    .message{
        grid-column: 1 / 3;
        resize: none;
    }
    
    /* Estilo para button */
    .button {
        grid-column: 1/3;
        width: 100%;
        height: 50px;
        border: unset;
        border: 1px solid #269dff;
        border-radius: 5px;
        z-index: 1;
        color: #000000;
        background: #ffffff;
        position: relative;
        transition: all 250ms;
        overflow: hidden;
        cursor: pointer;
    }
    
    .button{
        text-align: center;
        font-size: 13px;
        font-weight: 600;
        font-style: normal;
        text-transform: uppercase;
    }
    
    .button::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
        height: 100%;
        width: 0;
        background-color: #1989f1;
        transition: all 750ms
    }
    
    .button:hover {
        color: #ffffff;
    }
    
    .button:hover::before {
        width: 100%;
    }
    
    #error-msgs{
        color: #ff0d0d;
        font-size: 12px;
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        gap: 3px;
    }
    
}


@media screen and (min-width: 1024px){
    .container-contact{
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        min-height: 100vh;
        padding: 20px;
    }
    
    .contenedor-form{
        width: 100%;
        max-width: 1100px;
        margin-left: auto;
        margin-right: auto;
        height: 100%;
        display: grid;
        grid-template-columns: 30% 70%;
        border-radius: 20px;
    }
    
    .contenedor-form .description{
        display: flex;
        width: 100%;
        border-top-left-radius: 10px;
        border-bottom-left-radius: 10px;
        flex-direction: column;
        background: #ffffff;
        padding: 10px;
    }
    
    .description .name-company{
        margin-top: 20px;
        font-size: 18px;
        text-transform: uppercase;
        font-weight: 700;
        color: #3a5783;
    }
    
    .img-company{
        display: flex;
        width: 100%;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .description img{
        height: 120px;
        margin-top: 0px;
    }
    
    .datos{
        display: flex;
        flex-direction: column;
        margin-left: 30px;
        margin-top: 10px;
    }

    .datos .direction, .number, .mail{
        font-size: 14px;
        margin-top: 10px;
    }
    
    .datos .fa-road, .fa-phone-alt, .fa-envelope{
        margin-right: 10px;
        color: #4e4e4d;
    }

    .datos .bi-arrow-return-left{
        color: #4e4e4d;
        font-size: 14px;
        margin-right: 10px;
    }

    .datos .link-form{
        font-size: 13px;
        margin-top: 80px;
        text-decoration: none;
        font-weight: 600;
        color: #757474;
    }
    
    /* Estilos de form */
    .form-contact{
        padding: 20px;
        border-top-right-radius: 10px;
        border-bottom-right-radius: 10px;
        background: #f3f4f7;
        width: 100%;
        height: 100%;
    }
    
    .contact-us{
        font-size: 18px;
        text-transform: uppercase;
        margin-left: 0px;
        margin-top: 10px;
        color: #3a5783;
    }
    
    .global-form{
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 20px;
        justify-items: center;
        margin-top: 20px;
    }
    
    .global-form .forms-inputs,
    .global-form .message{
        width: 100%;
        padding: 10px;
        border: solid 1px #0682f7;
        border-radius: 4px;
    }
    
    .forms-inputs{
        max-width: 400px;
    }
    
    .message{
        grid-column: 1 / 3;
        resize: none;
    }
    
    /* Estilo para button */
    .button {
        grid-column: 1/3;
        width: 100%;
        height: 50px;
        border: unset;
        border: 1px solid #269dff;
        border-radius: 5px;
        z-index: 1;
        color: #000000;
        background: #ffffff;
        position: relative;
        transition: all 250ms;
        overflow: hidden;
        cursor: pointer;
    }
    
    .button{
        text-align: center;
        font-size: 13px;
        font-weight: 600;
        font-style: normal;
        text-transform: uppercase;
    }
    
    .button::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
        height: 100%;
        width: 0;
        background-color: #e69e04;
        transition: all 750ms
    }
    
    .button:hover {
        color: #ffffff;
    }
    
    .button:hover::before {
        width: 100%;
    }
    
    #error-msgs{
        color: #ff0d0d;
        font-size: 12px;
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        gap: 3px;
    }
    
}