/*ESTILOS PORTAFOLIO*/

/*GENERALES*/
@import url('https://fonts.googleapis.com/css2?family=Besley:ital,wght@0,400..900;1,400..900&family=Figtree:ital,wght@0,300..900;1,300..900&display=swap');

/*Bootstrap Icons*/
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");

body {
  font-family: "Figtree", sans-serif;
  color: #191970;
  margin: 0;
  overflow-x: hidden !important;
}

span {
  font-weight: bold;
}

* {
  box-sizing: border-box !important;
}

html, body {
  width: 100% !important;
  max-width: 100% !important;
}

.proyecto {
  padding: 40px 0;
}

/*HEADER*/
header {
  width: 100%;
  overflow: visible;
  position: sticky;
  top: 0;
  z-index: 1060;
}

.navbar {
  background-color: #EFF9EE !important;
  padding: 10px 0;
}

.navbar .container {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  background-color: #EFF9EE !important;
}

.navbar-brand {
  font-family: "Besley", sans-serif;
  font-size: 24px;
  color: #191970;
  line-height: 1;
  text-decoration: none;
  transition: font-size 0.2s ease;
}

.navbar-nombre:hover {
  color: #008080;
}

.nav-link {
  color: #191970;
  font-size: 16px;
  font-weight: 500;
}

.nav-link:hover {
  color: #008080;
}

.navbar-nav img {
  width: 30px;
}

.navbar-toggler {
  border-color: #191970;
}

.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='%23191970' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c%2fsvg%3e");
}

/*INFO*/
.foto-nat {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.info {
  background-color: #EFF9EE; /* ya lo tienes */
}

.texto-info {
  text-align: center;
  font-size: 20px;
  padding: 60px 40px;
}

.info a {
  text-decoration: none;
  color: white;
  font-size: 20px;
  background-color: #008037;
}

.perfil {
  display: inline-block;
  padding: 20px 40px;
  margin-top: 10px;
}

.perfil:hover {
  color: #bcf0ad;
  background-color: #191970;
}

.info p {
  padding: 20px;
}

.presentacion {
  font-family: "Besley", sans-serif;
  font-size: 28px;
  line-height: 1.1;
  margin-bottom: 20px;
  background-color: transparent;
  padding: 0;
  margin: 0 0 15px 0;
}

.carrera {
  font-family: "Besley", sans-serif;
  font-size: 36px;
  font-weight: 500;
  margin-top: 20px;
}

.especialidad {
  font-size: 22px;
  font-weight: normal;
  margin-bottom: 25px;
}

h3 {
  font-family: "Besley", sans-serif;
  font-size: 30px;
  padding: 20px 0 10px 0;
  margin-bottom: 40px;
  background: none;
}

/*PROYECTOS*/
.titulo-gal {
  font-family: "Besley", sans-serif;
  font-size: 38px;
  color: #191970;
  text-align: left;
  border-bottom: 1px solid #191970;
  padding-bottom: 15px;
  background-color: transparent;
  margin-top: 0;
}

.proyectos-grid a {
  display: block;
  text-decoration: none;
  background: transparent;
  height: 100%;
  transition: transform 0.3s ease;
}

.proyectos-grid a:hover {
  transform: translateY(-5px);
}

.imagen-wrapper {
  width: 100%;
  overflow: hidden;
}

.proyectos-grid img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
}

.proyectos-grid p {
  background-color: transparent;
  color: #191970;
  font-size: 16px;
  text-align: left;
  padding: 15px;
  margin: 0;
}

.separador-proyecto {
  border: none;
  border-top: 2px solid #008080;
  margin: 40px 0;
}

/*CONTACTO*/
.contacto {
  margin-top: 30px;
}

.contenedor-inicio-contacto {
  text-align: center;
  background-color: #C2DCD1;
  padding: 60px 0 80px;
}

.contacto a {
  font-family: "Besley", sans-serif;
  text-decoration: none;
  color: white;
  font-size: 20px;
  padding: 20px 40px;
  background-color: #008037;
}

