* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@font-face {
  font-family: 'Cascadia Code';
  src: url('/fonts/CascadiaCode.woff2') format('woff2'),
       url('/fonts/CascadiaCode.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: 'Cascadia Code', monospace;
}

button {
  font-family: 'Cascadia Code', monospace;
}

html, body {
  height: 100%;
  width: 100%;
  overflow-y: auto;
}

h1 {
  color: rgb(0, 255, 255);
   
  font-size: 2.4rem;
  text-align: left;
}

.ne0mesys {
  color: rgb(255, 0, 0);
}

.main-body {
  opacity: 0;
}

body {
  display: flex;
  flex-direction: column;
  justify-items: center;
  background-image: linear-gradient(to bottom right, rgb(7, 22, 49), rgb(0, 0, 0));
}

body::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

body::-webkit-scrollbar-thumb {
  background: rgb(26, 26, 26);
  border-radius: 10px;
}

body::-webkit-scrollbar-thumb:hover {
  background: rgb(56, 56, 56);
  box-shadow: 0 0 2px 1px rgb(0, 0, 0, 0.2);
}

body::-webkit-scrollbar-thumb:active {
  background-color: rgb(107, 107, 107);
}

body::-webkit-scrollbar-track {
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background: black;
  border-radius: 5px;
}

.title {
  width: 100%;
  padding-top: 3%;
  padding-right: 3%;
  padding-left: 4%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.blink {
  animation: blink 1.2s infinite ease-in-out; 
}

@keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}


.header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%
}

.button_group {
  display: flex;
  gap: 1rem;
}

.contact, .services{
  width: 10rem; 
  height: 2.5rem;
  font-size: 17px;
  color: rgb(0, 255, 255);
  border: 2px solid rgb(0, 255, 255);
  border-radius: 5px;
  background-color: rgb(38, 39, 38);
  transition: 0.5s;
  flex-shrink: 0;
}

.menu-box {
  position: fixed;
  right: 0.6rem;
  height: 100vh;
  width: 25rem;
  display: none;
  flex-direction: column;
  gap: 10%;
  align-items: center;
  justify-content: start;
  padding: 2rem;
  background-color: rgba(36, 36, 36, 0.1);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  color: white;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  z-index: 1000;
  border-radius: 5px;
  opacity: 0;
}

.close-button {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding-bottom: 1rem;
}

.close-button:hover {
  color: rgb(255, 179, 0);
}

.menu-box p {
  padding-top: 15%;
  font-weight: 600;
  color: rgb(0, 255, 255); 
  font-family: Arial;
  font-size: 30px;
}

.menu-box a {
  text-align: center;
  width: 100%;
  color: white;
  font-size: 26px;
  text-decoration: none;
  transition: 0.2s;
}

.menu-box a:hover {
  color: rgb(255, 179, 0);
}

a:focus {
  outline: none;
}

.menu {
  width: 3rem;
  height: 2.5rem;
  font-size: 20px;
  color: rgb(0, 255, 255);
  border: 2px solid rgb(0, 255, 255);
  border-radius: 5px;
  background-color: rgb(38, 39, 38);
  transition: 0.5s;
  z-index: 2000;
}

.menu-link:focus {
  outline: none;
  color: inherit;
}

.linkedin {
  width: 3.2rem;
  height: 2.5rem;
  font-size: 17px;
  color: rgb(0, 255, 255);
  border: 2px solid rgb(0, 255, 255);
  border-radius: 5px;
  background-color: rgb(38, 39, 38);
  transition: 0.5s;
  flex-shrink: 0;
}

.github {
  width: 3.2rem;
  height: 2.5rem;
  font-size: 19px;
  color: rgb(0, 255, 255);
  border: 2px solid rgb(0, 255, 255);
  border-radius: 5px;
  background-color: rgb(38, 39, 38);
  transition: 0.5s;
  flex-shrink: 0;
}

