.hero {
  position: relative;
  background: url('../media/bg1.webp') no-repeat center center/cover;
  height: auto;
  min-height: 33vh;
  color: white;
  font-family: 'font1', sans-serif;
  
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4); 
  z-index: 0; 
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;

}

.logo {
  position: relative;
  z-index: 1000;
}
@media (max-width: 496px) {
  .navbar {
    padding: 20px 10px;
  }
  /* .hero-content {
    margin-top: 10px;
  } */
  .slot{
    bottom: 0% !important;
  }
  .hero{
    min-height: 40vh;
  }
}

@media (width: 1024px) and (height: 600px) {
  .hero{
    min-height: 40vh
  }
}

@media (width: 853px) and (height: 1280px) {
  .hero{
    min-height: 24vh
  }
}

.logo {
  height: 44px;
  z-index: 1000;

}

.hero-content {
  position: absolute;
  width: 100%;
  padding: 0px 20px;
  margin: 20px 0px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  line-height: 1.2;
  gap: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.hero-content h1 {
  font-family: 'fontLigth', 'sans-serif';
  font-size: clamp(26px, 4vw, 50px);
}
.hero-content h3 {
  font-family: 'extraFontWeight', 'sans-serif';
  font-size: clamp(21px, 3.8vw, 48px);
  font-weight: 800;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  font-weight: 700;
}

.hero-content button {
  background: #007BFF;
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
}

.hero-content button:hover {
  background: #0056b3;
}

/* .slot {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translate(-50%, -50%);
} */

.slot button {
  width: max-content;
  font-family: 'fontMedium', 'sans-serif';
  padding: 4px 8px;
  border-radius: 8px;
  background-color: red;
  color: white;
  cursor: pointer;
  border: none;
}

/* Animacion subtitulo h3 */
.rotatingSubtitle{
  display: inline-block;
  position: relative;
  white-space: nowrap;
  overflow: hidden;
  /* animation-duration: 0.5s; */
}

.slide-out {
  animation: slideOut 0.3s forwards ease-in;
}

.slide-in {
  animation: slideIn 0.3s forwards ease-in;
}

@keyframes slideOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.anchorContact{
  text-decoration: none;
  cursor: pointer;
  color: #fff;
  background: #ef9021;
  padding: 4px 8px;
  border-radius: 8px;
}
.anchorContact:hover{
  opacity: 0.9;
}