*{
  font-family: verdana;
  font-size: 15px;
  margin: 0;
  padding: 0;

   
}
body {
  width: 90%;
  max-width: 900px;
  margin-top: 30px;
  font: 0.9em/1.2 Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}
div{
  margin-left: 2em;
}
.imagen {
    position: relative;
    z-index: 999; /* Un valor inferior al del encabezado */
    max-width: 100%; /* Asegura que las imágenes no sean más anchas que su contenedor */
}

/* Estilo para el encabezado */
.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;
}

.container{
  margin-top: 50px;
  margin-right: -450px;
  display: flex;
  align-content: center;
  text-align: center;
  padding-top: 120px;
}

.container > div {
  border-radius: 5px;
  padding: 10px;
  background-color: #191919;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease-in-out;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.3);
}

.container > div:hover {
  transform: scale(1.05);
}

.container > div img {
  width: 130px;
  height: 180px;
  margin-bottom: 10px;
}

.div-lgg{
  margin-left: 7em;
  margin-right: -15em;
}

.div-lg{
  margin-left: 7em;
  margin-right: -15em;
}

img {
  position: sticky;
  transition: 0.5s ease-in;
  filter: grayscale(100%);
}

img:hover {
  filter: grayscale(0%);
}

.container > div {
  text-align: center;
  margin-bottom: 30px;
}

.container > div h3 {
  color: white;
  font-size: 16px;
}

.container > div p {
  color: #b49a66;
}

.container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  grid-auto-rows: minmax(250px, auto);
  grid-gap: 20px;
}

.container p {
  display: none;
  transition: opacity 0.5s ease;
  opacity: 0;
}

.container :hover p {
  display: block;
  opacity: 1;
}
.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;
}

@media screen and (max-width: 768px) {


  body {
  width: 90%;
  max-width: 900px;
  margin: 30px auto; /* Centra el contenido horizontalmente */
  font: 0.9em/1.2 Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}
.imagen {
    position: relative;
    z-index: 999; /* Un valor inferior al del encabezado */
    max-width: 100%; /* Asegura que las imágenes no sean más anchas que su contenedor */
}

/* Estilo para el encabezado */
.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;
    margin: -20px;
}
.nav-menu ul li .link{
    text-decoration: none;
    font-size: 17px;
    color: white;
    padding-bottom: 15px;
    margin: 0 25px;
}

    .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;
    }

    .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;
    }

    .nav-menu ul {
        flex-direction: column;
        text-align: center;
    }

    .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);
    }.nav-menu ul li .link {
        text-decoration: none;
        font-size: 17px;
        color: white;
        padding-bottom: 15px;
        margin: 0 25px;
    }

    .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;
    }

    .nav-menu ul {
        flex-direction: column;
        text-align: center;
    }

    .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);
    }

.container {
  margin-top: 50px;
  margin-left: 2.7em;
  margin-right: 1em;
  width: 80%;
  display: flex;
  padding-top: 120px;
  flex-direction: column;
}

.container > div img {
  width: 100%; /* Las imágenes ocupan todo el ancho del contenedor */
  height: auto;
  margin-bottom: 10px;
}

.div-lgg, .div-lg {
  margin: 20px auto; /* Centra los elementos horizontalmente */
  width: 90%; /* Ajusta el ancho de los elementos */
}

  .container > div {
    padding: 5px;
  }

  .container > div img {
    width: 160px;
    height: auto;
    margin-bottom: 5px;
  }

  .container > div h3,
  .container > div p {
    font-size: 25px;
  }
}


.div-lg,
.div-lgg {
  padding: 20px;
  margin-top: 20px;
  border-radius: 5px;
  font-size: 20px;
  text-align: center;
}

.div-lg {
  background-color: #ffffff;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1);
}

.div-lgg {
  background-color: #f1f1f1;
}
.div-lg h3,
.div-lgg h3 {
  color: #b49a66;
}
