* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* estilos generales  */

.seccion-titulo {
  font-size: 2.5rem;
  padding: 15px 0px;
  font-family: "Rubik Dirt", system-ui !important;
}

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

.seccion-clara {
  color: black;
  background-color: white;
}
.seccion-texto {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.seccion-texto a {
  text-decoration: none;
}

.seccion-texto a:hover {
  text-decoration: underline;
}

.seccion-clara .accordion-body .seccion-texto {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.accordion-body {
  display: flex;
  padding: 20px;
  color: white;
  background-color: #1b1b32;
}

.texto-negro {
  color: black;
}

.secion-descripcion {
  font-size: 1.2rem;
  color: #584e4e;
}

.boton .btn {
  font-size: 1.2rem;
}

/* barra de navegacion */
.navbar-collapse {
  justify-content: end;
}

/* hero  */
.hero {
  min-height: 450px;
  text-align: center;
}

.hero-principal h1 {
  font-family: "Rubik Dirt", system-ui;
  font-weight: 2.5rem;
  font-style: normal;
}

.hero-principal h2 {
  font-size: 1.5rem;
  color: slategrey;
}
.hero-principal {
  padding: 3rem;
}

.hero-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  padding: 1rem;
}

.hero .hero-inferior .hero-image-dos {
  max-height: 425px !important;
}
/* sobre mi  */

.sobre-mi {
  background-color: #1b1b32;
  color: white;
  min-height: auto;
  padding: 2rem 1rem;
  display: flex;
  justify-content: center;
  text-align: center;
}

.sobre-mi .contenedor {
  max-width: 900px;
  text-align: center;
  display: block;
}

/* estudios acordeon  */

.certificados {
  width: 100%;
  max-width: 400px; /* más ancha */
  height: auto; /* mantiene la proporción natural */
  aspect-ratio: 3 / 2; /* fuerza un formato rectangular horizontal */
  margin-left: 8rem;
  border-radius: 10px;
  box-shadow: 1px 1px 4px 1px white;
}

.acordeon-estudios {
  padding: 40px 40px 60px 40px;
  margin-bottom: 5rem;
}

/* Proyectos  */

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

.proyectos-recientes {
  text-align: center;
  padding: 40px;
}

.proyectos-contenedor {
  padding-top: 60px;
  margin-bottom: 40px;
  text-align: center;
}

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

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

.proyecto:hover .overlay {
  opacity: 1;
}

.proyecto:hover img {
  opacity: 0.2;
}

.proyecto {
  position: relative;
}

.overlay p {
  margin-bottom: 5px;
  font-size: 1.2rem;
}

.overlay .iconos-contenedor {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.experiencia {
  padding: 40px 40px 60px 40px;
  margin-bottom: 5rem;
}

.experiencia .columna {
  border: 1px solid #8080804d;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  text-align: center;
  transition: all 0.2s ease-in;
}

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

.experincia-titulo {
  font-size: 1.25rem;
  margin: 1rem;
}

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

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1rem;
}

/* Contrataciones  */

.sobre-mi .contenedor .parrafo-btn {
  margin-top: 1.5rem;
}

.contenedor-formulario {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 40px auto;
}

.contenedor-formulario form {
  width: 100%;
  max-width: 600px;
}

.form-check-label .btn-primary {
  background-color: white;
  border: 0;
  color: black;
  margin-top: -0.5rem;
}

.form-check-label .btn-primary:hover {
  background-color: white;
  color: black;
}

input[name="mensaje"] {
  width: 100%;
  height: 5rem;
  font-size: 1rem;
  padding: 0.5rem;
}

/* contacto  */

.contacto .container {
  max-width: 1100px;
  max-height: auto;
  padding: 20px;
}

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

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

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

.contacto button {
  color: white;
  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 i {
  color: white;
  font-size: 1.3rem;
  transition: all 0.2s ease-in-out;
}
/* pie de pagina */

footer {
  min-height: 300px;
  padding: 40px 0;
}

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

.footer-texto {
  font-size: 1.5rem;
  margin-bottom: 30px;
  color: white;
}

.iconos-redes-sociales {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

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

.iconos-redes-sociales i {
  color: white;
  font-size: 1.5rem;
}

.iconos-redes-sociales a:hover {
  background-color: white;
  border-color: #0d6efd;
}

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

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

/* testimonios */

.testimonios {
  padding: 40px 40px 80px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.testimonios .contenedor-titulo-testimonios {
  margin-bottom: 30px;
}

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

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

.seccion-descripcion {
  font-size: 1.5rem;
  color: slategrey;
}

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

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

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

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

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

.carousel-item {
  max-height: 500px;
}

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

@media screen and (min-width: 700px) {
  .hero .hero-inferior .hero-image-dos {
    max-width: 600px;
  }
}

@media screen and (max-width: 576px) {
  .seccion-texto {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .seccion-titulo {
    font-size: 1.5rem;
  }
}
/* corregir margen derecho despues de evaluación */
@media screen and (max-width: 576px) {
  .contacto .rectangulo {
    margin: -5rem 1rem 2rem 1rem;
    padding: 1.5rem 1rem;
  }

  .contacto .seccion-titulo {
    font-size: 1.5rem;
  }

  .contacto .descripcion {
    font-size: 1rem;
  }

  .contacto button {
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
  }
}

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

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

@media screen and (max-width: 740px) {
  .certificados {
    margin-left: 0rem;
  }
}

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

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