:root{
    --azul1 : #0179BB;
    --azul2 : #0677B8;
    --azulOscuro : #1C1E53;
    --amarillo : #F5CF59;

}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body{
    font-family: 'Poppins', sans-serif;
}

.contenedorPrincipal{
    display: flex;
    flex-direction: row;
    background-color: var(--azulOscuro);
    width: 100%;
}

.contenedorFormulario{
    background-color: var(--azulOscuro);
    color: white;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


.contenedorImagen{
    height: 100vh;
    overflow: hidden;
    flex: 1;
}

.imagen{
    height: 100vh;
    object-fit: cover;
}


.tituloContac{
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 20px;
}

#formulario{
    width: 70%;
}

.nombre{
    display: flex;
    flex-direction: column;
}

.correo{
    display: flex;
    flex-direction: column;
}


.tel{
    display: flex;
    flex-direction: column;
}

.block{
    display: flex;
    flex-direction: column;
}

#name{
    color: white;
    font-weight: bold;
    font-size: 17px;
    font-family: 'Poppins', sans-serif;
}

#email{
    color: white;
    font-weight: bold;
    font-size: 17px;
    font-family: 'Poppins', sans-serif;
}

#affair{
    color: white;
    font-weight: bold;
    font-size: 17px;
    font-family: 'Poppins', sans-serif;
}

#message{
    color: white;
    font-weight: bold;
    font-size: 17px;
    font-family: 'Poppins', sans-serif;
}



.border input{
    background-color: var(--azulOscuro);
    border: solid 1px #DDDDDD;
    border-radius: 10px;
    padding: 5px;
}

.nombre label{
    color: white;
    font-size: 20px
}


.border label{
    color: white;
    font-size: 20px
}


.border textarea{
    background-color: var(--azulOscuro);
    border: solid 1px #DDDDDD;
    border-radius: 10px;
    padding: 5px;
}

.border p{
    margin-bottom: 15px;
}

.enviar{
    display: flex;
    justify-content: center;
}

.enviar button{
    background-color: var(--amarillo);
    border: none;
    padding: 10px;
    font-size: 18px;
    font-weight: bolder;
    border-radius: 25px;
    width: 30%;
    cursor: pointer;
    margin-top: 30px;
    transition: all 0.5s ease-in-out;
}


.enviar button:hover {
    transform: scale(1.2);
    background-color: #e0b636; 
}


@media (max-width: 900px ){
    #formulario{
        width: 80%;
    }
}



@media (max-width: 800px ){

    .contenedorPrincipal{
        flex-direction: column-reverse;
    }

    .imagen{
        display: none;
    }

    #formulario{
        width: 50%;
    }

    .contenedorFormulario{
        margin: 50px 0px;
    }
}

@media (max-width: 650px ){

    #formulario{
        width: 70%;
    }

    .tituloContac{
        font-size: 25px;
    }

    .border label{
        font-size: 17px
    }

}


@media (max-width: 500px ){

    #formulario{
        width: 80%;
    }

}