*{
      font-family: verdana;
    margin: -5px;
    padding: 6px;

}
body {
    background-color: black;
    
    
}

h1 {
    text-align: center;
    color: #b49a66 ;
    padding: 20px;
    font-size: 40px;
    font-family: verdana;
}
.nav{
    position: fixed;
    top: 0;
    display: flex;
    justify-content: space-around;
    width: 100%;
    height: 100px;
    line-height: 100px;
    background-color: #b49a66;
}
.nav-logo a{
    color: white;
    font-size: 25px;
    font-weight: 600;
    text-decoration: none;
     margin: 0;
    padding: 0;
  
}
.nav-logo p{
    color: white;
    font-size: 25px;
    font-weight: 600;
}
.nav-menu ul{
    display: flex;
}
.nav-menu ul li{
    list-style-type: none;
}
.nav-menu ul li .link{
    text-decoration: none;
    font-size: 17px;
    color: white;
    padding-bottom: 15px;
    margin: 0 25px;
}


.btn:hover{
    background: rgba(255, 255, 255, 0.3);
}
#registerBtn{
    margin-left: 15px;
}
.btn.white-btn{
    background: rgba(255, 255, 255, 0.7);
}
.btn.btn.white-btn:hover{
    background: rgba(255, 255, 255, 0.5);
}
.nav-menu-btn{
    display: none;
}
.form-box{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 512px;
    height: 420px;
    overflow: hidden;
    z-index: 2;
}
.btnnn{
    cursor: pointer;
    font-size: 20px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    height: 50px;
    width: 100%;
    padding: 0 10px 0 13px;
    border: none;
    border-radius: 30px;
    text-decoration: none;
    transition: .2s ease;
    position: relative;
    top:  0px;
    left: 170px;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start; /* Asegura que la alineación sea al inicio del contenedor */
    height: auto; /* Ajustado desde max-height para mayor flexibilidad */
}

.img-container {
    margin: 10px;
    flex: 1 1 300px;
    max-width: 300px;
    height: auto;
    position: relative;
    overflow: hidden;
    z-index: 0; /* Añade un z-index */
}


.img-container img {
     height: auto;
     max-width: 100%;
    transition: transform 0.3s ease;
}
.img-container:hover img {
    transform: scale(1.1);
}
@media screen and (max-width: 768px) {
    .nav {
    position: fixed;
    top: 0;
    z-index: 1000; /* Asegura que el encabezado esté en un nivel superior */
    display: flex;
    justify-content: space-around;
    width: 100%;
    height: 100px;
    line-height: 100px;
    background-color: #b49a66;
}


    .nav-menu ul li .link{
    text-decoration: none;
    font-size: 17px;
    color: white;
    padding-bottom: 15px;
    margin: 0 25px;
    z-index: 1000;
}

    .container {
        width: 90%; /* Reducir el ancho del contenedor en pantallas pequeñas */
    }

   .container {
        width: 90%; /* Reducir el ancho del contenedor en pantallas pequeñas */
    }
    
   

    /* Ocultar las imágenes arriba y abajo en dispositivos móviles */
   
    .abajo {
        display: none;
    }

    .nav-button {
        display: none;
    }

    .nav-menu.responsive {
        top: 100px;
        z-index: 1000;
    }

    .nav-menu {
        position: absolute;
        top: -800px;
        display: flex;
        justify-content: center;
        background: rgba(255, 255, 255, 0.2);
        width: 100%;
        height: 90vh;
        backdrop-filter: blur(20px);
        transition: .3s;
        z-index: 1000;
    }

    .nav-menu ul {
        flex-direction: column;
        text-align: center;
        z-index: 1000;
    }

    .nav-menu-btn {
        display: block;
        z-index: 1000;
    }

    .nav-menu-btn i {
        font-size: 25px;
        color: #fff;
        padding: 10px;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        cursor: pointer;
        transition: .3s;
        z-index: 1000;

    }

    .nav-menu-btn i:hover {
        background: rgba(255, 255, 255, 0.15);
    }.nav-menu ul li .link {
        text-decoration: none;
        font-size: 17px;
        color: white;
        padding-bottom: 15px;
        margin: 0 25px;
        z-index: 1000;
    }

    .container {
        width: 90%; /* Reducir el ancho del contenedor en pantallas pequeñas */
    }

    /* Ocultar las imágenes arriba y abajo en dispositivos móviles */
    .abajo {
        display: none;
    }

    .nav-button {
        display: none;
    }

    .nav-menu.responsive {
        top: 100px;
    }

    .nav-menu {
        position: absolute;
        top: -800px;
        display: flex;
        justify-content: center;
        background: rgba(255, 255, 255, 0.2);
        width: 100%;
        height: 90vh;
        backdrop-filter: blur(20px);
        transition: .3s;
        z-index: 1000;
    }

    .nav-menu ul {
        flex-direction: column;
        text-align: center;
        z-index: 1000;
    }

    .nav-menu-btn {
        display: block;
    }

    .nav-menu-btn i {
        font-size: 25px;
        color: #fff;
        padding: 10px;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        cursor: pointer;
        transition: .3s;
    }

    .nav-menu-btn i:hover {
        background: rgba(255, 255, 255, 0.15);
    }
      }