html { 
  background-color: #97bdf5;
  width:clamp(300px, 100%, 1200px);
  margin: 0;
} 

body{
  width:clamp(300px, 100%, 1200px);
  margin: 0;
}



.encabezado {
  border: 4px solid #db581b;
    
 }

h1{
  background-color: #97bdf5;
  font-family: "Inter", sans-serif;
  padding-top: 50px;
  padding-bottom: 35px;
  font-weight: 50;
  font-size: clamp(15px,5vw,60px);
  font-weight: bold;
  text-align: center;
  line-height: 1.2;

  color: #e67e22;
  text-shadow: 
  1px 1px 0 #252440,
  -1px 1px 0 #252440,
  -1px -1px 0 #252440,
  1px -1px 0 #252440;
}


main {
  
  position: relative;
  width:clamp(350px, 100%, 1200px);
  height: clamp(480px, 530px, 1200px);
  background-color: #0a5cb8;
  
 
}

.container {
  
  position: absolute;
  top: 28%;
  left: 50%;
  transform: translate(-50%, -50%);
  width:clamp(350px, 100%, 1200px);
  height: clamp(200px, 300px, 600px);
  border-top: 3px solid #db581b;
  border-bottom: 3px solid #db581b;

}



.container .slide .item{
  
  width:clamp(84px, 125px, 250px);
  height: clamp(117px, 175px,350px);
  position: absolute;
  top: 50%;
  transform: translate(0, -51%);
  background-size: cover;
  display: inline-block;
  transition: 0.5s;
    
}

.slide .item:nth-child(1),
.slide .item:nth-child(2) {
  
  top: 0;
  left: 0;
  transform: translate(0, 0);
  width: 100%;
  height: 100%;
  
}

.slide .item:nth-child(3) {
  left: 50%; 
  display: none;
  
}

.slide .item:nth-child(4) {
  left: calc(50%);
  display: none;
}

.slide .item:nth-child(5) {
  left: calc(50%);
  display: none;
}

.slide .item:nth-child(6) {
  left: calc(50%);
  display: none;
}

.slide .item:nth-child(7) {
  left: calc(50%);
  display: none;
}

.slide .item:nth-child(8) {
  left: calc(50%);
  display: none;
}

.slide .item:nth-child(n + 9) {
  left: calc(50%);
  display: none;
  opacity: 0;
}



.item .content {
  
  position: absolute;
  bottom: -75%;
  left:clamp(3px, 9px, 20px);
  width:clamp(350px, 100%, 1200px);
  height:clamp(100px, 250px, 450px);
  overflow: hidden;
  text-align: left;
  color: #f8f8ff;
  transform: translate(0, -5%);
  font-family: "Inter", sans-serif;
  font-weight: normal;
  display: none;
  
}


.slide .item:nth-child(2) .content {
  display: block;
 

}

.slide .item:nth-child(3) .content {
  display: none;

}

.slide .item:nth-child(4) .content {
  display: none;

}

.slide .item:nth-child(5) .content {
  display: none;

}

.slide .item:nth-child(6) .content {
  display: none;

}

.slide .item:nth-child(7) .content {
  display: none;

}

.content .name {
  
  font-size:clamp(16px, 28px, 40px);
  font-family: "Inter", sans-serif;
  text-align: left;
  margin-left: 5px;
  text-transform: uppercase;
  font-weight: bold;
  opacity: 0;
  animation: animate .8s ease-in-out 0.4s 1 forwards;
  width: 365px;
  color: #4ff85a;
  
  text-shadow: 
  1px 1px 0 #005954,
  -1px 1px 0 #005954,
  -1px -1px 0 #005954,
  1px -1px 0 #005954;
  
}


.content .descripcion {
  position: absolute;
  width:clamp(125px, 200px, 400px) ;
  height: 145px;
  line-height: 1.5;
  border-radius: 20px;
  opacity: 0;
  font-size:clamp(14px, 14px, 26px);
  padding: 10px;
  margin-top: 15px;
  margin-bottom: 15px;
  animation: animate .8s ease-in-out 0.4s 1 forwards;
  
}


