/* body { */
  /* font-family: "Open Sans", sans-serif; */
  /* color: #272829; */
/* } */

a {
  color: #149ddd;
  text-decoration: none;
}

a:hover {
  color: #37b3ed;
  text-decoration: none;
}

/* ------------------------------------- */
.typed{
    color: blue;
    border-bottom: 3px solid #149ddd;
}

/*  Header */
/* -------------------------------------------------------------- */
#header {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 300px;
  transition: all ease-in-out 0.5s;
  z-index: 9997;
  transition: all 0.5s;
  padding: 0 15px;
  background: #040b14;
  border-right: solid 2px #149ddd72;

  /*! Con esto se quita el scroll que aparecia en el nav en algunas pantallas */
  /* overflow-y: hidden;  */
}

/*!  Efectos en la foto perfil del nav  */
#header .profile img {
  margin: 20px auto 12px;
  display: block;
  width: 128px;
  filter: brightness(0.87);
  border: 3px solid rgba(8, 33, 67, 0.901);
  box-shadow:  0 0 7px #388bffe6, #4894ffe6 0 0 15px;
}

#header .profile h1 {
  font-size: 24px;
  margin: 0;
  padding: 0;
  font-weight: 600;
  -moz-text-align-last: center;
  text-align-last: center;
  /* font-family: "Anta", sans-serif; */
  /* font-family: "Electrolize", sans-serif; */
  font-family: "Space Grotesk", sans-serif;
  /* font-family: "Oxanium", serif; */
  /* font-family: "Chakra Petch", serif; */
}

#header .profile h1 a,
#header .profile h1 a:hover {
  color: #fff;
  text-decoration: none;
}

#header .profile .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #212431;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#header .profile .social-links a:hover {
  background: #149ddd;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 0 10px #149ddd, 0 0 5px #149ddd;
}

#main {
  margin-left: 300px;
}

@media (max-width: 1199px) {
  #header {
    left: -300px;
  }

  #main {
    margin-left: 0;
  }
}

/*--------------------------------------------------------------

/* # Navigation Menu */
--------------------------------------------------------------
/* Desktop Navigation */
.nav-menu {
  padding: 30px 0 0 0;
}

.nav-menu * {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu>ul>li {
  position: relative;
  white-space: nowrap;
}
/* estilo de texto para los a del nav */
.nav-menu>ul>li>a{
  font-family: "Space Grotesk", sans-serif;
}

.nav-menu a,
.nav-menu a:focus {
  display: flex;
  align-items: center;
  color: #a8a9b4;
  padding: 7px 15px;
  margin-bottom: 8px;
  transition: 0.3s;
  font-size: 15px;
  
}
.nav-menu a:hover span{
  filter: drop-shadow(0 0 5px #149ddd) drop-shadow(0 0 10px #149ddd);
}

.nav-menu a i,
.nav-menu a:focus i {
  font-size: 24px;
  padding-right: 8px;
  color: #6f7180;
}

.nav-menu a:hover,
.nav-menu .active,
.nav-menu .active:focus,
.nav-menu li:hover>a {
  text-decoration: none;
  color: #fff;
}

.nav-menu a:hover i,
.nav-menu .active i,
.nav-menu .active:focus i,
.nav-menu li:hover>a i {
  color: #149ddd;
  filter: drop-shadow(0 0 5px #149dddc8) drop-shadow(0 0 10px #149ddd);
}

/* Mobile Navigation */
.mobile-nav-toggle {
  position: fixed;
  right: 15px;
  top: 15px;
  z-index: 9998;
  border: 0;
  font-size: 24px;
  transition: all 0.4s;
  outline: none !important;
  background-color: #149ddd;
  color: #fff;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  border-radius: 50px;
  cursor: pointer;
}

.mobile-nav-active {
  overflow: hidden;
}

.mobile-nav-active #header {
  left: 0;
}


/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: 100vh;
  /* background: url("../assets/img/background.jpg"); */
  background-image: linear-gradient(270deg, #095eb8 0%, #002955 90%);
  background-size: cover;
  background-position: center;
}
#hero:before {
  content: "";
  /* background: rgba(5, 13, 24, 0.7); */
  background: rgba(5, 13, 24, 0.28);
  position: absolute;
  height: 100%;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

/** Estilos para pantallas medianas  */
#hero #bg-Separador{
  width: 450%;
  height: 40vh;
}
/** Estilos para pantallas pequeñas  */
@media (max-width: 470px) {
  #hero #bg-Separador{
    width: 700%;
    height: 30vh;
  } 
}
/** Estilos para pantallas grandes  */
@media (min-width: 1024px) {
  #hero #bg-Separador{
    width: 350%;
    height: 65vh;
  } 
}

/*? Estilos para los textos del Hero  */
#hero .hero-container {
  position: relative;
  z-index: 2;
  /* min-width: 300px; */
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#hero h1 {
  margin: 0 0 10px 0;
  font-size: 50px;
  font-weight: 700;
  line-height: 56px;
  color: #fff;
  font-family: "Anta", sans-serif;
  font-weight: 800;
  font-style: normal;
}

#hero p {
  color: #fff;
  margin-bottom: 20px;
  font-size: 28px;
  font-family: "Electrolize", sans-serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0;
}

#hero p span {
  color: #fff;
  padding-bottom: 4px;
  letter-spacing: 1px;
  border-bottom: 3px solid #19b6ff;
  letter-spacing: -1px;
}
#hero .hero-container a{
  font-family: "Anta", sans-serif;
  /* font-weight: 400; */
  font-style: normal;
  letter-spacing: 0;
}

@media (min-width: 1024px) {
  #hero {
    background-attachment: fixed;
  }
}

