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


body {
  font-family: Arial, sans-serif;
  background-color: #f7f7f7;
  text-align: center;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #333;
  font-weight: 800;
}


header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: black;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  position: sticky;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
  margin-top: 20px;
}

header a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-family: Arial, sans-serif;
}

header a:hover {
  text-decoration: underline;
}

.inicio-boton {
  text-align: center;
  margin-top: 5px;
}

.inicio-boton p {
  color: white;
  margin: 5px 0 0 0;
  font-size: 14px;
}

.layout-container {
  position: relative;
  display: inline-block;
  margin-top: 120px;
  width: 80%;
}

.layout-container img.main-image {
  width: 100%;
  border: 2px solid #ccc;
  border-radius: 8px;
  display: block;
}

.hover-button {
  position: absolute;
  width: 20px;
  height: 20px;
  background: rgb(255, 51, 0);
  border: 2px solid black;
  border-radius: 50%;
  cursor: pointer;
  z-index: 5;
}

.open-modal-btn, .open-modal-btn1, .open-modal-btn2, .open-modal-btn3, .open-modal-btn4, .open-modal-btn5,
.open-modal-btn6, .open-modal-btn7, .open-modal-btn8, .open-modal-btn9, .open-modal-btn10, .open-modal-btn11,
.open-modal-btn12, .open-modal-btn13, .open-modal-btn14, .open-modal-btn15, .open-modal-btn16, .open-modal-btn17,
.open-modal-btn18, .open-modal-btn19, .open-modal-btn20, .open-modal-btn21, .open-modal-btn22, .open-modal-btn23,
.open-modal-btn24, .open-modal-btn25, .open-modal-btn26, .open-modal-btn27, .open-modal-btn28, .open-modal-btn29,
.open-modal-btn30, .open-modal-btn31, .open-modal-btn32, .open-modal-btn33, .open-modal-btn34, .open-modal-btn35,
.open-modal-btn36, .open-modal-btn0{
  position: absolute;
  width: 14px;
  height: 14px;
  background: rgb(255, 51, 0);
  border: 2px solid black;
  border-radius: 50%;
  cursor: pointer;
  z-index: 5;
}


  .modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 999;
  }

  .modal--show {
    display: flex;
  }

  .modal-content {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  width: 750px;
  display: flex;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  position: relative;
  }

  .modal-content1 {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  width: 1100px;
  display: flex;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  position: relative;
  }

  .modal_title {
  margin-top: 0;
  color: rgb(138, 138, 175);
  }

  #close-modal,
  #close-modal2,
  #close-modal5 {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: red;
  border: none;
  padding: 5px 10px;
  font-weight: bold;
  cursor: pointer;
  }


.tooltip,
.tooltip-carrusel {
  position: absolute;
  display: none;
  background: #fff;
  padding: 5px;
  border: 2px solid #444;
  border-radius: 8px;
  z-index: 10;
}

.tooltip img {
  width: 160px;
  height: auto;
  border-radius: 6px;
}

.hover-button:hover+.tooltip {
  display: block;
}

.layout-galleria {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 0 10px;
}

.layout-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 800px;
  min-height: 400px;
  margin-bottom: 60px;
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.layout-item img {
  width: 100%;
  height: 300px;
}

.layout-item p {
  margin-top: 10px;
  font-size: 16px;
  color: #007BFF;
  max-width: 90%;
  text-align: center;
}


.carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.carousel-images {
  display: flex;
  overflow: hidden;
  width: 250px;
  height: 100px;
  position: relative;
}

.carousel-images1 {
  display: flex;
  overflow: hidden;
  width: 320px;
  height: 100px;
  position: relative;
}

.carousel-images img {
  display: none;
  width: 100%;
  height: auto;
}

.carousel-images img.active {
  display: block;
}

.prev,
.next {
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: #fff;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 14px;
  margin: 10px;
}


