html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  transition: background-color 0.3s ease-in-out;
  position: relative;
  font-weight: 400;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

.contenedor {
  width: 100%;
  padding: 0;
  margin: 0;
  margin-top: -16.7vw;
  display: flex;
  flex-direction: column;
}

img.imagenes {
  border: 0.1vh solid #6B6B6B;
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  margin: 0;
  border-bottom: 0px solid #f0f0f0;
}

.topimg {
  width: 100%;
  position: relative;
  height: 41.5vw;
  object-fit: cover;
  clip-path: circle(170% at 50% -250%);
}

img.topimg {
  position: fixed;
  height: 30vw;
  width: 100%;
  z-index: -1;
}

.topimg-content {
  position: absolute;
  bottom: 35%;
  left: 0;
  width: 100%;
  text-align: center;
  color: #fff;
  z-index: 1;
  padding-bottom: 2%;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.9));
}

.topimg-content p {
  font-size: 1.2vw;
  max-width: 50vw;
  margin: 0 auto;
  margin-bottom: 1vw;
  text-align: center;
  letter-spacing: 0.5;
}

@media (max-width: 600px) {
  .topimg-content p {
    font-size: 2vw;
  }
}

.image-overlay {
  position: absolute;
  width: 100%;
  height: 37vw;
  background-color: #000;
  opacity: 50%;
  z-index: 1;
  align-self: center;
  border-radius: 0px;
}

p.alerta {
  position: fixed;
  top: 3.5vw;
  left: 0;
  width: 100%;
  text-align: center;
  font-size: 1vw;
  background-color: #ffd200;
  z-index: 100;
  padding: 1vw 0;
  margin: 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  opacity: 0;
 transition: opacity 0.5s ease;
}

@media (max-width: 600px) {
  p.alerta {
    font-size: 1.5vw;
    top: 7vw;
  }
}
