* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  font-style: normal;
  scroll-behavior: smooth;
}

:root {
  color: #fff;
}

body {
  position: relative;
  overflow-y: scroll;
  height: 100vh;
  background: black;
}

canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
}

#main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 24px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(30px);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.358);
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#main-header a-main-header {
  margin-left: 40px;
}

#main-header a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  text-transform: uppercase;
  transition: color 0.2s;
}

#main-header a:hover {
  text-shadow: 10px 0 30px #8e2de2;
  text-decoration: 3px underline #8e2de2;
}

#main-header span {
  padding-left: 40px;
  font-weight: 300;
  font-size: 14px;
  margin-left: 8px;
}

#main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
  gap: 240px;
}

main {
  position: relative;
  z-index: 5;
}

main section#inicial-txt {
  position: absolute;
  top: 32%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.text-block {
  position: relative;
  z-index: 6;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.358);
  border: 3px solid rgba(255, 255, 255, 0.801);
  border-radius: 25px;
}

.text-block::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  transform: translateY(-100%);
  animation: enlargeblock 0.5s 0.6s both, revealblock 0.5s 1.1s both;
}

@keyframes revealblock {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(100%);
  }
}

@keyframes enlargeblock {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

.text {
  color: #fff;
  padding: 2rem 4rem;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeintext 0.4s 1.1s both;
}

@keyframes fadeintext {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

#bongo-cat {
  width: 150px;
  height: auto;
  margin: 0;
  display: block;
  position: relative;
  z-index: 7;
}

main section#inicial-txt > div {
  margin: 0;
  padding: 0;
  margin-bottom: -11px;
}

#about {
  min-height: 100vh;
  width: 100%;
  padding-top: 100vh;
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 50px;
}

.about-header {
  margin-bottom: 140px;
  padding: 10px 30px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(30px);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.358);
  border: 3px solid rgba(255, 255, 255, 0.801);
  border-radius: 20px;
}

.about-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.about-content-box {
  max-width: 1100px;
  max-height: 1000px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(30px);
  border: 3px solid rgba(255, 255, 255, 0.801);
  border-radius: 25px;
  padding: 50px;
  color: white;
  display: flex;
  gap: 70px;
  align-items: flex-start;
  transition: 0.3s;
}

.profile-photo {
  flex-shrink: 0;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.18);
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-text p {
  font-size: 1.1rem;
  line-height: 2;
  font-weight: 300;
  letter-spacing: normal;
}

#contact-footer {
  width: 100%;
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 300px;
  padding: 50px 20px;
  margin-bottom: 100px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.icon-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.icon-header i {
  font-size: 2.5rem;
  color: white;
  margin-right: 15px;
}

.icon-header h2 {
  font-size: 2rem;
  font-weight: 500;
  margin: 0;
}

.contact-item p {
  font-size: 1.1rem;
  text-decoration: underline;
  text-decoration-color: white;
  transition: color 0.2s;
}

.contact-item p:hover {
  color: #8e2de2;
  text-decoration-color: #8e2de2;
}

#about {
  padding-bottom: 100px;
}

#welcome-title-container {
  position: relative;
  transform: translateX(-50%);
  transform: translateY(300px);
  width: 100%;
  text-align: center;
  color: white;
  z-index: 10;
}

#welcome-text {
  font-size: 2.5rem;
  font-weight: 400;
  letter-spacing: 5px;
  display: inline-block;
  margin: 0;
  border-right: 3px solid white;
  animation: blink-cursor 0.75s step-end infinite;
}

@keyframes blink-cursor {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: white;
  }
}

#main-footer {
  width: 100%;
  position: relative;
  z-index: 5;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(30px);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.358);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
}

.social-icons {
  display: flex;
  gap: 30px;
  margin-bottom: 25px;
}

.social-icons a {
  color: white;
  font-size: 2rem;
  justify-content: space-evenly;
  transition: color 0.2s;
}

.social-icons a:hover {
  color: #8e2de2;
}

.copyright-text {
  color: #fff;
  font-size: 0.85rem;
  text-align: center;
  line-height: 1.5;
}

@media (max-width: 768px) {
  #main-nav {
    gap: 10px;
  }

  .about-header {
    margin-top: 200px;
  }
  .about-content-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-content-box .profile-text {
    margin-top: 20px;
  }

  #contact-footer {
    flex-direction: column;
    gap: 40px;
  }
}