@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');
@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: 50px;
    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%;
}
.seccion1{
    margin-top: 50px;
    display: flex;
    justify-content: center;
    align-content: center;
}
.contenedorIcono{
    display: flex;
    justify-content: center;
    align-content: center;
    width: 400px;
    height: 400px;
    padding-right: 50px;
}
.contenedorIcono img{
    display: block;
    margin: auto;
    width: 400px;
    height: 400px;
}
.texto{
    display: block;
    justify-content: center;
    align-content: center;
    margin-left: -50px;
    width: 600px;
}
#titulo1{
    color: #9E8E60;
    font-weight: 900;
    font-size: 1.25rem;
    font-style: italic;
}
#subtitulo1{
    color: #776B4A;
    margin-top: -20px;
    font-weight: bold;
    font-size: 1.1rem;
    font-style:italic;
}
#texto1{
    color: rgb(215, 215, 215);
    font-size: 1rem;
    font-style: italic;
    text-align: justify;
}

.seccion2{
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-content: center;
}

.contenedorIcono2{
    display: block;
    justify-content: center;
    align-content: center;
}

.contenedorIcono2 img{
    display: block;
    margin: auto;
    width: 150px;
    height: 150px;
}

.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%;
    }

    .seccion1{
        flex-direction: column;
        flex-wrap: wrap;
    }
    .contenedorIcono{
        margin: auto;
        justify-content: center;
        align-content: center;
        width: 80%;
    }
    .contenedorIcono img{
        padding-left: 10%;
        width: 400px;
        height: 400px;
    }
    .texto{
        text-align: center;
        display: block;
        margin: auto;
        justify-content: center;
        align-content: center;
        width: 80%;
    }
    #texto1{
        text-align: center;
    }
    .seccion2{
        flex-direction: column;
        flex-wrap: wrap;
    }

    .botonVolver{
        height: 40px;
        width: 40px;
        margin-right: -25px;
    }
    .botonVolver img{
        height: 20px;
        width: 20px;
    }
}

@media (max-width: 435px){
    .textosPie{
        flex-direction: column;
    }
    .contenedorIcono img{
        padding-left: 15%;
        width: 800px;
        height: 400px;
    }
}

@media (max-width:600px){
    .contenedorIcono img{
        padding-left: 10%;
        width: 800px;
        height: 400px;
    }
}
@media (max-width:700px){
    .contenedorIcono img{
        padding-left: 10%;
        width: 400px;
        height: 400px;
    }
}