.github:hover, .linkedin:hover {
  text-align: center;
  font-size: 21px;
  cursor: pointer;
  background-color: rgb(0, 255, 255);
  color: rgb(38, 39, 38);
  box-shadow: 0 0 20px rgb(0, 255, 255, 0.4), 0 0 60px rgba(0, 255, 255, 0.1);
}

.contact:hover, .menu:hover, .services:hover {
  font-size: 18px;
  cursor: pointer;
  background-color: rgb(0, 255, 255);
  color: rgb(38, 39, 38);
  box-shadow: 0 0 20px rgb(0, 255, 255, 0.4), 0 0 60px rgba(0, 255, 255, 0.1); 
}

.contact:active, .github:active, .linkedin:active, .menu:active, .services:active {
  background-color: grey;
  color: rgb(0, 255, 255);
}

hr {
  border: none;
  border-top: 1px solid rgba(128, 128, 128, 0.3); 
  margin: 0;
  padding-bottom: 3%;
  width: 100%;
  position: relative;
  left: 0;
}

.description {
  padding-top: 3%;
  padding-right: 3%;
  padding-left: 7%;
  padding-bottom: 1%;
  font-size: 25px;
  color: rgb(255, 0, 255);
  text-align: left;
}

.ser-descript {
  padding-top: 1%;
  padding-right: 3%;
  padding-left: 7%;
  padding-bottom: 1%;
  font-size: 20px;
  color: rgb(255, 0, 255);
  text-align: left;
  white-space: pre-wrap;
}

.by {
  font-size: 20px;
  color: rgb(255, 200, 0);
  text-align: left;
  padding-top: 2%;
  padding-right: 3%;
  padding-left: 7%;
  padding-bottom: 1%;
}

#by.typing::after {
  content: '|';
  animation: blink 0.5s infinite ease-in-out;
}

#by.done::after {
  content: '';
  animation: none;
}

#intro-text::after {
  content: '|';
  animation: blink 0.5s infinite ease-in-out; 
}

#intro-text.done::after{
  content: '';
  animation: none;
}

#ser-descript.typing::after {
  content: '|';
  animation: blink 0.5s infinite ease-in-out;
}

#ser-descript.done::after {
  content: '';
  animation: none;
}

.description2 {
  padding-right: 3%;
  padding-left: 7%;
  padding-bottom: 3%;
  font-size: 20px;
  color: rgb(255, 0, 255);
  text-align: left;
  white-space: pre-wrap;
}

#description2.typing::after{
  content: '|'; 
  animation: blink 0.5s infinite ease-in-out;
}

#description2.done::after {
  content: '';
  animation: none;
}

@keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.who {
  width: 100%;
  display: flex;
  justify-content: left;
  padding-left: 5%;
  padding-top: 2%;
  padding-bottom: 3%;
}

.fade-in {
  animation: fadeIn 0.5s ease-in-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  } to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(20px);
  }
}

.fade-out {
  animation: fadeOut 0.5s forwards;
}

.whois {
  font-size: 30px; 
  font-weight: 700;
  color: rgb(0, 255, 255);
  font-weight: 400; 
}

.space {
  width: 100%;
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  justify-items: center;
  padding-left: 3%;
  padding-right: 3%;
}

.terminal_header {
  width: 70%;
  height: 40px;
  background-color: rgb(66, 64, 64);
  align-items: center;
  border: 2px solid white;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  display: flex;
  position: relative;
}

.bgroup {
  padding-left: 2%;
  align-items: center;
  display: flex;
  gap: 0.5rem;
}

.bred {
  width: 20px;
  height: 20px;
  border-radius: 20px;
  border-color: transparent;
  background-color: red;
}

.borange{
  width: 20px;
  height: 20px;
  border-radius: 20px;
  border-color: transparent;
  background-color: orange;
}

.bgreen {
  width: 20px;
  height: 20px;
  border-radius: 20px;
  border-color: transparent;
  background-color: green;
}

