:root{
    --fuenteParrafos: 'Montserrat', sans-serif;

    --primario: #0c1ec0;
    --secundario: #FD6420;
    --blanco: #FFFFFF;
    --negro: #000000;
    --gris: #e1e1e1;
    --rojo: #C31616;
} 

/* reset */

html {
    box-sizing: border-box;
    font-size: 62.5%;
    scroll-behavior: smooth;
}

*, *:before, *:after {
    box-sizing: inherit;
}

body {
    font-family: var(--fuenteParrafos);
    font-size: 1.5rem;
    line-height: 2;
    margin: 0;
    background: var(--primario);
    position: relative;
}

/* scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--blanco) var(--primario);
  }
  /* Funciona en Chrome, Edge y Safari */
  *::-webkit-scrollbar {
    width: 8px;
  }
  *::-webkit-scrollbar-track {
    background: var(--blanco);
  }
  *::-webkit-scrollbar-thumb {
    background-color: blue;
    border-radius: 20px;
    border: 3px solid var(--blanco);
  }

/* globales */

.contenedor{
    width: min(90%, 120rem);
    margin: 0 auto;
}

a {
    text-decoration: none;
    outline: none
}

h1, h2, h3, h4 {
    font-family: var(--fuenteParrafos);
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 2.7rem;
}

h4 {
    font-size: 2.3rem;
}

img {
    max-width: 100%;
}

p {
    margin: 0;
}
/* utilidades */

.no-margin {
    margin: 0;
}

.no-padding {
    padding: 0;
}

.centrar-texto {
    text-align: center;
}

/* Header */

.header, .body_contacto {
    background-image: url(../assets/img/hero.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.despegamos{
    display: none;
}

/* Nav */
.barra {
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: space-around;
}

.enlace_logo{
    width: 30rem;
    padding: 1rem;
}

.navegacion{
    text-transform: uppercase;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
}

.navegacion_enlace{
    color: var(--blanco);
    padding: .5rem;
}

.enlace_logo:hover,
.navegacion_enlace:hover{
    filter: drop-shadow(0 0 1em var(--blanco));
}

.navegacion_enlace--contacto{
    font-weight: bold;
    border: solid 2px var(--blanco);
    border-radius: 5rem;
    color: var(--blanco);
}

.navegacion_enlace--contacto:hover{
    background-color: var(--blanco);
    color: var(--primario);
}

.body_contacto{
    height: 100vh;
}

@media (min-width: 720px) {
    
    .header{
        height: 60rem;
    }

    .despegamos{
        display: block;
        color: var(--blanco);
        text-align: center;
        margin: 30rem 0;
    }

    .despegamos_texto{
        font-size: 5rem;
        text-transform: uppercase;
        animation: aparecerDesaparecer 2s infinite;
    }

    @keyframes aparecerDesaparecer {
        0% {
          opacity: 0;
        }
        50% {
          opacity: 1;
        }
        100% {
          opacity: 0;
        }
      }

    .barra{
        flex-flow: row nowrap;
    }

    .navegacion{
        flex-flow: row nowrap;
        gap: 2rem;
    }
}

@media (min-width: 1200px) {
    .header{
        height: 100vh;
    }
}

/* Sintonizacion */

.sintonizacion{
    font-size: 2rem;
    margin-top: 5rem;
    animation: float 3s 3 ease-in-out;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-9px);
    }
}

.texto_sintonizacion{
    font-size: 2.5rem;
    text-transform: uppercase;
    text-align: center;
    color: var(--blanco);
}

.canales{
    max-height: 100%;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    text-align: center;
    color: var(--blanco);
}

.canales_sintonizacion{
    margin: 2rem;
    width: 20rem;
}

.canales_sintonizacion:hover{
    filter: drop-shadow(0 0 3em var(--secundario));
}

.logo_YouTube,
.logo_Twitch {
    height: 10rem;
}

@media (min-width: 720px) {
    .sintonizacion{
        margin-top: 15rem;
        height: 35rem;
    }

    .texto_sintonizacion{
        font-size: 4rem;
    }
    .canales{
        flex-direction: row;
        justify-content: center;
        align-content: center;
        gap: 8rem;
    }
    .canales_sintonizacion{
        width: 40rem;
        padding: 2rem;
        display: flex;
        flex-flow: column nowrap;
    }
    .logo_YouTube,
    .logo_Twitch{
        height: 20rem;
    }
}

/* Auspicia */

.auspicia{
    margin-top: 8rem;
    text-align: center;
    color: var(--blanco);
    font-weight: bold;
    text-transform: uppercase;
}

.auspicia.mostrar {
    transform: translateY(0);
    opacity: 1;
}

.imagen_auspiciante{
    width: 15rem;
    padding: 1rem;
}

