html {
  scroll-behavior: smooth;
}
body{
margin: 0;
color: #fff;
overflow: hidden;
}

#grid {
  width: 100%;
  height: 1145px;
  top: 0;
  left: 0;
  position: fixed;
  background-image: linear-gradient(#ffffff07 1px, transparent 1px), linear-gradient(90deg, #ffffff07 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 2;
  pointer-events: none;
}

main{
  background-color: #000;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  color: #fff;
  align-items: center;
  position: relative;
  flex-direction: column;
  font-family: "Funnel Sans", sans-serif;
}

main > header{
  color: #e7e7e7;
  text-align: center;
  text-shadow: 0px 0px 20px #4b4b4b;
  white-space: nowrap;
  background-color: #000000;
  transform: rotateX(13deg) rotateY(7deg);
  width: max-content;
  padding: 15px 20px;
  margin: 0px auto;
  border: 1px solid #fff;
  z-index: 3;
  animation: 1s ease 0s 1 normal none running headerIN;

  
}

main > header > h1{
font-size: 3rem;
margin: 0;
}

main > header > h1 span{
font-weight: 100;
}

main > header > h2{
margin: 0;
font-weight: 100;
}


main > #particles-js{
  width: 100%;
  height: 100vh;
  position: absolute;
  left: 0;
  right: 0;
  z-index: 2;
}


main > #estrellas {
  position: absolute;
  top: 0;
  height: 100%;
  width: 100%;
  left: 0;
  pointer-events: none;
  z-index: 1;
}


a,button{
  cursor: pointer;
  text-decoration: none;
}

main > nav {
  animation: opciones 1.5s;
  padding: 10px 15px;
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 30px;
  z-index: 3;
  animation: opciones 1.5s;
}

main > nav a {
  padding: 10px 15px;
  color: #ffffff;
  box-shadow: 2px 2px 4px #00000047;
  font-size: 1.2rem;
  max-width: 140px;
  text-align: center;
  border: none;
  transition: 0.5s;
  display: flex
;
  align-items: center;
  justify-content: center;
  font-weight: 600;

}

main > nav a:nth-child(1) {
background-color: #2b5ef7;
box-shadow: -5px -5px 0px 0px #2b5ef76e;
}
main > nav a:nth-child(2) {
  background-color: #fff;
  box-shadow: -5px -5px 0px 0px #ffffff33;
}

main > nav img {
width: 70%;
}

main > nav a:hover {
color: #ffffff;
transform: translate(-5px,-5px);
box-shadow: none;
}


#sobremi{
  overflow: auto;
  background: linear-gradient(-45deg, #648518, #552f64, #113257, #32867b);
  font-family: "Courier Prime", monospace;
  font-weight: 400;
  font-style: normal;
  position: relative;
  height: 100vh;
}

#sobremi h2{
  font-size: 4rem;
  font-weight: 300;
  word-spacing: -5px;
  margin-bottom: 10px;
}

#sobremi h2 strong{
  font-weight: 800;
}

#sobremi h4 {
  font-size: 2rem;
  text-align: center;
  margin: 50px 0px 30px 0px;
  backdrop-filter: blur(5px);
  padding: 20px;
  border: 1px solid #0000002e;
  background-color: #00000014;
  box-shadow: 7px 7px 10px 0px #00000052;
  font-family: "Courier Prime", monospace;
  font-weight: 400;
  font-style: normal;
  text-shadow: 0 0 5px #ffffff;
}

#sobremi h3 {
  font-size: 2rem;
  margin-top: 10px;
  text-wrap: balance;
  font-weight: 100;
}

#sobremi  h3 strong {
  border-bottom: 4px solid #4a62ff;
}

#sobremi > header{
  text-align: center;
  margin-top: 40px;
}


#sobremi > article{
  position: relative;
  z-index: 3;
  max-width: 900px;
  margin: auto;
}

#sobremi #tecnologias{
  font-size: 30px;
  padding: 20px 40px;
 }


#sobremi  #tecnologias > p {
  text-align: center;
  margin-top: 30px;
  font-size: 1rem;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  display: inline-block;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  width: 100%;
  box-sizing: border-box;
  line-height: 25px;
}

#sobremi #tecnologias > p > i{
  border-bottom: 2px solid #4a62ff;
}



#sobremi #listaTecnologias {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  width: 100%;
  justify-content: center;
  text-align: center;
}