.content .tag--1{
  
  width: clamp(50px, 120px, 270px);
  margin-left:clamp(140px, 230px, 560px);
  margin-top: 43px;
  text-align: center;
  font-size: clamp(13px, 14px, 18px);
  font-weight: normal;
  line-height: 1.3;
  padding: 10px 10px;
  border-radius: 10px;
  background-color: #252440;
  border: 1.5px solid #f8f8ff;
  opacity: 0;
  animation: animate 1.2s ease-in-out 0.4s 1 forwards;
}





@keyframes animate {
  from {
    opacity: 0;
    transform: translate(0, 100px);
    filter: blur(33px);
    
  }

  to {
    opacity: 1;
    transform: translate(0);
    filter: blur(0);
  }
}


.button {
  bottom: 70%;
  width: 100%;
  text-align: center;
  position: absolute;
  
}

.button button{
  width: 40px;
  height: 30px;
  border-radius: 8px;
  color: #fdecd4;
  background: #252440;
  cursor: pointer;
  margin: 0 -190px;
  border: 2px solid #4ff85a;
  transition: 0.3s;
}

.button button:hover {
  background: #db581b;
  color: #252440;
}

/* Inicia seccion dentro de main*/


section{  

  position: absolute;
  margin-top: 20px;
  width: clamp(350px, 100%, 1200px);
  height: clamp(480px, 620px, 1200px);
  background-color: #0a5cb8;
  position: absolute;
  
  
  
}

header{
  width: clamp(350px, 100%, 1200px);
  
}
  
h2{
   
    font-family: "Inter", sans-serif;
    padding-top: 35px;
    padding-bottom: 20px;
    font-weight: 200;
    font-size: clamp(16px,30px, 70px);
    font-weight: bold;
    text-align: center;
    color: #fdecd4;
    text-shadow: 
    1.5px 1.5px 0 #252440,
    -1.5px 1.5px 0 #252440,
    -1.5px -1.5px 0 #252440,
    1.5px -1.5px 0 #252440;
}

.container2 {
  
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width:clamp(350px, 100%, 1200px);
  height: clamp(200px, 300px, 820px);
  background: #252440;
  border-top: 3px solid #db581b;
  border-bottom: 3px solid #db581b;
  
}

.container2 .slide2 .item2 {
  width:clamp(84px, 125px, 250px);
  height: clamp(117px, 175px,350px);
  position: absolute;
  top: 50%;
  transform: translate(0, -51%);
  background-size: cover;
  display: inline-block;
  transition: 0.5s;
  
}

.slide2 .item2:nth-child(1),
.slide2 .item2:nth-child(2) {
  top: 0;
  left: 0;
  transform: translate(0, 0);
  width: 100%;
  height: 100%;

}

.slide2 .item2:nth-child(3) {
  left: 50%; 
  display: none;

}


.slide2 .item2:nth-child(4) {
  left: calc(50%);
  display: none;
  
}

.slide2 .item2:nth-child(5) {
  left: calc(50%);
  display: none;
  
}

.slide2 .item2:nth-child(n + 6) {
  left: calc(50%);
  display: none;
  opacity: 0;
  
}


.item2 .content2 {
  
  position: absolute;
  bottom: -75%;
  left:clamp(3px, 9px, 20px);
  width:clamp(350px, 100%, 1200px);
  height:clamp(100px, 250px, 450px);
  overflow: hidden;
  text-align: left;
  color: #fdecd4;
  transform: translate(0, -5%);
  font-family: "Inter", sans-serif;
  font-weight: normal;
  display: none;

}


.slide2 .item2:nth-child(2) .content2 {
  display: block;

}

.slide2 .item2:nth-child(3) .content2 {
  display: none;

}

.slide2 .item2:nth-child(4) .content2 {
  display: none;

}