.botones {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f0f0f0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.botones:hover {
  transform: scale(1.05);
}

.botones img {
  width: 60%;
  height: auto;
}


label {
  margin-top: 20px;
}


#btn1 {
  margin-right: 620px;
  margin-top: 50px;
}

#btn2 {
  margin-right: 360px;
  margin-top: -30px;
}

#btn3 {
  margin-right: 125px;
  margin-top: -30px;
}


#btn4 {
  margin-right: 230px;
  margin-top: 175px;
}


#btn5 {
  margin-left: 400px;
  margin-top: 200px;
}

#btn6 {
  margin-left: 600px;
  margin-top: -2px;
}

#btn7 {
  margin-left: 390px;
  margin-top: -2px;
}

#btn8 {
    margin-left: -40px;
   margin-top: 355px;
  }

#laya1 {
  top: 53px;
  left: 145px;
}

#laya2 {
  top: 69px;
  left: 145px;
}

#laya3 {
   top: 85px;
  left: 145px;
}

#laya4 {
  top: 54px;
  left: 84px;
}

#laya5 {
  top: 54px;
  left: 60px;
}

#laya6 {
  top: 54px;
  left: 30px;
}

#laya7 {
  top: 130px;
  left: 50px;
}

#laya8 {
  top: 130px;
  left: 90px;
}

#laya9 {
  top: 400px;
  left: 30px;
}



#laya10 {
  top: 397px;
  left: 57px;
}

#laya0 {
  top: 430px;
  left: 150px;
}

#laya11 {
  top: 400px;
  left: 85px;
}

#laya12 {
  top: 430px;
  left: 122px;
}

#laya13 {
   top: 420px;
   left: 217px;
}

#laya14 {
   top: 440px;
 left: 232px;
}

#laya15 {
 top: 420px;
 left: 242px;
}

#laya16 {
 top: 420px;
 left: 260px;
}

#laya17 {
top: 220px;
 left: 882px;
}

#laya18 {
 top: 250px;
 left: 882px;
}

#laya19 {
 top: 230px;
 left: 920px;
}

#laya20 {
 top: 62px;
 left: 799px;
}


#laya21 {
 top: 262px;
 left: 120px;
}


#laya22 {
 top: 378px;
 left: 425px;
}

#laya23 {
 top: 212px;
 left: 290px;
}

#laya24 {
 top: 142px;
 left: 510px;
}

#laya25 {
 top: 142px;
 left: 670px;
}

#laya26 {
 top: 142px;
 left: 770px;
}

#laya27 {
 top: 368px;
 left: 510px;
}

#laya28 {
 top: 172px;
 left: 1120px;
}

#laya29 {
 top: 227px;
 left: 1080px;
}

#laya30 {
 top: 315px;
 left: 699px;
}

#laya31 {
 top: 122px;
 left: 874px;
}

#laya32 {
 top: 122px;
 left: 1047px;
}

#laya33 {
 top: 127px;
 left: 930px;
}

#laya34 {
 top: 127px;
 left: 987px;
}

#laya35 {
 top: 272px;
 left: 380px;
}

#laya36 {
 top: 352px;
 left: 887px;
}


#caru1 {
  margin-right: 620px;
  margin-top: 230px;
}

#caru2 {
  margin-right: 360px;
  margin-top: -200px;
}

#caru3 {
  margin-right: 125px;
  margin-top: -200px;
}

#caru4 {
  margin-right: 230px;
  margin-top: 335px;
}

#caru5 {
  margin-left: 400px;
  margin-top: 365px;
}

#caru6 {
  margin-left: 600px;
  margin-top: -180px;
}

#caru7 {
  margin-left: 390px;
  margin-top: -180px;
}



table th {

  background-color: #000000;
  color: #fff;
  font-size: 12px;
  text-align: center;

}

table {
  min-width: 80px;
  border-collapse: collapse;
  background-color: #fff;
  border: 1px solid #dee2e6;
  font-size: 14px;
  margin: auto;

}

