
/* fonts*/

@font-face {
    font-family: "Bungee";
    src: url("/public/fonts/BungeeSpice-Regular.woff2") format("woff2");
    }
    
    @font-face {
        font-family: "ComicNeue";
        src: url("/public/fonts/ComicNeue-Regular.woff2") format("woff2");
    }
    
    @font-face {
        font-family: "OpenSans";
        src: url("/public/fonts/OpenSans_Condensed-Regular.woff2") format("woff2");
    }
    
    @font-face{
        font-family: "Exo2";
        src: url("/public/fonts/Exo2-Regular.woff2") format("woff2");
    }

    @font-face{
        font-family: "NovaFlat";
        src: url("/public/fonts/NovaFlat-Regular.woff2") format("woff2");
    }

    @font-face{
        font-family: "PoetsenOne";
        src: url("/public/fonts/PoetsenOne-Regular.woff2") format("woff2");
    }

    @font-face{
        font-family: "BarlowCondensed";
        src: url("/public/fonts/BarlowCondensed-Regular.woff2") format("woff2");
    }

    @font-face{
        font-family: "FiraSans";
        src: url("/public/fonts/FiraSans-Regular.woff2") format("woff2");
    }

    @font-face{
        font-family: "DancingScript";
        src: url("/public/fonts/DancingScript-Regular.woff2") format("woff2");
    }

/* BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #0f0f1b;
  color: #ffffff;
  line-height: 1.6;
}

/* ENCABEZADO*/
.header {
  background: linear-gradient(90deg,rgb(1, 5, 22) 13%, rgb(4, 4, 31) 86%);
  color: #fff;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.header__Logo__erick {
  font-size: 45px;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  text-transform: uppercase;
  border-radius: 2px;
  color: transparent;
  font-family: "FiraSans";
  font-weight: bold;
  background: linear-gradient(90deg,rgb(18, 173, 201) 9%, #00ffd5 49%, rgba(0, 250, 212, 1) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  animation: text 2s linear infinite;
}

  @keyframes text{
    80% {
      filter: hue-rotate(0deg)
    }
    100% {
      filter: hue-rotate(360deg)
    }
  }
  



.header__navbar__menu {
  display: flex;
  gap: 1.5rem;
}

.header__navbar__menu__link{
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  font-family: "NovaFlat";
  
  
}

.header__navbar__menu__link::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: #00ffff;
  transition: width 0.3s;
}

.header__navbar__menu__link:hover::after {
  width: 100%;
  cursor: pointer;
  
}

/* INICIO */
.inicio {
  text-align: center;
  padding: 4rem 1rem 3rem;
  background: linear-gradient(90deg,rgba(2, 10, 46, 1) 13%, rgba(2, 2, 54, 1) 86%);
  color: #fff;
}

.inicio__foto--wrapper {
  margin: auto;
  width: 250px;
  height: 250px;
  border-radius: 150px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 30px #00ffff;
  transition: transform 0.3s ease;
}

.inicio__foto--wrapper:hover {
  box-shadow: 0 0 15px #00ffff;;
}

