/* Barra de navegación */

.navbar {
 padding: 2rem;
 background-color: #f5f6f7;
}

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

/* Estilos generales */

section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

h1{
  font-size: 2.5rem;
  font-family: 'Cashrole';
  font-style: normal;
}

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

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

.seccion-titulo {
  font-size: 2rem;
  padding: 15px 0;
  font-family: 'Cashrole';
}

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

.seccion-texto{
  font-size: 1.2rem;
  color: #584e4e ;
}

.btn-info {
  font-size: 1.1rem;
  margin: 20px;
  font-weight: bold;
}

.texto-negro {
  color: black;
}

.texto-blanco {
  color: white;
}

.badge-estudiante{
  font-size: 25px;
  font-weight: bold;
  margin: 15px 90px;
}

.badge-contenedores{
  font-size: 25px;
  font-weight: bold;
  margin: 10px 50px;
}

.badge{
  margin: 5px;
}

/* Articulos */

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

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

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

.Titulo_DW{
  text-align: center;
}

.Imagen_DW{
  width: 480px;
  height: 200px;
}

.Titulo_A{
  text-align: center;
}

.Imagen_A{
  width: 480px;
  height: 200px;
}

.Imagen_ES{
  width: 476px;
  height: 200px;
}

.Titulo_ES{
  text-align: center;
}

/* Proyectos */

.proyecto{
  position: relative;
}

.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: 60px;
  margin-bottom: 40px;
}

.overlay{
  transition: all 0.2 ease;
  opacity: 0;
  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:hover img{
  opacity: 0.2;
}

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

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

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


/* Fuente personalizada del texto Iván Piñeiro */

@font-face {
  font-family: 'Cashrole';
  src: url("Fuentes/cashrole/Cashrole.ttf");
}

@font-face {
  font-family: 'conthrax';
  src: url("Fuentes/conthrax/conthrax-sb.otf");
}

@font-face {
  font-family: 'HouseOfMontague';
  src: url("Fuentes/house_of_montague/HouseOfMontagueDEMO.otf");
}

/* Seccion Hero */

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

.hero-principal {
  padding: 3rem;
}

.imagen-perfil {
  width: 200px;
  height: 200px;
  /*border-radius: 50%;*/
  margin: 20px;
}

.hero-principal h2 {
  font-size: 1,5rem;
  font-family: 'Cashrole';
  color: #615151;
}

/* Sobre mi */

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

.hero-inferior h1 {
  font-size: 25px;
  font-family: 'conthrax';
}

.card{
  background-color: #f5f6f7;
}

.card-text{
  font-size: 14px;
  text-align: center;
}

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

/* Experiencia */

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

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

/* 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: 'HouseOfMontague';
  font-weight: bold;
}

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

.testimonio-footer .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: 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: 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:hover {
  background-color: white;
  color: black;
}

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

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

/* Pie de pagina (footer) */

footer {
  min-height: 500px;
}

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

.footer-texto {
  font-size: 1.5rem;
  padding: 20px;
  margin-bottom: 30px;
  font-family: 'conthrax', sans-serif;
}

.iconos-redes-sociales a {
  width: 50px;
  height: 50px;
  display: flex;
  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 rgb(13, 110, 253);
}

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

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




/* Barra de navegación adaptable a pantallas pequeñas y ocultación del logo */

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

  /* Eliminar contenido */

@media screen and (max-width: 700px) {
  .sobre-mi {
    display: none;
  }
}

/* Adaptar textos */

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

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

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

  .card-text{
    font-size: 12px;
  }
}

/* Adaptar imagenes */

@media screen and (max-width: 600px) {
  /*.testimonio-imagen {
    height: 120px;
    width: 400px;
    }*/
    
    .Imagen_DW{
      height: 480x;
      width: 600px;
    }

    .Imagen_A{
      height: 480px;
      width: 600px;
    }

    .Imagen_ES{
      height: 480px;
      width: 600px;
    }

    .fondo{
      background-color: #f5f6f7;
      width: 600px;
    }
  /* Botones */

    .badge-contenedores{
      margin-left: 120px;
    }

    .badge-estudiante{
      margin-left: 120px;
    }
  }
}