@import url(root.css);



/**********************************reset*/
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
/**********************************imágenes con capa oscura*/
  .background-home {
    position:absolute;
    z-index: -99;
    mask-image: linear-gradient(
       black 30%,
        transparent  
      );
      width: 100%;
  }

  .background-contact {
    position:absolute;
    z-index: -99;
    mask-image: linear-gradient(
        transparent,
        black 20%     
      );
      width: 100%;
  }

  .capa-home {
    background-color: rgb(49, 47, 47,0.7);
    z-index: 2;  
  }

  .capa-contact {
    background-color: rgb(49, 47, 47,0.9);
    z-index: 2; 
  }

  .capa-card {
    background-color: rgb(49, 47, 47,0.5);
    z-index: 2; 
  }


  .home {
    position: relative;

}
/**********************************header*/
  .main-header{
    height: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    padding: 0 0.4rem;
  }
  
  .main-logo{
    color: black;
    font-size:32px;
    text-decoration:none;
  }
  
  .main-nav{
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    margin-left: -100%;
    transition: all .2s linear;
    background-color: var(--background-color);
    z-index: 100;
  }
  
  .main-nav.show{
    margin-left: 0;
  }
  
  .nav-links{
    background-color: var(--primary-00);
    display: flex;
    flex-direction: column;
    width: 70%;
    height: 100%;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
  }
  
  .link-item{
    margin-top: 2rem;
    color: var(--accent-secondary);
    text-decoration: none;
    font-weight: bold;
    position: relative;
  }
  
  .link-item::after {
    position: absolute;
    content: "";
    background-color: black;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 3px;
    transition: 0.3s ease all;
  }
  
  .link-item:hover::after {
    width: 100%;
  }

  .nav-hidden {
    padding: 10px;
    text-align: center;

  }

  @media (min-width : 768px) {
  .nav-hidden {
    padding: 10px;
    text-align: center;
    display: none;
  }
}

  .nav-links:hover .nav-hidden {
    display: block;
  }


  .button-menu{
    z-index: 200;
    width: 50px;
    height: 40px;
    border: none;
    display: flex;
    background: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  
  .button-menu span{
    width: 37px;
    height: 2px;
    margin-bottom: 8px;
    background: var(--secondary-00);
    border-radius: 3px;
    transform-origin: 4px 1px;
    transition: all .2s linear;
  }
  
  .button-menu.close span {
    opacity: 1;
    transform: rotate(45deg) translate(0px, 0px);
    background: var(--secondary-00);
  }
  
  .button-menu.close span:nth-child(2){
    transform: rotate(-45deg) translate(-8px, 8px);
  }
  
  .button-menu.close span:nth-child(3){
    display: none;
  }
  

/**********************************clases personalizadas repetidas*/
  .text-shadow {
    text-shadow: 6px 6px 6px var(--primary-dark-10);
  }

  .title-shadow {
    width: 60%;
    background:radial-gradient(var(--primary-00), var(--background-color));
    border-radius: 100%;
    filter: blur(80px) saturate(1.1) brightness(1.1);
    -webkit-mask-image: radial-gradient(to bottom, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 1) 65%);
    mask-image: radial-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1));
    z-index: -4;

  }

  .border-accent{
    border: 2px solid var(--accent-secondary);
  }

  .border-accent-salas{
    border: 1px solid var(--accent-secondary);
  }



/**********************************formulario*/

  label {
    color: var(--primary-light-10)
  }

  input {
    width: 100%;
  }

  textarea::placeholder {
    color: var(--primary-light-10);
  }

  textarea {
    width: 90%;
    height: 100%;
    resize: none;
  }



/**********************************preguntas frecuentes*/
.oculto {
    display: none;
}


.visible {
    display: block;
    width: 80%;
}



/**********************************animación logo*/

.logo:hover {
  -webkit-animation-name: skew;
          animation-name: skew;
  -webkit-animation-duration: 1.2s;
          animation-duration: 1.2s;
  -webkit-animation-fill-mode: forwards;
          animation-fill-mode: forwards;
  -webkit-animation-iteration-count: 1;
          animation-iteration-count: 1;
  -webkit-animation-timing-function: ease-in-out;
          animation-timing-function: ease-in-out;
  -webkit-transform-origin: 0% 0%;
          transform-origin: 0% 0%;
}



@-webkit-keyframes skew {
  40% {
    -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
  }
  60% {
    -webkit-transform: rotate(20deg);
            transform: rotate(20deg);
  }
  to {
    -webkit-transform: rotate(45eg);
            transform: rotate(45deg);
  }
}

/**********************************estados*/

ul li:hover {
  color: var(--accent-primary);
  text-shadow: 1px 1px 1px var(--primary-dark-20);
}

li a img{
  padding: 5px;
  border-radius: 100%;
}

li a img:hover {
  background-color:var(--primary-dark-20);
}

nav ul li a:hover{
  color: var(--accent-secondary)
}


.title-transition {
  transition: font-size 5s; 
}


.text-9xl {
  font-size: 6rem;
}

/**********************************brillo cursor*/
#shadow {
  --light: 255, 255, 255;
  width: 2px;
  height: 2px;
  position: absolute;
  box-shadow: 0 0 20px 10px rgba(var(--light), 0.8);
  background-color: transparent; 
  pointer-events: none;
}


.caja-info {
  align-content: flex-start;
  justify-items: left;
  text-align: left;
}

.bloque-preguntas {
  width: 80%;
  margin: 0 auto;
}