.inicio__foto--circular {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.inicio__saludo {
  font-size: 1.2rem;
}

.inicio__nombre {
  font-size: 40px;
  font-weight: bold;
  margin-top: 0.3rem;
}

.inicio__rol {
  font-size: 1.5rem;
  margin: 1rem 0;
  font-weight: 500;
  font-family: "FiraSans";
}

.inicio__descripcion {
  max-width: 700px;
  margin: 0 auto 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #dddddd;
  font-family: "Exo2";
}

.inicio__boton {
  background-color: #00ffff;
  color: #000;
  padding: 0.9rem 1.8rem;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-shadow: 0 0 15px #00ffff;
}

.inicio__boton:hover {
  background-color: #ff7300;
  color: #fff;
  box-shadow: 0 0 25px #1100ff;
}

/* SECCIONES */
section {
  padding: 3rem 1rem;
  background: linear-gradient(90deg,rgba(0, 7, 43, 1) 13%, rgba(3, 3, 33, 1) 86%);
}

/* EXPERIENCIA */
.experiencia__titulo,
.proyectos__titulo,
.contacto__titulo {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 2rem;
  color: #00bcd4;
  font-family: "ComicNeue";
}

.experiencia__tarjeta {
  max-width: 900px;
  background-color: #1e1e1e;
  margin: 2.5rem auto;
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: transform 0.3s;
  border: 2px solid transparent;
  box-shadow: 0 0 20px #00ffff; 
}

.experiencia__tarjeta:hover {
  transform: translateY(-5px);
}

.experiencia__tarjeta__contenido {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.experiencia__tarjeta__foto {
  width: 100px;
  height: 100px;
  border-radius: 12px;
  object-fit: cover;
  background-color: #ddd;
}

.experiencia__tarjeta__puesto{
  font-size: 25px;
  font-family: "OpenSans";
  color: #18e4ff;
}
.experiencia__tarjeta__instituto {
  font-family: "PoetsenOne";
}

.experiencia__tarjeta__detalle {
  margin-top: 0.5rem;
  color: #ffffff;
  font-family: "Exo2";
}

.experiencia__tarjeta__lista {
  padding-left: 1.2rem;
  margin-top: 0.5rem;
  font-family: "Exo2";
}


/* PROYECTOS */
.proyectos {
  padding: 3rem 1rem;
  background-color: #f9f9f9;
  text-align: center;
}

.proyectos__titulo {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.proyectos__descripcion {
  max-width: 600px;
  margin: 0 auto 2rem auto;
  font-size: 1rem;
  color: #ffffff;
  font-family: "Exo2";
}

.proyectos__galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.rem;
  justify-items: center;
}

.proyectos__galeria__trabajos{
  background-color: #e1e9d2;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 100%;
  max-width: 300px;
  transition: transform 0.3s ease;
  border: 2px solid transparent;
  box-shadow: 0 0 20px #00ffff;
}

.proyectos__galeria__trabajos:hover {
  transform: translateY(-5px);
}

.proyectos__galeria__imagen {
  width: 300px;
  height: 200px;
  object-fit: cover;
  display: block;
}

.proyectos__galeria__nombre {
  font-weight: bold;
  font-size: 1.1rem;
  padding: 1rem;
  background-color: #000000;
  margin: 0;
  font-family: "NovaFlat";
  color: #1100ff;
}

/* CONTACTO */
.contacto__formulario {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contacto__formulario__input,
.contacto__formulario__textarea {
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 1rem;
  transition: border-color 0.3s;
  background-color: #1a1a1a;
  color: #fff;
  font-family: "BarlowCondensed";
}

.contacto__formulario__input:focus,
.contacto__formulario__textarea:focus {
  border-color: #00bcd4;
  outline: none;
}

.contacto__formulario__boton {
  padding: 0.9rem;
  background-color: #00ffff;
  color: #000000;
  border: none;
  border-radius: 30px;
  font-weight: bold;
  transition: background-color 0.3s;
  cursor: pointer;
}

.contacto__formulario__boton:hover {
  background-color:  #ff7300;
  color: #ffffff;
  box-shadow: 0 0 25px #1100ff;
}

/* FOOTER */
.footer {
  background: linear-gradient(90deg,rgb(1, 5, 22) 13%, rgb(4, 4, 31) 86%);
  color: #fff;
  padding: 2rem 1rem;
  text-align: center;
  font-family: "DancingScript";
}

/* RESPONSIVOS */

/* RESPONSIVO TABLET */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .header__Logo__erick {
    font-size: 32px;
    margin-bottom: 0.5rem;
  }

  .header__navbar__menu {
    flex-direction: column;
    gap: 0.5rem;
  }

  .inicio {
    padding: 3rem 1rem;
  }

  .inicio__foto--wrapper {
    width: 180px;
    height: 180px;
  }

  .inicio__nombre {
    font-size: 2rem;
  }

  .inicio__rol {
    font-size: 1.2rem;
  }

  .inicio__descripcion {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .experiencia__tarjeta__contenido {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .proyectos__galeria {
    grid-template-columns: 1fr 1fr;
  }

  .proyectos__galeria__imagen {
    width: 100%;
    height: auto;
  }

  .contacto__formulario {
    padding: 0 1rem;
  }
}


/* RESPOSIVO MOVIL */
@media (max-width: 480px) {
  .header {
    padding: 1rem;
  }

  .header__Logo__erick {
    font-size: 26px;
  }

  .header__navbar__menu {
    gap: 0.5rem;
  }

  .header__navbar__menu__link {
    font-size: 1rem;
  }

  .inicio {
    padding: 2rem 1rem;
  }

  .inicio__foto--wrapper {
    width: 140px;
    height: 140px;
  }

  .inicio__nombre {
    font-size: 1.7rem;
  }

  .inicio__rol {
    font-size: 1rem;
  }

  .inicio__descripcion {
    font-size: 0.95rem;
    padding: 0 0.5rem;
  }

  .inicio__boton {
    font-size: 0.9rem;
    padding: 0.6rem 1.4rem;
  }

  .experiencia__tarjeta {
    margin: 1rem 0.5rem;
  }

  .experiencia__tarjeta__foto {
    width: 70px;
    height: 70px;
  }

  .proyectos__galeria {
    grid-template-columns: 1fr;
  }

  .proyectos__galeria__trabajos {
    width: 100%;
    max-width: none;
  }

  .proyectos__galeria__imagen {
    width: 100%;
    height: auto;
  }

  .contacto__formulario__input,
  .contacto__formulario__textarea {
    font-size: 0.95rem;
  }

  .contacto__formulario__boton {
    font-size: 0.95rem;
  }
}
