* {
  margin: 0;
  padding: 0;
  font-family: "Poppins";
}

body {
  color: white;
}

.bgn-image {
  background-image: url("./imagenes/bgn.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 50px;
  padding-bottom: 20px;
}
.container-general {
  max-width: 100vw;
}

.header {
  max-width: 100vw;
  background-color: rgb(4, 119, 134);
  display: flex;
  justify-content: space-between;
  align-items: center;

  box-shadow: 0px 4px 3px rgba(0, 0, 0, 0.5);
  /* si queremos haser nav-bar pegado a top de la pagina*/
  position: fixed;
  z-index: 1000;
  top: 30px;
  /*max-width:1000px;*/
  left: 0;
  width: 100%;
}

.logo img {
  width: 40px;
  border-radius: 10px;
  box-shadow: 14px 14px 20px 0 rgba(20, 20, 20, 0.4);
  margin: 15px;
}

.nav {
  display: flex;

  list-style: none;
  gap: 60px;
}

.nav li {
  font-size: 18px;
}

.nav li a {
  text-decoration: none;
  color: white;
}

.nav li a:visited {
  color: white;
}

.header-actions {
  display: flex;
  align-items: center;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: transparent;
  border: 0;
  padding: 0;
  margin-right: 15px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: white;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.basket {
  position: relative;
}

.basket a {
  font-size: 18px;
  font-family: "Poppins";
  color: white;
  text-decoration: none;
  margin-right: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.basket img {
  width: 37px;
  border-radius: 10px;
  margin: 15px;
  box-shadow: 14px 14px 20px 0 rgba(20, 20, 20, 0.4);
}

.basket-count {
  position: absolute;
  top: 4px;
  right: 19px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background-color: rgb(7, 167, 216);
  color: white;
  font-size: 12px;
  font-weight: bold;
  line-height: 18px;
  text-align: center;
  transition: transform 0.2s ease;
  pointer-events: none;
  box-shadow: 0 2px 6px rgba(20, 20, 20, 0.4);
}

.basket-count.bump {
  animation: basket-bump 0.3s ease;
}

@keyframes basket-bump {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.35);
  }
  100% {
    transform: scale(1);
  }
}

.container {
  max-width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.interior h2,
p {
  text-align: center;
}

.interior-slogan {
  margin-top: 100px;
  font-size: 100px;
  font-weight: bold;
}

.interior-text {
  margin-top: 30px;
  font-size: 20px;
}
.search-interior {
  display: flex;
  justify-content: space-between;
  margin: 60px auto;
  width: 360px;
  height: 60px;
  border: 1px solid rgb(255, 255, 255, 0.5);
  border-radius: 30px;
  background-color: rgb(255, 255, 255, 0.5);
  text-align: left;
  padding-left: 15px;
  box-shadow: 14px 14px 20px 0 rgba(20, 20, 20, 0.6);
}
.search-interior input {
  flex: 1;
  padding: 15px;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 20px;
}
.search-interior a img {
  width: 35px;
  margin: 20%;
}
.search-interior a {
  padding: 10px 12px;
  border: 0;
  outline: 0;
  background: transparent;
  cursor: pointer;
}

.interior-search::placeholder {
  font-family: "Poppins";
  font-size: 18px;
  color: white;
}

.interior-search:focus {
  outline: none;
  font-size: 18px;
}

.content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 3%;
  max-width: 100%;
}

.content div a img:hover {
  transform: scale(1.25);
  transition: transform 0.3s;
}

.content div a img {
  max-width: 100%;
}

.oferr {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  background-color: rgb(4, 119, 134);
  margin: 3%, auto;
}

.oferr-text {
  display: flex;
  margin: 70px auto;
  font-size: 30px;
  align-items: center;
  flex-direction: column;
}

.oferr-slogan,
h2 {
  text-align: center;
}

.oferr-img img {
  max-width: 100%;
  border-radius: 30px;
  margin-right: 100px;
  box-shadow: 14px 14px 20px 0 rgba(20, 20, 20, 0.6);
}

footer {
  background-color: rgb(4, 119, 134);
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  text-decoration: none;
}

.mapa h3 {
  font-size: 40px;
}

.mapa {
  color: rgb(4, 119, 134);
  margin: 40px auto;
  font-size: 25px;
  text-align: center;
  margin-top: 3%;
}
.mapa-im {
  margin-top: 3%;
}

footer p a {
  font-family: "Poppins";
  font-size: 18px;
  color: white;
}

@media (max-width: 600px) {
  .container-general {
    max-width: 100vw;
  }

  .container {
    max-width: 100vw;
    display: block;
    align-items: center;
  }

  .interior-slogan {
    margin-top: 150px;
    font-size: 50px;
    font-weight: bold;
  }
  .content {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
  }
  .search-interior {
    display: flex;
    justify-content: space-between;
    max-width: 250px;
  }
  .search-interior input {
    max-width: 60%;
  }
  .oferr-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 50px auto;
  }

  .oferr-slogan,
  h2 {
    font-size: 30px;
  }
  .oferr-img img {
    margin-right: 0;
  }
  .search-interior a img {
    width: 25px;
    margin: 30%;
  }
  .contenedor-iframe {
    display: flex;
    justify-content: center; /* Centra horizontalmente */
    margin-right: 0;
  }

  .contenedor-iframe iframe {
    width: 80%; /* Ajusta el ancho del iframe según sea necesario */
    max-width: 80%; /* Opcional: establece un ancho máximo */
  }
}

@media ((min-width: 601px) and (max-width:1285px)) {
  .oferr {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
  }
  .oferr-img img {
    max-width: 100%;
    border-radius: 30px;
    display: inline-block;
    margin-right: 0px;
    margin-bottom: 5%;
  }
  .search-interior {
    display: flex;
    justify-content: space-between;
    width: 250px;
  }
  .search-interior input {
    width: 150px;
  }
  .interior-slogan {
    font-size: 70px;
  }
  .content {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
  .content > div {
    flex: 1 1 220px;
    max-width: 260px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .header-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    background-color: rgb(4, 119, 134);
    transition: max-height 0.35s ease;
  }

  .header-nav.open {
    max-height: 400px;
    box-shadow: 0px 4px 3px rgba(0, 0, 0, 0.5);
  }

  .nav {
    flex-direction: column;
    gap: 0;
  }

  .nav-element {
    width: 100%;
    text-align: center;
  }

  .nav li a {
    display: block;
    padding: 18px;
  }
}
