/* ----------------------------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;
}

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;
}
header {
    width: 100%;
    background-color: #033A20;
}

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


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

.logoacumar img {
    width: 60%;
    padding: 0.5em;
}


/*---------MENU DESPLEGABLE-----------------*/


header .arriba a {display: flex ;
                 flex-direction: row;
                text-decoration: none;
                justify-content: center;
                align-items: center;
               }


.visible {    display: grid;
    justify-content: center;
    align-items: center;
    grid-template-columns: 40px 60px 50px 10px;
   
       }

header .arriba a i {font-size: 1.2em;
    padding: .1em;
    color: white;
   }
   header .arriba a:hover {background-color:#007745;
    color: #007745;
   }


/*

  





/*---------NOSOTROS INICIAR SESION Y PERFIL------------------*/
header {display: block;
    flex-direction: column;
    }

header .logoacumar {display: block;
                    
                    
                   }
.logoacumar a {display: flex;
    box-sizing: border-box;
                }

.logoacumar .perfilusuario {display: block;
                            justify-content: flex-end;
                            margin: auto;
                            padding: 1em;
                            
                    
                            }


.arriba li a p {font-weight: 100;
                font-stretch: expanded;}



.perfilusuario p {
                text-decoration: none;
                color: white;
                font-size: .2em;}


.relleno {width: 25%;}
/* ---------------------------- MENU CON LOS LINKS ---------------------------- */



header .cabeza {display: grid;
   grid-template-columns: auto auto auto;
   margin-bottom: 1em;
  }

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


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

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

h2 {
        text-align: center;
        
        text-transform: uppercase;
        font-weight: 700;
        font-size: 3vw;
        margin-bottom: 1.5vw;
        }
h2 {
            display: block;
            font-size: 3vw;
            margin-block-start: 0.83em;
            margin-block-end: 0.83em;
            margin-inline-start: 0px;
            margin-inline-end: 0px;
            font-weight: bold;
            align-items: center;
        }

h3 {
    text-align: center;
        
        text-transform: uppercase;
        font-weight: 700;
        font-size: 4vw;
        margin-bottom: 1.5vw;
        display: block;
            font-size: 1em;
            margin-block-start: 0.83em;
            margin-block-end: 0.83em;
            margin-inline-start: 0px;
            margin-inline-end: 0px;
            font-weight: bold;
            align-items: center;
}
h4 {
    text-align: center;
        
    text-transform: uppercase;
    font-weight: 800;
    font-size: 2vw;
}

/*-------------BOTONES-----------------------*/

.boton {        display: inline-block;
                background-color: rgb(85, 158, 221);
                font-size: 3vw;
                text-decoration: none;
                text-transform: uppercase;
                padding: .5em;
                margin: auto;
                margin-top: .5em;
                box-shadow:0px 3px 5px rgba(15, 15 , 15, .5) ;
               
            }

            




/* MAIN ACA */
main{max-width: 100%;
    display: block;
   
   }

/*-----HOME IMG PRIMER IMAGEN--------*/

.home {
        
        max-width: 100%;
        height: auto;
        display: block;
       
       
       box-shadow: 0px 3px 5px rgba(15, 15 , 15, .5);}

        

