* {
  font-family: 'Open Sans', sans-serif;
}

.navbar-dark .navbar-nav .nav-link {
  color: white;
}

.navbar-dark .navbar-nav .nav-link:hover {
  color: #e1432e;
}

.navbar-dark .navbar-brand {
  color: white;
  font-weight: bold;
}


.cabecera-index {
  color: white;
  height: 20vh;
  min-height: 230px;
  background-color: #343a40;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.cabecera {
  color: white;
  height: 5vh;
  min-height: 80px;
  background-color: #343a40;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Adaptation for small screens */
@media screen and (max-width: 768px) {
    h1 {
        font-size: 1.5em;
    }
    h2 {
        font-size: 1.7em;
    }
    h3 {
        font-size: 1.4em;
    }
    p {
        font-size: 1em;
    }
    #custom-nav {
        background-color: rgba(0,0,0,0);
    }

}


@media screen and (max-width: 400px) {
    h1 {
        font-size: 1.5em;
    }
    h2 {
        font-size: 1.2em;
    }
    h3 {
        font-size: 1em;
    }
    p {
        font-size: 0.8em;
    }

}

.img-header {
  height: 5vh;
  min-height: 20px;
  margin-right: 5px;
}

.img-responsive {
  width: 100%;
  max-width: 400px;
}

.entradas-blog {
  background: #e3e3e3;
}

.redes-sociales {
  background: rgba(225,45,27,0.9);
  padding-top: 10px;
  padding-bottom: 10px;
}

.plataformas {
  /*background: #343a40;*/
  background: #0057a8;
  padding-top: 10px;
  padding-bottom: 10px;
}

.fondo-noche {
  background: #132e45;
  padding-top: 10px;
  padding-bottom: 10px;
}

.fondo-azul {
  background: #0057a8;
  padding-top: 10px;
  padding-bottom: 10px;
}

.fondo-celeste {
  background: #4182bf;
  padding-top: 10px;
  padding-bottom: 10px;
}

.fondo-gris {
  background: #343a40;
  padding-top: 10px;
  padding-bottom: 10px;
}

.fab:hover {
  color: rgba(255, 67, 46, 1);
}

.patrocinadores {
  color: white;
  background: rgba(255, 67, 46, .9);
}

/* Images from cards with the same height */
.card-img-top {
  width: 100%;
  height: 12vw;
  object-fit: cover;
  max-height: 30vh;
}

.card-img-top-coord {
  width: 100%;
  height: 230px;
  object-fit: cover;
  max-height: 30vh;
}

.card {
  margin: 0 auto; /* Added */
  float: none; /* Added */
  margin-bottom: 10px; /* Added */
}

.card-text-coord {
  font-size: 10pt;
}

.card-footer {
  padding: 5px;
}

.list-inline-item {
  margin: 15px 30px 0px 30px;
}

/* Footer */
.footer {
  background: #0057a8;
  color:white;
}

.enlaces ul {
    list-style-type: none;
}

.enlaces  li a {
    color: white;
    transition: color .2s;
}
.enlaces li a:hover {
      text-decoration:none;
      color: rgba(255, 67, 46, 1);
}

.footer a {
    color:white;
    transition: color .2s;
}

.footer a:hover {
    color: rgba(255, 67, 46, 1);
}

.contacto i {
  /* Reduce icons size */
  font-size: 18px;
}

.copyright p {
  border-top:1px solid rgba(255,255,255,.1);
}

.published {
  color: #0157a8;
  font-size: 0.9em;
}

.author {
  font-style: italic;
}

.entry-subtitle {
  color: #58636d;
  border-left:  5px solid rgba(225, 45, 27, 0.8);
  padding-left: 5px;
  margin-left: 5px;
}

blockquote {
  color: #58636d;
  border-left:  5px solid rgba(1, 87, 168, 0.8);
  padding-left: 15px;
  padding-top: 5px;
  padding-bottom: 5px;
  background-color: #f5f8f8;
}

.vauto {
  margin-top: auto;
  margin-bottom: auto;
}

.valign {
  display: flex;
  align-items: center;
}

.valign span {
  margin-left: 10px;
}

.red {
  color: #e12d1b;
  font-style: normal;
}

.blue {
  color: #0057a7;
  font-style: normal;
}


/* Botón Discord Python en Español */

.discord button {
  width: 90%;
  justify-content: center;
}

 .btn-default,
 .btn-default:active,
 .btn-default:visited,
 .btn-default:focus {
    background-color: #132e45;
    border-color: white;
    color:white;
    display: flex;
    align-items: center;
}
 .btn-default:hover {
   background-color: #859bee;
   border-color: #859bee;
   text-decoration: none;
}

.discord a {
  text-decoration: none;
}

.texto-python_en_espanol {
  color: #fdc130;
  font-size: 1em;
  font-weight: 500;
  text-align: left;
}

.texto-plataformas {
  color:white;
  font-size: 1.3em;
  font-weight: 500;
  line-height: 1.4;
  text-align: start;
  vertical-align: middle;
  padding-top: 5px;
 }

img.ene {
  width:35px;
  float:right;
  height: 3rem;
 }

.iconos_redes {
  padding-left: 20px;
 }

.iconos_plataformas {
  font-size:0.8rem;
  display:inline;
  text-align: start;
  padding-right: 20px;
 }

.container-redes {
  width: 100%;
  padding-right: 7px;
  padding-left: 7px;
  margin-right: auto;
  margin-left: auto;
 }

 h1 {
  font-size: 1.8rem;
 }

@media screen and (max-width: 768px) {

 h1 {
   font-size: 1.5rem;
 }

.texto-plataformas{
  text-align: start;
 }

.lead {
    font-size: 1rem;
  }

.iconos_plataformas {
  font-size:0.9rem;
  display:inline;
  text-align: start;
  padding-right: 20px;
 }

ul.navbar-nav {
  width: auto;
  }
}

@media screen and (max-width: 700px) {
  .navbar-nav {
    display: -ms-flexbox;
    display: flex;
    flex-direction:column;
    padding-left: 20px;
    margin-bottom: 0;
    list-style: none;
    align-items:flex-end;
    background-color: #343a40;
    padding-right: 15px;
    }

    ul.navbar-nav {
    align-items: flex-end
    }

    .texto-python_en_espanol {
      text-align: left;
    }

    img.ene {
      width:30px;
      height: 3rem;
     }

    .iconos_redes {
        font-size: 1.1rem;
     }
  }

  @media screen and (max-width: 600px) {

  .iconos_plataformas {
      font-size:1rem;
      display: inline;
      padding-top: 10px
    }

    img.ene {
      width:0px;
      height: 0px;
     }
  }

  @media screen and (max-width: 400px) {
  .iconos_redes {
    font-size: 0.8rem;
    padding-left: 15px;
  }

  .btn-default {
    display: inline-block;
  }
}

.bg-hablemospython {
  background-color: #132e45 !important;
}

.titulo-bold {
  color: #343a40;
  font-weight: 800;
}
