/* ESTILOS QUE APLICAN PARA CUALQUIER TAMAÑO */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* Tipo de letra  */
h2,p,label,a,button {
    font: 1em sans-serif;
}

h1 {
    font: 1.5em sans-serif; /*se modifica*/
    font-weight: bold;
    padding: 10px;
}

h3{
    font: 1.25em sans-serif;
}

nav{
    height: 100px;
    width: 100%;
    background-color: #092147;
    display: flex;
    flex-wrap: wrap;
   /* position: fixed; /*ESTO ES NUEVO*/
}

nav a{
    text-decoration: none;
    color: white;
}

footer{
    display: flex;
    flex-wrap: wrap;
    height: 100px;
    background-color: #092147;
    color: #ffff;
    width: 100%;
}

footer a {
    color: #ffff;
    text-decoration: none;
}

.pantalla-mitad-contacto {
    width: 50%;
    height: auto;
}

 .borde-superior-azul{
     border-top: 1px solid #092147;
 }


 .logo{ /*ESTO ES NUEVO*/
    width: 200px; 
    height: 100px;
    margin-right: 180px;
 }

 .logo-seccion-primera{ /*ESTO ES NUEVO*/
    width: 400px; 
    height: 200px;
 }

 #pantalla-central h1{ /*ESTO ES NUEVO  */
    font-size:50px;
 }

 .borde-derecho-amarillo{
    border-right: 100px solid #092147;
    margin-bottom: 1px;
 }

/* ---------------------Pantalla central - ESTO ES NUEVO -------------------------------*/
#pantalla-central{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    height: 100vh; /*abarca el 90% de la pantalla*/
    color: white;
    background-image: linear-gradient( /*concepto overlay, como un filtro negro*/
        0deg, /*direccion del gradiente*/
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.5)
    )
    ,url("Utileria/Imagenes/web-site2.jpg");
    background-repeat: no-repeat;
    background-size: cover; /*que cubra toda el area*/
    background-position: center center; /*que centre siempre la imagen*/
}


/* ---------------------- Estilos formulario  ---------------------------*/
form {
    display: flex;
    width: 100%;
    padding: 1em;
    border: 1px solid #CCC;
    /*border-radius: 1em;*/ /*SE ELIMINA*/
    justify-content: center;
    background-color: #e2e2e2;
}
  
  ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  form li + li {
    margin-top: 1em;
  }
  
  label {
    /* Tamaño y alineación uniforme */
    display: flex;
    width: 100%;
    justify-content: center;
  }
  
  input,
  textarea,select {
    /* Tamaño uniforme del campo de texto */
    width: 300px;
    box-sizing: border-box;
    
    /* Hacer coincidir los bordes del campo del formulario */
    border: 1px solid #092147;
    border-radius: 5px;
  }

  input, select {
    height: 30px;
  }
  
  input:focus,
  textarea:focus {
    /* Destacado adicional para elementos que tienen el cursor */
    border-color: #092147;
  }
  
  textarea {
    /* Alinear los campos de texto multilínea con sus etiquetas */
    vertical-align: top;
  
    /* Proporcionar espacio para escribir texto */
    height: 5em;
  }
  
  .button {
    /* Alinear los botones con los campos de texto */
    padding-left: 0px; /* mismo tamaño que los elementos de la etiqueta */
  }
  
  button {
    /* Este margen adicional representa aproximadamente el mismo espacio que el espacio
       entre las etiquetas y sus campos de texto */
    margin-left: 0em;
    box-sizing: content-box;
    width: 100%;
    height: 50px;
    background-color: #f5cf27;
    color: #092147;
    border-radius: 90px;
    border: none;
    font-weight: bold;
    cursor: pointer;
  }



/*--------------TERMINA DISEÑO DEL FORMULARIO ------------*/

/* ESTILOS DE LAS DEMAS SECCIONES  */
.seccion-segunda{
    display: flex;
}

.pantalla-completa{
    width: 100%;
}

.titulo-seccion{
    width: 100%;
    display: flex;
    justify-content: center;
    text-align: center;
    background-color: rgb(30,30,30);
   /* background-color: #f5cf27;*/
    color: white;
    height: 50px;
    padding: 80px 0px 20px 0px;
    /*border-radius: 15em;*/ /*SE ELIMINA*/
}

.titulo-contacto{
    width: 100%;
    display: flex;
    justify-content: center;
    text-align: center;
    background-color: #cecdcd;
    color: black;
    height: 50px;
    /*border-radius: 15em;*/ /*SE ELIMINA*/
}

