* {
    box-sizing: border-box;
}

body {
    font-family: sans-serif;
}

body, div, ul, nav, header, footer, a, li, label, h1, h2 {
    margin: 0;
    padding: 0;
}

/** HEADER - FOOTER **/

.header-box {
    position: sticky;
    top: 0;
    z-index: 2;
}

.footer-box {
    z-index: 2;
}

/* ----- FONT PAGE / PRIMARIA BAJA ----- */

.grid__container-fontpage {
    width: 100%;
    height: 60vh;
    background-image: url("../img/imagenes/Propuesta-Educativa/Primaria_Baja/portada.webp");
    background-size: cover;
    background-position: center center;
    display: grid;
    grid-template-columns: 1fr 1150px 1fr;
}

@media screen and (max-width:1819px){
    .grid__container-fontpage {
        grid-template-columns: 1fr 60vw 1fr;
    }
}

@media screen and (max-width:900px){
    .grid__container-fontpage {
        grid-template-columns: 1fr 80vw 1fr;
    }
}

.grid-item-fontpage {
    background-color: #0000006c;
}

.grid-item-fontpage-content {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #0000006c;
    z-index: 1;
}

.title-fontpage {
    font-size: 80px;
    font-family: League_Spartan_Regular;
    color: #ffffff;
    text-align: center;
    z-index: 2;
}

@media screen and (max-width:600px){
    .title-fontpage {
        font-size: 45px;
    }
}

/** ----- TITLE - TEXT - PRIMARIA BAJA ----- **/

.grid__container-title-text-primariabaja {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1150px 1fr;
    padding: 2rem 0;
    background-color: #faf0cb;
}

@media screen and (max-width:1819px){
    .grid__container-title-text-primariabaja {
        grid-template-columns: 1fr 60vw 1fr;
    }
}

@media screen and (max-width:900px){
    .grid__container-title-text-primariabaja {
        grid-template-columns: 1fr 80vw 1fr;
    }
}

.grid-item-title-text-primariabaja-content {
    width: 100%;
    display: flex;
    flex-direction: column;
}

/** TITLE - PRIMARIA BAJA **/

.flexbox__container-title-primariabaja {
    width: 100%;
    display: flex;
    justify-content: left;
    padding-bottom: 2rem;
}

.flex-item-title-primariabaja {
    width: 70%;
}

@media screen and (max-width:1400px){
    .flex-item-title-primariabaja {
        width: 90%;
    }
}

@media screen and (max-width:1082px){
    .flex-item-title-primariabaja {
        width: 100%;
    }
}

.title-primariabaja {
    font-family: Garet_Book;
    font-size: 25px;
    text-align: left;
    text-wrap: pretty;
    text-decoration: double;
    color: #0c4028;
}

@media screen and (max-width:600px){
    .title-primariabaja {
        font-size: 20px;
    }
}

/** TEXT - PRIMARIA BAJA **/

.flexbox__container-img-text-primariabaja {
    width: 100%;
    display: flex;
    padding: 2rem 0;
    gap: 1rem;
}

@media screen and (max-width:1400px){
    .flexbox__container-img-text-primariabaja {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
}

.flex-item-primariabaja-img {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.img-primariabaja {
    width: 500px;
    border-radius: 30px;
}

@media screen and (max-width:835px){
    .img-primariabaja {
        width: 100%;
    }
}

.text-primariabaja {
    font-family: Garet_Book;
    font-size: 18px;
    text-align: justify;
    text-wrap: pretty;
    margin: 0;
}

@media screen and (max-width:600px){
    .text-primariabaja {
        font-size: 15px;
    }
}

/** ----- CHARACTERISTICS - PRIMARIA BAJA ----- **/

.grid__container-characteristics-primariabaja {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1150px 1fr;
    padding: 1rem 0;
}

@media screen and (max-width:1819px){
    .grid__container-characteristics-primariabaja {
        grid-template-columns: 1fr 60vw 1fr;
    }
}

@media screen and (max-width:900px){
    .grid__container-characteristics-primariabaja {
        grid-template-columns: 1fr 80vw 1fr;
    }
}

.grid-item-characteristics-primariabaja{
    width: 100%;
}

.flexbox__container-characteristics-primariabaja {
    width: 100%;
    display: flex;
}

.flex-item-characteristics-primariabaja{
    display: flex;
    justify-content: center;
    width: 100%;
}

.img-characteristics {
    width: 800px;
}

@media screen and (max-width:1335px){
    .img-characteristics {
        width: 100%;
    }
}

/** CAMBRIDGE **/

/** TITLE - CAMBRIDGE **/

.grid__container-title-cambridge-section {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1150px 1fr;
    background-color: #efefef;
    padding: 2rem 0;
}

@media screen and (max-width:1919px) {
    .grid__container-title-cambridge-section {
        grid-template-columns: 1fr 60vw 1fr;
    }
}

@media screen and (max-width:900px) {
    .grid__container-title-cambridge-section {
        grid-template-columns: 1fr 80vw 1fr;
    }
}

.grid-item-title-cambridge-section-content {
    width: 100%;
}

.title-cambridge {
    font-size: 25px;
    font-family: Garet_Book;
    color: #0c4028;
    font-weight: bold;
}

@media screen and (max-width:600px){
    .title-cambridge {
        font-size: 20px;
    }
}

/** TEXT - CAMBRIDGE **/

.grid__container-img-text-cambridge-section {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1150px 1fr;
    background-color: #efefef;
    padding: 1rem 0;
}

@media screen and (max-width:1919px) {
    .grid__container-img-text-cambridge-section {
        grid-template-columns: 1fr 60vw 1fr;
    }
}

@media screen and (max-width:900px) {
    .grid__container-img-text-cambridge-section {
        grid-template-columns: 1fr 80vw 1fr;
    }
}

.grid-item-img-text-cambridge-section {
    width: 100%;
}

.flexbox__container-img-text-cambridge-section {
    width: 100%;
    display: flex;
    gap: 2rem;
    justify-content: space-between;
}

@media screen and (max-width:1450px){
    .flexbox__container-img-text-cambridge-section {
        flex-direction: column;
        align-items: center;
    }
}

.flex-item-img-cambridge-section {
    display: flex;
    align-items: center;
}

.img-cambridge {
    width: 400px;
}

@media screen and (max-width:500px){
    .img-cambridge {
        width: 100%;
    }
}

.text-cambridge {
    font-family: Garet_Book;
    font-size: 18px;
    text-align: justify;
}

@media screen and (max-width:600px){
    .text-cambridge {
        font-size: 15px;
    }
}

.text-bold {
    color: #0c4028;
    text-decoration: double;
}