@charset "utf-8";

@import url('https://fonts.googleapis.com/css?family=Do+Hyeon');
@import url('https://fonts.googleapis.com/css?family=Lora');
@import url('https://fonts.googleapis.com/css?family=Roboto:500,700');



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

ul, li {
    list-style: none;
}

header,
footer {
    background-color: #12ac0b;
}

header {
    display: flex;
	flex-direction: row;
    justify-content: space-between;
    align-items: center;
	padding: .8em;
    height: 3em;
}

#logo {
    display: block;
    width: 40px;
}

h1 {
    font-family: 'Do Hyeon', sans-serif;
    font-size: 25px;
	line-height: 26px;
    color: #000000;
    text-align: center;
	max-width: 200px;
	margin: auto;
    text-transform: uppercase;
    text-shadow: -2px -3px 0px orange, 2px -3px 0px orange, -2px 3px 0px orange, 2px 3px 0px orange;
    padding-top: 15px;
}

header > ul > a {
    background-color: none;
    color: rgba(0, 0, 0, 0.75);
    text-decoration: none;
    font-weight: bold;
    font-size: 31px;
}

header > ul > a :hover {
    color: rgba(255, 255, 255);
	transition: all .3s;
}

/*-----------transicion de fotos-----------*/
.slider {
	width: ;
	margin: auto;
	overflow: hidden;
    margin-top: -1em;
    padding-top: 3em;
}



.slider ul {
	display: flex;
	padding: 0;
	width: 400%;
	animation: cambio 10s infinite alternate linear;
}

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

.slider img {
	width: 100%;
    height: 200px;
    
}

@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%;}
}


/*-------------responsive------*/


@media screen and (min-width: 32em) {

 main {
    background-color: #e9ffcf;
	flex-grow: 1; 
}

main > nav{
	background-color: #e9ffcf;
}

#menu2{
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

.navmenu2{
	display: block;
	text-decoration: none;
	text-transform: uppercase;
    background-color: green;
	font-size: 0.8rem;
    font-family: 'Roboto', sans-serif;
	color: white;
	text-align: center;	
	padding-top: 8px;
	height: 1.9rem;	
}

.navmenu2:hover{
	color: white;
	transition: all .3s;
	display: block;
	background-color: orange;
}   
    
main p {
    color: #0d4e0a; 
	font-family:'Roboto',sans-serif;
    margin: 20px;
    text-align: center;
}
   
    }

/*----------------menu-------------------------------------*/
header nav {
    background-color: rgba(0, 74, 59, 0.87);
    position: fixed;
    right: -75vw;
    top: 0;
    height: 100vh;
    min-width: 75vw;
    transition: all .6s ease;
    z-index: 999;
    font-family: 'Roboto', sans-serif;
}

header nav:target {
    right: 0;
}

.logoverde {
    text-align: center;
    font-size: 75%;
    padding: 3em 1em 1em 1em;
    border-bottom: solid 2px rgb(89, 121, 114);
}

.logoverde img {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    border: 4px solid green;
    box-shadow: 0 .35em .5em #12ac0b inset, 0 .35em .5em #12ac0b;
    padding: 5px;
    padding-bottom: 1px;
    padding-left: 3px;
}


div > img:hover {
    font-size: 15px; 
}


header nav a {
    color: white;
    display: block;
    padding: .5em 1em;
    text-align: center;
    text-decoration: none;
}

header nav a:hover {
    color: #26f726;
}

#out {
    position: absolute;
    right: 0;
    top: 0;
    font-size: 30px;
    padding-top: 10px;
    padding-right: 15px;

}

#out:hover {
    color: #26f726;
    font-size: 35px;
}

#ul1 {
    border-top: solid 2px rgb(89, 121, 114);
    border-bottom: solid 2px rgb(89, 121, 114);
    margin-top: 5px;
    line-height: 20px;
}

#ul2 {
    border-top: solid 2px rgb(89, 121, 114);
    border-bottom: solid 2px rgb(89, 121, 114);
    margin-top: 5px;
    line-height: 20px;
}

#ul3 {
	border-top: solid 2px rgb(89, 121, 114);
    margin-top: 5px;
    line-height: 20px;
}

/*----------------main----------------------------------------*/

main {
    background-color: #e9ffcf;
	flex-grow: 1; 
}

main > nav{
	background-color: #e9ffcf;
}

.navmenu2{
	display: block;
	text-decoration: none;
	text-transform: uppercase;
    background-color: green;
	font-size: 0.8rem;
    font-family: 'Roboto', sans-serif;
	color: white;
	text-align: center;	
	padding-top: 8px;
	height: 1.9rem;	
}