.slide2 .item2:nth-child(5) .content2 {
  display: none;

}

.slide .item:nth-child(6) .content2 {
  display: none;

}


.content2 .name2 {
  
  font-size:clamp(16px, 28px, 40px);
  text-align: left;
  margin-left: 5px;
  font-family: "Inter", sans-serif;
  text-transform: uppercase;
  font-weight: bold;
  opacity: 0;
  animation: animate 1.2s ease-in-out 0.4s 1 forwards;
  width: 265px;
  margin-top: 5px;
  color: #4ff85a;
  text-shadow: 
  1px 1px 0 #005954,
  -1px 1px 0 #005954,
  -1px -1px 0 #005954,
  1px -1px 0 #005954;

  
}


.content2 .descripcion2 {
  font-family: "Inter", sans-serif;
  position: absolute;
  width: clamp(125px, 200px, 450px);
  height: 175px;
  line-height: 1.5;
  border-radius: 20px;
  opacity: 0;
  font-size:clamp(10px, 14px, 20px);
  padding-bottom: 10px;
  margin-top: 15px;
  margin-bottom: 15px;
  animation: animate 1.2s ease-in-out 0.4s 1 forwards;

  
}


.tag--2{
  
  width: clamp(50px, 120px, 270px);
  margin-left:clamp(140px, 230px, 560px);
  margin-top: 43px;
  font-family: "Inter", sans-serif;
  font-size: clamp(13px, 14px, 18px);
  text-align: center;
  font-weight: normal;
  line-height: 1.5;
  padding: 10px 10px;
  border-radius: 10px;
  background-color: #252440;
  border: 1.5px solid #fdecd4;
  opacity: 0;
  animation: animate 1.2s ease-in-out 0.4s 1 forwards;

}


@keyframes animate {
  from {
    opacity: 0;
    transform: translate(0, 100px);
    filter: blur(33px);
    
  }

  to {
    opacity: 1;
    transform: translate(0);
    filter: blur(0);
  }
}

.button2 {
  bottom: 50%;
  width: 100%;
  text-align: center;
  position: absolute;

  
  
}

.button2 button{
  width: 40px;
  height: 30px;
  border-radius: 8px; 
  color: #fdecd4;
  background: #252440;
  cursor: pointer;
  margin: 0 -190px;
  border: 2px solid #4ff85a;
  transition: 0.3s;
}

.button2 button:hover {
  background: #db581b;
  color: #252440;
}


.finalPagina{
  margin-top: 640px;
  padding-top: 20px;
  width: clamp(350px, 100%, 1200px);
  height: 215px;
  background-color: #97bdf5;
  
}

.sobreIlustraciones{
  font-family: "Inter", sans-serif;
  font-size:clamp(9px, 11px, 20px);
  text-align: right;
  margin-top: -5px;
  margin-right: 10px;
  color: #818080;
  font-style: italic;
}

p{
  font-family: "Inter", sans-serif;
  font-size:clamp(12px, 14px, 20px);
  text-align: center;
  margin-top: 27px;
  color: #252440;
}

.direccion a {
  font-family: "Inter", sans-serif;
  text-align: center;
  display: block;
  

  font-style: italic;
  color: #252440;
  font-size: 13px;
  margin-top: 20px;
}

.ubicacion{
  align-items: center;
  width: 30px;

}

.rombDatos{
  background-color: #97bdf5;
  text-align: center;
  display: block;
  font-family: "Dosis", sans-serif;
  color: #252440;
  font-size: 10px;
  margin-top: 30px;

}

.romb{
  width: 100%;
  text-align: center;
  margin-top: 15px;
}

.logoromb{
  width: 80px;
  height: 30px;

}

.rombTelefono{
  text-align: center;
  display: block;
  font-family: "Dosis", sans-serif;
  color: #252440;
  font-size: 10px;
  margin-top: 5px;
  padding-bottom: 20px;
  
}

