.cuercontacto {
    background-color: rgb( 0 0 0 / 36% ); 
    height: 55rem; 
}

.tittleContac h2{    
    color: var(--blanco);  
    text-align: center;
    font-size: 2rem;
    padding: 1rem;
    margin-bottom: -10px;
}

/*--------- Formulario ---------*/
.formulario p{
    font-family: var(--fuenteBtn);
    font-size: 1rem;
    color: var(--gris);
    margin: 2rem 0 0 0;
}

.formulario legend{
    font-family: var(--fuenteBtn);
    font-size: 1.5rem;    
    color: var(--blanco);    
}

.formulario label {
    font-family: var(--fuenteBtn);
    font-style: bold;
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--blanco);    
    text-transform: uppercase;/* Texto en mayuscula */
    display: block;
}

.formulario input:not([type="submit"]), textarea{
    font-family: var(--fuenteBtn);
    padding: .2rem;
    display: block;
    width: 100%;
    background-color: var(--blanco);
    border: 1px solid var(--gris);
    border-radius: .3rem;
}

@media (min-width: 768px) {
    .formulario{
        margin-right: 1rem;
    }
    .nameape{
        display: flex;
        justify-content: center;
        flex-direction: row;    
    }
    .spacenombre{
        margin-left: 1rem;
    }  
    .spaceapellido{
        margin-left: 1rem;
    }  
}

@media (min-width: 1200px) {
    .formulario{
        margin-right: 8rem;
    }
    .spacenombre{
        margin-left: 2rem;
    }

    .spaceapellido{
        margin-left: 1rem;
    }  
}

/*--------- Formulario ---------*/

.redes{
    color: var(--blanco);
    text-align: center;
    line-height:1rem;     
}

.redes p{
    margin: 10px;
    font-size: 14px;
}

.redes a{
    text-decoration: none;
    cursor: pointer;
    color: var(--blanco);
}

.redes h3{
    font-size: 1.5rem;
    font-family: var(--fuenteBtn);
    font-style:  normal;
    font-weight: 100;
    margin-top: 20px;
}

.imgredes i{
    margin-left: 1rem;
}

.btnregistrar{
    height: 2rem;    
    font-family: var(--fuenteBtn);
    font-size: 1.5rem;    
    font-weight: 100;
    font-style: normal;
    background-color: rgb( 237 28 26 / 36% );     
    color: white;
    border: 1px solid #d0d0d0;
    border-radius:0;
    cursor: pointer;
    width: 160px;  
    margin: 1rem;
    /*padding-top: 5px;*/
}

.btnregistrar:hover {
    background-color: var(--botonmouse);
}

.btnregistrar:active {
    background-color: var(--oscuro);
}

@media (min-width: 768px) {
    .cuercontacto {
        height: 35rem;        
    }
    .redes p{        
        font-size: 17px;
    }  

    .formredes{
        display: flex;
        justify-content: center;
        align-items: center;
    }
        
}

@media (min-width: 1200px) {
    .redes p{        
        font-size: 18px;
    }  
    .cuercontacto h2{
        font-size: 3.5rem; 
    }   

    .btnregistrar{
        height: 3rem; 
        font-size: 1.5rem;
        margin: .5rem;
        padding-top: 5px;
    }
}

/*---------------------------- MODAL ---------------------------*/
.modal {
    display: none; /* Por defecto, estará oculto */
    position: fixed; /* Posición fija */
    z-index: 1; /* Se situará por encima de otros elementos de la página*/
    padding-top: 100px; /* El contenido estará situado a 200px de la parte superior */
    left: 0;
    top: 0;
    width: 100%; /* Ancho completo */
    height: 100%; /* Algura completa */
    overflow: auto; /* Se activará el scroll si es necesario */
    background-color: rgba(0,0,0,0.5); /* Color negro con opacidad del 50% */
  }
  
  /* Ventana o caja modal */
.contenido-modal {
    position: relative; /* Relativo con respecto al contenedor -modal- */
    background-color: #ffffff;
    margin: auto; /* Centrada */
    padding: 20px;
    width: 90%;
    -webkit-animation-name: animarsuperior;
    -webkit-animation-duration: 0.5s;
    animation-name: animarsuperior;
    animation-duration: 0.5s
}


.contenido-modal h2{
    text-align: center;
    font-size: 2rem;
    color: var(--cardtexto);
    margin: 10px;
}

.contendor-inmu {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    text-align: center;
}

.contendor-inmu i{
    color: var(--verde);
}



  /* Animación */
  @-webkit-keyframes animatetop {
    from {top:-300px; opacity:0} 
    to {top:0; opacity:1}
  }
  
  @keyframes animarsuperior {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
  }
  
  /* Botón cerrar */
  .close {
    color: black;
    float: right;
    font-size: 30px;
    font-weight: bold;
    margin-top: -20px;
    margin-bottom: 10px;
    margin-right: 20px;
    margin-left: 10px;
  }
  
  .close:hover,
  .close:focus {
    color: #e21515;
    text-decoration: none;
    cursor: pointer;
  }

/* ---- Fin Modal ----- */

@media (min-width: 900px) {
    .contenido-modal {   
        padding: 20px;
        width: 80%;
    }
}

@media (min-width: 1100px) {
    .contenido-modal {   
        padding: 20px;
        width: 60%;
    }
}

@media (min-width: 1400px) {
    .contenido-modal {   
        padding: 20px;
        width: 40%;
    }
}

@media (min-width: 1700px) {
    .contenido-modal {   
        padding: 20px;
        width: 30%;
    }
}