h6,
.h6,
h5,
.h5,
h4,
.h4,
h3,
.h3,
h2,
.h2,
h1,
.h1,h2,h3,h4,h5,h6 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-family: "Saira Extra Condensed";
  font-weight: 700;
  line-height: 1.2;
  color: #343a40;
  text-transform: uppercase;
}

h1,
.h1 {
  font-size: calc(1.725rem + 5.7vw);
}

@media (min-width: 1200px) {

  h1,
  .h1 {
    font-size: 6rem;
  }
}

h2,
.h2 {
  font-size: calc(1.475rem + 2.7vw);
}

@media (min-width: 1200px) {

  h2,
  .h2 {
    font-size: 3.5rem;
  }
}

h3,
.h3 {
  font-size: calc(1.325rem + 0.9vw);
}

@media (min-width: 1200px) {

  h3,
  .h3 {
    font-size: 2rem;
  }
}

h4,
.h4 {
  font-size: calc(1.275rem + 0.3vw);
}

@media (min-width: 1200px) {

  h4,
  .h4 {
    font-size: 1.5rem;
  }
}

h5,
.h5 {
  font-size: 1.25rem;
}

h6,
.h6 {
  font-size: 1rem;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

a {
  color: var(--bs-link-color);
  text-decoration: underline;
}

.navbar {
  background-color: #5c94fc;
}

body {
  padding-top: 3.375rem;
  color: #6c757d;
}

@media (min-width: 992px) {
  body {
    padding-top: 0;
    padding-left: 17rem;
  }
}

p.lead {
  font-size: 1.15rem;
  font-weight: 400;
  
}

.tipografia-saira {
  font-family: "Saira Extra Condensed";
  text-transform: uppercase;
  font-weight: 500;
  font-size: 1.5rem;
}

.tipografia-montserrat {
  font-family: Montserrat;
}

/* NAVBAR AJUSTES DE PANTALLA */
#sideNav {
  padding-left: 1rem;
  padding-right: 1rem;
}

#sideNav .navbar-nav .nav-item .nav-link {
  font-weight: 800;
  letter-spacing: 0.05rem;
  text-transform: uppercase;
}

@media (min-width: 992px) {
  #sideNav {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    width: 17rem;
    height: 100vh;
  }

  #sideNav .navbar-brand {
    display: flex;
    margin: auto auto 0;
    padding: 0.5rem;
  }

  #sideNav .navbar-brand .img-profile {
    max-width: 10rem;
    max-height: 10rem;
  }

  #sideNav .navbar-collapse {
    display: flex;
    align-items: flex-start;
    flex-grow: 0;
    width: 100%;
    margin-bottom: auto;
  }

  #sideNav .navbar-collapse .navbar-nav {
    flex-direction: column;
    width: 100%;
  }

  #sideNav .navbar-collapse .navbar-nav .nav-item {
    display: block;
  }

  #sideNav .navbar-collapse .navbar-nav .nav-item .nav-link {
    display: block;
  }
}

.social-icons .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3.5rem;
  width: 3.5rem;
  background-color: #495057;
  color: #fff;
  border-radius: 100%;
  font-size: 1.5rem;
  margin-right: 1.5rem;
}

.social-icons .social-icon:last-child {
  margin-right: 0;
}

.social-icons .social-icon:hover {
  background-color: #102010;
}

.dev-icons {
  font-size: 3rem;
}

/* TAMAÑOS Y MÁRGENES DE LOS TEXTOS DE CADA APARTADO */
section.resume-section {
  display: flex;
  align-items: center;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 5rem;
  padding-bottom: 5rem;
  max-width: 100rem;
}

section.resume-section .resume-section-content {
  width: 100%;
}

@media (min-width: 768px) {
  section.resume-section {
    min-height: 100vh;
  }
}

@media (min-width: 992px) {
  section.resume-section {
    padding-left: 3rem;
    padding-right: 3rem;
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}



.btn-flotante {
  font-size: 10px;
  /* Cambiar el tamaño de la tipografia */
  text-transform: uppercase;
  /* Texto en mayusculas */
  font-weight: bold;
  /* Fuente en negrita o bold */
  color: #ffffff;
  /* Color del texto */
  border-radius: 10px;
  /* Borde del boton */
  letter-spacing: 2px;
  /* Espacio entre letras */
  background-color: #5c94fc;
  /* Color de fondo */
  padding: 5px 5px;
  /* Relleno del boton */
  position: fixed;
  bottom: 1em;
  right: 3em;
  transition: all 300ms ease 0ms;
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
  z-index: 99;
}

.btn-flotante:hover {
  background-color: #000000;
  /* Color de fondo al pasar el cursor */
  box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.3);
  /* transform: translateY(-7px); */
  /*Es para desplazarlo hacia arriba*/
}