.terminaltitle {
  color: white;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.terminal_body {
  width: 70%;
  height: 22rem;
  background-color: rgb(35, 35, 35);
  border: 2px solid white;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.terminal-prefix {
  padding-top: 1%;
  padding-left: 1%;
  font-size: 15px;
  color: white;
}

.terminal-prefixx {
  padding-left: 1%;
  font-size: 15px;
  color: white;
  white-space: pre-wrap;
}

.terminal-description {
  padding-top: 2%;
  padding-bottom: 2%;
  padding-left: 1%;
  padding-right: 1%;
  font-size: 20px;
  color: rgb(145, 255, 0);
  white-space: pre-wrap;
}

.descriptor {
  font-size: 18px;
}

.about {
  padding-top: 4%;
  padding-left: 5%;
  justify-content: center;
  align-items: left;
  display: flex;
  flex-direction: column;
}

.about-me {
  font-size: 30px; 
  padding-bottom: 3%;
  color: rgb(0, 255, 255);
}

/*About-me */
.dashboard {
  width: 100%;
  padding-bottom: 3%;
  padding-left: 3%;
  display: flex;
  justify-content: center;
  gap: 10rem;
}

.dashboard-elements {
  display: flex;
  flex-direction: column;
  width: 90%;
  height: 14vh;
  border: 1px solid rgb(0, 255, 255);
  border-radius: 20px;
  /*background-color: rgb(38, 39, 38);*/
  padding-top: 2%;
  align-items: center;
  transition: 0.5s;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.5), 0 0 60px rgb(0, 255, 255, 0.1); 
}

.buttons {
  justify-content: center;
  display: flex;
  width: 100%;
  gap: 10%;
  padding-bottom: 2%;
}

.studies-info {
  display: none;
  padding-top: 2%;
  padding-left: 4%;
  padding-right: 3%;
  padding-bottom: 2%;
  justify-content: center;
  text-align: left;
  flex-direction: column;
  width: 55%;
  border: 2px solid rgb(0, 255, 255);
  border-radius: 20px;
  opacity: 0; 
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.5), 0 0 60px rgb(0, 255, 255, 0.1); 
}

.studies-info span {
  color: rgb(0, 255, 255); 
}

.studies-info hr {
  border: none;
}

.studies-info p {
  color: white;
  font-size: 22px;
}

.languages-info {
  display: none;
  padding-top: 1%;
  padding-left: 2%;
  padding-bottom: 1%;
  justify-content: center;
  text-align: left;
  flex-direction: column;
  width: 25%;
  border: 2px solid rgb(0, 255, 255);
  border-radius: 20px;
  opacity: 0;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.5), 0 0 60px rgba(0, 255, 255, 0.1); 
}

.languages-info span {
  color: rgb(0, 255, 255);
}

.languages-info hr {
  border: none;
}

.languages-info p {
  font-size: 20px;
  color: white;
}

.projects-info {
  display: none;
  opacity: 0;
  padding-top: 2%;
  padding-left: 3%;
  padding-bottom: 2%;
  padding-right: 3%;
  justify-content: center;
  text-align: left;
  flex-direction: column;
  width: 80%;
  border: 2px solid rgb(0, 255, 255);
  border-radius: 20px;
  box-shadow: 0 0 20px rgb(0, 255, 255, 0.5), 0 0 60px rgba(0, 255, 255, 0.1)
}

.projects-info p {
  color: rgb(0, 255, 255);
  font-size: 20px;
  text-align: center;
  padding: 0;
  margin: 0;
}

.projects-info a {
  color: white;
}

.projects-info hr {
  border: none;
}

.projects-info li {
  font-size: 20px;
  color: rgb(0, 255, 255);
}

.projects-info span {
  color: white;
}

.projects-info ul li::marker{
  color: white; 
}

.skills-box {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10%;
}

.skills-info {
  display: none;
  opacity: 0;
  padding-top: 1.5%;
  padding-left: 3%;
  padding-bottom: 1.5%;
  padding-right: 1%;
  justify-content: center;
  text-align: left;
  flex-direction: column;
  width: 25%;
  border: 2px solid rgb(0, 255, 255);
  border-radius: 20px;
  box-shadow: 0 0 20px rgb(0, 255, 255, 0.5), 0 0 60px rgba(0, 255, 255, 0.1)
}

