/* ----------------------------RESET---------------------------- */


html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
}


/* ---------------------------- ACÁ EMPIEZA MI PÁGINA ---------------------------- */

/* ---------------------------- HEADER ---------------------------- */

header {
    width: 100%;
    background-color: #033A20;
}


/* ---------------------------- LOGO ---------------------------- */

.logoacumar img {
    width: 30%;
    margin: 1em;
    margin-bottom: 2em;
}


/* ---------------------------- MENU CON LOS LINKS ---------------------------- */

.menu {
    display: flex;
    width: 100%;
    margin: auto;
    justify-content: center;
}

.menu ul {
    margin-bottom: 1em;
}

.menu ul li {
    display: inline;
    width: 33%;
}

.menu a {
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 900;
    font-size: 1em;
    padding: 1em;
}

.menu ul li:last-child > a {
    background-color: #007745;
    padding: 1em;
}



/* ---------------------------- NAVEGACION ---------------------------- */

.menunavegacion {
    display: flex;
    width: 100%;
    background-color: #007745;
}

.menunavegacion ul {
    margin: auto;
    padding-bottom: 1em;
    padding-top: 1em;
}

.menunavegacion ul li {
    display: inline;
    padding: 1em;
}

.menunavegacion a {
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 200;
    font-size: 1em;
    padding: .5em;
}
  



/* ---------------------------- GALERIA ---------------------------- */



.galeria {
    display: flex;
    margin-left: auto;
    margin-right: auto;
    flex-wrap: wrap;
    justify-content: center;
    width: 90%;
    margin-bottom: 2em;
}

.galeria figure {
    width: 100%;
    margin: .1em;
    position: relative;
    overflow: hidden;
}

.galeria h2 {
    font-size: 2rem;
    text-transform: uppercase;
    font-weight: 900;
    color:#033A20;
    margin-top: 1em;
    margin-bottom: .5em;
    width: 100%;
}

.galeria i {
    color: #033A20;
    font-size: 1em;
    font-weight: 900;
}

.galeria img {
    object-fit: cover;
    object-position: left center;
    width: 100%;
    display: block;
}

.galeria figcaption {
    background-color: rgba(0, 41, 0, 0.8);
    color: white;
    padding: 1.5em;
    line-height: 1.5em;
    text-transform: uppercase;
    font-weight: 800;
    position: absolute ;
    width: 100%;
    height: 100%;
    top: calc(100% - 4em) ;
    transition: all .4s ease;
}

.galeria figcaption span {
font-weight: 300;
width: 90%;
font-size: 1em;
text-transform: none;
}

.galeria figure:hover figcaption {
    background-color: rgba(0, 41, 0, 0.8);
    top: 0;
    transition: all .2s ease;
    display: flex;
    flex-direction: column;
    justify-content: center; 
}



@media screen and (min-width:630px) {
    .cursosrecomendados p {
        width: 90%;
    }
}

@media screen and (min-width:900px) {
    .galeria figcaption {
        font-size: 1.5em;
    }
}



/* ---------------------------- VIDEO ---------------------------- */

.video {
    width: 90%;
    margin-bottom: 5em;
    margin: auto;
}

.video h2 {
    color: #033A20;
    text-transform: uppercase;
    font-weight: 900;
    font-size: 1em;
    margin-bottom: 1em;
    padding-top: 2em;
}

.video p {
    color: #033A20;
    width: 90%;
    font-weight: 300;
    font-size: .9em;
    margin-bottom: 1.5em;
    line-height: 1.5em;
}

.video iframe {
    width: 100%;
    aspect-ratio: 16/9;
}

@media screen and (min-width:900px) {
    .video iframe {
        width: 100%;
        aspect-ratio: 16/9;
    }
}


/* ---------------------------- CURSOS RECOMENDADOS ---------------------------- */

.titulocursosrecomendados {
    color: #033A20;
    text-transform: uppercase;
    font-weight: 900;
    font-size: 1.5em;
    padding: 1.5em 0 1em 1.5em;
    margin: auto;
}

.cursosrecomendados {
    width: 90%;
    display: grid;
    grid-template-columns: auto auto;
    gap: 20px;
    margin-left: 1.8em;
}

.cursorecomendadouno {
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.25);
    justify-content: center;
}

.cursorecomendadouno:hover{
    transform: scale(1.05);
    box-shadow: 0px 10px 20px 2px rgba(0, 0, 0, 0.25);
  }

.cursorecomendadouno img{
    width: 85%;
    padding: 1em 1em .5em 1em;
}

.cursorecomendadouno h3 {
    font-weight: 900;
    font-size: 1em;
    color: #033A20;
    margin-left: 1em;
    margin-bottom: .5em;
    line-height: 1.2em;
}

.cursorecomendadouno h4 {
    font-weight: 500;
    font-size: 1em;
    color: #033A20;
    margin-left: 1em;
    margin-bottom: .5em;
}

.cursorecomendadouno p {
    font-weight: 300;
    font-size: 0.8em;
    color: #033A20;
    margin-left: 1.2em;
    margin-bottom: 1em;
    line-height: 1.5em;
}

.cursorecomendadouno h5 {
    font-weight: 100;
    font-size: .8em;
    margin-left: 1em;
    margin-bottom: .5em;
    color: #033A20;
}

.cursorecomendadouno h5 i {
    margin-right: .5em;
    font-size: 2em;
}

.cursorecomendadouno h6 {
    font-weight: 100;
    font-size: .8em;
    margin-left: 1em;
    margin-bottom: .5em;
    color: #033A20;
}

.cursorecomendadouno h6 i {
    margin-right: .5em;
    font-size: 2em;
    margin-bottom: .5em;
}




.cursorecomendadodos {
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.25);
    justify-content: center;
}

