/* Cuando hice este css, solo dios sabia como funcionaba, ahora no lo sabe ni el porque como quites algo que no debes se rompe la .card y no se ni como, 
aunque creas que no se ha roto, creeme que en algun navegador lo ha hecho (probablemente firefox) */


body{
  background-color: black;
  image-rendering: optimizespeed;
  word-break: break-word;
  overflow-wrap: break-word;
  color: white;
  font-family: "VCR OSD Mono", sans-serif;
  text-align: center;
}

@font-face {
  font-family: "VCR OSD Mono";
  src: url("VCR_OSD_MONO_1.001.woff2") format("woff2"),
       url("VCR_OSD_MONO_1.001.ttf") format("truetype");
}

::-webkit-scrollbar {
  display: none; 
}

html {
  scrollbar-width: none;
}

#preload {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
  font-size: 1.25rem;
  transition: 0.6s;
    
}

#preload p {
  font-size: 1.25rem;
}

#hidden {
  opacity: 0;
  transition: 0s;
  text-align: center;
}  

.player {
  width: 30vw;
  border: 3px solid #ffffff; 
  border-radius: 10px; 
  justify-content: center;
  padding: 3px 5px;
  align-items: center;
  display: inline-block;
  background-color: #1717178c;
  box-shadow: 0 0 10px #ffffff, 0 0 20px #ffffff; 
  transition: transform 0.3s ease-in-out; 
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.player:hover {
  transform: scale(1.02); 
  transition: transform 0.3s ease-in-out; 
}

#prevBtn, #nextBtn {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;

}


#particles-js {
  position: absolute; 
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;  
}

.card {
  width: 40vw;
  border: 3px solid #ffffff;
  border-radius: 10px;
  padding: 15px;
  background-color: #1717178c;
  box-shadow: 0 0 10px #ffffff, 0 0 20px #ffffff;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
  display: flex;
  flex-direction: row;
  gap: 15px;
  align-items: center; 
}

.card-text p, .card-text small, .card-text a {
  margin-bottom: 5px; 
}

.card-text p:last-of-type, .card-text a:last-of-type {
  margin-bottom: 0;
}

.pfp {
  width: 177px;
  border-radius: 50%;
  height: auto;
  flex-shrink: 0; 
}

.info {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;  
  justify-content: center; 
  height: 95vh; 
}

.card-text {
  width: auto;
  display: flex;
  flex-direction: column;
  justify-content: center; 
  text-align: left;
  margin-left: 20px;
  white-space: normal;
  word-break: break-word;
}

a {
  background-image: linear-gradient(
    to right,
    #a8a8a8,
    #a8a8a8 50%,
    #636262 50%
  );
  background-size: 200% 100%;
  background-position: -100%;
  display: inline-block;
  padding: 5px 0;
  position: relative;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
}

a:before{
  content: '';
  background: #636262;
  display: block;
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 3px;
  transition: all 0.3s ease-in-out;
}

a:hover {
 background-position: 0;
}

a:hover::before{
  width: 100%;
}

.text-border {
  width: 50vw;
  border: 3px solid #ffffff; 
  box-shadow: 0 0 10px #ffffff, 0 0 20px #ffffff; 
  border-radius: 10px;
  justify-content: center;
  padding: 5px 10px;
  align-items: center;
  display: inline-block;
  background-color: #1717178c;

}

.frame-border {
  width: 25vw;
  margin-top: 30px;
  border: 3px solid #ffffff; 
  box-shadow: 0 0 10px #ffffff, 0 0 20px #ffffff; 
  border-radius: 10px;
  justify-content: center;
  padding: 5px 10px;
  align-items: center;
  display: inline-block;
  background-color: #1717178c;
  padding-top: 15px;

}

@media (max-width: 768px) {     /* Telefonos */
  .card {
    width: 80vw;
    flex-direction: column;
    margin-top: 10px;
    position: static; 
    transform: none; 
    align-items: center; 
    padding: 10px; 
  }

  .pfp {
    width: 100px;
    margin-bottom: 10px; 
  }

  .card-text {
    margin-left: 0; 
    text-align: center; 
  }
  
  .player {
    display: none;
  }

  .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; 
    min-height: 100vh;
    padding-top: 40px;
  }  

  .info {
    margin-top: 30px; 
  }

  .text-border {
    width: 80vw;
  }

  .frame-border {
    width: 85vw;

  }



}

@media (min-width: 769px) and (max-width: 1400px) { /* pantallas pequeñas de laptops y otras pero no moviles */
  .card {
    width: 60vw;
    flex-direction: row; 
    position: static;
    transform: none;
    margin-top: 10px;
    align-items: center;
  }
  .card-text {
    margin-left: 20px; 
    text-align: left; 
  }

  .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; 
    min-height: 100vh;
    padding-top: 40px;
  }

  .info {
    margin-top: 30px; 
  }


}


.skill {
  width: 190px;
  height: 254px;
  background-image: linear-gradient(163deg, #ffffff 0%, #5f5f5f 100%);    
  border-radius: 20px;
  transition: all .3s;
}

.skill2 {
  width: 190px;
  height: 254px;
  background-color: #1a1a1a;
  border-radius: 10px;
  transition: all .2s;

}

.skill2:hover {
  transform: scale(0.98);
  border-radius: 20px;
}

.skill:hover {
  box-shadow: 0px 0px 30px 1px #ffffff;
}

.texto{
  padding: 5px;

}

.skills-container {
  display: flex;
  justify-content: center; 
  align-items: center; 
  gap: 70px; 
  padding-top: 60px;
  margin-top: 20px; 
  flex-wrap: wrap; 
}
