@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
}

/* pagina mi cv */
.mi-pdf {
  display: none;
}

.pdf {
  margin-top: 25px;
}

.descargarCv {
  display: none;
}

/*--------------*/
h1 {
  color: rgb(79, 77, 77);
  text-align: center;
  margin: 40px;
}

h2 {
  color: rgb(0, 0, 0);
  font-size: medium;
}

/* Header */
.mi-header {
  background-color: #2a6cbb;
  background-image: linear-gradient(62deg, #31639d 33%, #6414bb 80%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  transition: all 0.3s ease;
}

.mi-navbar {
  position: relative;
}

.mi-header .navbar-nav {
  text-align: center;
}

.mi-header .navbar-nav .mi-nav-item {
  margin: 0 5px;
}

.mi-header .navbar-nav .nav-link.mi-nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  padding: 8px 50px;
  border-radius: 5px;
  transition: all 0.3s ease;
  position: relative;
}

.mi-header .navbar-nav .nav-link.mi-nav-link:hover {
  color: white;
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.mi-header .navbar-nav .nav-link.mi-nav-link.active {
  color: white;
  background-color: rgb(136, 208, 230);
}

.mi-header .navbar-nav .nav-link.mi-nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 20px;
  height: 3px;
  background-color: white;
  transform: translateX(-50%);
  border-radius: 3px;
}

.mi-brand-container {
  display: flex;
  align-items: center;
  margin-left: -120px;
  justify-content: flex-start;
}

.mi-logo {
  height: 80px;
  width: auto;
  margin-right: 10px;
  border-radius: 10px;
}