.cursorecomendadodos:hover{
    transform: scale(1.05);
    box-shadow: 0px 10px 20px 2px rgba(0, 0, 0, 0.25);
  }

.cursorecomendadodos img{
    width: 85%;
    padding: 1em 1em .5em 1em;
}

.cursorecomendadodos h3 {
    font-weight: 900;
    font-size: 1em;
    color: #033A20;
    margin-left: 1em;
    margin-bottom: .5em;
    line-height: 1.2em;
}

.cursorecomendadodos h4 {
    font-weight: 500;
    font-size: 1em;
    color: #033A20;
    margin-left: 1em;
    margin-bottom: .5em;
}

.cursorecomendadodos p {
    font-weight: 300;
    font-size: 0.8em;
    color: #033A20;
    margin-left: 1.2em;
    margin-bottom: 1em;
    line-height: 1.5em;
}

.cursorecomendadodos h5 {
    font-weight: 100;
    font-size: .8em;
    margin-left: 1em;
    margin-bottom: .5em;
    color: #033A20;
}

.cursorecomendadodos h5 i {
    margin-right: .5em;
    font-size: 2em;
}

.cursorecomendadodos h6 {
    font-weight: 100;
    font-size: .8em;
    margin-left: 1em;
    margin-bottom: .5em;
    color: #033A20;
}

.cursorecomendadodos h6 i {
    margin-right: .5em;
    font-size: 2em;
    margin-bottom: .5em;
}






.cursosrecomendadosuno {
    width: 90%;
    display: grid;
    grid-template-columns: auto auto;
    gap: 20px;
    margin: 3em 0 3em 1.8em;
}


.cursorecomendadotres {
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.25);
    justify-content: center;
}

.cursorecomendadotres:hover{
    transform: scale(1.05);
    box-shadow: 0px 10px 20px 2px rgba(0, 0, 0, 0.25);
  }

.cursorecomendadotres img{
    width: 85%;
    padding: 1em 1em .5em 1em;
}

.cursorecomendadotres h3 {
    font-weight: 900;
    font-size: 1em;
    color: #033A20;
    margin-left: 1em;
    margin-bottom: .5em;
    line-height: 1.2em;
}

.cursorecomendadotres h4 {
    font-weight: 500;
    font-size: 1em;
    color: #033A20;
    margin-left: 1em;
    margin-bottom: .5em;
}

.cursorecomendadotres p {
    font-weight: 300;
    font-size: 0.8em;
    color: #033A20;
    margin-left: 1.2em;
    margin-bottom: 1em;
    line-height: 1.5em;
}

.cursorecomendadotres h5 {
    font-weight: 100;
    font-size: .8em;
    margin-left: 1em;
    margin-bottom: .5em;
    color: #033A20;
}

.cursorecomendadotres h5 i {
    margin-right: .5em;
    font-size: 2em;
}

.cursorecomendadotres h6 {
    font-weight: 100;
    font-size: .8em;
    margin-left: 1em;
    margin-bottom: .5em;
    color: #033A20;
}

.cursorecomendadotres h6 i {
    margin-right: .5em;
    font-size: 2em;
    margin-bottom: .5em;
}



.cursorecomendadocuatro {
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.25);
    justify-content: center;
}

.cursorecomendadocuatro:hover{
    transform: scale(1.05);
    box-shadow: 0px 10px 20px 2px rgba(0, 0, 0, 0.25);
  }

.cursorecomendadocuatro img{
    width: 85%;
    padding: 1em 1em .5em 1em;
}

.cursorecomendadocuatro h3 {
    font-weight: 900;
    font-size: 1em;
    color: #033A20;
    margin-left: 1em;
    margin-bottom: .5em;
    line-height: 1.2em;
}

.cursorecomendadocuatro h4 {
    font-weight: 500;
    font-size: 1em;
    color: #033A20;
    margin-left: 1em;
    margin-bottom: .5em;
}

.cursorecomendadocuatro p {
    font-weight: 300;
    font-size: 0.8em;
    color: #033A20;
    margin-left: 1.2em;
    margin-bottom: 1em;
    line-height: 1.5em;
}

.cursorecomendadocuatro h5 {
    font-weight: 100;
    font-size: .8em;
    margin-left: 1em;
    margin-bottom: .5em;
    color: #033A20;
}

.cursorecomendadocuatro h5 i {
    margin-right: .5em;
    font-size: 2em;
}

.cursorecomendadocuatro h6 {
    font-weight: 100;
    font-size: .8em;
    margin-left: 1em;
    margin-bottom: .5em;
    color: #033A20;
}

.cursorecomendadocuatro h6 i {
    margin-right: .5em;
    font-size: 2em;
    margin-bottom: .5em;
}


@media screen and (min-width:630px) {
    .cursosrecomendados p {
        width: 90%;
    }
}


@media screen and (min-width:900px) {
    .titulocursosrecomendados {
        color: #033A20;
        text-transform: uppercase;
        font-weight: 900;
        font-size: 2em;
        margin-bottom: -0.5em;
        margin-left: 1em;
    }
}


@media screen and (min-width:900px) {
    .cursosrecomendados {
        width: 90%;
        margin-top: 3em;
        margin-bottom: 3em;
    }
}

@media screen and (min-width:900px) {
    .cursosrecomendadosuno {
        margin-left: -0.4em;
    }
}


@media screen and (min-width:900px) {
    .cursoscursos {
        width: 100%;
        display: grid;
        gap: 10px;
        grid-template-columns: auto auto auto auto;
    }
}


/* ---------------------------- FOOTER ---------------------------- */

footer {
    height: 7em;
    width: 100%;
    background-color: #033A20;
    background-image: url(../imagenes/lectura1.jpg);
    background-size: 100%;
}

.fotofooter {
    padding-top: 1.5em;
}