body{
    background: rgb(17,24,39);
    scroll-behavior: smooth;
}
p , h2 , h3 , h4 , h5, h6, a{
    font-family: 'Architects Daughter', cursive;
}


  body{
    margin: 0;
    padding: 0;
  }
  .container {
    max-width: 100%;
    padding: 0 10px;
  }
  /*Menu */
  .top-nav{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background: rgb(17,24,39);
    color: #fff;
    height: 60px;
    padding: 1em;
  }

  .menu{
    display: flex;
    flex-direction: row;
    list-style-type: none;
    margin: 0 ;
    padding: 0;
  }

  li > a:link, a:visited, a:active , h1{
    text-decoration: none;
    color: #f1b1f1;
    font-size: 20px;
  }

  .name{
      font-size: 50px;
      margin-bottom: -15px;
      margin-left: 10px;
      background: #C78DF7;
      background: linear-gradient(to right, #C78DF7 0%, #F079DE 49%, #82e0f4 100%);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      line-height: 3.3;
  }

  li > a:hover{
    text-decoration: none;
    color: white;
    font-size: 24px;	
  }

  .menu > li{
    margin: 0 1rem;
    overflow: hidden;
  }
  /*Estilos para las animaciones del menu*/
  :root {
    --hr-color: #26292a;
    --red: #e74c3c;
  }

  ul {
    list-style: none;
  }

  a {
    color: inherit;
    text-decoration: none;
  }

  hr {
    border-color: var(--hr-color);
    margin: 20px 0;
  }

  .menu a {
    position: relative;
    display: block;
  }

  .menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #6ED7ED, #432CF3, #26E5DE);
    z-index: 1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease-in-out;
  }

  .menu a:hover::before {
    transform: scaleX(1);
  }
  /* Animaciones linea gradiente */
  .menu[data-animation="center"] a::before {
      transform-origin: center;
    }
    /*Fin estilos para las animaciones del menu*/
    .menu-button-container{
        display: none;
        height: 100%;
        width: 30px;
        cursor: pointer;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    #menu-toggle{
        display: none;
    }
    
    .menu-button, .menu-button::before, .menu-button::after{
        display: block;
        background-color: #fff;
        position: absolute;
        height: 4px;
        width: 30px;
        transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
        border-radius: 2px;
    
    }
    
    .menu-button::before{
        content: "";
        margin-top: -8px;
    
    }
    
    .menu-button::after{
        content: "";
        margin-top: 8px;
    }
    
    #menu-toggle:checked + .menu-button-container .menu-button::before{
    margin-top: 0px;
    transform: rotate(405deg);
    }
    
    #menu-toggle:checked + .menu-button-container .menu-button{
        background: rgba(255, 255, 255, 0);
    }
    
  #menu-toggle:checked + .menu-button-container .menu-button::after{
    margin-top: 0px;
    transform: rotate(-405deg);
    }
  /*TERMINAN LOS ESTILOS DEL MENU DE NAV*/

  /*Estilos de la sección sobre-mi*/
  .first-section{
    margin-top: 0px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-left: 15em;
  }
  .row{
      margin-right: 0;
  }
  .profile-image{
      position: relative;
      /*left: 190px;
      top: 230px;*/
  }
  /*Empiezan estilos de animar la foto on hover*/
  .flip-card {
    perspective: 1000px;
  }

  .flip-card-inner {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s;
  }

  .flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
  }

  .flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
  }

  .flip-card-back {
    transform: rotateY(180deg);
  }
  .circular-image {
      border-radius: 50%;
      border: 3px double #f075de;
      box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
      margin-top: 14em;
      margin-left: 10em;
    }

  /*Terminan estilos de animacion de foto*/
  .profile-desc{
      display: flex;
      flex-direction: column;
      flex-wrap: nowrap;
      justify-content: center;
      color: rgb(241, 238, 238);
      max-width: 700px;
      position: relative;
      left: 85px;
      top: 50px;
  }

  .profile-desc > h2{
      width: 0;
      color: rgb(171, 234, 252);
      overflow: hidden;
      white-space: nowrap;
      font-size: 2rem;
      margin: 0 auto;
      border-right: 0.15em solid #18bdec;
      height: 45px;
      animation: typing 3s steps(18) 1s 1 normal both, blink 1s steps(1) infinite;
  }
  @keyframes typing {
    from {
      width: 0;
    }
    to {
      width: 37%;
    }
  }
  @keyframes blink {
    50% {
      border-color: transparent;
    }
  }

  .profile-desc > p{  
      font-size: 22px;
  }
  /*Terminan los estilos de la sección sobre-mi*/

  /*Empiezan estilos de seccion habilidades*/
  .second-section{
      background-color: #121c2f;
      padding-top: 5px;
  }
  #habilidades-blandas{
      margin-top: 50px;
  }
  .titulo-blandas{
      position: relative;
      display: flex;
      color: rgb(241, 238, 238);
      width: 100%;
      justify-content: center;
      margin-top: 50px;
      margin-bottom: 10px;
      height: 100px;
  }

  .habilidades-blandas{
      display: flex;
      height: 300px;
      
  }

  .img-hability{
      display: flex;
      justify-content: center;
  }
  /*Efecto texto que aparece al hacer hover*/
  .img-hability {
      position: relative;
      overflow: hidden;
      text-align: center;
  }

  .img-hability img {
      display: block;
      transition: all 0.3s ease;
      max-width: 100%;
      height: auto;
  }

  .img-hability:hover img {
      transform: scale(1.2);
      opacity: 0; 
  } 
  .hab {
      position: absolute;
      bottom: -50px;
      left: 0;
      width: 100%;
      text-align: center; 
      opacity: 0;
      transition: all 0.3s ease;
      background: #1BCF45;
      background: linear-gradient(to right, #1BCF45 0%, #54FFF9 32%, #FFFF1C 59%, #CF15B0 100%);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      color: white;
      padding: 20px;
  }

  .img-hability:hover .hab {
      bottom: 0;
      opacity: 1;
  }


  /*Empiezan estilos de habilidades duras*/
  .titulo-duras{
      position: relative;
      display: flex;
      color: rgb(241, 238, 238);
      width: 100%;
      justify-content: center;
      margin-top: 50px;
      margin-bottom: 10px;
  }

  .habilidades-duras{
      display: flex;
      height: 300px;

  }

  .js{
      position: relative;
      top: -8px;
  }

  .hab-d {
      position: absolute;
      bottom: -50px;
      left: 0;
      width: 100%;
      text-align: center; 
      opacity: 0;
      transition: all 0.3s ease;
      color: white;
      padding: 20px;
  }

  .img-hability:hover .hab-d {
      bottom: 0;
      opacity: 1;
  }

  .titulo-duras{
      height: 100px;
  }
  .html{
      color:#E34F26;
  }
  .css{
      color:#214CE5;
  } 
  .njs{
      color:#F0BE25;
  } 
  .wp{
      color:#57AFD3;
  }     
  /*Terminan estilos de seccion habilidades*/
 