@import url("https://fonts.googleapis.com/css2?family=Cinzel&family=EB+Garamond:ital,wght@0,400;0,500;1,400&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
}

body {
  width: 100%;
  max-height: 100vh;
  font-family: "EB Garamond", serif;
  font-size: 1rem;
  background-color: #0d0d1a;
}

header {
  height: 60px;
  padding: 10px;
  padding-left: 50px;
  padding-right: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background-color: #1a0a0a;
  border-bottom: solid 1px rgba(201, 168, 76, 0.55);
}
header .contenedor_header {
  align-items: center;
  color: #f5ecd7;
  display: flex;
  gap: 10px;
}
header .logo_img {
  background-color: #c9a84c;
  height: 100%;
  align-items: center;
  align-content: center;
  text-align: center;
  border-radius: 10px;
}
header .logo_img img {
  width: 60%;
}
header nav ul {
  display: flex;
  gap: 20px;
}
header nav ul li a {
  color: #f5ecd7;
}
header button {
  display: none;
  padding: 3px;
  background-color: #9a7a30;
  border: none;
  width: 10%;
  height: 70%;
  flex-direction: column;
  gap: 9px;
}
header button polyline {
  transition: transform 0.5s ease-in-out;
  background-color: white;
  width: 100%;
  height: 2px;
}
@media (max-width: 530px) {
  header nav {
    z-index: -1;
    opacity: 0;
    padding: 10%;
    background-color: black;
    position: absolute;
    top: 60px;
    right: 0;
    transition: opacity 1s ease-in-out;
  }
  header nav.active {
    opacity: 1;
    z-index: 1;
  }
  header nav ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  header nav ul li a {
    color: #f5ecd7;
  }
  header button {
    display: flex;
  }
  header button.active polyline:nth-child(1) {
    transform: translate(0, 8px) rotate(45deg);
  }
  header button.active polyline:nth-child(2) {
    opacity: 0;
  }
  header button.active polyline:nth-child(3) {
    transform: translate(0, -11.8px) rotate(-45deg);
  }
}

#hero {
  position: relative;
  color: #f5ecd7;
  width: 100%;
  min-height: 100px;
  max-height: 590px;
  height: 590px;
  border-bottom: solid 1px rgba(201, 168, 76, 0.55);
}
#hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
#hero .contenedor_hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: absolute;
  bottom: 16%;
  left: 2%;
}
#hero .contenedor_hero h1 {
  font-size: 3rem;
  color: #c9a84c;
  text-shadow: 0 -1px 30px #f0d080;
}
#hero .contenedor_hero .estrella {
  align-items: center;
  display: flex;
  color: #c9a84c;
}
#hero .contenedor_hero .estrella::before {
  margin: 10px;
  display: flex;
  content: "";
  height: 2px;
  width: 20px;
  background-color: #c9a84c;
  transition: width 0.5s ease-in-out;
}
#hero .contenedor_hero .estrella::after {
  margin: 10px;
  display: flex;
  content: "";
  height: 2px;
  width: 20px;
  background-color: #c9a84c;
  transition: width 0.5s ease-in-out;
}
#hero:hover .estrella::before {
  margin: 10px;
  display: flex;
  content: "";
  height: 2px;
  width: 50px;
  background-color: #c9a84c;
}
#hero:hover .estrella::after {
  margin: 10px;
  display: flex;
  content: "";
  height: 2px;
  width: 50px;
  background-color: #c9a84c;
}

main {
  display: flex;
  width: 100%;
  min-height: 100px;
  max-height: 900px;
  height: 900px;
  border-bottom: solid 1px rgba(201, 168, 76, 0.55);
}
main #contenido-principal {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 3%;
  width: 60%;
  height: 100%;
  border-right: solid 1px rgba(201, 168, 76, 0.27);
}
main #contenido-principal .img_main {
  background-color: black;
  position: relative;
  height: 43%;
  border-radius: 20px;
  overflow: hidden;
  border: solid 1px rgba(201, 168, 76, 0.55);
  width: 80%;
}
main #contenido-principal .img_main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
main #contenido-principal .img_main video {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: none;
}
main #contenido-principal .img_main:hover {
  cursor: pointer;
}
main #contenido-principal .img_main::before {
  position: absolute;
  top: 40%;
  content: "";
  background-image: url(../imgs/play-button.png);
  background-repeat: no-repeat;
  background-size: contain;
  width: 100%;
  height: 20%;
  display: none;
  align-self: center;
  align-items: center;
  background-position: center;
}
main #contenido-principal .img_main:hover::before {
  display: inline-block;
}
main .footer_main {
  height: 50%;
  width: 80%;
  color: #c9a84c;
  padding: 10px;
}
main .footer_main span {
  font-size: 0.88rem;
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 20px;
  background-color: rgba(201, 168, 76, 0.27);
  border: solid 1px rgba(201, 168, 76, 0.55);
}
main .footer_main h2 {
  font-size: 2rem;
}
main .footer_main article {
  margin-top: 8px;
  color: #f5ecd7;
}
main .contenido_segundo {
  flex: 1;
  display: flex;
  gap: 10px;
  flex-direction: column;
  min-height: 100px;
  max-height: 900px;
  height: 900px;
  padding: 3%;
}
main .contenido_segundo figure {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: minmax(0, 1fr) minmax(100px, 0.5fr);
  min-height: 0;
}
main .contenido_segundo figure img {
  width: 100%;
  height: 100%;
  border: solid 1px rgba(201, 168, 76, 0.55);
  border-radius: 20px;
  object-fit: cover;
  transition: transform 0.3s ease;
}
main .contenido_segundo figure img:hover {
  opacity: 0.9;
  transform: scale(1.01);
  image-rendering: pixelated;
}
main .contenido_segundo figure .img_principal {
  grid-column: 1/3;
}
main .contenido_segundo .separador {
  margin-top: 3%;
  margin-bottom: 3%;
}
main .contenido_segundo .separador::before {
  display: flex;
  content: "";
  height: 1px;
  width: 100%;
  background-color: rgba(201, 168, 76, 0.27);
}