table th,
table td {
  padding: 10px 15px;
  text-align: left;
  border: 1px solid #dee2e6;
  vertical-align: middle;
  text-align: center;

}


.character{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: -1350px;
    top: -470px;
    cursor: pointer;
}

.ball{
    width: 100px;
    height: 100px;
    background: #ffd9bd;
    border-radius: 50%;
    position: relative;
    border: 1px solid black;
    z-index: 10;
     
}

.ear {
  width: 25px;
  height: 35px;
  background: #ffd9bd;
  border-radius: 50%;
  border: 1px solid black;
  position: absolute;
  top: 30px;
  z-index: 2; 
}


.ear.left {
  left: 1088px;
}

.ear.right {
  right: 1088px;
}

.linea{
    width: 1px;
    height: 10px;
    border: 1px solid black;
    margin-top: 90px;
    margin-left: 7px;
}


.linea1{
    width: 1px;
    height: 10px;
    border: 1px solid black;
    margin-top: -9px;
    margin-left: 117px;
}


 .helmet {
      position: absolute;
      top: -52px;
      left: -15px;
      width: 130px;
      height: 80px;
      background: linear-gradient(to bottom, #ffdf00, #ffd700);
      border-radius: 80px 80px 10px 10px;
      border: 2px solid black;
      box-shadow: inset -8px -4px rgba(0,0,0,0.2),
                  inset 6px 4px rgba(255,255,255,0.3);
      z-index: 2;
    }

      .helmet::before {
      content: "";
      position: absolute;
      bottom: -4px;
      left: -3px;
      width: 127px;
      height: 5px;
      background: linear-gradient(to bottom, #ffdf00, #ffd700);
      border: 3px solid #333;
      border-radius: 0 0 20px 20px;
      box-shadow: inset -4px -2px rgba(0,0,0,0.2);
    }


     .stripe {
      position: absolute;
      top: 1px;
      width: 10px;
      height: 73px;
      background: #ffd700;
      border-radius: 9px;
      border: 2px solid black;
    }
    
    .stripe.left { left: 20px; }
    .stripe.right { right: 22px; }


      .window {
      position: absolute;
      top: 25px;
      left: 40px;
      width: 45px;
      height: 35px;
      background: linear-gradient(145deg, #e0faff, #ceefff);
      border: 3px solid #333;
      border-radius: 6px;
      box-shadow: inset -3px -2px rgba(0,0,0,0.2),
                  inset 3px 2px rgba(255,255,255,0.5);
    }

    .window::before{
        content: "";
        position: absolute;
        width: 45px;
        height: 35px;
        top: -10px;
         background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0.05) 50%,
        transparent 100%
    );
    transform: rotate(25deg);
    animation: brillo 6s linear infinite;
    pointer-events: none;
    }



    @keyframes brillo{
    0%{
        transform: rotate(25deg) translateX(-100%);
    }
    100%{
        transform: rotate(25deg) translate(100%);
    }
}

    .pantalon{
        width: 65px;
        height: 60px;
        border: 1px solid black;
        margin-left: 15px;
        background-color: #122d4d;
        border-bottom-left-radius: 17px;
        border-bottom-right-radius: 17px;
    }

    .pantalon::before{
    content: "";
    position: absolute;
    width: 3px;
    height: 60%;
    background: black;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

    .hair {
    position: absolute;
    width: 100%;
    height: 45px;
    margin-top: 6px;
    background: #3a2c1a;
    z-index: 1;
    clip-path: polygon(0 0, 20% 40%, 35% 20%, 50% 45%, 65% 15%, 80% 40%, 100% 0, 100% 100%, 0 100%);
    transform: rotate(180deg);
    }

    .hair::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 10px;
  width: 80%;
  height: 10px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
}



.eyes{
  width: 40px;
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: 45px;
  left: 30%;
}

.eyes>div{
    width: 15px;
    height: 15px;
    background: white;
    border-radius: 50%;
    position: relative;
   
}

@keyframes ojo {
      0%, 90%, 100% { height: 8px; }
      95% { height: 2px; }
    }

.eyes>div i{
    width: 8px;
    height: 8px;
    background: black;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: ojo 4s infinite;
}

.gafas{
   position: absolute;
  top: 39px;
  left: 15px;
  width: 70px;
  height: 28px;
  background: rgba(200, 200, 255, 0.3);
  border: 2px solid #333;
  border-radius: 10px;
  z-index: 4;
  transform: rotate(180deg);
}

.gafas::before{
  content: "";
  position: absolute;
  top: 10px;
  left: -19px;
  width: 18px;
  height: 4px;
  background: #333;
}

.gafas::after{
    content: "";
    position: absolute;
    top: 10px;
    left: 68px;
    width: 16px;
    height: 4px;
    background: #333;
}




.mouth{
      width: 25px;
      height: 18px;
      border-bottom: 3px solid black;
      border-radius: 0 0 30px 30px;
      position: absolute;
      bottom: 15px;
      left: 50%;
      transform: translateX(-50%);
}





.cuello{
    width: 20px;
    height: 15px;
    border: 1px solid black;
    margin-top: 98px;
    margin-left: 38px;
    background-color: #ffd9bd;
}

.cuerpo{
    width: 70px;
    height: 60px;
    border: 1px solid black;
    border-radius: 5px;
    background: linear-gradient(to bottom, #39ff14, #00ff00);
    margin-left: 13px;
}

.cuerpo::before{
    content: "";
    position: absolute;
    width: 3px;
    height: 60%;
    background: #333;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.cuerpo::after{
    content: "";
    position: absolute;
    width: 69%;
    height: 18px;
    background: #d1d1d1;
    top: 140px;
    border: 1px solid black;
    left: 13px;
}

.manga{
    width: 20px;
    height: 70px;
    border: 1px solid black;
    transform: rotate(20deg);
    border-radius: 10px;
    margin-top: -55px;
   margin-left: 5px;
   background-color: #c70000;
    transform-origin: top center; 
}

.manga::before{
     content: '';
     width: 20px;
    height: 20px;
    background: #ffd9bd;
    border-radius: 50%;
    position: absolute;
    border: 1px solid black;
    margin-top: 70px;
    left: -4px;
}




.manga1 {
    width: 20px;
    height: 70px;
    border: 1px solid black;
    transform: rotate(-40deg);
    border-radius: 10px;
    margin-top: -70px;
    margin-left: 70px;
    background-color: #c70000;
    transform-origin: top center; 
    animation: arriba 6s infinite ease-in-out;
}


.manga1::before{
    content: '';
     width: 20px;
    height: 20px;
    background: #ffd9bd;
    border-radius: 50%;
   position: absolute;
    border: 1px solid black;
    margin-top: 70px;
    right: -2px;

}

@keyframes arriba {
    0% {
        transform: rotate(-120deg); 
    }
    25% {
        transform: rotate(-20deg);  
    }
    50% {
        transform: rotate(-120deg);
    }
    75% {
        transform: rotate(-20deg); 
    }
    100% {
        transform: rotate(-120deg); 
    }
}


.legs{
    display: flex;
    justify-content: space-between;
    width: 100px;
    position: absolute;
    top: 200px;
    gap: 3px;
}

.leg1, .leg2{
  width: 100px;
  height: 30px;
  background: black;
  border-bottom: 5px solid rgb(97, 97, 97);
  margin-top: 45px;
  z-index: 2;
}

.leg1{
     border-radius: 100px 0 0 100px;
}

.leg2{
     border-radius: 0 100px 100px 0;
}







.shadow{
    width: 120px;
    height: 10px;
    background: rgb(0, 0, 0, 0.5);
    border-radius: 50%;
    position: absolute;
    top: 280px;
    filter: blur(5px);
    z-index: 1;
    animation: shaow-anim 1.25s linear infinite;
}




@keyframes shaow-anim{
    33.33%{
        transform: scale(2);
    }
}



.cinturon{
    width: 66px;
    height: 15px;
    border: 1px solid black;
    margin-top: -15px;
    margin-left: 14px;
    background: #943e00;
}

.cinturon::before{
    content: "";
    position: absolute;
    width: 10px;
    height: 5px;
    border: 4px solid rgb(194, 191, 191);
    left: 40%;
    background: black;
}






.nuve {
  width: 270px;
  height: 120px;
  background: rgb(255, 255, 255);
  border: 2px solid black;
  position: absolute;
  margin-top: -650px;
  margin-left: -110px;
  border-radius: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  z-index: 6;
}


 .nuve.show {
      opacity: 1;
      pointer-events: auto;
    }


.nuve::before{
    content: '';
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 12px solid rgb(243, 240, 240);
    position: absolute;
    top: 90px;
    left: -15px;
    transform:rotate(250deg) ;
    
}

#nuveTexto{
    text-align: center;
}

@media (max-width: 768px) {

  header {
    width: 100%;

  }

  .nav-links {
    flex-direction: column;
  }

  .layout-item img {
    width: 100%;
    height: 180px;

  }

  #btn1 {
    margin-right: 230px;
    margin-top: 40px;
  }

  #btn2 {
    margin-right: 130px;
    margin-top: -20px;
  }

  #btn3 {
    margin-right: 45px;
    margin-top: -20px;
  }


  #btn4 {
    margin-right: 80px;
    margin-top: 115px;
  }


  #btn5 {
    margin-left: 150px;
    margin-top: 115px;
  }

  #btn6 {
    margin-left: 160px;
    margin-top: -2px;
  }

  #btn7 {
    margin-left: 250px;
    margin-top: -2px;
  }

   #btn8 {
    margin-left: 50px;
   margin-top: 185px;
  }

  .hover-button {
    width: 12px;
    height: 12px;
  }

  #caru1 {
    margin-right: 220px;
    margin-top: 420px;
  }

  #caru2 {
    margin-right: 360px;
    margin-top: -200px;
  }

  .carousel-images {
    width: 100%;
    max-width: 400px;
    height: auto;
  }


  #laya1 {
    top: 10px;
    left: 20px;
  }

  #laya2 {
    top: 10px;
    left: 64px;
  }

  #laya3 {
    top: 10px;
    left: 104px;
  }

  #laya4 {
    top: 10px;
    left: 137px;
  }

  #laya5 {
    top: 42px;
    left: 23px;
  }

  #laya6 {
    top: 42px;
    left: 65px;
  }

  #laya7 {
    top: 42px;
    left: 108px;
  }

  #laya8 {
    top: 42px;
    left: 150px;
  }

  #laya9 {
    top: 42px;
    left: 180px;
  }

  #laya10 {
    top: 42px;
    left: 220px;
  }

  #laya11 {
    top: 70px;
    left: 18px;
  }

  #laya12 {
    top: 70px;
    left: 60px;
  }

  #laya13 {
    top: 70px;
    left: 108px;
  }

  #laya14 {
    top: 70px;
    left: 150px;
  }

  #laya15 {
    top: 60px;
    left: 165px;
  }





  #caru1 {
    margin-right: 100px;
    margin-top: -200px;
  }

  #caru2 {
    margin-right: 70px;
    margin-top: -200px;
  }

  #caru3 {
    margin-right: 75px;
    margin-top: -200px;
  }

  #caru4 {
    margin-right: 70px;
    margin-top: 300px;
  }

  #caru5 {
    margin-left: 70px;
    margin-top: 300px;
  }

  #caru6 {
    margin-left: 90px;
    margin-top: -200px;
  }

  #caru7 {
    margin-left: 90px;
    margin-top: -200px;
  }

  .main-image {
    width: 250px;
    height: 200px;
  }


}