.main-content {
  max-width: 1620px;
  min-width: 1300px;
}

.about_us {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 2fr 1.5fr;
}

.about_us_detail {
  margin-left: 15px;
  background: transparent;
}

.about_us_detail div {
  font-family: "Oswald", sans-serif;
  font-size: 3rem;
  font-weight: 600;
  text-align: center;
}

.about_us_detail p {
  font-size: 1.2rem;
  text-align: justify;
}

.about_us_detail p {
  font-family: "Oswald", sans-serif;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.grid-item {
  width: 100%;
  height: 100%;
  overflow: hidden;
  transition: 0.2s ease-in-out;
}

.grid-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.grid-item:hover {
  scale: 1.05;
}

/* Ajustes específicos para replicar el diseño de la imagen proporcionada */
.grid-item.item-1 {
  grid-column: 1 / span 1;
  grid-row: 1 / span 1;
  cursor: pointer;
}

.grid-item.item-2 {
  grid-column: 2 / span 2;
  grid-row: 1 / span 1;
  cursor: pointer;
}

.grid-item.item-3 {
  grid-column: 1 / span 1;
  grid-row: 2 / span 2;
  cursor: pointer;
}

.grid-item.item-4 {
  grid-column: 2 / span 1;
  grid-row: 2 / span 2;
  cursor: pointer;
}

.grid-item.item-5 {
  grid-column: 3 / span 1;
  grid-row: 2 / span 3;
  cursor: pointer;
}

/* Botellas */

.una_cerveza {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  margin-top: 50px;
  text-align: center;
  font-size: 4rem;
  text-transform: uppercase;
  opacity: 0;
}

.lg_bottle,
.tr_bottle,
.sw_bottle,
.cn_bottle {
  height: 400px;
  background-color: transparent;
  transition: 0.3s ease-in-out;
  cursor: pointer;
  opacity: 0;
}

.tr_bottle {
  animation-delay: 0.5s;
}

.sw_bottle {
  animation-delay: 1s;
}

.cn_bottle {
  animation-delay: 1.5s;
}

.lg_bottle:hover,
.tr_bottle:hover,
.sw_bottle:hover,
.cn_bottle:hover {
  scale: 1.1;
}

.beer_bottles {
  margin-top: 50px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Botellas */

/* Ventana fotos */

/* Modal styles */
.modal {
  display: none; /* Initially hidden */
  position: fixed;
  z-index: 1000;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85); /* Background with opacity */
}

.modal-content {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  padding: 0;
}

@media only screen and (max-width: 700px) {
  .modal-content {
    width: 100%;
  }
}

@media (max-width: 500px) {
  html,
  body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
  }

  .main-content {
    max-width: 100%;
    min-width: auto;
  }

  .about_us {
    grid-template-columns: 1fr;
  }

  .about_us_detail div {
    font-size: 2rem;
  }

  .about_us_detail p {
    font-size: 1rem;
    width: 100%;
    margin: auto;
  }

  .grid-container {
    grid-template-columns: 1fr; /* Una sola columna en móvil */
    gap: 0px;
    width: 100%;
    margin: auto;
    margin-bottom: 20px;
  }

  .grid-item {
    grid-column: 1 / span 1;
    grid-row: auto;
    width: 100%; /* Asegúrate de que ocupe el 100% del espacio */
    margin: 0; /* Eliminar márgenes */
    padding: 0; /* Eliminar padding */
  }

  .grid-item img {
    width: 100%; /* Asegúrate de que la imagen ocupe el 100% del ancho del grid-item */
    height: auto; /* Mantén la proporción de la imagen */
    object-fit: cover; /* Asegura que la imagen cubra el área disponible */
  }

  .una_cerveza {
    font-size: 1.7rem;
  }

  .lg_bottle,
  .tr_bottle,
  .sw_bottle,
  .cn_bottle {
    height: 200px; /* Ajustar la altura de las botellas en móvil */
  }

  .about_us_detail {
    margin: auto;
    background: transparent;
  }

  .grid-item.item-4,
  .grid-item.item-5 {
    gap: 5px;
    margin: auto;
    width: 99%;
  }
}