main p {
    color: #0d4e0a; 
	font-family:'Lora',sans-serif;
    margin: 20px;
    text-align: center;
}

li{
	flex-grow: 1;
}

h3 {
    font-family: 'roboto',sans-serif;
}

#cuerpo {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	height: 74vh;
}

#imgimg{
	flex-grow: 1;
	display: flex;
	align-items: center;
    
}

#medidor_general{
	display: block;
	height: 200px;
	width: 200px;
	
}

.cajas {
	display: flex;
	background-color: white;
	border: 1px solid rgb(190, 190, 190);
	width: 300px;
	margin: auto;
	margin: 25px 0;
	font-size: 13px;
	box-shadow: .0rem .3rem .5rem silver;	
}

.cajas2 {
	margin: 0px; 
	border-left: 1px solid rgb(201, 201, 201);
	padding: 0px;	
}

.cajas3 {
	border-bottom: 1px solid rgb(201, 201, 201);
    margin: 0px;
}

h3{
	padding:22px 15px;
}

.azul{
	color: blue;
}
.rojo{
	color: red;
}
.amarillo{
	color: #c6c600;
}
.verde{
	color:green;
}

span{
	margin-left: 5px
}

article p{
    font-family: 'Lora', sans-serif;
	color: darkgreen;
    margin: 15px;
    text-align: center;
    font-size: 0.8rem;
    
}
/*------------------registro--------------------------*/

form div label {
    
    display: flex;
    text-align: left; 
    padding: 0.3rem;
    margin: 0.4rem;
    font-family: 'Roboto', sans-serif;
    color: darkgreen;
}
#usuario {
    text-align: center;
    width: 200px;
    height: 20px;
    margin-left: 0.7rem;
}

#edad {
    width: 50px;
    height: 20px;
    margin-left: 0.7rem;
}

#fecha {
    text-align: center;
    width: 200px;
    height: 20px;
    margin-left: 0.7rem;
}

#pais {
    text-align: center;
    width: 200px;
    height: 20px;
    margin-left: 0.7rem;
}

#email {
    text-align: center;
    width: 200px;
    height: 20px;
    margin-left: 0.7rem;
}

#femenino {

    height: 20px;
    margin-left: 6rem;
   position: absolute;
}
#masculino {
    height: 20px;
    margin-left: 6rem;
   position: absolute;
}

textarea {
    width: 200px;
   height: 100px;
    margin-left: 0.7rem; 
    
}

#bases{
    
    height: 20px;
    margin-left: 14rem;
   position: absolute;
}

#deseo {
    
    height: 20px;
    margin-left: 19rem;
   position: absolute;
    
}
form button {
    display: flex;
    justify-content: center;
    border-radius: 20%;
    width: 150px;
    height: 60px;
    background-color: orange;
    box-shadow: 0 .35em .5em orange inset, 0 .35em .5em #12ac0b;
    margin: 20px;
    color: #0d4e0a;
    font-size: 25px;
    text-transform: uppercase;
    text-decoration: none;
    
}

#boton_enviar {

     font-family: 'Do Hyeon', sans-serif;
    font-size: 25px;
    color: #000000;
    text-align: center;
	max-width: 200px;
	margin-left: 140px;
    text-transform: uppercase;
    padding: 10px;
    background-color: orange;
    border-style: solid;
	height: 55px;
	border-radius: 15%;
    margin-top: 15px;
    margin-bottom: 15px;
    text-decoration: none;
}

#boton_enviar:hover{
	
	color: aliceblue;
}


/*------------------comida--------------------------*/


.leyenda{
	font-family: 'Lora', sans-serif;
	color: darkgreen;
	background-color: white;
	border: 1px solid rgb(190, 190, 190);
    box-shadow: .0rem .2rem .2rem silver;
	font-size: 13px;
	margin: 15px auto;
	text-align: center;
	width: 300px;	
    padding: 4px;
}


#calcular_comidas {
    display: flex;
    justify-content: center;
    margin-left: 50px;
    margin-top: 10px;
    margin-right: 50px;

}

#calcular_comidas > div > ul > div {
    display: flex;
    border-radius: 20%;
    width: 150px;
    height: 60px;
    max-width: 15em;
    max-height: 15em;
    border: 4px solid green;
    box-shadow: 0 .35em .5em #12ac0b inset, 0 .35em .5em #12ac0b;
    padding: 0px;
    margin-bottom: 10px;
    align-items: center;
    justify-content: center;
    font-family: 'Roboto', sans-serif;
    color: #0d4e0a;
}
*/
#a,
#b,
#c {
    border-style: none;
    background: none;
}

#b form div {
    flex-direction: column; 
}

