html {
  scroll-behavior: smooth;
}

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

.seccion-oscura {
  background-color: #1b1b32;
  color: white;
}

h1 {
  font-size: 2.5rem;
  font-family: "Rubik Dirt", cursive;
}

.seccion-titulo {
  font-size: 2rem;
  padding: 15px 0;
  font-family: "Rubik Dirt", cursive;
}

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

.seccion-clara {
  color: black;
  background-color: #fff;
}

.texto-negro {
  color: black;
}

.texto-blanco {
  color: white;
}

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

.btn-info {
  font-size: 1rem;
  margin: 20px;
  padding: 14px !important;
  color: #fff;
  border: none !important;
  background-color: rgb(13, 110, 253) !important;
  transition: all 0.2s ease-in-out;
}

/* Barra de navegacion */
.navbar {
  padding: 1rem;
}

.navbar-collapse {
  align-items: center;
  justify-content: space-between;
}

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

.hero-principal {
  padding: 3rem;
}

.hero-imagen-desarrollador {
  width: 400px;
  border-radius: 50%;
  margin: 10px;
}

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

/* seccion sobre mi */
.sobre-mi {
  height: 500px;
  padding: 10px;
}

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

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

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

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

.experiencia i {
  font-size: 2.5rem;
  color: #fff;
  background-color: #0a0a23;
  padding: 8px 19px;
  border-radius: 50%;
}

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

.badges-contenedor {
  margin: 10px 0;
}

.badge {
  margin: 5px;
}

/* Seccion de proyectos*/
.proyectos-recientes {
  padding: 40px;
}

.proyectos-recientes img {
  height: 100%;
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  display: block;
  transition: all 0.2s ease;
}

.proyectos-contenedor {
  padding-top: 30px;
  margin-bottom: 40px;
}

.overlay {
  transition: all 0.2 ease;
  opacity: 0; /*transparente*/
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

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

.proyecto {
  position: relative;
}

.proyecto:hover img {
  opacity: 0.2;
}

.proyecto:hover .overlay {
  opacity: 1; /*opaco*/
}

.overlay .iconos-contenedor {
  display: flex;
}

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

.overlay i:hover {
  opacity: 0.6;
}

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

.articulos .card {
  width: 100%;
  max-width: 700px;
  margin: 20px;
  box-shadow: 2px 2px 2px 2px #bbb;
}

.articulos .card-header {
  font-weight: bold;
  color: #fff;
  background-color: rgb(13, 110, 253);
}

.list-group a:hover {
  opacity: 0.6;
}

/* 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 10px 10px;
}

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

.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: #524c4c;
}

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

.contacto .rectangulo {
  margin-top: -5rem;
  background-color: rgb(13, 110, 253);
  border-radius: 10px;
  box-shadow: 0px 1px 4px 1px white;
}

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

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

.contacto button {
  color: #fff;
  font-weight: bold;
  background-color: transparent;
  border: 2px solid white;
  padding: 1.25em 2em;
  margin: 10px;
  border-radius: 100px;
  transition: all 0.2s ease-in-out;
}

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

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

.contacto button:hover i {
  color: black;
}

/* pie de págona footer*/
footer {
  min-height: 500px;
}

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

.footer-texto {
  font-size: 1.5rem;
  padding: 20px;
  margin-bottom: 30px; /* margen inferior */
  font-family: "Quicksand", sans-serif; /* Google fonts */
}

.iconos-redes-sociales a {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  margin: 10px;
  border: 2px solid #fff;
  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: #fff;
}

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

/* derechos de autor */

.derechos-autor {
  font-size: 15px;
  color: #aeaeae;
  padding: 20px;
}

.derechos-autor a {
  color: rgb(13, 110, 253);
  text-decoration: none;
}

.derechos-autor a:hover {
  opacity: 0.6;
}

/* Adaptable (responsivo) */
/* especificando que el icono de la pagina se oculte para dispositivos pequeños por medio de Media Query*/
@media screen and (max-width: 767px) {
  .navbar-brand {
    display: none;
  }
}

@media screen and (max-width: 700px) {
  .hero-imagen-desarrollador {
    max-width: 300px;
  }
}

/*adaptar el tamano de ñps iconos de las seccion de proyectos*/

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

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

/* testimonios */
@media screen and (max-width: 800px) {
  /* para dispositivos mas pequeños que 800px se debe adaptar la imagen y el tamaño de letra*/
  .testimonio-imagen {
    height: 120px;
    width: 120px;
  }

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