:root {
    --fuenteHeading: 'PT', sans-serif;
    --fuenteParrafos: 'Open Sans', sans-serif;

    --primario: #784d3c;
    --gris: #e1e1e1;
    --blanco: #ffffff;
    --negro: #000000;
    --verde: #45E502;
    --rojocereza: #E22A1A;   
}

html {
    box-sizing: border-box;
    font-size: 62.5%;
}
*, *:before, *:after {
    box-sizing: inherit;
}
body {
    font-family: var(--fuenteParrafos);
    font-size: 1.6rem;
    line-height: 2;
}

/*  Globales  */
.contenedor {
    width: min(90%, 120rem);
    margin: 0 auto;
}
a {
    text-decoration: none;
}
h1, h2, h3, h4, h5{
    font-family: var(--fuenteHeading);
    line-height: 1.2;
}
h1 {
    font-size: 2.4rem;
}
h2 {
    font-size: 4rem;;
}
h3 {
    font-size: 3.2rem;;
}
h4 {
    font-size: 2.8rem;;
}
h5 {
    font-size: 1.6rem;;
}
img {
    max-width: 100%;
}
@media (min-width: 480px) {  
    h1 {
        font-size: 3.9rem;
    }
}
@media (min-width: 768px) {  
    h1 {
        font-size: 4.8rem;
    }
}



/*  Utilidades  */
.no-margin {
    margin: 0;
}
.no-padding {
    padding: 0;
}
.centrar-texto {
    text-align: center;
}

/*  Header  */
.header {
    background-image: url(../img/rama.webp);
    height: 13rem;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}
@media (min-width: 480px) {  
    .header {
        height: 17rem;
    }
}
@media (min-width: 768px) {  
    .header {
        height: 20rem;
    }
}
.idioma {
    text-align: right;
}
.idioma__enlace {
    color: var(--blanco);
    font-size: 1.8rem;
}
.logo__imagen {
    min-width: 6rem;
    min-height: 6rem;
    width: 6rem;
    height: 6rem;   
}
@media (min-width: 480px) {
    .logo__imagen {
        width: 11rem;
        height: 11rem;
    }
}
@media (min-width: 768px) {
    .logo__imagen {
        width: 14rem;
        height: 14rem;
    }
}
.logo-total {
    display: flex; 
    justify-content: left;
    align-items: center;
}
.logo {
    color: var(--blanco);
}
.logo__nombre {
    font-weight: 400;
}
.logo__bold {
    font-weight: 700;
}
.barra {
    display: flex;
    justify-content: space-between;
}

/*  Bajo Header  */
.barra-nav {
    background-color: var(--rojocereza);
}
.navegacion {
    display: flex;
    flex-direction: column;
}
.menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
@media (min-width: 480px) {
    .navegacion {
        display: flex;
        gap: 2rem;
    }
    .menu {
        display: none;
    }
}
.navegacion__enlace {
    text-align: center;
    font-size: 1.4rem;
    padding: 0;
    width:100%;
    display: none;   
}
.navegacion__enlace.activado {
    display: flex;
    flex-direction: column;
}
.navegacion__enlace li {
    list-style-type: none;
}
.navegacion__enlace a {
    color: var(--blanco);
}
@media (min-width: 480px) {
    .navegacion__enlace {
        display: flex;
        gap: 2rem;
        align-items: center;
        justify-content: center;
    }
    .navegacion__enlace.activado {
        flex-direction: row;
    }
}
@media (min-width: 768px) {
    .navegacion__enlace {
        font-size: 1.8rem;
    }
}


/*  Contenido Principal  */
.contenido-principal {
    margin-top: 4rem;
}




/*  Footer  */
.footer {
    background-color: var(--verde);
    padding-top: 1rem;
    padding-bottom: 1rem;
    margin-top: 4rem;
}
.padd-footer {
    padding-top: 0rem;
}
@media (min-width: 900px) {
    .padd-footer {
        display: flex; 
        justify-content: space-between;
        align-items: center;
    }
}
.logo-footer {
    display: flex; 
    justify-content: center;
    align-items: center;
}
.logo-footer__imagen {
    min-width: 4rem;
    min-height: 4rem;
    width: 4rem;
    height: 4rem;
}
@media (min-width: 480px) {  
    .logo-footer__imagen {
        width: 6rem;
        height: 6rem;
    }
}
.texto-footer {
    text-align: center;
    font-size: 1.4rem;
    color: var(--blanco);
}


/* Index Noticiero */
.noticiero {
    margin: 3rem;
}
.noticias {
    padding: 3rem 0;
    border-bottom: 1px solid var(--gris);
}
.noticias:last-of-type {
    border:none;
}
.noticia {
    position: relative;
    height: 0px;
    width: 100%;   
    padding-bottom: 56.25%;
}
.video {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}




/* Galeria Carrousel  */
.carrousel {
    overflow-x: hidden;
}
.grande {
    width: 400%;
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: center;

    transition: all .5s ease;
    transform: translateX(0%);
}
.imagen-carrousel {
    width: calc( 100% / 4 );
    /* min-height: 50vh; //Esto hay que cambiar para ajustar
    max-height: 70vh; //Esto hay que cambiar para ajustar */
}
.puntos {
    padding: 0;
    width: 100%;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}
.puntos li {
    list-style-type: none;
}
.punto svg {
    fill: none;
}
.punto.activo svg{
    fill: red;
}




/*  Feria y ventas  */
.mapa {
    margin-top: 2rem;
}
.logoterapia {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 2rem;
}
@media (min-width: 480px) {
    .logoterapia {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        column-gap: 2rem;
    }
}
@media (min-width: 768px) {
    .logoterapia {
        display: grid;
        grid-template-columns: repeat(7, 1fr);
        column-gap: 2rem;
    }
}



/*  Sobre Nosotros  */
@media (min-width: 768px) {
    .sobre-nosotros {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 2rem;
    }
}



/*  Elaboraciones  */
.receta {
    padding: 3rem 0;
    border-bottom: 1px solid var(--gris);
}
@media (min-width: 768px) {
    .receta {
        display: grid;
        grid-template-columns: 1fr 2fr;
        column-gap: 2rem;
    }
}
.receta:last-of-type {
    border:none;
}
.receta__descripcion {
    font-weight: normal;
    text-align: justify;
}


/*  Fichas cerezas  */
@media (min-width: 768px) {
    .fichas-cerezas {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 2rem;
    }
}

.fichas-cerezas__texto {
    text-align: justify;
    border-bottom: 1px solid var(--gris);
}
.fichas-cerezas__texto:last-of-type {
    border:none;
}

        
