:root {
    --cl-blue: #0057a8;
    --cl-red: #e22914;

    /* Colores principales (brand) */
    --color-primary: #007BFF;     
    --color-primary-light: #4DAFFF; 
    
    /* Colores de énfasis y acción */
    --color-accent: #D41C0F;     
    --color-highlight: #FFC300;  
    
    /* Colores neutrales/base */
    --color-text: #151F27;        
    --color-text-secondary: #333333; 
    
    /* Colores de fondo */
    --color-background: #FFFFFF;   
    --color-background-alt: #FAFAFA; 
    --color-background-dark: #151F27; 

    /* Colores de interfaz */
    --color-border: #C4C4C4;     
}

.bg-gradiente {
  background: linear-gradient(to bottom, var(--cl-blue) 0%, var(--color-primary) 90%, var(--color-primary-light) 100%);
}

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


h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}


.body {
  background-color: var(--color-background);
  color: var(--color-text);
}

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

.navbar-dark .navbar-nav .nav-link:hover {
  color: var(--color-highlight);
}

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

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

a:hover {
    color: var(--color-accent);
}


.cabecera-index {
  color: white;
  height: 20vh;
  min-height: 230px;
  background-color: var(--color-background-dark);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.cabecera {
  color: white;
  height: 5vh;
  min-height: 80px;
  background-color: var(--color-background-dark);
  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: var(--color-background-alt);
}

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

.plataformas {
  /*background: #343a40;*/
  /*background: var(--cl-blue);*/
  background: linear-gradient(to bottom, var(--cl-blue) 0%, var(--color-primary) 60%, var(--color-primary-light) 100%);

  padding-top: 10px;
  padding-bottom: 10px;
}

.fondo-noche {
  background: var(--color-background-dark);
  padding-top: 10px;
  padding-bottom: 10px;
}

.fondo-azul {
  background: var(--cl-blue);
  padding-top: 10px;
  padding-bottom: 10px;
}

.fondo-celeste {
  background: var(--color-primary);
  padding-top: 10px;
  padding-bottom: 10px;
}

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

.fab:hover {
  color: var(--color-highlight);
}

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

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

.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 */
  border-radius: 1em;
  box-shadow: rgba(14, 63, 126, 0.04) 0px 0px 0px 1px, rgba(42, 51, 69, 0.04) 0px 1px 1px -0.5px, rgba(42, 51, 70, 0.04) 0px 3px 3px -1.5px, rgba(42, 51, 70, 0.04) 0px 6px 6px -3px, rgba(14, 63, 126, 0.04) 0px 12px 12px -6px, rgba(14, 63, 126, 0.04) 0px 24px 24px -12px;
}

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

.card-title {
  font-size: 0.9em;
}

.card-subtitle {
  font-size: 0.7em;
}


.card-footer {
  padding: 1em;
  font-size: 0.9em;
  background-color: var(--color-border);
  border-top: 1px solid var(--color-border);
  border-radius: 0 0 1em 1em !important;
}


.card-footer .url.fn {
  color: var(--color-primary);
  /*background-color: var(--color-background-dark);*/
  padding: 0.5em;
  border-radius: 0.5em;
  font-size: 1em;
}

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

/* Footer */
.footer {
  background: var(--color-background-dark);
  color:white !important;
}

.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: var(--cl-blue);
  font-size: 0.9em;
}

.author {
  font-style: italic;
}

.entry-subtitle {
  color: var(--color-text-secondary);
  border-left:  0.5em solid var(--color-accent);
  padding-left: 0.5em;
  margin-left: 0.5em;
}

blockquote {
  color: var(--color-primary);
  border-left:  5px solid var(--color-primary-light);
  padding-left: 15px;
  padding-top: 5px;
  padding-bottom: 5px;
  background-color: var(--color-background);
}

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

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

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

.red {
  color: var(--cl-red);
  font-style: normal;
}

.blue {
  color: var(--cl-blue);
  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: var(--color-accent);
    color:white;
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    padding: 0.5em;
    border-radius: 0.8em !important;
  }
 .btn-default:hover {
   background-color: var(--cl-blue);
   border-color: var(--cl-blue);
   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 {
  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 {
      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;
}

.bg-pyladies {
  background-color: pink !important;
}

.bg-pyladies a {
  background-color: palevioletred;
  border-color: palevioletred;

}
.bg-pyladies a:hover {
  background-color: rgb(226, 73, 124);
  border-color: rgb(226, 73, 124);

}

.titulo-bold {
  color: var(--color-text);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

.w-30 {
    width: 30% ! important;
}

.w-40 {
    width: 40% ! important;
}

.w-60 {
    width: 60% ! important;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    padding: 0.5em;
    border-radius: 0.8em !important;
}


/* Estilos para la sección de Galería */
#galeria {
  background-color: white;
  padding: 3rem 0;
}

#galeria h2 {
  font-size: 2.5rem;
  color: #343a40;
}

#galeria p {
  font-size: 1.25rem;
  color: #6c757d;
}

/* Estilo para el carrusel */
#galeria .carousel-item img {
  height: auto;
  max-height: 75vh;
  object-fit: cover;
}