.imagen_auspiciante-en-orbita{
    filter: invert(100%);
}

@media (min-width: 720px) {

    .auspicia{
        
        display: flex;
        flex-flow: row nowrap;
        justify-content: center;
        align-items: center;
        gap: 3rem;
    }

    .imagen_auspiciante{
        width: 30rem;
    }

    .texto_auspicia{
        align-self: flex-start;
    }
}

/* Programas */

.programas{
    margin-top: 3rem;
    padding: 2rem;
    background-color: var(--secundario);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column;
    z-index: 1;
    gap: 2rem;
}

.nuestros_programas{
    text-transform: uppercase;
    text-align: center;
    color: var(--blanco);
}

.tarjeta_programas{
    width: 95%;
    padding: 1rem;
    background-color: var(--blanco);
    filter: drop-shadow(0 0 1em var(--negro));
}

.tarjeta_imagen{
    border: 5px solid transparent;
    border-image: linear-gradient(to right, var(--secundario), var(--primario)); 
    border-image-slice: 1;
}

.descripcion_programas{
    text-align: center;
    line-height: 2rem;
    font-size: 1.5rem;
    font-weight: 600;
}

@media (min-width: 720px) {
    .tarjeta_programas{
        width: 70%;
        display: flex;
        margin: 2rem;
        align-items: center;
        gap: 1rem;
    }
    .tarjeta_imagen{
        width: 50%;
    }
    .descripcion_programas{
        text-align: left;
    }
}


@media (min-width: 1200px) {
    .tarjeta_programas{
        width:50%;
    }
}

/* Noticias */

.noticias{
    display: flex;
    flex-direction: column;
}

.enlace_noticia{
    text-transform: uppercase;
    color: var(--blanco);
    border: solid 1px var(--blanco);
    padding: 1.5rem;
    font-size: 1rem;
}

.enlace_noticia:hover{
    filter: drop-shadow(0 0 1em var(--blanco));
}

@media (min-width: 720px) {
    .enlace_noticia{
        font-size: 1.5rem;
    }
}

/* Contacto */

.contacto,
.noticias{
    margin-top: 5rem;
    text-align: center;
    color: var(--blanco);
    font-weight: 700;
}

.titulo_contacto,
.titulo_noticias{
    text-transform: uppercase;
}

.redes_sociales{
    margin-top: 3rem;
    display: flex;
    flex-flow: column nowrap;
    gap: 3rem;
    justify-content: center;
    align-items: center;
}

.enlace_redes {
    color: var(--blanco);
    width: 18rem;
}

.logo_red{
    width: 5rem;
}

@media (min-width: 720px) {
    .redes_sociales{
        flex-flow: row nowrap;
        justify-content: center;
        align-items: center;
    }
}

/* QR donacion
.qr-dona{
    text-align: center;
    color: var(--blanco);
    text-transform: uppercase;
    width: 90%;
    margin: 0 auto;
}

.imagen-qr{
    width: 70%;
}

.enlace-qr{
    display: inline-block;
    margin-top: 2rem;
    text-decoration: none;
    color: var(--primario);
    font-weight: bold;
    background-color: var(--blanco);
    padding: 1.5rem;
    border-radius: 5rem;
    text-wrap: balance;
}

.enlace-qr:hover{
    filter: drop-shadow(0 0 1em var(--blanco));
}

@media (min-width: 720px) {
    .qr-dona{
        font-size: 1rem;
        position: fixed;
        width: 25%;
        right: 2rem;
        bottom: 2rem;
        background-color: rgba(201,82,53, .8);
        border-radius: 15px;
        z-index: 2;
    }
    
    .titulo-qr{
        font-size: 1rem;
    }
    
    .enlace-qr{
        padding: 1rem;
        margin-bottom: 1rem;
    }
}


@media (min-width: 1220px) {
    .qr-dona{
        width: 10%;
    }
} */

/* Noticias.html */

.noticia{
    text-align: center;
    text-transform: uppercase;
    color: var(--blanco);
    max-width: 70%;
    margin: 10rem auto 0 auto;
}

.autores{
    margin-top: 5rem;
}

.cuerpo_noticia{
    color: var(--blanco);
}

.titulo_cuerpo{
    text-align: center;
}

.img_noticia{
    width: 80%;
}

@media (min-width: 720px) {
    .img_noticia{
        width: 50%;
    }
}

/* Footer */
.footer{
    margin-top: 3rem;
    text-align: center;
    padding: 2rem;
    color: var(--blanco);
}

.boton_footer{
    font-size: 2rem;
    color: var(--blanco);
    text-transform: uppercase;
    font-weight: 700;
    padding: 0;
    line-height: 1rem;
}

.boton_footer:hover{
    filter: drop-shadow(0 0 1em var(--blanco));
}

.texto_footer{
    margin-top: 1rem;
}