@media (max-width: 768px) {
  #hero h1 {
    font-size: 28px;
    line-height: 36px;
  }

  #hero h2 {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 30px;
  }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 15px 0;
  overflow: hidden;
  color: white;
  /* background: #e7eaf0; */
  background: #08111e;
}

.section-title {
  padding-bottom: 15px;
  font-family: "Space Grotesk", sans-serif;
  /* font-family: "Anta", sans-serif;  */
  /* font-family: "Electrolize", sans-serif; */
  /* font-family: "Oxanium", serif; */
  /* font-family: "Chakra Petch", serif; */
}

.section-title h2 {
  font-family: "Oxanium", serif;
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  color: #2763b8;
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 100px;
  height: 3px;
  background: #149ddd;
  bottom: 0;
  left: 0;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Resume (About)
--------------------------------------------------------------*/
.resume .resume-title {
  font-size: 23px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #0e5ecf;
  font-family: "Space Grotesk", sans-serif;
}

.resume .resume-item {
  padding: 0 0 15px 15px;
  /* margin-top: -2px; */
  border-left: 2px solid #1f5297;
  position: relative;
}

.resume .resume-item h4 {
  line-height: 18px;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  font-family: "Poppins", sans-serif;
  color: rgb(196, 193, 193);
  margin-bottom: 5px;
}

.resume .resume-item h5 {
  font-size: 16px;
  background: #1e406d;
  padding: 3px 15px;
  display: inline-block;
  font-weight: 600;
  margin-bottom: 5px;
  border-radius: 15px;
}

.resume .resume-item:last-child {
  padding-bottom: 0;
}

.resume .resume-item::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50px;
  left: -9px;
  top: 0;
  background: #fff;
  border: 2px solid #1f5297;
}

/*--------------------------------------------------------------
# Skills
--------------------------------------------------------------*/

.skills h3{
  color: #32b7f5;
  text-align: center;
  font-style: italic;
  margin-bottom: 1rem;
  text-shadow: 3px 5px 7px #154e69c6;
  font-family: "Anta", sans-serif; 
  /* font-family: "Chakra Petch", serif; */
}
.skills .skillTecItem p{
  /* font-family: "Anta", sans-serif; */
  /* font-family: "Electrolize", sans-serif; */
  /* font-family: "Space Grotesk", sans-serif; */
  /* font-family: "Oxanium", serif; */
  font-family: "Chakra Petch", serif;
}

/*--------------------------------------------------------------
# Proyects
--------------------------------------------------------------*/

.item-proyect{
  /* background-color: #4780cf; */
  background-color: #040b14;
  color: white;
  text-align: center;
  padding: 7px 5px;
  border-radius: 10px;
  border: 2px groove rgba(18, 79, 164, 0.901);
  position: relative;
  height: auto;

  overflow: hidden;
  transition: box-shadow 1.5s ease;

  /*todo Se aplica una fuente de texto a toda la Card */
  /* font-family: "Anta", sans-serif; */
  /* font-family: "Electrolize", sans-serif; */
  /* font-family: "Space Grotesk", sans-serif; */
  /* font-family: "Oxanium", serif; */
  font-family: "Chakra Petch", serif;
}
.item-proyect:hover{
  border: 2px solid #388bffe6;
  box-shadow: 0 0 10px #388bffe6, 0 0 15px #388bffe6;
  transition: border 1s ease;
}
.item-proyect .img-fluid{
  opacity: .8;
  max-height: 14.5rem;
  transition: opacity .5s ease;
}
/*! Se comento el mediaquery  porque se mejoro el diseño  */
/* @media only screen and (min-width: 350px){ */
  /*! por algun motivo el .item-proyec debe estar pegado al hover para funcionr correctamente */
  .item-proyect:hover.item-proyect .img-fluid{
    opacity: .25;
  }
/* } */

.item-proyect .detailProyect{
  padding-top: 5px;
 }

/*? estilos para las tecnologias en los proyectos  */
.item-proyect .detailProyect .tecItem{ 
  line-height: 1;
  padding: 2px;
  /* border: 1px solid #9a9a9a7a; */
  border-radius: 5px;
  background-color: rgba(12, 20, 47, 0.7);
}
/*? estilos para el div con la descripcion del proyecto */
.item-proyect .text-pro{
  position: absolute;
  height: 100%;
  top: 0;
  padding: 0 3px;
  /* con el overflow auto el scroll aparecera cuando sea necesario (en responsive mobile) y no todo el tiempo */
  overflow: auto;
  /* padding: 0 5px 0 0; */
  /* line-height: 1.15; */
  opacity: 0; /* Inicialmente oculto */
  transition: opacity .7s ease; /* Transición de 1 segundo */
}
.item-proyect:hover.item-proyect .text-pro{
  opacity: 1;  /* Cambia a opacidad completa al hacer hover */
} 

.item-proyect .links{
  position: relative;
  /* display: flex; */
  justify-content: space-evenly;
}
.item-proyect .links a{
  width: 40%;
}


/*? --------------------------------------------------------- */
/*todo Para editar la barra de scroll  */
body::-webkit-scrollbar {
  width: 12px;               /* width of the entire scrollbar */
}
body::-webkit-scrollbar-track {
  background: #08111d;        /* color of the tracking area */
}
body::-webkit-scrollbar-thumb {
  background-color: #149ddd;    /* color of the scroll thumb */
  border-radius: 25px;       /* roundness of the scroll thumb */
  border: 2px solid #19b6ff;  /* creates padding around scroll thumb */
}

/*? Efectos para los items de las Skills */
.skillTecItem img{
  transition: filter .5s ease;
}
.skillTecItem:hover.skillTecItem img{
  filter: drop-shadow(0 0 5px rgb(0, 195, 255)) drop-shadow(0 0 2px rgba(36, 225, 254, 0.9)) ;
}