:root{
    --color-texto:#ffffff;
    --color-text-header:#ffffff;
    --color-background:rgba(80, 80, 80, 0.56);
    --color-text: #000000;
    --color-background-trasn:rgba(0, 0, 0, 0.8);
    --color-background-login:rgba(80, 80, 80, 0.1);
    --color-background-login1:rgba(80, 80, 80, 0.3);
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

header{
    background-color: var(--color-background);
    position: fixed;
    z-index: 2;
    width: 100%;
    left: 0; top: 0;
    overflow: hidden;
    height: 120px;
}

.background_home{
    background-image:linear-gradient(
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.4)),
        url(../scr/bg4.jpg);
        background-position: center center;
        background-attachment: fixed;
        background-size: cover;
        background-repeat: no-repeat;
        min-height: 83vh;
}

.nav-bar{
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.logo-img img{
    width: 89px;
    height: 89px;
    object-fit: cover;
    cursor: pointer;
    margin-left: 2.3rem;
}

.nav__toggle{
    display: flex;
    cursor: pointer;
}

.nav__toggle img{
    width: 30px;
    height: 30px;
}

.nav__toggle{
    display: none;
}

.nav__lista{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2.5em;
    margin-left: 23em;
}

.nav__link, .home{
    display: block;
    line-height: normal;
    color: var(--color-texto);
    transition: 0.3s ease;
    border-bottom: 3px solid transparent;
    font-size: 18px;
    padding: 10px ;
    margin: 0 10px;
}

.nav__link:hover{
    color:  #edebe6;
    border-bottom: 2px solid #edebe6;
}

 .home{
    color:  #edebe6;
    border-bottom: 2px solid #edebe6;
}


.container{
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.text_title{
    text-align: center;
    font-size: 5em;
    font-weight: bold;
    padding-top: 10rem;
    color: var(--color-texto);
    font-weight: bold;
    width: 1180px;
   
}

.icono_whastA img{
    width: 34px;
    height: 34px;
    object-fit: cover;
    cursor: pointer;
    margin-top: 1em;
    margin-left: 2em;
}

.icono_whastA p{
    margin-top: 0.4rem;
}

.icono_whastA p a{
    color: var(--color-texto);
    margin-left: 1rem;
}

.title{
    font-size: 35px;
    font-weight: bold;
    padding-top: 4rem;
}

.show-menu{
    top: 0;
}

@media(max-width:991px){
    .container_menu{
        padding: 10px 0px;
    }

    .nav-bar{
        padding: 20px;
    }

    .nav__toggle{
        display: block;
        cursor: pointer;
        padding-top: 40px;
        padding-right: 1rem; /* Espacio a la derecha */
        position: absolute;
        top: 15px; /* Ajusta según sea necesario */
        right: 10px; /* Alinea el icono a la derecha */
    }

    .nav__menu{
        position: fixed;
        top: 0px;
        left: 0;
        right: 0;
        width: 100%;
        background-color: var(--color-background);
        transition: top .4s;
        padding-block: 4rem;
        height: 420px;
        box-shadow: 0 8px 16px hsl(166, 85%, 8%, .3);
        overflow: hidden;
        opacity: 0;
    }

    .nav__menu ul{
        display: flex;
        flex-direction: column;
        margin: 1em auto;
        transform: translateY(-4em);
        opacity: 0;
        /* padding-top: 2em; */
    }

    .nav__menu ul li{
        margin-bottom: 25px;
    }

    .nav__menu ul li a{
        line-height: normal;
        color: var(--color-texto);
        font-size: 18px;
    }

    .nav__menu ul li a:hover,
    .nav__menu ul li a.home{
        color: var(--color-text-header);
    }

    .nav__menu.active{
        opacity: 1;
    }

    .nav__menu.active ul{
        opacity: 1;
    }

    .contenido_home {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .text_title  {
        font-size: 3rem;
        width: 90%;
        text-align: center;
        margin-top: 2em;
    }


    .logo-img {
        display: flex;
        justify-content: flex-start;
        width: 100%;
    }

    .logo-img img {
        margin-left: 1rem;
        margin-right: 0;
    }

}

/* Media Query para pantallas de 480px o menos */
@media(max-width:480px){
    .nav__toggle{
        padding-top: 30px;
        padding-right: 0.5rem; /* Menos espacio a la derecha */
    }

    .nav__menu{
        height: 400px; /* Reducimos la altura */
        padding-block: 3rem; /* Ajuste de padding */
    }

    .nav__menu ul li a{
        font-size: 16px; /* Reducir tamaño de texto */
    }

    .text_title  {
        font-size: 2.5rem; /* Reducir tamaño de texto en pantallas muy pequeñas */

        text-align: center;
    }

    .logo-img img {
        width: 80px; /* Ajuste del tamaño de la imagen */
        height: auto;
    }

}

  