.titulo-seccion h1 {
    align-self: center;
}

.login{
    height: 400px;
    width: 100%;
    display: flex;
    align-items: center;
    background-color: #092147;
    border-top: 2px solid #f5cf27;
}


/* ---------- DISEÑOS GLOBALES------------   */
/*Centra contenido UNICO*/
.centrar-contenido-unico{
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Centra todo el contenido  */
.centrar-contenido-todo{
    display: flex;
    flex-flow: wrap column;
    justify-content: center;
    align-items: center;
}

.centrar-contenido-navbar{
    display: flex;
    flex-flow: wrap row;
    justify-content: space-evenly;
    align-items: center;
}

#quienes .centrar-contenido-todo{ /*ESTO ES NUEVO*/
    display: flex;
    padding-right: 200px;
}


/* Pantalla dividida por la mitad
   ocupa el 50% de altura
*/
.dividir-contenido{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: 50%;
}


/* -------------- COLORES -------------- */
.fondo-blanco {
    background-color: #092147;
}

.fondo-azul{
    background-color: 092147;
}

.fondo-amarillo {
    background-color: #f5cf27;
}

.color-negro {
    color:black;
}

.color-blanco{
    color: #ffff;
}

.color-azul{
    color:#092147;
}

.color-amarillo{
    color: #f5cf27;
}




/* ---------------- Diseños para responsive ---------- */
/* Tamaño pequeño < 576px */
@media (max-width: 576px) {
    .seccion-primera{
        height: 700px;
        width: 100%;
        display: flex;
        flex-wrap: wrap;
    }
    .pantalla-uncuarto{
        width: 100%;
        height: 20%;
    }
    .pantalla-mitad{
        width: 100%;
        height: 50%;
    }
    nav {
        height: 200px;
    }

    .centrar-contenido-navbar{
        flex-flow: nowrap column;
        justify-content: space-between;
    }

    .seccion-segunda{
        height: 800px;
        display: flex;
        flex-wrap: wrap;
    }
    
    .logo{ /*ESTO ES NUEVO*/
        margin:0px;
    }
    
    #quienes .centrar-contenido-todo{ /*ESTO ES NUEVO*/
        display: flex;
        padding-left: 2em;
        padding-right: 2em;
    }

    .pantalla-mitad-contacto {
        width: 100%;
        height: auto;
    }
  }


/* Tamaño mediano entre 577px y 991px */
@media (min-width: 577px) and (max-width: 991px) {
    .seccion-primera{
        height: 700px;
        width: 100%;
        display: flex;
        flex-wrap: wrap;
    }
    .pantalla-uncuarto{
        width: 50%;
        height: 25%;
    }
    .pantalla-mitad{
        width: 100%;
        height: 50%;
    }
    .seccion-segunda{
        height: 600px;
        display: flex;
        flex-wrap: wrap;
    }

    nav {
        height: 200px;
    }
    
    .centrar-contenido-navbar{
        flex-flow: nowrap column;
        justify-content: space-between;
    }

    .logo{ /*ESTO ES NUEVO*/
        margin-right:100px;
    }


    #quienes .centrar-contenido-todo{ /*ESTO ES NUEVO*/
        display: flex;
        padding-left: 1em;
        padding-right: 1em;
    }
  }

/* Tamaño grande mayor a > 992px */
@media (min-width: 992px) {
    .seccion-segunda{
        height: 400px;
        /*margin-left: 60px;*/
        /*margin-right: 60px;*/
    }

    .pantalla-uncuarto{
        width: 25%;
        height: 100%;
        color: white;
        padding: 40px 20px;
        padding-right: 40px; /*Se agrega*/
        padding-left: 40px; /*Se agrega*/
        background-color: rgb(30,30,30);
    }

    .pantalla-uncuarto p{
        text-align: center;
    }

    .pantalla-uncuarto h1{
        text-align: center;
    }

    .dividir-contenido:first-child{
        background-image: linear-gradient( /*concepto overlay, como un filtro negro*/
        0deg, /*direccion del gradiente*/
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.5)
        )
        ,url("Utileria/Imagenes/desarrollo-sitio-web.png");
    }

    .pantalla-mitad{
        width: 50%;
        height: 100%;
    }
    .seccion-primera{
        height: 400px; /*SE MODIFICA*/
        width: 100%;
        display: flex;
        flex-wrap: wrap;
    }

  }