
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&family=Mulish:wght@700;800&display=swap');


*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    background-image: 
      linear-gradient(0deg, rgba(0, 20, 0, 0.2) 50%, transparent 50%),
      linear-gradient(90deg, rgba(0, 40, 0, 0.2) 50%, transparent 50%);
    background-size: 4px 4px;
    z-index: -2;
    pointer-events: none;
  }
  
  body::before {
  content: "01010111 10101001 01001110 10010101";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  font-family: monospace;
  font-size: 14px;
  color: rgba(0, 255, 70, 0.15);
  letter-spacing: 1px;
  line-height: 14px;
  animation: 
    matrix 120s linear infinite,
    backgroundChange 15s infinite;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}

@keyframes matrix {
  0% {
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.6);
    transform: translateY(0);
  }
  100% {
    text-shadow: 0 0 8px rgba(0, 255, 0, 0.6);
    transform: translateY(-50000px);
  }
}

@keyframes backgroundChange {
  0%, 33% {
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1));
  }
  33%, 66% {
    background: linear-gradient(rgba(79, 4, 242, 0.1), rgba(0, 0, 0, 0.1));
  }
  66%, 100% {
    background: linear-gradient(rgba(4, 242, 118, 0.1), rgba(0, 0, 0, 0.1));
  }
}


html, body {
  background-color: #1b1b19;
  color: #c4c4c4;
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}


.section-centralizada {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 500px;
  padding: 2rem;
  gap: 2rem; 
}


:root {
  --primary-color: #1de9b6;
  --bg-gradient-start: #242424;
  --bg-gradient-end: #1B1B19;
  --text-primary: #fff;
  --text-secondary: #c4c4c4;
  --border-radius: 20px;
  --transition-speed: 0.3s;
  --menu-width: 100%;
  --menu-height: 50px; /
}

.bio-container {
  background: linear-gradient(180deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
  border: 1px solid #2a2a2a;
  border-radius: var(--border-radius);
  padding: 3rem 2rem;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem; 
}


.icon-profile {
width: 150px;
height: 150px;
border-radius: 50%;
border: 3px solid var(--primary-color);
object-fit: cover;
box-shadow: 0 0 15px rgba(29, 233, 182, 0.3);
transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.icon-profile:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 224, 1, 0.5);
}


h2 {
  font-family: "Mulish", sans-serif;
  font-size: 2rem;
  color: var(--text-primary);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.label-card {
  font-family: "Mulish", sans-serif;
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 700;
}


.links {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 0.8rem; 
}


.btn-tema {
  transition: all var(--transition-speed) ease;
  border: none;
  outline: none;
  background-color: var(--primary-color);
  border-radius: 8px;
  font-family: "Mulish", sans-serif;
  font-weight: 700;
  color: #181815;
  font-size: 1rem;
  

  width: var(--menu-width);
  height: var(--menu-height);
  

  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  

  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 20px;
  

  transform-origin: center;
}

.btn-tema:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 224, 1, 0.3);
  background-color: #ffeb4d;
}

.btn-tema:active {
  transform: translateY(1px);
}


.link-hover {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: bold;
  padding: 5px 10px;
  border: 2px solid transparent;
  border-radius: 5px;
  transition: all var(--transition-speed) ease-in-out;
  display: inline-block;
  position: relative; 
}

.link-hover::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: #54ed1c;
  transition: all var(--transition-speed) ease;
}

.link-hover:hover {
  color: #54ed1c;
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(84, 237, 28, 0.5);
}

.link-hover:hover::after {
  width: 80%;
  left: 10%;
}

.link-hover:active {
  color: #0cfd6c;
  transform: scale(1.05);
}


.icon-social {
  width: 20px;
  height: 20px;
  margin-right: 12px;
  flex-shrink: 0;
  transition: transform var(--transition-speed);
}

.btn-tema:hover .icon-social {
  transform: scale(1.2);
}


@media (max-width: 991.98px) {
  html, body {
    height: auto;
  }

  .section-centralizada {
    padding: 5rem 1rem;
  }

  .bio-container {
    width: 100%;
    padding: 2rem 1.5rem;
  }
  
  
  :root {
    --menu-height: 45px; 
  }
}


@media (max-width: 480px) {
  .icon-profile {
    width: 120px;
    height: 120px;
  }
  
  @media (max-width: 480px) {
    .btn-tema {
      max-width: 100%;
      word-break: break-word;
    }
  }
  
  :root {
    --menu-height: 40px; 
  }
  
  .btn-tema {
    font-size: 0.9rem;
    padding: 0 15px;
  }
  
}

footer {
  margin-top: 1rem;
}

.footer-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-text a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-speed), transform var(--transition-speed);
}

.footer-text a:hover {
  color: #4efcd6;
  transform: scale(1.05);
  text-decoration: underline;
}

@media (min-width: 768px) {
  .footer-text {
    flex-direction: row;
    justify-content: center;
  }

  .footer-text a {
    margin: 0 1rem;
  }
}
