@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&family=Lato:wght@300;400;500;600;700&display=swap');

:root {
  --primary-color: #9f387d;
  --primary-color-dark: #772b5e;
  --text-dark: #0c0a09;
  --text-light: #555555;
  --white: #ffffff;
  --max-width: 1200px;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 3rem 1rem;
}

.section__subheader {
  margin-bottom: 0.5rem;
  position: relative;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--text-dark);
}

.section__subheader::after {
  position: absolute;
  content: "";
  top: 50%;
  transform: translate(1rem, -50%);
  height: 2px;
  width: 4rem;
  background-color: var(--primary-color);
}

.section__header {
  font-family: "Abril Fatface", serif;
  max-width: 600px;
  margin-bottom: 1rem;
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 3rem;
  color: var(--text-dark);
}

.section__description {
  max-width: 600px;
  line-height: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.btn {
  padding: 0.75rem 1.5rem;
  outline: none;
  border: none;
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  background-color: var(--primary-color);
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.btn:hover {
  background-color: var(--primary-color-dark);
}

img {
  width: 100%;
  display: flex;
}

a {
  text-decoration: none;
}

html,
body {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', sans-serif;
}

.header {
  background-image: url("assets/home0_lud.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.header-bio {
  background-image: url("assets/clases0_lud.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.header-musica {
  background-image: url("assets/musica0_lud.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.header-clases {
  background-image: url("assets/shows0_lud.jpg");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

nav {
  position: fixed;
  isolation: isolate;
  top: 0;
  width: 100%;
  max-width: var(--max-width);
  margin: auto;
  z-index: 9;
}

.nav__bar {
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background-color: var(--primary-color);
}

.nav__menu__btn {
  font-size: 1.5rem;
  color: var(--white);
  cursor: pointer;
}

.nav__links {
  font-size: 1.2rem;
  list-style: none;
  position: absolute;
  width: 100%;
  padding: 2rem;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 2rem;
  background-color: rgba(0, 0, 0, 0.8);
  transform: translateY(-100%);
  transition: 0.5s;
  z-index: -1;
}

.nav__links.open {
  transform: translateY(0);
}

.nav__links a {
  position: relative;
  isolation: isolate;
  padding-bottom: 8px;
  color: var(--white);
  transition: 0.3s;
}

.nav__links a:hover {
  color: var(--primary-color);
}

.header__container {
  padding-top: 25rem;
}

.header__container h1 {
  font-family: "Abril Fatface", serif;
  font-size: 4rem;
  font-weight: 500;
  line-height: 4.5rem;
  color: var(--white);
  text-align: center;
  text-shadow: 1px 1px 2px black;
}

.header__container h1 span {
  font-family: "Abril Fatface", serif;
  color: #a8a8a8;
}

.about__container {
  overflow: hidden;
  display: grid;
  gap: 2rem;
}

.room__container :is(.section__header) {
  color: var(--primary-color);
  text-align: center;
  margin-inline: auto;
}

.about__image img {
  max-width: 450px;
  margin: auto;
  border-radius: 5px;
}

.room__grid {
  margin-top: 4rem;
  display: grid;
  gap: 1rem;
}

.room__card {
  overflow: hidden;
  border-radius: 5px;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
}

.room__card__image {
  position: relative;
  isolation: isolate;
}

.room__card__icons {
  position: absolute;
  right: 1rem;
  bottom: -1.2rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
  z-index: 1;
}
 
.room__card__icons span {
  display: inline-block;
  padding: 4px 8px;
  font-size: 2rem;
  background-color: #e2e2e2;
  border-radius: 100%;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.room__card__icons span:nth-child(1) {
  color: var(--text-dark);
}

.room__card__icons span:nth-child(1):hover {
  color: var(--primary-color);
}

.room__card__details {
  padding: 1rem;
}

.room__card h4 {
  font-family: "Abril Fatface", serif;
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-dark);
}

.room__card h4 span {
  font-family: 'Lato', sans-serif;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-light);
}

.room__card p {
  margin-bottom: 0.5rem;
  line-height: 1.5rem;
  color: var(--text-light);
}

.room__card h5 {
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-light);
}

.room__card h5 span {
  font-size: 1.1rem;
  color: var(--text-dark);
}

.banner__content {
  padding: 1rem;
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: space-evenly;
  flex-wrap: wrap;
  border-radius: 10px;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
}

.banner__card {
  text-align: center;
  flex: 1 1 180px;
}

.banner__card h4 {
  font-family: "Abril Fatface", serif;
  font-size: 1.5rem;
  font-weight: 400;
  padding-bottom: .8rem;
  color: var(--text-dark);
}

.banner__card p {
  margin-bottom: 1rem;
  line-height: 1.4rem;
  color: #555555;
}

.banner__card a {
  line-height: 1.4rem;
  color: var(--text-dark);
}

.banner__card a:hover {
  color: var(--primary-color);
}

.explore :is(.section__subheader, .section__header) {
  text-align: center;
  margin-inline: auto;
}

/* breve bio */
.bio__container{
  width: 90%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bio__container h2 {
  font-family: "Abril Fatface", serif;
  font-size: 2.5rem;
  font-weight: 400;
  text-align: center;
  padding-bottom: 2rem;
  color: var(--primary-color);
}

.bio__container h3 {
  font-family: "Abril Fatface", serif;
  font-size: 1.5rem;
  font-weight: 400;
  padding-bottom: .5rem;
  color: var(--text-dark);
}

.bio__container p {
  margin-bottom: 2rem;
  line-height: 1.4rem;
  padding-left: 0;
  color: #555555;
}

.bio__container .video {
  width: 100%;
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bio__container .video a {
  text-align: center;
  padding: 1rem 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
}

.bio__container .video a:hover {
  color: var(--primary-color);
}

.clases__container .clases {
  width: 80%;
  padding: 2rem;
  margin: 0 auto;
  background-color: #fede65;
}

.clases__container h2 {
  font-family: "Abril Fatface", serif;
  font-size: 2.5rem;
  font-weight: 400;
  text-align: center;
  padding-bottom: 2rem;
  color: var(--primary-color);
}

.clases__container h3{
  font-family: "Abril Fatface", serif;
  font-size: 1.5rem;
  font-weight: 400;
  padding-bottom: 2rem;
  color: var(--text-dark);
  text-align: center;
}

.clases__container h4 {
  font-size: 1.1rem;
  line-height: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

.clases__container .clases p {
  padding-left: 0;
  line-height: 2rem;
  color: var(--text-dark);
}

@media (width > 768px) {
  nav {
    padding: 2rem 1rem;
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav__bar {
    padding: 0;
    background-color: transparent;
  }

  .nav__menu__btn {
    display: none;
  }

  .nav__links {
    padding: 0;
    width: unset;
    position: static;
    transform: none;
    flex-direction: row;
    background-color: transparent;
  }

  .nav__btn {
    display: block;
  }

  .about__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .room__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .bio__container{
    width: 66%;
  }

  .bio__container p {
    padding-left: 20px;
  }

  .clases__container .clases {
    border-radius: 5px;
    width: 50%;
  }

  .clases__container .clases p {
    padding-left: 30px;
  }

}

@media (width > 1024px) {
  .room__grid {
    gap: 2rem;
  }
}