.skills-info hr {
  border: none;
}

.skills-info p {
  font-size: 19px;
  color: white;
}

.skills-info span {
  color: rgb(0, 255, 255);
}

.skills-infor {
  display: none;
  opacity: 0;
  padding-top: 1.5%;
  padding-left: 3%;
  padding-bottom: 1.5%;
  padding-right: 1%;
  justify-content: center;
  align-content: center;
  text-align: left;
  flex-direction: column;
  width: 30%;
  border: 2px solid rgb(0, 255, 255);
  border-radius: 20px;
  box-shadow: 0 0 20px rgb(0, 255, 255, 0.5), 0 0 60px rgba(0, 255, 255, 0.1)
}

.skills-infor hr {
  border: none;
}

.skills-infor p {
  font-size: 19px;
  color: white;
}

.skills-infor span {
  color: rgb(0, 255, 255);
}

.download {
  padding-left: 10%;
  justify-content: center;
  align-items: left;
  display: flex;
  flex-direction: column;
}

.download-me {
  font-size: 30px; 
  padding-bottom: 3%;
  color: rgb(0, 255, 0);
}
.studies, .languages, .projects, .skills {
  width: 12.5rem;
  height: 3rem;
  background-color: rgb(38, 39, 38); 
  color: rgb(0, 255, 255);
  font-size: 17px;
  border: 2px solid rgb(0, 255, 255);
  border-radius: 10px;
  transition: 0.5s;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.5), 0 0 60px rgb(0, 255, 255, 0.1); 
}

.studies:hover, .languages:hover, .projects:hover, .skills:hover {
  font-size: 18px;
  color: rgb(38, 39, 38);
  background-color: rgb(0, 255, 255);
  cursor: pointer;
}

.studies:active, .languages:active, .projects:active, .skills:active {
  color: rgb(0, 255, 255);
  background-color: grey;
}

.sDashboard {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10rem;
}

.sDashboard-elements {
  display: flex;
  width: 50%;
  height: 14vh;
  align-items: center;
  transition: 0.5s;
  border: 1px solid rgb(0, 255, 0);
  border-radius: 80px;
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.5), 0 0 60px rgb(0, 255, 0, 0.1); 
}

.sButtons {
  justify-content: center;
  display: flex;
  width: 100%;
  gap: 10%;
}

.cv {
  width: 12.5rem;
  height: 3rem;
  background-color: rgb(38, 39, 38); 
  color: rgb(0, 255, 0);
  font-size: 17px;
  border: 2px solid rgb(0, 255, 0);
  border-radius: 30px;
  transition: 0.5s;
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.5), 0 0 60px rgba(0, 255, 0, 0.1); 
}

.python {
  width: 16rem;
  height: 3rem;
  background-color: rgb(38, 39, 38); 
  color: rgb(0, 255, 0);
  font-size: 17px;
  border: 2px solid rgb(0, 255, 0);
  border-radius: 30px;
  transition: 0.5s;
  box-shadow: 0 0 20px rgba(0, 255, 0, 0.5), 0 0 60px rgb(0, 255, 0, 0.1); 
}

.sButtons button:hover {
  font-size: 18px;
  color: rgb(38, 39, 38);
  background-color: rgb(0, 255, 0);
  cursor: pointer;
}

.sButtons button:active {
  color: rgb(0, 255, 0);
  background-color: grey;
}

.story {
  padding-left: 5%;
  padding-top: 2%;
  justify-content: center;
  align-items: left;
  display: flex;
  flex-direction: column;
}

.my-story {
  color: rgb(0, 255, 255);
  font-size: 30px;
  padding-bottom: 3%;
}

.story-box {
  width: 100%;
  display: flex;
  justify-content: center;
  padding-top: 1%;
  padding-bottom: 3%;
}

