@font-face {
    font-family: 'Playfair';
    /* El nombre que usarás para la fuente */
    src: url('/fonts/Playfair-VariableFont_opsz\,wdth\,wght.woff2') format('woff2');

    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'rail';
    /* El nombre que usarás para la fuente */
    src: url('/fonts/Raleway-VariableFont_wght.woff2') format('woff2');

    font-weight: normal;
    font-style: normal;
}

html {
    box-sizing: border-box;
    font-size: 62.5%;
    /*1 REM son 10px*/
}

*,
*:before,
*:after {
    box-sizing: border-box;
}



/**SELECTORES GLOBALES**/
a {
    text-decoration: none;
    color: #4e06ac;
}

img {
    max-width: 100%;
    display: block;
}

/**HEADER Y NAVEGACION**/
body {
    font-family: 'Playfair', sans-serif;
    font-size: 2rem;
    line-height: 2;
}

h1 {
    font-family: 'rail';
    font-size: 4em;
    color: #0a700a;
}

h1 span {
    color: #0707a3d0;
}

h2 {
    font-size: 3rem;
}

h3 {
    font-family: 'rail';
    font-size: 2rem;
}

/**UTILIDADES**/
.text-center {
    text-align: center;
}

.btn {
    background-color: #8cbc00;
    display: block;
    color: blanchedalmond;
    text-transform: uppercase;
    font-weight: 900;
    padding: 1rem;
    transition: background-color .3s ease-out;
}

.btn:hover {
    background-color: #06812f;
}

/**HEADER Y NAVEGACION**/
.nombre-sitio {
    padding: 1rem 0;
    text-align: center;
    line-height: 1;

}

.contenedor {
    width: 100%;

    padding: 10px;
}

.contenedor-navegacion {
    border-top: 1px solid blue;
    border-width: 2px;
}

.nav-principal {
    padding: 20px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;


}

.hero {
    background-image: url(../img/fondo1.png);
    height: 400px;
    background-size: cover;
    background-repeat: no-repeat;

}

.conteSN {
    width: 90%;
    padding: 0em 5em;
}

/** Categorias **/
.ambitos h2 {
    padding: 5, 250;
    text-align: center;
}

.hambito a {

    text-align: center;
    display: block;
    padding: 5px;
    font-size: 20px;

}

.hambito a:hover {
    background-color: #037bc0;
    color: white;
    border-radius: 20px;
}

.listado-ambito {
    justify-content: space-around;
    padding: 10, 250, 10, 250;
    display: flex;
    align-items: center;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/** bloque NOSOTROS**/
.sobre-nosotros {
    background-image: linear-gradient(to right, transparent 50%, #037bc0 50%, #037bc0 100%), url(../img/conteni9.jpg);
    padding: 2rem;
    background-repeat: no-repeat;
    background-size: 100%, 100rem;
}

.sobre-nostros-grid {
    display: flex;
    justify-content: flex-end;

}

.texto-nosotros {
    flex-basis: 50%;
    padding-left: 4rem;
    color: azure;
}

/**LISTADO DE CONTENIDOS**/
.contenido-principal {
    padding-top: 5rem;
}


.listado-conten {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    /** column-gap: 1rem;
    row-gap: 2rem;**/
    gap: 2rem;
}

.miconteni:nth-child(1) {
    /** grid-column: 1 / 7;**/
    grid-column-start: 1;
    grid-column-end: 7;
    display: grid;
    grid-template-columns: 3fr 1fr;
}

.miconteni:nth-child(1) img {
    height: 43rem;
    width: 100%;
    object-fit: cover;
}

.miconteni:nth-child(2) {
    /** grid-column: 1 / 4;**/
    grid-column-start: 1;
    grid-column-end: 4;
}

.miconteni:nth-child(2) img,
.miconteni:nth-child(3) img {
    height: 30rem;
    width: 100%;
    object-fit: cover;
}

.miconteni:nth-child(3) {
    /** grid-column: 4 / 7;**/
    grid-column-start: 4;
    grid-column-end: 7;
}

.miconteni:nth-child(4) {
    /** grid-column: 1 / 3;**/
    grid-column-start: 1;
    grid-column-end: 3;
}

.miconteni:nth-child(5) {
    /** grid-column: 3 / 5;**/
    grid-column-start: 3;
    grid-column-end: 5;
}

.miconteni:nth-child(6) {
    /** grid-column: 5/ 7;**/
    grid-column-start: 5;
    grid-column-end: 7;
}

.miconteni {
    background-color: #037bc0;
}



/**
.miconteni img {
    transition: transform .3s ease-out;
}

.miconteni img:hover {
    transform: scale(0.7);
}
**/
.texto-conteni {
    text-align: center;
    color: antiquewhite;
    padding: 2rem;
}

.texto-conteni :nth-child(1) h3 {
    padding-top: 30%;
}

.texto-conteni h3 {
    margin: 0;
}

.texto-conteni p {
    margin: 0 0 0.3rem 0;
}

.texto-conteni .titbre {
    font-size: 2.8rem;
    font-weight: 800;
}

/** Footer**/
.site-footer {
    border-top: 2px solid blueviolet;
    margin-top: 25px;
}

.grid-footer {
    /** display: flex;
    gap: 3rem;**/
    text-align: center;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

/**.grid-footer div {
    flex: 1;
}**/
.footer-menu a {
    display: block;
}

.par-final {
    text-align: center;
}