/*inicio*/

/* hoja de estilos app */

/* Header */

body {
    width: 320px;
    height: 800px;
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    
}


header {
    width: 100%;
    background: #3B8686;
}

#btn-menu {
    display: none;
}

header label {
    display: none;
    width: 30px;
    height: 30px;
    padding: 10px;
    border-right: 1px solid #fff; 
}

.menu ul {
    margin: 0;
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: flex-end;
}

.menu li {
    border-right: 1px solid #fff; 
}


.menu li:hover {
    background: rgba(0,0,0,0.3);
    
}
.menu li a {
    display: block;
    padding: 15px 20px;
    color: #fff;
    text-decoration: none;
    
}


header label:hover {
    cursor: pointer;
    background: rgba(0,0,0,0.3);
}




@media (max-width:1600px) {
    
header label  {
        display: block;
    }
.menu {
    position: absolute;
    background: #3B8686;
    width: 15%;
    margin-left: -70%;
    transition: all 0.5s;
}

.menu ul {
    flex-direction: column;
}
    
    .menu li {
        border-top: 1px solid #fff;
        
    }
    
    #btn-menu:checked ~ .menu {
        margin: 0;
 
}
    
}

.slider {
    width: 95%;
    margin: auto;
    overflow: hidden;
}

.slider ul {
    display: flex;
    padding: 0;
    width: 400%;
    animation: cambio 20s infinite;
    animation-direction: alternate;
}


.slider li {
    width: 100%
    list-style: none;
}


.slider img {
    width: 100%
}

@keyframes cambio {
    0% {margin-left: 0%;}
    20% {margin-left: 0%;}
    
    25% {margin-left: -100%;}
    45% {margin-left: -100%;}
    
    50% {margin-left: -200%;}
    70% {margin-left: -200%;}
    
    75% {margin-left: -300%;}
    100% {margin-left: -300%;}
    
}



article {
    text-align: center;
    font-size: 20px;
    margin: 10px;
}


.contenedor {
    width: 320px;
    height: 480px;
    border: 2px solid #fff;
    color: #fff;
    
    line-height: 100px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    
}

.item {
    
}

.uno {
    background: #045d97;
    width: 140px;
    height: 140px;
}

.dos {
    background: #86bcac;
    width: 140px;
    height: 140px;
    
}

.tres {
    background: #abd4a8;
    width: 140px;
    height: 140px;
    
    
}

.cuatro {
    background: #d9daa0;
    width: 140px;
    height: 140px;
}

.cinco {
    background: #d9daa0;
    width: 100%;
    height: 90px;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 30px;
    text-align: center
}


.siete {
    background: #86bcac;
    width: 100%;
    height: 90px;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 30px;
    text-align: center;
}

.siete a {
    text-decoration: none;
    
}


.texto {
    margin: 20px;
    text-align: center
                
    }
.texto h3 {
    color: #86bcac;
    font-size: 15px;
}

.texto p {
    color: dimgrey;
    font-size: 15px;
    font-family: ;
}


/* Footer */
footer{background-color:#ececec; 
    width: 290px;
    margin:0.5rem; 
    padding: 0.5rem;
    font-family: 'Pavanam', sans-serif;
    font-size: 0.8rem}


.test {margin: 2em 1em .2em 1em; display: flex; flex-direction: column; }
.test h1 {font-size: 1em; padding: 0 1em; color: #F5634A;}
.listapreguntas {font-size: .9em; color:dimgrey; }
.pregunta {margin-top: 1.5em;}
.pregunta ul {margin-top: .8em}

.resultado {display: flex; justify-content: center; align-items: center; margin-top: 2em; margin-bottom: 2em; align-self: center; width: 150px; 
     height: 50px;
     background: #ED303C;}
.resultado a {align-content: center; color:aliceblue}
.resultadosi {display: flex; flex-direction: column; justify-content: center; align-items: center; margin-top: 2em; margin-left: 1em; margin-right: 1em; color: dimgray}
.resultadosi img {width: 250px;}
.resultadosi h1 {text-align: center; font-size: 1.6em; color: #ED303C;}
.buscarayudaboton {display: flex; justify-content: center; align-items: center; margin-top: 2em; margin-bottom: 2em; align-self: center; width: 150px; 
     height: 40px;
     background: #FF9C5B;}
.buscarayudaboton a {align-content: center; color:aliceblue}