@media only screen and (max-width: 600px) {
  .btn-flotante {
    font-size: 14px;
    padding: 12px 20px;
    bottom: 20px;
    right: 20px;
  }
}

a[href]:after {
  display: none;
}


/* Fade Modo Oscuro */
body {
  transition: opacity 0.5s ease, filter 1s ease, background-color 1s ease;
}

body.fade-out {
  opacity: 0;
}

body.fade-in {
  opacity: 1;
}

#fadeOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition: backdrop-filter 0.6s ease, -webkit-backdrop-filter 0.6s ease;
  pointer-events: none;
  z-index: 9999;
}

#fadeOverlay.active {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Estilos del modal para que se mantenga en modo claro */
.modal-content {
  background-color: #ffffff;
  /* Fondo blanco */
  color: #343a40;
  /* Texto oscuro */
}

.modal-header h1,
.modal-body label {
  color: #343a40;
  /* Texto oscuro */
}

/* Inputs, selects y textareas en el modal */
.dark-mode .modal-content input,
.dark-mode .modal-content select,
.dark-mode .modal-content textarea {
  border-color: #6c757d;
  /* Borde gris */
  background-color: #ffffff;
  /* Fondo blanco */
  color: #343a40;
  /* Texto oscuro */
}

/* Botones en el modal */
.dark-mode .modal-footer button {
  color: #ffffff;
  /* Texto en blanco */
}

/* Botones y navbar fija */
.position-fixed {
  top: 10px;
  /* Ajusta esto según lo necesites */
  left: 10px;
  /* Ajusta esto para que esté alineado con el contenedor */
  z-index: 1030;
  /* Asegúrate de que el texto esté por encima de otros elementos */
}

.fixed-buttons {
  position: fixed;
  top: 2.5em;
  /* Distancia desde la parte superior */
  padding-bottom: 20px;
  right: 2em;
  /* Distancia desde la derecha */
  z-index: 2000;
  /* Asegúrate de que estén sobre otros elementos */
  display: block;
  /* Asegúrate de que se muestre siempre */
}

.fechas {
  color: #5c94fc;
}

.morenofernandez {
  color: #5c94fc;
}

@media (max-width: 768px) {
  #navInstruction {
    display: none;
    /* Mantén esto para ocultar el texto */
  }

  .fixed-buttons {
    display: none;
  }
}


@media (min-width: 769px) {
  #navInstruction {
    display: block;
    /* Muestra en tabletas y PCs */
  }
  .btn-flotante-mobile {
    display: none;
  }
}

/* Para navegadores WebKit (Chrome, Safari) */
::-webkit-scrollbar {
  width: 8px; /* Ancho de la barra de desplazamiento */
  height: 8px; /* Alto de la barra de desplazamiento (horizontal) */
}

::-webkit-scrollbar-thumb {
  background-color: #888; /* Color de la parte de la barra que se mueve */
  border-radius: 4px; /* Bordes redondeados del "thumb" */
}

::-webkit-scrollbar-thumb:hover {
  background-color: #555; /* Color del "thumb" al pasar el ratón */
}

/* Para Firefox */
* {
  scrollbar-width: thin; /* Hace la barra de desplazamiento más delgada */
  scrollbar-color: #888 transparent; /* Color del "thumb" y del fondo */
}

/* MODO OSCURO */
.dark-mode {
  background-color: #121212;
  color: #e0e0e0;
}

/* ICONOS DE LENGUAJES DE PROGRAMACIÓN */
.dev-icons-full-width {
  display: flex;
  flex-wrap: wrap; /* Para que pasen a la siguiente línea si no caben */
  justify-content: space-around; /* O puedes usar space-between, center, etc. */
  align-items: center;
  width: 100%;
  list-style: none;
  padding: 0;
  margin: 0;
}

.dev-icons-full-width li {
  font-size: 3rem;
  padding: 10px;
}


