/*  //_________DISEÑO GENERAL______________ */
body,
html {
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
}

h1{
  background-color: transparent;
}

#particles-js {
  width: 100%;
  height: 600px;
  z-index: -3;
  } 


.curved {
  position: relative;
  background: linear-gradient(to bottom, #180826, #34096c);  
}
.inicio{
  height: 600px;
}

.paginaabout{
  height: 420px;
}

.paginaproject{
  height: 260px;
}

.curved::after {
  content: '';
  border-top-left-radius: 50% 100%;
  border-top-right-radius: 50% 100%;
  position: absolute;
  bottom: -5px;
  width: 100%;
  background: #fff;
  height: 30%;
}




/*  //_______________________ */

h1 {
  font-size: 40px;
  font-weight: 600;
}

h2 {
  font-size: 32px;
  color: #1F0A31;
}




section {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1080px;
  padding: 0 50px;
  margin: 0 auto; /* Esto centrará la sección horizontalmente */
}

.descripcion {
  text-align: center;
  font-size: 18px;  
}


#btn-arriba {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  border: none;
  background-color: #34096c;
  color: white;
  padding: 10px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
}
#btn-arriba img{
  width: 30px;

}

.titulo {
  position: absolute;
  text-align: center;
  color: #ffffff;
  top: 70px; /* Ajusta según sea necesario */
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  z-index: 1;
}

.boton {
  background-color: #00a7e1;
  font-size: 20px;
  color: #ffffff;
  padding: 10px;
  border: none;
  transition: 0.5s;
  font-family: "Montserrat", sans-serif;
}
.boton:hover {
  background-color: #9747ff;
}

/* diseño del home */

@keyframes cambioTexto {
  0% {
    content: "Yury";
  }
  16.666% {
    content: "Front-End Developer";
  }
  33.333% {
    content: "UI/UX Designer";
  }
  50% {
    content: "Full Stack in Progress";
  }
  66.666% {
    content: "Creative Coder";
  }
  83.333% {
    content: "Multimedia Engineer";
  }
  100% {
    content: "Web Illustrator";
  }
}

.texto-animado::after {
  content: "desarrolladora";
  display: inline-block;
  animation: cambioTexto 20s infinite;
}

.encabezadohome {
  display: flex;
  align-items: center; /* Para centrar verticalmente los elementos */
  color: #180826;
  height: 50px;
  gap: 10px;
}

.person {
  position: absolute;
  width: 400px;
  bottom: 0px; /* Ajusta según sea necesario */
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  z-index: 1;
}

/* Estilos para la barra de desplazamiento */
::-webkit-scrollbar {
  width: 12px; /* Ancho de la barra de desplazamiento */
}

/* Estilos para el riel de la barra de desplazamiento */
::-webkit-scrollbar-track {
  background-color: #1F0A31; /* Color de fondo del riel de la barra de desplazamiento */
}

/* Estilos para el pulgar (scroll thumb) de la barra de desplazamiento */
::-webkit-scrollbar-thumb {
  background-color: #541d83;/* Color del pulgar */
  border-radius: 10px; /* Radio de borde para redondear */
}

/* Cambiar el color al pasar el mouse sobre el pulgar */
::-webkit-scrollbar-thumb:hover {
  background-color: #00A7E1;
}

/* Aquí comienza el diseño responsive */

@media screen and (max-width: 800px) {

  .encabezadohome {
    display: block; /* Cambiado de flex a block */
    text-align: center;
    height: 90px;
    gap: 1px;
    margin-top: 20px;
  }
  .encabezadohome h2,
  h1 {
    margin: 0;
  }
  .titulo {
    top:90px ;
  }



}

/* Estilos para pantallas pequeñas */
@media screen and (max-width: 600px) {
  .person {
    width: 300px;
  }
  .encabezadohome {
    height: auto;
  }

}

/* CARGADOOR */

.loader-section{
  width: 100vw;
  height: 100vh;
  max-width: 100%;
  position: fixed;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
  z-index:999;
  transition: all 1s 1s ease-out;
  opacity:1;
}
.loaded{
  opacity:0;
  z-index:-1;
}
  
.loader {
    width: 48px;
    height: 48px;
    border: 5px solid #623ddb;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    }

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
} 