div figure picture .fondo {background-color: rgba(0,41,0,0.5);
                          color: white;
                          padding: .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 .home {display: block;
                }

div figure  {position: relative;
            overflow: hidden;
        }




/*----------------BOTON DE REGISTRARSE----------------*/


.registrate {
   
    color: white;
    background-color:  #007745;
    box-shadow:0px 3px 5px rgba(15, 15 , 15, .5) ;
}


/*---------------------DIV PARTICIPAR---------------------------*/
.participar {
            display: flex;
            flex-direction: column;
            align-items: center;
            border:#212121 1px solid;
            color: #033A20;
            margin: 1em;
            padding: .5em;
            
    
 
}

p {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}

.participaracumar {color: #033A20;}

.participar  p {  
    text-align: center;
    max-width: 90vw;
      font-size: 2vw;
    color: #033A20;
    margin-bottom: 9vw; }



/*-----------CURSOS SEMANALES-----------------------------*/

.cursoslider {


padding: .2em;
margin-top: .5em;
}

.cursossemanales{
                
                background-color: #e3e3e3;
                display: flex;
                flex-direction:column;
                justify-content: center;
                margin: auto;
                box-shadow:0px 3px 5px rgba(10, 10 , 10, .5);
               
                width: 100%;
            overflow: hidden;





}
.cursossemanales ul {
display: flex;

padding: 0%;
width: 300%;
animation: cambio 10s infinite;
animation-direction: alternate;
animation-timing-function: ease-in-out;
}
.cursossemanales li {
    width: 100%;
    list-style: none;
}


.cursossemanales ul .curso li .imgcurso {width: 80%;}
@keyframes cambio {
    0% {margin-left: 0;}
    30% {margin-left: 0;}

    40% {margin-left: -100%;}
    65% {margin-left: -100%;}

    70% {margin-left: -200%;}
    100% {margin-left: -200%;}

    
}


.titulocurso {
    font-size: 5vw;
    color: rgb(0, 0, 0);
}
.curso {
    font-size: 3vw;
   color: rgb(41, 77, 58) ;
    display: flex;
    flex-direction: column;
    text-align: center;
    border: rgb(41, 77, 58) solid 1px;
    margin: 10px;
    text-decoration: none;
    list-style: none;
    margin-block: 1em;
    padding: 1em;
    align-items: center;
 
}
.imgcurso {
            
            border-radius: .5em;
        }
            
.curso li .imgcurso {margin: auto;
                    object-fit: cover;
                    object-position: left center;
                    width: 60vmin;
                    height: 60vmin;
                    display: block;
                    }



.vermas {font-size: 3vw; 
    color: white;
    background-color:  #007745;
    box-shadow:0px 3px 5px rgba(156, 156, 156, 0.5)
}


/*------ OPINIONES DE NUESTROS ALUMNOS------------------------*/

.opiniones{
    
    color: #000000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 1em;
    margin: 1em;
    border: #000000 1px solid;

}
.usuarios {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 2vw;
    text-align: justify;
    padding: 2em;
    gap: 2em;
}
.usuario1,
.usuario2,
.usuario3 {
    color: black;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    width: 80vw;
    box-shadow:1px 1px 5px 2px rgba(204, 204, 204, 0.5);
    padding: 2em;
    margin-block: .5em;
}

.listaus {
    list-style:none;
}
.comunidad1 {
    text-align: center;
    text-transform: uppercase;
    text-align: center;
        
    text-transform: uppercase;
    font-weight: 800;
    font-size: 2vw;
}

.comunidad {
    color: #adadad;
    font-weight: 500;
    
    text-transform: uppercase;
}

.perfil {width: 20vw;
        border-radius: 50em;
        margin-block: 1em;

       }



/*---------PREGUNTAS FRECUENTES------------------------*/
.preguntas {padding: .5em;}
.menupreguntas a {
    color: white;
  text-decoration: none;
  transition: all 3s;

}

.menupreguntas .listpregunta 
{
   position: relative;
   
}

.submenu{
position: absolute;
visibility: hidden;
opacity: 0;
transition: opacity 1.5s;
}

.menupreguntas li a:hover .submenu {
    
    visibility: visible;
    opacity: 1;
}











.preguntas {
            margin-block: 1em;
             box-shadow:0px 3px 5px rgba(10, 10 , 10, .5);
           background-color: #212121;
            color: white;
            
            }
.titulopregunta { margin-block: .5em
                }

.frecuentes {
    color: white;
    display: flex;
    flex-direction: column;
    text-align: center;
    border: white solid 1px;
    margin: 10px;
    text-decoration: none;
    list-style: none;
  
    padding: 1em;
    align-items: center;

}

.autoridad {
    text-align: center;
    text-transform: uppercase;
    text-align: center;
    text-transform: uppercase;
    font-weight: 100;
    font-size: 2vw;
}

footer{
    width: 100%;
    background-color: #033A20;
}
.footer {
    padding: .5em;
    color: white;
    margin-top: 3em;
}
.contenidos {
    margin: auto;
    text-align: justify;
    margin-inline-start: 4em;
    margin-inline-end: 4em;
    font-size: .1em;
    padding: 2em;
    
    color: white;
    margin-bottom: .8em;
}

.dgpc {
    display: block;
    justify-items: center;
    justify-content: center;
    margin-top: 0.5em;}



@media (min-width: 600px){
    
    .logoacumar {font-size: 3em;
        width: 10em;
      padding: 0%;
      margin-bottom: 0;
    }

    header {flex-basis: 20%;
            display: flex;
            flex-direction: column;}
    header .header {width: 100%;
        margin-bottom: 0em;
                   }

    .perfilusuario {font-size: 2em;
                   gap: 3em;}
                   .visible {
                    display: grid;
                    justify-content: center;
                    align-items: center;
                    grid-template-columns: auto auto auto auto;}
    .menu {font-size: 2em;}

    .boton {        display: inline-block;
       width: 19%;
        font-size: 2vw;
        text-decoration: none;
        text-transform: uppercase;
        padding: .5em;
        margin: auto;
        margin-top: .5em;
        box-shadow:0px 3px 5px rgba(15, 15 , 15, .5) ;
        text-align: center;
    }                       
    

    h1,h2,h3,h4,h5 {font-size: 2vw;  }
    
    .participar {width: 80%; 
                margin: auto;
                padding: .5em;
                margin-top: 3em;
                margin-bottom: 3em;
                font-size: 1.5vw;
                }
    
    /*-----------OPINIONES DE LOS USUAIOS------------------*/
    .participar .textoparticipar {font-size: 1em;
                                    justify-content: center;
                                    margin-bottom: .5em; }
    
    .opiniones .comunidad1 {font-size: .5em;}

    .opiniones .usuarios {  font-size: 1vw;
                            display: flex;
                            flex-direction: row;
                        width: 80%;
                        margin: auto;
                        padding: .5em;
                        margin-block: .5em;
                        }
    .usuario1, .usuario2, .usuario3  {margin: .5em;}                  
    .usuarios .perfil {width: 50%;}

    .usuarios .comunidad {font-size: .8em;
                        font-family:sans-serif;
                        font-weight: bold;
                        }
    .usuarios .listaus {font-size: .5em;
                        }
                

    /*-----------PREGUNTAS FRECUENTES-----------------*/

    .preguntas {margin-inline-start:3em ;
                margin-inline-end: 3em;
                }
    .preguntas .navpreguntas {width: 70%;
                             margin: auto;}

    .navpreguntas .menupreguntas {width: 70%;
                                 margin: auto;
                                margin-bottom: .5em;}
    
    
     .listpregunta .tituloacumar {font-size: 1em;}  
     
     .listaus h4 {font-size: 3em;}

   


    /*------------------CURSOS SLIDER--------------------*/

    
    .titulocurso {padding: 0em;
                    margin-bottom: .5em;
                font-size: 2em;}
    .curso h3 {font-size: .5em;}
    .vermas {font-size: .5em;}
    

    .cursossemanales{
         width: 80%;       
        background-color: #e3e3e3;
        display: flex;
        
        justify-content: center;
        margin: auto;
        box-shadow:0px 3px 5px rgba(10, 10 , 10, .5);
       
        
    overflow: none;
   ;}
        .cursossemanales ul .curso li h3 {font-size: 1vw;}



   .curso {width:  100vw;}
    .cursossemanales ul {
        display: flex;
        padding: 0%;
        width: 100%;
        animation: none;
        animation-direction: alternate;
        animation-timing-function: ease-in-out;
        }

        .contenidos {margin-inline-start: 20em;
                margin-inline-end: 20em;}

                .curso li .imgcurso {margin: auto;
                    object-fit: cover;
                    object-position: left center;
                    width: 60vmin;
                    height: 30vmin;
                    display: block;
                    }

            .vermas {width: 50%;}

    .footer .contenidos {width:50%}
}

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

footer {
    display: flex;
    height: 10em;
    width: 100%;
    background-color: #033A20;
    margin-top: 25px;
}

.pie {
    display: flex;
    width: 90%;
    margin: auto;
    margin-bottom: 25px;
    padding: 25px;
}

.pie p {
    color: white;
    margin: auto;
    font-style: italic;
    font-weight: lighter;
}