/* Estilos para el header y navegación */
header {
    position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20%;
    background-color:rgb(62, 62, 55);
    padding: 10px 0;
    z-index: 1000;
        
}

html{

    cursor: url("cursor_1_-removebg-preview.png"), default;

}

mi-video {   width: 100%;
    height: auto;
    display: block;
    margin: 0% auto;
}


.mi-video {
    width: 100%;
    height: auto;
    display: block;
    margin: 0% auto;
}





/* Estilos generales */
body {
    margin: 0%;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
   
}
.logo img {
    width: 100px;
    padding-left: 20px;
    height: 2%;
}

.logo h1 {
    display: inline-block;
    margin-left: 10px;
}

nav {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    margin-right: 15px;
}

.menu-toggle {
    display: none;
}

.menu-icon {
    font-size: 30px;
    cursor: pointer;
    display: none;
    color: rgb(227, 224, 41);
}

.nav-list {
    display: flex;
    list-style-type: none;
    margin-right: 30px;
    padding: 0;
}

.nav-list li {
    margin-left: 20px;
}

.nav-list a {
    color:rgb(244, 244, 244);
    text-decoration: none;
    font-size: 18px;
}

@media (max-width: 1024px) {
    .gallery-item {
    flex: 1 1 calc(25% - 10px); 
    } 


}

/* Media queries para hacer el menú responsivo */
@media screen and (max-width: 768px) {
   .menu-toggle {
    display:block;
   }
   
   
    .menu-icon {
        display: block;
        position: absolute;
        right: 20px;
        top: 20px;
    }

    .nav-list {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 60px;
        left: 0%;
        right: 0%;
        width: 200px;
        background-color: #fefefe;
        width: 100%;
        box-shadow: 02px 5px rgb(255, 251, 251);
        display: none;
        flex-direction: column;
        padding: 10px;
        
    }

    .nav-list.active {
        display: flex;
    }

    .nav-list li {
        margin: 10px 0;
    }

    #menuToggle:checked + .nav-list {
        display: flex;
    }
}

ul{
    display: none;
}

input:checked  ul{
    display: none;
}

label {
    box-sizing: border-box;
    display: inline-block;
    border: 1px solid rgb(136, 134, 134);
    border-radius: 5px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    font-weight: bold;
    text-align: center;
    user-select: none;
  }
  li {
    display: block;
    
    margin: 0;
    padding: 10px;
    list-style: none;
    border-bottom: 1px solid rgb(255, 255, 255);
  }
/* Estilos del parallax */
.parallax {
    background-attachment: fixed;
    background-size: cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.parallax1 {
    background-image: url('../image/fondo1.png');
}

.parallax2 {
    background-image: url('../image/fondo2.png');
}

.parallax3 {
    background-image: url('../image/fondo3.png');
}

.parallax4 {
    position: relative;
    background-image: url('../image/fondo4.png');
    padding: 20px 0;
    height: auto;
    
}

.parallax5 {
    background-image: url('../image/fondo5.png');
}

.parallax6 {
    background-image: url('../image/fondo6.png');
}

/* Estilos del carrusel */
.carousel {
    
    max-width: 100%;
    margin: auto;
    overflow: hidden;
}

.carousel-item {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.carousel-item.active {
    display: block;
}

.carousel-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: rgb(255, 255, 255);
    background-color: rgba(0, 0, 0, 0.576);
    padding: 10px;
}

.carousel-control {
    position: absolute;
    top: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 30px;
    padding: 10px;
    cursor: pointer;
    z-index: 1;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* Estilos del lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 80%;
    max-height: 80%;
}

.close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    background: transparent;
    border: none;
}

/* Estilos generales de las secciones */
section {
    padding: 60px 0;
    text-align: center;
    color: rgb(255, 255, 255);
}

section .content {
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
}

/* Estilos para los post */
.post-cards {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.post-card {
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    overflow: hidden;
    width: 45%;
    margin-bottom: 20px;
}

.post-card img {
    width: 100%;
    height: auto;
}

.post-card-content {
    padding: 15px;
}

.post-card-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.read-more {
    color: #ff9900;
    text-decoration: none;
    font-weight: bold;
}

/* Estilos de la galería */
.gallery {
    grid-template-columns: repeat(2, lfr);
}
.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    grid-template-columns: repeat(4, lfr);
    gap: 10px;
    overflow: hidden;
    padding: 10px;
}

.gallery-item {
    flex: 1 1 calc (25% - 10px);
    margin: 10px;
    box-sizing: border-box;

}



.gallery-item img {
    width: 300px;
    height: 200px;
    display: block;
    margin: 10px;
    cursor: pointer;
    border-radius: 10px;
    transition: transform 0.3ms;
}

.gallery img:hover {
    
    transform: scale(1.2); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
}

/* Estilos del formulario de contacto */
.contact-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;


}

.contact-container aside {
    width: 45%;
}

.contact-container .map {
    width: 45%;
}

form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

form input, form textarea, form button {
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ffffff;
    border-radius: 5px;
}

form button {
    background-color: #4e4e4e;
    color: white;
    cursor: pointer;
}

/* Botón flotante */
.btn-flotante {
    position: fixed;
    bottom: 20px;
    right: 700px;
 
    color: white;
    padding: 15px;
    border-radius: 50%;
    font-size: 20px;
    text-align: center;
    text-decoration: none;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #787575;
    color: white;
}

footer p {
    font-size: 14px;
}