.story-text {
  width: 80%;
  height: 270vh;
  background-color: rgb(0, 0, 0);
  padding-top: 2%;
  padding-bottom: 2%;
  padding-left: 2%;
  padding-right: 2%;
  border: 2px solid white;
  border-radius: 20px;
}

.story-text hr {
  border: none;
}

.story-text p {
  font-size: 17px;
  color: white;
  line-height: 1.5;
}

.story-text .readme {
  text-align: center;
  font-size: 20px;
}

.legal {
  width: 100%;
  padding-top: 2%;
  padding-bottom: 2%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: rgb(58, 70, 70)
}

.copy {
  text-align: left;
  color: white;
  font-family: Montserrat;
  font-size: 15px;
}

.copyright {
  padding-left: 0.5%;
  font-family: Montserrat;
  color: white;
  font-size: 15px;
  text-align: left;
}

.informal {
  padding-left: 4%;
  color: white;
  font-family: Montserrat;
  font-size: 15px;
  text-align: center;
}

.informali {
  padding-left: 0.5%;
  color: white;
  font-family: Montserrat;
  font-size: 15px;
  text-align: center;
}

#mobile-blocker {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: linear-gradient(to bottom right, rgb(7, 22, 49), rgb(0, 0, 0));
  display: flex;
  gap: 1rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  box-sizing: border-box;
  z-index: 9999;
}

#warning-box {
  opacity: 0;
  animation: fadeIn 2s ease-in-out forwards;
  background-color: rgb(22, 22, 22);
  border: 2px solid rgb(255, 0, 0);
  border-radius: 10px;
  padding: 1rem;
  box-sizing: border-box;
  text-align: center;
  transform: translateY(-30%);
}

.warning-title {
  font-size: 18px; 
   
  text-align: center;
  align-items: center;
  justify-content: center;
  justify-items: center;
  font-weight: 200;
  color: red;
}

.warning-title i {
  font-size: 25px;
  vertical-align: middle;
  color: red;
}

#message-box {
  opacity: 0;
  animation: fadeIn 2s ease-in-out forwards;
  width: 100%;
  max-width: 500px;
  background-color: rgb(38, 39, 38);
  border: 1px solid rgb(0, 255, 255);
  border-radius: 10px;
  padding: 1.5rem;
  box-sizing: border-box;
  text-align: center;
  min-height: 150px;
  transform: translateY(-10%);
}

.title-mobile {
   
  font-size: 1.2rem;
  color: rgb(0, 255, 255);
  margin-bottom: 1rem;
}

.error-mobile {
  font-size: 1rem;
  color: rgb(168, 207, 243);
  text-align: justify;
  word-wrap: break-word;
}

#watermark-box {
  opacity: 0;
  padding-top: 2.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-bottom: 1rem;
  animation: fadeIn 2s ease-in-out forwards;
}

.watermark {
  font-size: 1.2rem;
  color: rgb(255, 200, 0); 
}

#watermark.typing::after{
  content: '|'; 
  animation: blink 2s infinite ease-in-out;
}

#watermark.done::after {
  content: '';
  animation: none;
}

@media screen and (max-width: 400px) {
  .title-mobile {
    font-size: 1rem;
  }

  .error-mobile {
    font-size: 0.9rem;
  }

  #message-box {
    padding: 1rem;
  }
}

#loading-screen {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background-image: linear-gradient(to bottom right, rgb(7, 22, 49), rgb(0, 0, 0));
  color: rgb(0, 255, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: monospace;
  font-size: 1.5rem;
  z-index: 99999;
  user-select: none;
}

.loading-message {
  text-align: center;
  justify-content: center;
}

/* Animar los puntos suspensivos */
@keyframes dotsAnimation {
  0%, 20% { color: transparent; }
  40% { color: rgb(0, 255, 0); }
  60% { color: rgb(0, 255, 0); }
  80%, 100% { color: transparent; }
}

#dots {
  animation: dotsAnimation 1.5s infinite;
}











