/*Encabezado*/
.nav-bg{
    background-color: var(--gristenue);    
    font-family: var( --fuenteHeading);       
    padding-top: .7rem;
    padding-bottom: .7rem;    
}

.navegacion-principal{   
    width: min(80%, 120rem);
    display:flex;
    flex-direction:column;    
    justify-content: space-between;  
    margin: 0;  
}

.navegacion-principal ul{
    list-style: none;
    margin: 0;
}

.mqbig img{
    width: 30px;
    height: 30px;    
}

@media (min-width: 768px) {
    .navegacion-principal{        
        flex-direction:  row;        
        justify-content: end;               
    }
}

@media (min-width: 1050px) {
    .mqbig{ 
        padding-left: 20rem;  
    }
}

.navegacion-principal li{
    list-style-type: none;
   display: inline;
   padding-right: 5px;
}

.navegacion-principal a{
    color: var(--oscuro);
    text-decoration: none;/*Quita el subrayado de un a*/
    font-style: Medium;
    font-size: 1.5rem; 
    padding-right: 1rem;     
}

.navegacion-principal a:hover{
    background: var(--gristenue);
    color: var(--oscuro);
}

.barranav hr{
    background-color: var(--rojo);
    height: 10px;
    margin-top: 0;
    margin-bottom: 0;
    border: none;
}

/* HEADER */
/*Start  Menu de hamburguesa*/

.barra__boton{
    display: none;
}

.mobile-menu i{
    color: var(--blanco);    
}

.mostrar-mobile {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mostrar-mobile button{
    margin: 5px;
}

.efectoimg {
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin-bottom: 2rem;
}
/*End Menu de hamburguesa*/

.header {    
    background-color: rgb( 0 0 0 / 60% ); 
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    text-align: center;
}

.header__texto {
    text-align: center;
    color: var(--blanco);      
 }

 .barra__boton a{
    text-decoration: none;
    color: var(--blanco);
}

.my-button {    
    height: 23px;    
    font-family: var(--fuenteBtn);
    font-size: 12px;    
    font-weight: 100;
    font-style: normal;
    margin-top: 1rem;
    margin-bottom: 1rem;
    background-color: rgb( 237 28 36 / 66% );   
    color: white;
    border: 1px solid #d0d0d0;
    border-radius:0;
    cursor: pointer;
    width: 200px;  
    margin: 1rem;
    padding-top: 5px;
}

.my-button:hover {
    background-color: var(--botonmouse);
}

.my-button:active {
background-color: var(--oscuro);
}

.titulo{
    margin-top: 0;
    margin-bottom: 0;
    font-family: var(--fuenteTituloPrincipal);
    font-style: normal;
    font-weight: 300;
    font-size: 3rem;
}

.subtitulo{        
    padding-bottom: 1rem; 
    font-weight: 100;
    font-size: 2rem;
    line-height: 1.8rem;
}

.estilocbx select{
    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: 665px) {
    .titulo{
        font-weight: 400;
        font-size: 3rem;
    }
    .subtitulo{
        margin-top: 2rem;
        font-weight: 300;
        font-size: 2rem;
    }
}

@media (min-width: 768px) {
    .mobile-menu{
        display: none;    
    }    
    .barra__boton{
        display: unset;
    }
    .efectoimg {
        width: 200px;
        height: 200px;
        object-fit: cover;
    }
    .titulo{
        font-weight: 400;
        font-size: 4rem;
    }
    .subtitulo{
        margin-top: 2rem;
        font-weight: 300;
        font-size: 3rem;
    }
}

.header__texto .row{
    display: flex;
    flex-direction: row;    
    align-items: center;
    justify-content: center;
}
/*Fin Encabezado*/


/*Cuerpo Cuenta*/
.contenedordatos{
    width: 90%;
    height: auto;    
    background-color: rgb( 0 0 0 / 60% );
    margin: 0 auto;
}
/*Fin Cuerpo Cuenta*

/* Botones */
.btnCambiarFoto {
    color: white ;
    font-family: var(--fuenteBtn);
    background-color: var(--verde);
    margin: 5px;
    border: none;
    padding: .7rem 1rem .7rem 1rem;
}
.btnCambiarFoto:hover {
    background-color: var(--gris);
}

.btnCambiarFoto:active {
background-color: var(--oscuro);
}

.btnElimiarCuenta{
    color: white ;
    font-family: var(--fuenteBtn);
    background-color: var(--rojo);
    margin: 5px;
    border: none;
    padding: .7rem 1rem .7rem 1rem;
}
.btnElimiarCuenta:hover {
    background-color: var(--gris);
    padding: .7rem 1rem .7rem 1rem;
}

.btnElimiarCuenta:active {
background-color: var(--oscuro);
padding: .7rem 1rem .7rem 1rem;
}

.actualizar{
    display: flex;
    justify-content: end;
}

/* Fin botones*/

/*--------- Formulario ---------*/
.formulario{
    margin-left: 20px;
    margin-right: 20px;
}
.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;
}


/*Contraseña */
.mos-contrasenia {
    display: flex;        
}
.mos-contrasenia input{
    width: 80%;
}
.mos-contrasenia i{ 
    color: #ffffff;
    width: 20%;
}
.password-icon {
    float: right;
    position: relative;
    margin: -25px 10px 0 0;
    cursor: pointer;
}


/* ---  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 i{
    color: var(--rojo);
}
.contenido-modal h2{
    text-align: center;
    font-size: 2rem;
    color: var(--cardtexto);
    margin: 10px;
}

.contendor-mesaje{
    display: flex;
    justify-content: space-evenly;    
}

.contendor-inmu{
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    text-align: center;
}

.contendor-inmu{
    color: var(--rojo);
    font-weight: 500; 
}

.contendor-btn{
    display: flex;
    justify-content: end;
}

.btn-dropuser{
    background-color: var(--rojo);
    color: var(--blanco);
    font-family: var(--fuenteBtn);
    font-size: 16px;    
    font-weight: 500;               
    border: 1px solid var(--rojo);
    border-radius:0;
    cursor: pointer;    
    margin: 10px;   
    /* top | right | bottom | left */    
    padding: .7rem 1rem .7rem 1rem; 
}

.btnventarenta {
    background-color: var(--oscuro);
    color: var(--blanco);
    font-family: var(--fuenteBtn);
    font-size: 16px;    
    font-weight: 500;               
    border: 1px solid var(--oscuro);
    border-radius:0;
    cursor: pointer;    
    margin: 10px;    
    /* top | right | bottom | left */    
    padding: .7rem 1rem .7rem 1rem;
}

.btn-dropuser:hover {
    background-color: #ec5353;   
    border: 2px solid var(--rojo);
}

.btnventarenta:hover {
    background-color: rgb( 0 0 0 / 50% );   
    border: 2px solid var(--oscuro);
}

  /* 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%;
    }
    .contenedordatos{
        width: 70%;
    }
}

@media (min-width: 1100px) {
    .contenido-modal {   
        padding: 20px;
        width: 60%;
    }
    .contenedordatos{
        width: 60%;
    }
}

@media (min-width: 1400px) {
    .contenido-modal {   
        padding: 20px;
        width: 40%;
    }
    .contenedordatos{
        width: 45%;
    }
}

@media (min-width: 1700px) {
    .contenido-modal {   
        padding: 20px;
        width: 30%;
    }
    .contenedordatos{
        width: 50%;
    }
}
