:root{
  --turquoise:#66d0cf;
  --dark-teal:#1f5555;
  --yellow:#f6f681;
  --text-dark:#254043;
}

body{
  font-family: sans-serif;
  color: var(--text-dark);
}

/* Navbar */
.bg-turquoise{
  background: var(--turquoise);
}

/* HERO */
#inicio{
    background-image: url(/img/fondo.png);
    background-size: cover;
}

.hero{
  background:var(--turquoise);
  position:relative;
  padding:80px 0;
  overflow:hidden;
  height: 500px;
  min-height: 500px;
}

/* TEXTO GIGANTE DE FONDO */
.hero-text{
    transform: translateY(-50px);
}

.hero-title{
  font-size:15vw;     
  font-weight:900;
  color:var(--text-dark);
  opacity:0.5;      
  margin:0;
  line-height:0.9;
  white-space:nowrap;
}

.hero-small{
    position: relative;
    color:var(--text-dark);
    opacity:0.5;
    font-weight: 900;
    right: 47%;
    bottom: -35px;
}

.decorative-line{
    width: 40%;
    height: 3px;
    background-color: var(--dark-teal);
}

/* CONTENIDO SUPERPUESTO */
.hero-content{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}

.hero-img{
  width: 50%;
  min-width: 400px;
  transform: translateY(60px);
}

/* BOTONES SOBRE LA IMAGEN */
.hero-buttons{
  position:absolute;
  bottom:120px;            
  left:50%;
  transform:translateX(-50%);
  display:flex;
  gap:12px;
}

@media (max-width: 768px){
  .hero{
    height: auto;        
    padding: 60px 0 120px; 
    background-size: cover;
  }
  .hero-title{
    font-size: 14vw;     
    line-height: 1;
    transform: translateY(30px);
  }
  .hero-small{
    transform: translateX(10px) translateY(20px);
    font-size: 3vw;
  }
  .hero-img{
    width: 80%;
    min-width: 300px;
    transform: translateY(100px);
  }
  .hero-buttons{
    bottom: 20px;  
    flex-direction: row;
    width: 90%;
    gap: 8px;
  }
}

/* BOTONES */
.btn-hero-primary{
  background:var(--dark-teal);
  color:#fff;
  border-radius:25px;
  padding:10px 22px;
}

.btn-hero-secondary{
  background:var(--yellow);
  border-radius:25px;
  padding:10px 22px;
}

.btn:hover{
    transform: scale(1.1);
    background-color: var(--yellow);
    transition: 0.2s;
}

/* ABOUT */
.about{
  background:var(--dark-teal);
  color:white;
}

.about-img-wrap{
  background: var(--yellow);
  padding:10px;
  border-radius:50%;
}

.about-img{
  width:180px;
  height:180px;
  object-fit:cover;
  border-radius:50%;
}

.about-card{
  background: var(--yellow);
  color:#254043;
  border-radius:20px;
  max-width:700px;
}

#servicios{
    background-color: var(--turquoise);
}

.card{
    background-color: var(--yellow);

}

/* BOOKS */
.books{
  background:var(--dark-teal);
  color:white;
}

.books-intro{
  background: var(--yellow);
  color:var(--text-dark);
  padding:15px;
  border-radius:15px;
  max-width:700px;
}

.light-card{
  background: var(--turquoise);
  padding:15px;
  border-radius:15px;
  color:#254043;
}

.light-img{
  width:100%;
  border-radius:10px;
}

/* COURSES */
.courses{
  background:var(--turquoise);
  color:white;
}

.courses-intro{
  background: var(--yellow);
  color:#254043;
  padding:15px;
  border-radius:15px;
  max-width:650px;
}

.dark-card{
  background: var(--dark-teal);
  border-radius:15px;
  color:var(--turquoise);
}

footer{
    background-color: var(--turquoise);
    color: var(--dark-teal);
}

.footer-link:hover{
    color: var(--yellow);
}

i{
    color: var(--dark-teal);
}
