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

@font-face {
  font-family: "HarryPotterFont";
  src: url("fuente/HARRYP__.TTF");
}

header {
  background: #150e4f;
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.5);
  padding: 0px;
  height: 100px;
}
 h1 {
   color: #d4af37;
   font-size: 40px;
   
}

nav ul {
  list-style: none;
  background-color: #221972;
  text-align: center;
}

nav ul li {
  display: inline-block;
  padding: 20px;
  transition: all ease-in-out 250ms;
}

ul li button {
  color: white;
  background-color: transparent;
  border: none;
  font-size: 30px;
  font-family: "HarryPotterFont";
  cursor: pointer;
}

nav ul li:hover {
  background-color: #d4af37;
}

.hide{
  color:white;
  font-size: 20px;
  padding: 15px;
  cursor: pointer;
  display: none;
}

@media only screen and (max-width: 768px) {
  ul li {
    width: 100%;
    padding: 12px;
    text-align: left;
  }
  .hide {
    display: block;
    color: black;
    font-size: 25px;
    background-color: #d4af37;
  }
  nav ul {
    display: none;
  }
}

body {
  padding-top: 100px;
  padding-bottom: 0px;
  /* background-image: url("https://images.ctfassets.net/usf1vwtuqyxm/6wHncCI874vqZMgEeZUOLk/3f086d8665f06dfa1f9f0af585850d47/UOR_DiagonAlley_VB.jpg");
  background-size: cover;
  background-repeat: no-repeat; */
  margin: 0px;
  font-family: "HarryPotterFont", sans-serif;
  height: fit-content;
}


.selectorTag{
  text-align: center;
}

.selectorTag select {
  background-color: #150e4f;
  margin-left: 15px;
  color: white;
  padding: 5px;
  width: 120px;
  height: 30px;
  border-radius: 10px;
  text-align: start;
}

#all-container {
  position: relative;
}

#characters {
  position: absolute;
  background-image: url("https://images.ctfassets.net/usf1vwtuqyxm/6wHncCI874vqZMgEeZUOLk/3f086d8665f06dfa1f9f0af585850d47/UOR_DiagonAlley_VB.jpg");
  display: none;
  background-size: contain;
  padding-top: 8px;
  width: 100%;
}

#container-cards-characters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3rem;
  margin: 40px 0;
  padding: 0px 80px;
}

.card {
  background-color: transparent;
  width: 200px;
  height: 320px;
  border-radius: 10px;
  perspective: 1000px;
  border-radius: 10px;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  box-shadow: 7px 8px 7px -9px rgba(0, 0, 0, 0.75);
  text-align: center;
  border-radius: 10px;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  background-color: white;
}

.card:hover .card-inner {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border: 3px solid gold;
}

.card-front {
  border-radius: 10px;
  overflow: hidden;
  /* background-color: blue; */
  /* color: black; */
  display: flex;
  padding-bottom: 10px;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
}

.card-back {
  /* background-color: aqua; */
  color: black;
  padding: 10px;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: rotateY(180deg);
  font-size: 20px;
  background-image: url("https://i.pinimg.com/236x/ea/a9/7e/eaa97e0b1ea29733371c46ac60059eb6.jpg");
}

.card-front img {
  width: 100%;
  flex-grow: 1;
  height: 200px;
  object-fit: cover;
}

#spells {
  position: absolute;
  display: none;
  background-image: url("https://images.ctfassets.net/usf1vwtuqyxm/6wHncCI874vqZMgEeZUOLk/3f086d8665f06dfa1f9f0af585850d47/UOR_DiagonAlley_VB.jpg");
  background-size: contain;
  padding-top: 8px;
}

/* estilo de segunda pantalla */
#container-cards-spells {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3rem;
  margin: 40px 0;
  padding: 0 80px;
  margin-bottom: 150px;
}

.cardSpell {
  color: black;
  width: 200px;
  height: 320px;
  border-radius: 10px;
  perspective: 1000px;
  border-radius: 10px;
  padding: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-image: url("https://i.pinimg.com/564x/4c/d8/8e/4cd88eea698c905dfe12c51ecc59beab.jpg");
  border: 3px solid gold;
  font-size: 15px;
}

#birth {
  position: absolute;
  display: none;
  background-image: url("https://images.ctfassets.net/usf1vwtuqyxm/6wHncCI874vqZMgEeZUOLk/3f086d8665f06dfa1f9f0af585850d47/UOR_DiagonAlley_VB.jpg");
  background-size: contain;
  padding-top: 8px;
  width: 100%;
}

#birth h3 {
  color: white;
  text-align: center;
  margin: 20px 0px;
  font-size: 30px;
}

#container-cards-birth {  
  width: 100%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3rem;
  margin: 40px 0;
  padding: 0 80px;
  margin-bottom: 150px;
}

.cardBirth {
  overflow: hidden;
  display: flex;
  padding-bottom: 10px;
  flex-direction: column;
  gap: 10px;
  font-size: 20px;
  color: black;
  width: 200px;
  height: 320px;
  border-radius: 10px;
  perspective: 1000px;
  padding: 10px;
  justify-content: center;
  align-items: center;
  background-image: url("https://1.bp.blogspot.com/-i0kQg-MGbJw/WFBCr95IBeI/AAAAAAAAWRI/M4OJF28IggwHxl486QCw7dkX7x9SpHAYgCLcB/s1600/4%2Bcasas%2Bwallpaper_01%2B%252810%2529.jpg");
  border: 3px solid gold;
}

.cardBirth img {
  width: 100%;
  flex-grow: 1;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}
footer {
  background-color: #1c1558 ;
  color: #fec012;
  padding: 10px;
  text-align: center;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 14px;
  font-weight: lighter;
  position: fixed;
  bottom: 0;
  width: 100%;
}

.mostrar-dad-div {
  display: block !important;
}

.ocultar-dad-div {
  display: none !important;
}

