/* Reset and basic styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  h2{
    text-align: center;
  }


  body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
    padding: 20px;
  }
  
  header {
    background-color: #222;
    color: #fff;
    padding: 30px 20px;
    text-align: center;
    border-radius: 12px;
    margin-bottom: 30px;
  }
  
  main {
    max-width: 900px;
    margin: auto;
  }
  
  .content {
    background-color: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 30px;
  }
  
  .image-placeholder {
    display: flex;
    justify-content: center;
    margin: 30px 0;
  }
  





.media{
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 12px;

}





#video-rectangle{
    height: 550px;
    width: 100%;
    max-width: 1840px;
}


  .rectangle {
    width: 100%;
    max-width: 800px;
    height: 250px;
    background-color: #ddd;
    border: 2px dashed #aaa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 1.2rem;
  }
  
  .bci-animation-section {
    text-align: center;
    margin-top: 50px;
  }
  
  .neural-network {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 30px auto;
  }
  
  .node {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #4f46e5;
    border-radius: 50%;
    animation: pulse 2s infinite;
  }
  
  .node1 {
    top: 30px;
    left: 30px;
    animation-delay: 0s;
  }
  
  .node2 {
    top: 30px;
    left: 110px;
    animation-delay: 0.5s;
  }
  
  .node3 {
    top: 100px;
    left: 70px;
    animation-delay: 1s;
  }
  
  .node4 {
    top: 65px;
    left: 65px;
    background-color: #10b981;
    animation: pulseCenter 2s infinite;
  }
  
  .connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 160px;
    height: 160px;
    z-index: -1;
  }
  
  .connections line {
    stroke: #94a3b8;
    stroke-width: 2;
    stroke-dasharray: 5;
    animation: dashmove 2s linear infinite;
  }
  
  @keyframes pulse {
    0%, 100% {
      transform: scale(1);
      opacity: 0.8;
    }
    50% {
      transform: scale(1.3);
      opacity: 1;
    }
  }
  
  @keyframes pulseCenter {
    0%, 100% {
      transform: scale(1);
      opacity: 0.9;
    }
    50% {
      transform: scale(1.4);
      opacity: 1;
    }
  }
  
  @keyframes dashmove {
    to {
      stroke-dashoffset: -10;
    }
  }


.size-div{
  display: flex;
  flex-flow:row wrap;
  justify-content: center;
  width: 100%;
  margin:20px 0px;
}

#neuralink > img{
  height: 70%;
  width: 50%;
  border: solid 2px black;
  box-shadow: 2px 2px 2px grey;
  margin-right: 12%;
}

#neuralink > p{
  width: 30%;
  font-size:1.4vw;
}

#neuralink-title{
  margin: 2% 35%;
  text-align: center;
  text-decoration: overline;
}

#blackrock-title{
  margin: 2% 35%;
  text-align: center;
  text-decoration: overline;
}

#text-blackrock{
  font-size: 1.4vw;
}



#chip-neuralink {
  animation: moveHand 2.5s ease-in-out infinite;
  transform-origin: center;
}

@keyframes moveHand {
  0%   { transform: rotate(0deg) translateX(0); }
  25%  { transform: rotate(3deg) translateX(2px); }
  50%  { transform: rotate(0deg) translateX(0); }
  75%  { transform: rotate(-3deg) translateX(-2px); }
  100% { transform: rotate(0deg) translateX(0); }
}


#blackrock > p{
  font: 2vw;
  margin: 2px 15%;
}




  footer {
    text-align: center;
    margin-top: 40px;
    color: #777;
  }



  /*Codigo para el bloque*/
  .carrusel-utah {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
  }
  
  .carrusel-track-utah {
    display: flex;
    transition: transform 0.5s ease;
  }
  
  .item-utah {
    min-width: 100%;
    flex-shrink: 0;
    padding: 10px;
    text-align: center;
  }
  
  .item-utah img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  }
  
  .item-utah p {
    margin-top: 10px;
    font-size: 1rem;
  }
  
  .flecha-utah {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
  }
  
  .flecha-utah.izquierda {
    left: 10px;
  }
  
  .flecha-utah.derecha {
    right: 10px;
  }



#last-one{
  margin: 1% 25%;
}