#sobremi #listaTecnologias div {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border-radius: 10px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  justify-content: center;
 
}

#sobremi #listaTecnologias div:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.4);
}

#sobremi #listaTecnologias span {
  width: 70px;
  height: 70px;
  border-radius: 13px;
  padding: 10px;
  background: linear-gradient(210deg, #ffffff, #9a9a9a);
  box-shadow: 0px 2px 4px 1px #00000096;
}

#sobremi #listaTecnologias span > img {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0px 2px 3px #000);
  object-fit: contain;
}

#sobremi #listaTecnologias p {
  color: white;
  font-weight: bold;
  font-size: 14px;
  text-transform: uppercase;
  margin: 10px 0px 0px 0px;
  font-weight: 200;
}

#sobremi #informacion p {
  text-align: center;
  font-size: 2rem;
  padding: 30px 10px;
  text-wrap: balance;
  margin-bottom: 60px;
  background: #00000014;
  backdrop-filter: blur(5px);
  border: 1px solid #0000002e;
}

.saludo {
  animation: saludar 1.5s ease-in-out infinite;
  transform-origin: bottom center;
  display: inline-block;
  margin-right: -2rem;
}
@keyframes saludar {
  0% {
    transform: rotate(-10deg)  scale(1);
  }
  50% {
    transform: rotate(20deg) scale(1);
  }
  100% {
    transform: rotate(-10deg) scale(1);
  }
}

.atras {
  font-size: 15px;
}

footer{
  background: #000;
  display: flex
;
  justify-content: center;
  padding: 50px;
  position: relative;
  z-index: 3;
  margin-top: 120px;
}

footer p{
  text-align: center;
  font-size: 4rem;
  font-weight: bold;
  line-height: 3rem;
  font-family: "Funnel Sans", sans-serif;
}

footer span{
  text-align: center;
  font-size: 1.3rem;
  display: block;
}

::-webkit-scrollbar {
  width: 10px;
  height: 0px;
  margin: 20px;
}

::-webkit-scrollbar-track {
  background: #0000004b;
}

::-webkit-scrollbar-thumb {
  background: #007bff81;
}

::-webkit-scrollbar-thumb:hover {
  background: #006ce1;
}

@keyframes opciones {
  from {
    transform: translateY(1000px);
  }

  to {
  }
}

@keyframes headerIN {
  from {
    opacity: 0;
    transform: scale(1.5);
  }

  to {
  }
}

@keyframes headerBorder {
  from {

  }

  to {
  }
}

#btnSubir {
  padding: 10px 12px;
  font-size: 16px;
  background-color: #000;
  color: white;
  border: none;
  cursor: pointer;
  transition: 1.5s;
  width: 100%;
  transform: translateY(-60px);
}




@media (max-width: 748px) {
main > nav a{
  max-width: 120px;
  font-size: 1rem;
}

main > nav a img{
  width: 70%;
}

main > header > h1{
  font-size: 2.5rem;
}

main > header > h2{
  font-size: 1rem;
}

#sobremi h4{
  font-size: 1.4rem;
} 

#sobremi h2 {
  font-size: 2.5rem;
}
#sobremi h3 {
font-size: 1.5rem;
}

#sobremi #informacion p {
  font-size: 1.7rem;
}

.saludo {
  margin-right: -1rem;
}
}


@media (max-width: 480px) {
main > nav a{
  max-width: 120px;
  font-size: 0.8rem;
}

main > nav a img{
  width: 70%;
}

main > header > h1{
  font-size: 1.8rem;
}

main > header > h2{
  font-size: 1rem;
}

#sobremi h2{
  font-size: 2rem;
}

#sobremi h3{
  font-size: 1rem;
}

#sobremi h4{
  font-size: 2rem;
}

#sobremi #listaTecnologias span{
  width: 50px;
  height: 50px;
}

#sobremi #tecnologia{
  margin: 20px;
}


}



@media (max-width: 360px) {
main > header > h1{
  font-size: 1.7rem;
}

main > header > h2{
  font-size: 1rem;
}

#sobremi h4{
  font-size: 1.5rem;
}

#sobremi #tecnologias {
  padding: 20px 20px;
}

#sobremi h2 {
font-size: 1.5rem;
}
#sobremi #informacion p {
  font-size: 1.3rem;
}

.saludo {
  margin-right: -0.5rem;
}
}