* {
    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 / VISIÓN Y MISIÓN ----- */

.grid__container-fontpage {
    width: 100%;
    height: 60vh;
    background-image: url("../img/imagenes/Nosotros/Valores/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;
    }
}

/** SECTIONS - VALORES **/

.grid__container-valores{
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1150px 1fr;
    padding: 2rem 0;
}

@media screen and (max-width:1819px){
    .grid__container-valores {
        grid-template-columns: 1fr 60vw 1fr;
    }
}

@media screen and (max-width:900px){
    .grid__container-valores {
        grid-template-columns: 1fr 80vw 1fr;
    }
}

.grid-item-valores-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.flexbox__container-sections-valores {
    display: flex;
    justify-content: space-evenly;
    gap: 2rem;
}

@media screen and (max-width:1350px){
    .flexbox__container-sections-valores{
        flex-direction: column;
        align-items: center;
    }
}

.flex-item-sections-img {
    display: flex;
    flex-direction: column;
}

.img-sections {
    width: 500px;
    border-radius: 30px 30px 0 0;

}

@media screen and (max-width:900px){
    .img-sections {
        width: 100%;
    }
}

.link-sections-img {
    text-decoration: none;
    color: #ffffff;
    font-family: Garet_Book;
    font-size: 20px;
    background-color: #0c4028;
    display: grid;
    padding: 10px 0;
    text-align: center;
    border-radius:  0 0 30px 30px;
}

.flex-item-sections-text {
    font-family: Garet_Book;
    font-size: 18px;
    text-align: justify;
    text-wrap: pretty;
}

@media screen and (max-width:600px){
    .flex-item-sections-text {
        font-size: 15px;
    }
}

.title-sections {
    font-size: 30px;
    font-family: Garet_Book;
    color: #0c4028;
    text-decoration: double;
}

@media screen and (max-width:600px){
    .title-sections {
        font-size: 25px;
    }
}

.bold-text {
    color: #0c4028;
    text-decoration: double;
}

.ul-sections {
    padding-left: 1.3rem;
}