.mi-brand {
  font-weight: 700;
  color: white;
  letter-spacing: 1px;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.mi-brand:hover {
  color: #e0e0e0;
  transform: translateY(-2px);
}

.mi-navbar-toggler {
  border: none;
  padding: 0;
}

.mi-navbar-toggler:focus {
  box-shadow: none;
}

.mi-navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.mi-navbar-collapse {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

/* footer estilos */
.elementos-footer {
  margin: 20px;
  display: flex;
  flex-direction: row;
  background-color: #2a6cbb;
  background-image: linear-gradient(62deg, #4d8edb 33%, #9c64d9 80%);
  border-radius: 30px;
  align-items: center;
}

.img-avatar {
  margin: 25px;
}

.img-avatar img {
  margin-top: 5px;
  width: 100px;
  height: 100px;
  border-radius: 100px;
}

.botones {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
  justify-content: center;
  gap: 2px;
}

.botones a {
  color: black;
}

.bi {
  margin-bottom: 10px;
}

.text-footer {
  width: 80%;
  font-size: 20px;
  margin-top: 20px;
  margin-left: 25px;
}

.footer-copy {
  font-size: 13px;
}

.footer-p {
  width: 90%;
}

.copyright {
  margin-top: 40px;
  font-weight: bold;
  text-align: center;
}

/* --------------------------------------fin footer */
/* index */
body {
  background-color: #87beff;
  background-image: linear-gradient(62deg, #87beff 33%, #b36dff 80%);
  font-family: "Nunito Sans", serif;
  margin: 0;
  padding: 0;
}

.h1-index h1 {
  text-align: center;
  font-size: 2.5rem;
  margin-top: 50px;
}

/* Contenedor de las imágenes de los conocimientos */
.itemsimg {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Tres columnas iguales */
  margin-top: 30px;
}

/* Las imágenes deben tener el mismo tamaño */
.imgConocimientos {
  width: 100%;
  height: 421px;
  object-fit: contain; /* Mantiene la proporción y recorta si es necesario */
}

/* Sección de texto debajo de las imágenes */
.textos-bajoimg {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Tres columnas */
  gap: 20px; /* Espaciado entre los textos */
  text-align: center;
  margin-top: 30px;
}

.textos-img {
  font-size: 20px;
  width: 100%; /* Asegura que cada texto ocupe el 100% de su columna */
  box-sizing: border-box; /* Incluye padding y border dentro del tamaño */
  padding: 0 10px; /* Espaciado interno para que el texto no toque los bordes */
  margin: 0; /* Elimina márgenes innecesarios */
}

.textos-img p {
  margin: 0;
  padding: 0;
}

/* Aumentar tamaño específico para la imagen HTML */
.imghtml {
  width: 100%; /* Asegura que tenga el mismo tamaño que las demás imágenes */
}

.imgcss {
  width: 85%;
  margin-top: 5px;
  margin-left: 36px;
}

.imgjs {
  width: 85%;
  margin-top: 5px;
  margin-left: 35px;
}

/* fin de index */
/* Formulario de contacto */
.form-contacto {
  padding: 50px;
  margin: 50px;
  margin-top: 55px;
  margin-bottom: 100px;
}

.col {
  margin-bottom: 20px;
}

.email-ancho {
  display: inline;
  justify-content: center;
}

/* fin de formulario */
/* Pagina Sobre Mi */
.sobre-mi-body {
  background-color: #87beff;
  background-image: linear-gradient(62deg, #87beff 33%, #b36dff 80%);
  color: #fff;
  text-align: center;
}
.sobre-mi-container {
  width: 90%;
  max-width: 900px;
  margin: 50px auto;
  background-color: #87beff;
  background-image: linear-gradient(62deg, #87beff 33%, #b36dff 80%);
  padding: 30px;
  border-radius: 15px;
  margin-top: 75px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}
.sobre-mi-title {
  margin-top: 15px;
  font-size: 2rem;
  color: black;
}
.sobre-mi-description {
  margin-top: 10px;
  line-height: 1.8;
  font-size: 1.1rem;
}
.sobre-mi-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  margin-top: 30px;
  background: rgba(255, 255, 255, 0.2);
  padding: 20px;
  border-radius: 10px;
}
.sobre-mi-section img {
  width: 45%;
  border-radius: 10px;
}
.sobre-mi-text {
  width: 50%;
  font-size: 20px;
}
.sobre-mi-social-links {
  margin-top: 30px;
}
.sobre-mi-social-links a {
  text-decoration: none;
  color: #fff;
  background: rgba(0, 0, 0, 0.3);
  padding: 12px 18px;
  margin: 8px;
  border-radius: 25px;
  display: inline-block;
  transition: 0.3s;
  font-weight: bold;
}
.sobre-mi-social-links a:hover {
  background: rgba(0, 0, 0, 0.6);
}
.sobre-mi-botones {
  width: 1088px;
  flex-direction: row-reverse;
  margin-right: 69px;
}

/* fin de pagina Sobre Mi */
/* Mis Proyectos */
.imgCarrusel {
  border: solid;
  border-color: rgb(52, 160, 248);
  border-radius: 5px;
  margin: 200px;
  margin-top: 10px;
  margin-bottom: 50px;
}

.proyectos-h2 {
  display: flex;
  position: relative;
  text-align: center;
  font-size: 20px;
  width: 70%;
  left: 15%;
}

/*-------------------*/
@media screen and (max-width: 500px) {
  /* mis proyectos responsive */
  .imgCarrusel {
    width: 0%;
    border: none;
    margin-left: 370px;
  }
  .imgs {
    margin-left: -370px;
  }
  .proyectos-h2 {
    font-size: 18px;
    width: 90%;
    left: 20px;
  }
  /* Mi CV */
  .pdf {
    display: none;
  }
  .mi-pdf {
    display: block;
    width: 100%;
  }
  .descargarCv {
    display: flex;
    width: 40%;
    margin: 40px;
    text-decoration: none;
    font-style: bold;
  }
  .boton-descargar {
    margin-left: 100px;
    background-color: rgb(136, 208, 230);
  }
  /* formulario contacto */
  .form-contacto {
    margin-top: -10px;
  }
  /* Sobre Mi responsive */
  .sobre-mi-container {
    height: 1869px;
    margin-top: 10px;
  }
  .sobre-mi-section {
    flex-direction: column;
    text-align: center;
  }
  .sobre-mi-section img, .sobre-mi-section .sobre-mi-text {
    width: 100%;
  }
  .sobre-mi-botones {
    width: 40px;
    margin-top: 26px;
    margin-left: 36px;
  }
}
/*responsive footer*/
@media (max-width: 768px) {
  .elementos-footer {
    flex-direction: column;
    align-items: center;
  }
  .img-avatar img {
    width: 80px;
    height: 80px;
  }
  .botones {
    flex-direction: row;
    gap: 10px;
    margin-left: 0;
  }
  .text-footer {
    text-align: center;
    width: 90%;
    font-size: 16px;
    margin-left: 0px;
  }
  .copyright {
    font-size: 14px;
    margin-top: 20px;
  }
}
/*responsive header*/
@media (max-width: 1200px) {
  .mi-header .navbar-nav {
    text-align: left;
    margin-left: 0;
  }
  .mi-brand-container {
    margin-left: 0;
    justify-content: flex-start;
  }
  .mi-navbar-collapse {
    position: static;
    transform: none;
    width: 100%;
  }
  .mi-navbar-nav {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  .mi-nav-item {
    width: 100%;
    text-align: center;
  }
  .mi-nav-link {
    width: 100%;
    padding: 10px;
  }
}
@media (max-width: 767px) {
  .mi-logo {
    height: 60px;
  }
  .mi-brand {
    font-size: 1.2rem;
  }
}
/*index responsive*/
@media (max-width: 991px) {
  .textos-img {
    font-size: 18px;
  }
  .imghtml {
    display: flex;
    justify-content: space-around;
  }
  .html-img {
    width: 110%;
    margin-left: -20px;
  }
  .imgcss {
    display: flex;
    justify-content: space-around;
    margin-left: 22px;
    margin-top: 1px;
    align-items: center;
  }
  .imgjs {
    display: flex;
    justify-content: space-around;
    margin-left: 22px;
    margin-top: 1px;
    align-items: center;
  }
  .itemsimg {
    grid-template-columns: 1fr; /* Una columna */
  }
  .textos-bajoimg {
    grid-template-columns: 1fr; /* Una columna */
  }
  .textos-img p {
    font-size: 19px;
  }
}
/* fin de responsive mobile */
