/*===============GENERAL===============*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.btn {
  width: auto;
  height: 22%;
  background-color: black;
  border-style: solid;
  color: white;
  padding: 5px 5px;
  margin: 5px 5px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  cursor: pointer;
}
.btn:hover {
  color: yellow;
}
.txtcopypos {
  position: absolute;
  bottom: 0;
  right: 0;
  color: LightGray;
  font-size: 14px;
}
.bottom-left-img {
  position: absolute;
  bottom: 10px;
  left: 10px;
  width: 100px;
  height: auto;
  z-index: 10;
}
/*===============INDEX===============*/
.indextxt {
  text-align: center;
  font-size: 15vw;
  width: auto;
  opacity: 0;
  padding: 25px 25px;
  margin: 25px 25px;
  /* MODIFICADO: Tarda solo 0.8 segundos en aparecer y arranca tras 0.2 segundos */
  animation: fadeoutanm 0.8s ease-in-out 0.2s forwards;
  text-shadow: -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000, 2px 2px 0 #000;
}

body.index {
  background-color: white;
  animation: backanm 3s ease-in-out forwards;
}

.nav-list-index {
  list-style-type: none;
  padding: 0;
  margin: 0;
  text-align: center;
  font-size: 25px;
  width: auto;
}
.nav-list-index li {
  display: inline;
}
.nav-list-index li a {
  display: block;
  padding: 17px;
  text-decoration: none;
  color: white;
  /* Contorno negro uniforme de 1.5px para los enlaces */
  text-shadow: -1.5px -1.5px 0 #000, 1.5px -1.5px 0 #000, -1.5px 1.5px 0 #000, 1.5px 1.5px 0 #000;
}
.nav-list-index li a:hover {
  background-color: rgb(48, 48, 48);
  color: yellow;
}
.l1 {
  animation: backanm 4s ease-in-out forwards;
}
.l2 {
  animation: backanm 5s ease-in-out forwards;
}
.l3 {
  animation: backanm 6s ease-in-out forwards;
}
.l4 {
  animation: backanm 7s ease-in-out forwards;
}
@keyframes fadeoutanm {
  0% {
    opacity: 0;
    color: black;
  }
  100% {
    opacity: 1;
    color: white;
  }
}
@keyframes backanm {
  0% {
    opacity: 0;
    background-color: white;
  }
  100% {
    opacity: 1;
    background-color: black;
  }
}
/*------------------------*/
body.index {
  background-color: black;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
  animation: backanm 3s ease-in-out forwards;
}
/* Para que el fade del fondo no tape la imagen */
@keyframes backanm {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/* .index-images { */
  /* display: grid; */
  /* gap: 10px; */
  /* padding: 20px; */
  /* position: relative; */
  /* z-index: 5; */
  /* width: 100%; */
  /* max-width: 1400px; */
  /* margin: 0 auto; */
  /* grid-template-columns: repeat(9, 1fr); */
/* } */
/* .index-images img { */
  /* width: 100%; */
  /* height: auto; */
  /* display: block; */
  /* border: 1px solid #555; */
  /* opacity: 0; */
  /* animation: imgFadeIn 1.2s ease-out forwards; */
  /* object-fit: contain; */
/* } */
/* .index-images img:nth-child(1) { animation-delay: 3.6s; } */
/* .index-images img:nth-child(2) { animation-delay: 4.0s; } */
/* .index-images img:nth-child(3) { animation-delay: 4.4s; } */
/* .index-images img:nth-child(4) { animation-delay: 4.8s; } */
/* .index-images img:nth-child(5) { animation-delay: 5.2s; } */
/* .index-images img:nth-child(6) { animation-delay: 5.6s; } */
/* .index-images img:nth-child(7) { animation-delay: 6.0s; } */
/* .index-images img:nth-child(8) { animation-delay: 6.4s; } */
/* .index-images img:nth-child(9) { animation-delay: 6.8s; } */
/* @keyframes imgFadeIn { */
  /* 0% { */
    /* opacity: 0; */
    /* transform: translateX(-40px); */
  /* } */
  /* 100% { */
    /* opacity: 1; */
    /* transform: translateX(0); */
  /* } */
/* } */
/* @media (max-width: 768px) { */
  /* .index-images { */
    /* grid-template-columns: repeat(3, 1fr); */
    /* gap: 4px; */
    /* padding: 10px; */
  /* } */
/* } */
