/* importar fuente Rajdhani */
@import url("rajdhani.css");

/* logo  nav*/
.logoContainer {
  margin-top: 5px;
  margin-bottom: 5px;
  display: flex;
  align-items: center; /* Alinea verticalmente al centro */
  gap: 5px; /* Espacio entre imágenes (opcional) */;
}
.logo img {
  height: 3.5rem;
  /* width: 150px; */
  object-fit: contain;
  margin-top: -0.5rem;
  margin-bottom: -0.5rem;
}
.wordmark img {
  width: 5rem;
  object-fit: contain;
}
/* NavBar */

.navbar {
  color: white;
  background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
    url(../image/background1.jpg);
  background-repeat: repeat;
  background-size: 333px;
  background-position: top left;
}

.navbar-collapse {
  align-items: center;
  justify-content: flex-end;
}

.navbar-dark .navbar-nav .nav-link.active {
  color: #fff !important;
  font-weight: bold;
  font-family: oxanium;
}

.nav-link {
  font-family: oxanium;
}
.navbar-hide {
  transform: translateY(-100%) !important;
  transition: transform 0.3s ease-in-out !important;
}

.navbar-show {
  transform: translateY(0) !important;
  transition: transform 0.3s ease-in-out !important;
}

/* estilos grales. */
section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

h1 {
  font-size: 2.5rem;
  /* font-family: Rajdhani-Medium, sans-serif; */
  /* font-family: 'exo 2', system-ui; */
  font-family: oxanium;
  font-weight: 400;
  font-style: normal;
}

h1 bold {
  font-weight: 666;
}
p,
li,
div,
span,
a,
button,
h3 {
  font-family: inter;
}

h2 {
  font-family: oxanium;
}

/* estilos aplicables a footer y sobreMí */
.seccion-oscura {
  background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
    url(../image/background1.jpg);
  background-repeat: repeat;
  background-size: 333px;
  background-position: top left;
  color: white;
}

.seccion-clara {
  color: black;
  background-color: white;
}

.seccion-titulo {
  font-size: 2rem;
  padding: 15px 0;
  font-family: "Oxanium", system-ui;
}

.seccion-descripcion {
  font-size: 1.2rem;
  color: #584e4e;
  text-align: center;
}

.seccion-texto {
  font-size: 1.2rem;
}

.btn-info {
  background-color: #7dd3fc;
  font-size: 1.1rem;
  margin: 20px;
  font-weight: bold;
}

.btn:hover {
  background-color: #d1d5db;
}

.texto-negro {
  color: black;
}

.texto-blanco {
  color: white;
}

/* Hero */
.hero {
  background-color: #f5f6f7;
  min-height: 450px;
  text-align: center;
}

.hero-principal {
  padding: 3rem;
}

.hero-imagen-desarrollador {
  width: 200px;
  height: 200px;

  margin: 20px;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(../image/background1.jpg);
  background-repeat: repeat;
  background-size: 333px;
  background-position: top left;
  border-radius: 50%;
  box-shadow: 0px 5px 15px #adadad, 0px 5px 15px #6e6e6e;
}

.hero-principal h2 {
  font-size: 1.5rem;
  color: #615151;
}

.hero-tagline {
  margin-top: 10px;
  font-size: 0.95rem;
  opacity: 0.75;
  letter-spacing: 0.5px;
}

/* Sobre mi */
.sobre-mi {
  height: 550px;
  padding: 0 0 0 0;
}

.sobre-mi .contenedor {
  max-width: 500px;
  text-align: center;
}

/* Experiencia */
.experiencia {
  padding: 40px 40px 60px 40px;
}

.experiencia .columna {
  padding: 20px;
  border: 2px solid #dfdfdf4d;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content:flex-start;
  transition: all 0.2s ease-in;
}

.experiencia .columna:hover {
  color: white;
  background-color: #111827;
}

.experiencia i {
  font-size: 2.5rem;
  color: #00e5ff;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(../image/background1.jpg);
  background-repeat: repeat;
  background-size: 333px;
  background-position: top left;
  padding: 8px 19px;
  border-radius: 50%;
}

.experiencia-titulo {
  font-family: oxanium;
  font-size: 30px;
  font-weight: bold;
  margin: 10px 0 0 0;
}

.experiencia-subtitulo {
  color: #6a6a6a;
  font-family: inter;
  font-size: 1rem;
}

.badges-contenedor {
  font-size: 25px;
  font-weight: bold;
  margin: 10px 0;
}

.badge {
  margin: 5px;
  font-family: oxanium;
  background-color: #38bdf8 !important;
}

/* Proyectos */
.proyectos-recientes {
  padding: 0;
}

.proyectos-recientes img {
  height: auto;
  width: 100%;
  padding: 0;
  margin-bottom: 1rem;
  border-radius: 20px;
  display: block;
  transition: all 0.2s ease;
}

.proyectos-contenedor {
  /* padding: 0; */
  margin: 0;
  /* margin-bottom: 40px; */
}

.row-proyectos {
  display: flex;
  justify-content: center;
  align-items: center;
}

.overlay {
  transition: all 0.2s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  justify-content: center; /* centra vertical */
  align-items: center; /* centra horizontal */
  text-align: center;
  margin: 0;
}

.overlay p {
  /* font-size: 25px;
  font-weight: bold; */
  margin-bottom: 0;
}

.proyecto {
  position: relative;
  padding: 0;
  margin: 0;
}