#b form div input {
    
    display: flex;
    border-radius: 20%;
    width: 150px;
    height: 60px;
    max-width: 15em;
    max-height: 15em;
    border: 4px solid green;
    box-shadow: 0 .35em .5em #12ac0b inset, 0 .35em .5em #12ac0b;
    padding: 0px;
    margin-bottom: 10px;
    color: #0d4e0a;
    font-size: 25px;
}

#ordenar div p {
    font-family: 'Do Hyeon', sans-serif;
    font-size: 25px;
    color: #000000;
    text-align: center;
	max-width: 200px;
	margin: auto;
    text-transform: uppercase;
    padding: 10px;
    background-color: orange;
    border-style: solid;
	height: 55px;
	border-radius: 15%;
    margin-top: 15px;
    margin-bottom: 15px;
    text-decoration: none;
}

#ordenar div p:hover{
	
	color: aliceblue;
	
}


/*---------------resultados---------------*/

#fija_contenido{
	padding: 0;
	margin-left: 23px;
	width: 330px;
    height: 0px;
	
}

#ordena_contenido {
	
	margin-top: 20px;
	display: flex;
	flex-direction:row;
	justify-content:space-between;
   
	
}

#img_comida {
	border-style: none;
	display: block;
	position: absolute;
	width: 330px;
    margin-top: 80px;

}

#consejos{
	
	margin-bottom: 240px;
	align-items: center;
	justify-content: center;
	color: #0d4e0a;
	text-align: center;
}
	
#ayudanos{
	
	margin-bottom: 240px;
	align-items: center;
	justify-content: center;
	color: #0d4e0a;
	text-align: center;
}


section > li >a {
	
	display: flex;
	border-radius: 20%;
	width: 140px;
	height: 60px;
	max-width: 15em;
	max-height: 15em;
    border: 4px solid green;
	background-color: #edff11; 
	box-shadow: 0 .35em .5em #747e01 inset, 0 .35em .5em #12ac0b;
	padding: 0px;
	margin-bottom: 0px;
	align-items: center;
	justify-content: center;
    text-transform: uppercase;
	color: #0d4e0a;
	text-align: center;
	font-size: 15px;
	text-decoration:none;
}


#flechasig{
	font-size: 30px;
}


section li a p {
	
    font-family:'Roboto', sans-serif;
   
}

#section_img {
	border-style: none;
	padding: 0;
	background-color: aqua;
	
	flex-basis: 50%;
	

}


#consejos:hover{
	
	width: 145px;
	height: 65px;
	
}

#ayudanos:hover{
	
	width: 145px;
	height: 65px;
	
}

section > li:hover{
	
	width: 145px;
	height: 65px;
	
}



/*-------------------*/


#menu_bars {
    background-color: rgba(4, 39, 3, 0.87);
  /*  color: white; */
    
    position: fixed;
    left: -75vw;
    top: 0;
    height: 29vh;
    min-width: 49vw;
	margin-top: 330px;
    transition: all .6s ease;
    z-index: 999;  
    
}


#menu_bars:target {
    left: 0;
}

#ul_bars {
	
	border-top: solid 1px white;
	margin-top: 55px;
	line-height: 20px;
		
}

#ul_bars a {
	color: white;
    display: block;
    /*padding: .5em 1em;*/
    text-align: center;
    text-decoration: none;
	margin-top: 6px;
    font-family: 'Roboto', sans-serif;
}

#ul_bars a:hover {
    color: #26f726;
}


#bars_out {
    color: white;
    position: absolute;
    right: 0;
    top: 0;
	font-size: 30px;
	padding-bottom: 10px;
	padding-left: 15px;
	transform: rotate(-180deg);
	display: block;

}

#bars_out:hover{
	color: #26f726;
	font-size: 35px;
}







/*---------------*/


#menu_consejos {
    background-color: rgba(4, 39, 3, 0.87);
    
    position: fixed;
    left: -100vw;
    top: 0;
    width: 300px;
    height: 40vh;
    min-width: 100vw;
	margin-top: 220px;
    transition: all .6s ease;
    z-index: 999;  
  
}


#menu_consejos:target {
    left: 0;
}

#ul_consejos li {
	
	border-top: solid 1px #12ac0b;
	margin-top: 4px;
    margin-bottom: 4px;
	padding-top: 12px;
	line-height: 20px;
	color: white;
	text-align: center;
    font-family: 'Roboto', sans-serif;
    
}

#ul_consejos li p {
	margin-left: 8px;
    margin-right: 8px;
	margin-top: 50px;
	padding-top: 0px;
	line-height: 20px;
	color: white;
	text-align: center;
    font-family: 'Lora', sans-serif;
    font-size: 13px;
}

