/* -------------------------------------------------- 
 * GLOBAL 
 --------------------------------------------------  */
 @charset "UTF-8";
 :root {
     /* Basics */
     --clear: #F2F2F2;
     --clear-grey: #FCFCFC;
     --white: #ffffff;
     --black: #12181B;
     --dark: #161E22;
     --text: #333333;
 }
 html, body {background-color: var(--white);}
 a {
    cursor: pointer;
}
a:hover{
   transition: all .5s ease-in-out;
}
svg{width: inherit;height: inherit;}

@media only screen and (max-width: 40em) {
  html,body {
    font-size: 1rem;
  }
}

#loading_content {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 9999;
  }
  #loading_content .spinner {
    animation: rotate 1s linear infinite;
    width: 50px;
    height: 50px;
  }
  #loading_content .path {
    stroke: var(--secondary);
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
  }
  @keyframes rotate {
    100% {
      transform: rotate(360deg);
    }
  }
  @keyframes dash {
    0% {
      stroke-dasharray: 1, 150;
      stroke-dashoffset: 0;
    }
    50% {
      stroke-dasharray: 90, 150;
      stroke-dashoffset: -35;
    }
    100% {
      stroke-dasharray: 90, 150;
      stroke-dashoffset: -124;
    }
  }
  #loading_content.loaded {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease-in-out;
    position: relative;
    height: 0;
    width: 0;
  }


/* Scroll to Top */
/* Estilos del botÃ³n */
#scrollTopBtn {
    opacity: 0; /* Inicialmente invisible */
    pointer-events: none; /* Evita clic cuando invisible */
    position: fixed;
    bottom: 1.15rem;
    right: 1.15rem;
    z-index: 100;
    background-color: rgba(0, 0, 0, 0.6); /* Negro con transparencia */
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 50%;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: opacity 0.4s ease; /* TransiciÃ³n suave */
  }

  #scrollTopBtn:hover {
    background-color: rgba(0, 0, 0, 0.9);
  }

  /* Clase para mostrar */
  #scrollTopBtn.show {
    opacity: 1;
    pointer-events: auto;
  }