.proyecto:hover img {
  opacity: 0.2;
}

.proyecto:hover .overlay {
  opacity: 1;
  /* background-color: red; */
  width: 300px;
}

.overlay .iconos-contenedor {
  display: flex;
  gap: 15px;
  margin-top: 0;
}

.overlay i {
  color: black;
  font-size: 60px;
  margin: 10px;
}

#proyectos .seccion-descripcion {
  max-width: 820px;
}

/* Articulos (exploracion y desarrollo) */

#academico .seccion-descripcion {
  max-width: 820px;
}

#academico {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.academico-subtitulo {
  font-weight: 600;
  margin-bottom: 1rem;
  color: #111;
}

#academico .list-group-item {
  padding-left: 0;
  font-size: 0.95rem;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.074);
  border-radius: 20px;
  padding: 0.5rem;
  transition: all 0.25s ease;
}

#academico a {
  text-decoration: none;
  color: inherit;
}

#academico a:hover .list-group-item {
  transform: translateX(6px);
  color: #0d97b3;
  font-weight: bold;
  background-color: transparent;
}

h4 {
  font-family: oxanium;
  font-size: 1rem;
  color: #000000;
  opacity: 0.5;
}

.academico-lista-container {
  border: 3px solid rgba(0, 0, 0, 0.072);
  border-radius: 20px;
  box-shadow: 0px 2px 2px #adadad;
}

.academico-img {
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.academico-img:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  filter: brightness(0.75) contrast(1.05);
}

a {
  text-decoration: none;
}

.articulos {
  min-height: 500px;
  padding: 30px;
}

.articulos .card {
  width: 80%;
  max-width: 600px;
  margin: 20px;
}

.articulos .card-header {
  font-weight: bold;
}

/* Testimonios */
.testimonios {
  padding: 40px 40px 80px 40px;
}

.testimonios .carousel {
  max-width: 800px;
}

.carousel-item {
  height: 500px;
}

.carousel-item .container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.testimonio-imagen {
  height: 150px;
  width: 150px;
  margin: 10px 10px 20px 10px;
}

.testimonio-texto {
  max-width: 70%;
  font-size: 20px;
  text-align: center;
  font-family: "Share Tech Mono", monospace;
}

.testimonio-info {
  font-weight: bold;
  text-align: center;
}

.testimonio-info p {
  margin-bottom: 0;
}

.testimonio-info .cliente {
  font-size: 1.2rem;
}

.testimonio-info .cargo {
  font-size: 0.9rem;
  color: #656060;
}

/* contacto */
.contacto .container {
  max-width: 1100px;
  min-height: 200px;
  padding: 20px;
}

.contacto .rectangulo {
  margin-top: -5rem;
  background-color: #111827;
  border: 1px solid white;
  border-radius: 10px;
  box-shadow: 0 1px 4px 1px #00e5ff;
}

.contacto .row {
  width: 100%;
  display: flex;
  align-items: center;
}

.contacto .descripcion {
  color: white;
  font-size: 1.2rem;
}

.contacto button {
  color: #7dd3fc;
  font-weight: bold;
  font-family: oxanium;
  font-size: 1.3rem;
  background-color: transparent;
  border: 1px solid #7dd3fc;
  border-radius: 10px;
  box-shadow: 0 0px 4px 1px #00e5ff;
  padding: 1.25em 2em;
  margin: 10px;
  border-radius: 100px;
  transition: all 0.2s ease-in-out;
}

.contacto button:hover {
  background-color: white;
  color: black;
}

.contacto button i {
  color: #7dd3fc;
  font-size: 1.3rem;
  transition: all 0.2s ease-in-out;
}

.contacto button:hover i {
  color: #dc2626;
}

/* Pie de pagina */

footer {
  min-height: 350px;
}

.footer-logo {
  height: 80px;
  width: 80px;
  margin: 10px;
}

footer-texto {
  font-size: 1.5rem;
  padding: 20px;
  margin-bottom: 30px;
  font-family: inter;
}
.divLine {
  border-bottom: 1px solid rgb(68, 68, 68);
  margin-bottom: 1rem;
}

.iconos-redes-sociales a {
  width: 50px;
  height: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2px;
  margin: 10px;
  border: 2px solid white;
  border-radius: 50%;
  transition: all 0.2s ease-in;
}

.iconos-redes-sociales i {
  color: white;
  font-size: 1.5rem;
  transition: all 0.2s ease-in;
}

.iconos-redes-sociales a:hover {
  background-color: white;
  border: 2px solid #ef4444;
}

.iconos-redes-sociales span {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
  font-size: 0.75rem;
  opacity: 0.7;
  letter-spacing: 0.5px;
  font-family: oxanium;
}

.iconos-redes-sociales a:hover i {
  color: black;
}

.copyright {
  margin-top: 3rem;
  font-size: 15px;
  color: #aeaeae;
  padding: 20px;
}

/* Adaptable (Responsivo) */

@media screen and (max-width: 400px) {
  .overlay p {
    font-size: 18px;
  }

  .overlay i {
    font-size: 40px;
  }
}

/* @media screen and (max-width:767px) {
    .navbar-brand {
        display: none;
    }
} */

@media screen and (max-width: 800px) {
  .testimonio-imagen {
    height: 120px;
    width: 120px;
  }

  .testimonio-texto {
    font-size: 18px;
  }
}

@media screen and (min-width: 700px) {
  .hero-inferior-imagen {
    max-width: 500px;
  }
}