#casas {
  flex: 1;
  min-height: 100px;
  max-height: 450px;
  height: 450px;
  padding-bottom: 4%;
  background-color: #1a0a0a;
  color: #c9a84c;
  display: flex;
  flex-direction: column;
  gap: 7%;
  align-items: center;
  border-bottom: solid 1px rgba(201, 168, 76, 0.55);
}
#casas h2 {
  padding-top: 1.5%;
  font-size: 2rem;
  font-weight: 400;
}
#casas .contenedor_casas {
  padding-left: 5%;
  padding-right: 5%;
  height: 100%;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  justify-items: center;
  gap: 15px;
  min-height: 0;
}
#casas .contenedor_casas div {
  position: relative;
  font-weight: 700;
  width: 100%;
  height: 100%;
  align-content: center;
  text-align: center;
  background-color: #0d0d1a;
  border: solid 1px rgba(201, 168, 76, 0.55);
  border-radius: 20px;
}
#casas .contenedor_casas div span {
  display: block;
}
#casas .contenedor_casas div:hover span {
  display: none;
}
#casas .contenedor_casas div:hover {
  cursor: pointer;
}
#casas .contenedor_casas .gry::before {
  display: none;
  align-items: center;
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  background-image: url(../imgs/casa_Gryffindor.webp);
  background-repeat: no-repeat;
  object-fit: cover;
  top: 0;
  left: 0;
  background-position: center;
}
#casas .contenedor_casas .gry:hover::before {
  display: block;
}
#casas .contenedor_casas .sly::before {
  display: none;
  align-items: center;
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  background-image: url(../imgs/casa_Slytherin.webp);
  background-repeat: no-repeat;
  object-fit: cover;
  top: 0;
  left: 0;
  background-position: center;
}
#casas .contenedor_casas .sly:hover::before {
  display: block;
}
#casas .contenedor_casas .huff::before {
  display: none;
  align-items: center;
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  background-image: url(../imgs/casa_Hufflepuff.webp);
  background-repeat: no-repeat;
  object-fit: cover;
  top: 0;
  left: 0;
  background-position: center;
}
#casas .contenedor_casas .huff:hover::before {
  display: block;
}
#casas .contenedor_casas .rave::before {
  display: none;
  align-items: center;
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  background-image: url(../imgs/casa_Ravenclaw.webp);
  background-repeat: no-repeat;
  object-fit: cover;
  top: 0;
  left: 0;
  background-position: center;
}
#casas .contenedor_casas .rave:hover::before {
  display: block;
}

footer {
  color: #b8a898;
  background-color: #0a0508;
}
footer .contenedor_footer {
  padding: 2%;
  padding-bottom: 0;
  width: 100%;
  min-height: 100px;
  max-height: 250px;
  height: 250px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-items: center;
}
footer .contenedor_footer section h2 {
  color: #c9a84c;
  font-size: 1.5rem;
}
footer .separador {
  display: flex;
  justify-content: center;
}
footer .separador::before {
  display: flex;
  content: "";
  height: 1px;
  width: 90%;
  align-items: center;
  background-color: rgba(201, 168, 76, 0.27);
}
footer .final_footer {
  height: 80px;
  padding-left: 5%;
  padding-right: 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
footer .final_footer p {
  color: #6b5c50;
}
footer .final_footer figure {
  display: flex;
  gap: 20px;
}
footer .final_footer figure svg:hover {
  cursor: pointer;
}

/*# sourceMappingURL=style.css.map */
