@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}
@font-face {
    font-family: 'fuenteTitulos';
    src: url('../fuente/montecaniPro.ttf') format('truetype');
    font-weight: normal;
    font-style: normal; 
}
.nav-links a {
    color: rgb(170, 170, 170);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    font-family: "fuenteTitulos", serif;
}
body{
    background-color: #0E0E0E;
    margin:0;
    font-family: "Be Vietnam Pro";
    overflow-x: hidden;            
}
header{
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 300px;
    box-shadow: 0px 5px 40px 25px black;
}
.navbar {
    position: absolute; /* Posición dentro de la cabecera */
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent; /* Fondo transparente */
    z-index: 100;
    padding: 20px 0;
    padding-left: 20px;
    transition: background-color 0.3s ease; /* Transición suave para el cambio de color */
}
.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}
.nav-links li {
    margin: 0 10px;
}
.nav-links a {
    color: rgb(170, 170, 170);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #f0f0f0;
}
.menu-icon img{
    display: none;
}
.imagenBanner img{
    margin-top: 20px;
    width: 600px;
    height: 300px;
}
.separador{
    display: flex;
    align-content: center;
    justify-content: center;
    margin-top: 50px;
}
.separador img{
    width: 100vw;
    opacity: 50%;
}
.botonAyudaPadre{
    display: flex;
    justify-content: center;
    align-content: center;
    text-align: center;
}
.botonAyuda{
    margin-top: 60px;
    height: 50px;
    width: 200px;
    border-radius: 30px;
    background-color: #776B4A;
    cursor: pointer;
    transition: all 0.5s ease;
}
.botonAyuda p{
    color: rgb(211, 211, 211);
    font-weight: bolder;
}
.botonAyuda:hover{
    background-color: #9E8E60;
    box-shadow: 0px 0px 10px 3px #9E8E60;
}
.serviciosTitulo{
    margin-top: 50px;
}
.serviciosTitulo h1{
    display: flex;
    justify-content: center;
    color: rgb(44, 44, 44);
}
.serviciosTitulo h3{
    display: none;
}
.servicios{
    display: flex;
    justify-content: center;
    align-content: center;
}
.cajaServicios{
    display: flex;
    align-content: center;
    justify-content: center;
    width: 200px;
    height: 200px;
    border-radius: 30px;
    background-color: rgb(44, 44, 44);
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 10px;
    transition: all 0.7s ease;
    cursor: pointer;
}
.cajaServicios img{
    display: block;
    width: 100px;
    height: 100px;
    margin: auto;
}
.cajaServicios:hover{
    background-color: #9E8E60;
    box-shadow: 0px 0px 45px 3px #9E8E60;
}
.textosServicios{
    display: none;
    opacity: 0;
}
.textoDinamico {
    display: block;
    text-align: center;
    margin-top: 20px;
    font-size: 2rem;
    font-weight:900;
    font-style: italic;
    color: #9E8E60;
    transition: all 1s ease;
    margin-top: 50px;
}
.textoDescripcion {
    display: block;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 500;
    color: #776B4A;
    margin-top: 10px;
    transition: all 1s ease;
}
.textoClic {
    display: block;
    text-align: center;
    font-size: 1.25rem;
    font-weight: bold;
    color: #b7b7b7;
    margin-top: 10px;
    transition: all 1s ease;
}
.pie{
    background-color: black;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 150px;
    box-shadow: 0px -10px 40px 25px black;
    margin-top: 150px;
    text-align: center;
}
.textosPie{
    display: flex;
    justify-content: center;
    align-content: center;
}
.textoPie{
    color:white;
    font-size: 0.9rem;
    margin-left: 20px;
    margin-right: 20px;
}
.copy{
    color:#9E8E60;
    font-size: 0.75rem;
}
.botonVolver{
    display: block;
    position: fixed;
    justify-content: center;
    align-content: center;
    height: 50px;
    width: 50px;
    bottom: 50px;
    right: 50px;
    background-color: #9E8E60;
    border-radius: 5px;
    cursor: pointer;
    opacity: 0; /* Oculto inicialmente */
    visibility: hidden; /* Asegura que no ocupa espacio */
    box-shadow: 0px 0px 10px 3px #9E8E60;
    transition: opacity 0.3s, transform 0.3s;
}
.botonVolver img{
    display: block;
    margin: auto;
    height: 25px;
    width: 25px;
}
.botonVolver.show{
    opacity: 1;
    visibility: visible;
}
@media (max-width: 800px){
    body{
        overflow-x: hidden;
    }
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: black; /* Fondo inicial */
        z-index: 100;
        padding: 10px 20px;
        transition: background-color 0.3s ease;
        height: 30px;
    }
    .menu-icon {
        width: 40px;
        height: 30px;
        position: relative;
        cursor: pointer;
        z-index: 150;
        transition: all 0.3s ease;
        display: flex;
        justify-content: center;
        align-content: center;
    } 
    .menu-icon img{
        width: 40px;
        height: 30px;
        display: block;
    }
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%; /* Ocultar el menú inicialmente */
        width: 45%;
        height: 100vh;
        background-color: #111;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 20px;
        padding-left: 20px;
        z-index: 140;
        transition: left 0.5s ease;
    }
    .nav-links.open {
        left: 0; /* Mostrar el menú al abrir */
    }
    .nav-links li {
        list-style: none;
    }
    .nav-links a {
        color: #ccc;
        text-decoration: none;
        font-size: 1.2rem;
        transition: color 0.3s ease;
    }
    .nav-links a:hover {
        color: #fff;
    }
    header{
        width: 100%;
        height: 100vh;
    }
    .imagenBanner{
        display: flex;
        justify-content: center;
        align-content: center;
    }
    .imagenBanner img{
        margin: auto;
        width: 80%;
        height: 90%;
    }
    .serviciosTitulo{
        margin-top: 50px;
    }
    .serviciosTitulo h1{
        display: flex;
        justify-content: center;
        text-align: center;
        color: rgb(178, 178, 178);
    }
    .serviciosTitulo h3{
        display: flex;
        justify-content: center;
        text-align: center;
        font-style: italic;
        color: rgb(178, 178, 178);
    }
    .servicios{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-content: center;
    }
    .cajaServicios{
        display: flex;
        justify-content: center;
        align-content: center;
        flex-direction: column;
        margin: 20px;
        width: 250px;
        height: 250px;
    }
    .cajaServicios img{
        width: 100px;
        height: 100px;
    }
    .textosServicios{
        display: block;
        margin: auto;
        color: rgb(178, 178, 178);
        opacity: 100;
        text-align: center;
        margin-top: -50px;
    }
    .textoDinamico {
        display:none;
        opacity: 0;
    }
    .textoDescripcion {
        display: none;
        opacity: 0;
    }
    .textoClic {
        display: none;
        opacity: 0;
    }
    .botonVolver{
        height: 40px;
        width: 40px;
        margin-right: -25px;
    }
    .botonVolver img{
        height: 20px;
        width: 20px;
    }
    .pie{
        margin-top: 30px;
    }
}
@media (max-width: 435px){
    .textosPie{
        flex-direction: column;
    }
}