@media (max-width: 450px) {
  .navbar a {
    font-size: 12px; 
  }
}

@media (max-width: 350px) {
  .navbar a {
    font-size: 10px; 
  }
}

@media (min-width: 768px) {
  .about-text h1 {
    font-size: 55px;
  }
  .about-text p {
    font-size: 18px;
  }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
html, body{
    cursor: url('../images/icons8-chatgpt-20.png'), auto;
}

body {
    font-family: "Poppins", sans-serif;
    color: #c5c5c5;   
}

canvas {
    display: block;
    vertical-align: bottom;
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #000000;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
    z-index: -1;
}


a {
    text-decoration: none;
  }
  header {
    /*background-color: #222;*/
  }
  nav {
    display: flex;
    justify-content: space-between;
    width: 90%;
    max-width: 1100px;    
    margin: 0 auto;
  }
  .logo img {
    width: 80px;
  }
  .navbar {
    display: flex;
    flex-wrap: wrap;
  justify-content: center;
  }
  .navbar div {
    padding: 20px 10px;
  }
  .navbar a {
    background: var(
      --Blue-Gradient,
      linear-gradient(180deg, #c5c5c5 0%, black 150%)
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
  }
  
  .navbar a:hover {
    background: var(
      --Primary-Gradient,
      linear-gradient(180deg, #ffffff 0%, rgb(0, 0, 0) 200%)
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  



  .container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 20px;
    padding-top: 5px;
  }
  
  
  .about {
    text-align: center;
  }
  .about-text {
    
    width: 90%;
    max-width: 652px;
    margin: 30px auto;
  }
  .about-text h1 {
    background: var(
      --Blue-Gradient,
      linear-gradient(180deg, #c5c5c5 0%, rgb(0, 0, 0) 150%)
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    
    font-size: 55px;
    line-height: 1;
  
  }
  .about-text h1 > span {
    background: var(
      --Primary-Gradient,
      linear-gradient(180deg, #5badff 0%, #1373d1 100%)
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .about-text p {
    font-size: 18px;
    margin-top: 30px;
  }

  .experiencia h2 {
    background: var(
      --Blue-Gradient,
      linear-gradient(180deg, #c5c5c5 0%, black 100%)
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 25px;

  }


  .principal {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 250px;
    width: 100%;
    gap: 30px;
  }

  @media (max-width: 800px) {
    .principal {
      display: grid;
      margin-top: 30px;
      grid-template-columns: repeat(4, 1fr);
      grid-template-rows: repeat(4, auto);
      gap: 30px;
    }
  }

  .principal2 {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    height: 100px;
    width: 100%;
    gap: 30px;
  }

  @media (max-width: 800px) {
    .principal2 {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      grid-template-rows: repeat(4, auto);
      gap: 35px;
    }
  }
  
.tooltip-container {
    position: relative;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 17px;
    border-radius: 10px;
  }
  
  .tooltip {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
    border-radius: 15px;
    
   
  }
  
  .profile {
    background: #2a2b2f;
    border-radius: 10px 15px;
    padding: 10px;
    border: 1px solid #ffffff;
    
  }
  
  .tooltip-container:hover .tooltip {
    top: -100px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    
  }
  
  .icon {
    text-decoration: none;
    color: #fff;
    display: block;
    position: relative;
    
  }
  .layer {
    width: 55px;
    height: 55px;
    transition: transform 0.3s;
    width: 60px;
    height: 60px;
    
  }
  .icon:hover .layer {
    transform: rotate(-35deg) skew(20deg);
  }
  .layer span {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    border: 1px solid #fff;
    border-radius: 15px;
    transition: all 0.3s;
    
  }
 
  .icon .text {
    position: absolute;
    left: 50%;
    bottom: -5px;
    opacity: 0;
    font-weight: 500;
    transform: translateX(-50%);
    transition: bottom 0.3s ease, opacity 0.3s ease;
  }
  .icon:hover .text {
    bottom: -35px;
    opacity: 1;
  }
  
  .icon:hover .layer span:nth-child(1) {
    opacity: 0.2;
  }
  .icon:hover .layer span:nth-child(2) {
    opacity: 0.4;
    transform: translate(5px, -5px);
  }
  .icon:hover .layer span:nth-child(3) {
    opacity: 0.6;
    transform: translate(10px, -10px);
  }
  .icon:hover .layer span:nth-child(4) {
    opacity: 0.8;
    transform: translate(15px, -15px);
  }
  .icon:hover .layer span:nth-child(5) {
    opacity: 1;
    transform: translate(20px, -20px);
  }
  
  .iconSVG {
    font-size: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
   

  }

  .details {
    display: flex;
    flex-direction: column;
    gap: 0;
    color: #fff;
  }
 