#bars_out1 {
    color: white;
    position: absolute;
    right: 0;
    top: 0;
	font-size: 30px;
	padding-bottom: 10px;
	padding-left: 15px;
	
	transform: rotate(-180deg);
	display: block;
	text-decoration: none;

}

#bars_out1:hover{
	color: #26f726;
	font-size: 35px;
}




/*-------*/




#menu_ayudanos {
    background-color: rgba(4, 39, 3, 0.87);
    position: fixed;
    right: -100vw;
    top: 0;
    height: 40vh;
    min-width: 100vw;
	margin-top: 220px;
    transition: all .6s ease;
    z-index: 999;
	
}


#menu_ayudanos:target {
    right: 0;

}


#bars_out2 {
   
    position: absolute;
    right: 0;
    top: 0;
	font-size: 30px;
	padding-top: 10px;
	padding-right: 15px;
	
	display: block;
	color: white;
	text-decoration: none;
	
}

#bars_out2:hover{
	color: #26f726;
	font-size: 35px;
}



#ul_ayudanos li{
	border-top: solid 1px #12ac0b;
	margin-top: 4px;
    margin-bottom: 4px;
	padding-top: 12px;
	line-height: 20px;
	color: white;
	text-align: center;
    font-family: 'Roboto', sans-serif;
	
}

#ul_ayudanos li p {
	margin-left: 10px;
	margin-top: 40px;
	padding-top: 0px;
	line-height: 20px;
	color: white;
	text-align: center;
    font-family: 'Lora', sans-serif;
    font-size: 13px;
}

#boton_registrarse{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	
	margin-top: 10px;
	
		
}

#boton_registrarse_a{
	text-decoration: none;
	color: white;
	display: block;
	border-style: solid;
	width: 30vw;
	height: 5vh;
	font-family: 'Roboto',sans-serif;
	margin-top: 15px;
	border-radius: 30%;
	background-color: #002c00;
	align-content: center;
	text-align: center;
}

#boton_registrarse_a:hover {
	color: #08e82a;
	font-size: 18px;
	width: 30vw;
	height: 5vh;
    text-align: center;

}

#boton_registrarse_a p {
	margin-top: 3px;
    color: white;
}
	
/*-----------redes sociales-------------*/


.redes {
    justify-content: center;
    
    
    }  
    .redes h3 {
    justify-content: center;
    text-align: center;
        color: orange;
        
    
    } 
 .redessociales {
        display: flex;
    justify-content: center;
     margin: 20px;
     color: black;
     font-size: 50px;
     text-decoration: none;
    }
/*
.nonenone {
    border-style: none;
    background: none;
}


#resultado_comidas {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    font-family: 'Ubuntu', sans-serif;
    text-transform: uppercase;
    margin-top: 400px;
    border-bottom: solid;

}


#resultado_comidas > div > ul > div {}

#c {
    font-family: 'Quicksand', sans-serif;
    color: green;
    font-size: 22px;
    padding-top: 9px;
}

.verde {
    background-color: #14be0d;
    padding-top: 13px;

}

.amarillo {
    background-color: yellow;
    padding-top: 13px;
}

.rojo {
    background-color: red;
    padding-top: 13px;
}



#botones_c_s {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 2px;
    margin-bottom: 30px;
    border-top: solid;

}



#botones_c_s div p {

    align-items: center;
    font-family: 'Dosis', sans-serif;
    text-transform: uppercase;
    color: white;
    margin-top: 8px;
    font-size: 1.5rem;

}

*/

.videocarbono {
    position: relative;
    margin: 0 auto;
    height: 0;
    padding-bottom: 56.25%;
}

.videocarbono iframe {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0px;
    left: 0px;

}

/*--------------ranking------------------------*/
.titulo_ranking {
	color: black;
}

table {
    display: flex;
    font-family: 'Roboto' , sans-serif;
    border-collapse: collapse;
    background-color: rgba(255, 165, 0, 0.44);
    margin: 10px;
    
}

td, th {
    border: 1px solid #dddddd;
    text-align: left;
    padding: 8px;
}

tr:nth-child(even) {
    background-color: orange;
}


/*--------------footer------------------------*/

footer {
	display: flex;
	align-items: center;
}

.footermenu {
    justify-content: center;
    
    
    }  
    
 .barramenu {
        display: flex;
    justify-content:center;
    align-content: center;
    align-items: center;
    padding-left: 20%;
    padding-right: 20%;
     color: white;
    }
    
footer > p {
    text-align: center;
    font-family: 'Lora', sans-serif;
    font-size: 0.6em;
    color: white;
	padding: 10px;
}

