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

*{box-sizing: border-box;}
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: 1em;
}


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

.menu {
    display: flex;
    margin: auto;
    box-sizing: border-box;
    width: 100%;
}

.menu ul {
    
    display: flex;
    width: 100%;
    justify-content: space-between;
    box-sizing: border-box;
    margin: auto;
    text-align: center;
}

.menu ul li {
    display: inline;
width: 100%;

}

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

.menu ul li:first-child > a {
    border-radius: 0.1em;
    background-color: #007745;
    padding: 0.1em 0.5em;

}



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

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

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



.menunavegacion a {
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-size: .8em;
}

.menunavegacion li:last-child > .colaboro {
font-weight: 900;
}


/*------------------LOGROS---------------*/
main .cursosrecomendadostodos {
    margin: auto;
    width: 90%;
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    gap: 1em;
}
main .atras  {
    font-size: .9em;
    color: #033A20;
    margin-left: 0.5em;
    margin-top: 0.1em;
    text-decoration: none;
}
main a {text-decoration: none;}

main a .atras .material-symbols-outlined {    font-size: 1em;}

main .titulo {    color: #033A20;
    text-decoration: none;
    font-size: .8em;
    padding: 0.5em;
    margin-inline-start: 1em;}

h1{ color: #033A20;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 900;
    font-size: 2em;
    /* padding: 0.3em; */
    margin-inline-start: 0.5em;;}

.cursosrecomendados {
    padding: 0em;
    width: 95%;
    margin: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    justify-items: center;
    gap: 1em;
    border-radius: .5em;
    margin-bottom: 1em;
    }
    .fondo{font-size: .6em;}
   .ecojpg{ 
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
}
    div figure picture .fondo {
    box-sizing: border-box;
    background-color: rgba(0,41,0,0.5);
    color: white;
    padding: 0.5em;
    line-height: 1em;
    text-transform: uppercase;
    font-weight: 700;
    transition: all 1s ease;
    position: absolute;
    width: 100%;
    height: 100%;
    top: calc(100% - 1.5em);
    display: flex;
    flex-direction: column;
    }
    
    div  figure:hover picture .fondo {background-color:rgba(0,60,60,.5);
    top:0;
    transition: all .8s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    
    }
    
    
    
    
    
    
    
    div figure picture .fondo span {font-weight: 400;
    }
    
    picture .ecojpg {display: block;
    }
    
    div figure  {   
    box-shadow: 0px 0px 4px 2px;
    border-radius: 0.5em;
    position: relative;
    overflow: hidden;
    }
    
    
    
    /*.cursorecomendadouno:hover{
    transform: scale(1.05);
    box-shadow: 0px 10px 20px 2px rgba(0, 0, 0, 0.25);
    }*/
    
    div figure picture img{
    width: 90%;
    
    }
    
    .ecojpg {width: 100%;
        aspect-ratio: 1/1;
        object-fit: cover;
    }
    
    .cursosrecomendados figure picture h5 {
        align-items: center;
    }
    
    .cursosrecomendados h4 {
    font-weight: 500;
    font-size: 1em;
    color: #ffffff;
    margin-left: 1em;
    margin-bottom: 1em;
    }
    
    .cursosrecomendados p {
    font-weight: 300;
    font-size: .7em;
    color: #ffffff;
    margin-left: 1em;
    margin-bottom: 1em;
    line-height: 1.5em;
    }
    
    .cursosrecomendados h5 {
    font-weight: 400;
    font-size: .7em;
    margin-left: 1em;
    margin-bottom: .5em;
    color: #ffffff;
    }
    
    .cursosrecomendados h5 i {
    margin-right: .5em;
    font-size: 2em;
    }
    
    .cursosrecomendados h6 {
    font-weight: 400;
    font-size: .7em;
    margin-left: 1em;
    margin-bottom: .5em;
    color: #ffffff;
    }
    
    .cursosrecomendados h6 i {
    margin-right: .5em;
    font-size: 2em;
    margin-bottom: .5em;
    }

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

footer {
    display: flex;
    
    width: 100%;
    background-color: #033A20;
    margin-top: .5em;
    }
    
    .pie {
    display: flex;
    width: 90%;
    margin: auto;
    margin-bottom: 1em;
    padding: 2em;
    font-size: 2vw;
    }
    
    .pie p {
    color: white;
    margin: auto;
    font-style: italic;
    font-weight: lighter;
    }
    
    .parrafoacumar {color: #033A20;
    
    
    font-weight: 400;
    text-transform: uppercase;
    padding: 1.5em 0 1em 0;
    font-size: 2vw;
    width: 80%;
    margin: auto;
    font-style: italic;}



@media(min-width:600px)

{   .fondo {font-size: 1em;}
    main .cursosrecomendadostodos{

        
    margin: auto;
 display: grid;
 grid-template-columns: auto auto;  
 
gap: 2em;
justify-content: center;
align-items: center;
justify-items: center;

}
main .titulo {font-size: 1em;}
h1 {font-size: 3em;}
main {box-sizing: border-box;
display: block;
width: 100;}

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



.menunavegacion a {  color: white;
text-decoration: none;
text-transform: uppercase;
font-size: 1.5em;}
}