.contacto a:hover {
  color: #bcf0ad;
  background-color: #191970;
}

.contacto p {
  padding-bottom: 30px;
  font-size: 20px;
  line-height: 1.4;
}

.titulo-contacto {
  font-family: "Besley", sans-serif;
  font-size: 32px;
  margin-bottom: 30px;
  border-bottom: 2px solid #008080;
  padding-bottom: 15px;
}

/*formulario*/
/*CONTACTO*/
.contacto-pagina {
  background-color: #EFF9EE;
}

.form-label {
  font-weight: 500;
  color: #191970;
}

.btn-enviar {
  border: none;
  color: white;
  font-family: "Besley", sans-serif;
  font-size: 18px;
  padding: 12px 40px;
  background-color: #008037;
}

.btn-enviar:hover {
  background-color: #191970;
  color: #bcf0ad;
}

.texto-alterno {
  margin-top: 0px;
  margin-bottom: 60px;
  font-size: 16px;
}

.texto-alterno a {
  color: #008080;
  text-decoration: underline;
}

#resultado {
  font-weight: 500;
  color: #008037;
}

/*FOOTER*/
footer {
  background-color: #191970;
  text-align: center;
  padding: 10px;
}

footer p {
  color: white;
  margin: 0;
}

/* Small devices (landscape phones, less than 768px)*/
@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  .foto-nat {
    width: 100%;
  }

  .info-pagina .row {
    align-items: flex-start;
  }

  .foto-info {
    height: auto;
    max-height: 400px;
    object-fit: cover;
  }

  .row p {
    font-size: 16px;
  }

  .texto-info {
    font-size: 18px;
    padding: 30px 15px !important;
    text-align: center;
  }

  .info p {
    padding: 10px !important;
  }

  .carrera {
    font-size: 20px;
  }

  h2 {
    font-size: 19px;
  }
  
  .especialidad {
    font-size: 14px;
  }

  h3 {
    font-size: 19px;
    padding: 30px 20px 15px 20px;
  }

  .perfil {
    margin-bottom: 30px;
  }
  
  .contacto p {
    font-size: 16px;
  }

  .contacto a {
    font-size: 16px;
  }

  footer {
    font-size: 16px;
  }

  .navbar-brand {
    font-size: 14px !important;
    max-width: 75% !important;
  }

  .navbar-collapse {
    width: 100% !important;
    flex-basis: 100% !important;
    order: 3 !important;
  }

  .navbar-nav {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    align-items: center !important; 
    text-align: center;
    padding-top: 15px;
  }

  .navbar-nav .nav-item {
    width: 100%;
    padding: 8px 0;
  }

  .navbar-nav .nav-item.d-flex {
    padding-top: 15px;
    padding-bottom: 5px;
    justify-content: center !important;
    width: 100%;
  }

  /*PAGINA INFO*/
  .col-md-4 {
    order: -1;
    margin-bottom: 20px;
  }
}

/*Extra small devices (portrait phones, less than 576px)*/
@media (max-width: 576px) {
  .navbar-brand {
    font-size: 15px !important;
    max-width: 70% !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .navbar-toggler {
    padding: 4px 8px !important; 
    font-size: 14px !important;
  }
}

/*PAGINA INFO*/
.info-pagina {
  background-color: #EFF9EE;
}

.info-pagina p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.botones-info {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  align-items: center;
}

.btn-inicio {
  text-decoration: none;
  color: white;
  font-family: "Besley", sans-serif;
  font-size: 18px;
  padding: 15px 30px;
  background-color: #008037;
}

.btn-inicio:hover {
  background-color: #191970;
  color: #bcf0ad;
}

.btn-cv {
  text-decoration: underline;
  color: #191970;
  font-size: 18px;
  font-weight: 500;
}

.btn-cv:hover {
  color: #008080;
}

.foto-info {
  width: 100%;
}