*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.4;
    font-family: Raleway;
}
body{
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 4em;
}
main{
    flex-grow: 1;
    padding: 1em;
}



/* menu de arriba */

header{
    background-color: #FFE7AB;
    display: flex;
    position: sticky;
    top: 0;
    width: 100%vw;
    height: 4em;
    align-items: center;
    justify-content: space-between;
    z-index: 9998;
    box-shadow: 0 2px 4px silver; 
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

header div{
    position: relative;
}

header .divlogo{
    flex-grow: 1;
}

#logo{
    height: 3em;
    margin-left: .5em;
    float: left;
    flex-grow: 1;
}

header i img{
    height: 1.8em;
    cursor: pointer;
    margin-right: .4em;
    margin-top: .3em
}

.input{
    width: 0vw;
    position: absolute;
    right: 50%;
    top: -1em;
    outline: none;
    background: rgb(255, 218, 124);
    border: white;
    border-radius: 10px;
    height: 2em;
    z-index: 9990;
    transition: all 0.5s ease;
    color: white;
    font-size: 1.2em;
}

#lupa {
    margin-left:0.4em;
    padding-left:0.4em;
    padding-right:0.4em;
}

.abierto{
    width: 59vw;
    padding: 0 10px;
    position: absolute;
    right: 50%;
    top: -1em;
    transition: all 0.5s ease;
}

header nav ul {
    background-color: #FFE7AB;
    list-style-type: none;
    box-shadow: -2px -2px 4px silver;
    border-top-left-radius: 20px;
    position: fixed;
    left: 110%;
    top: 0;
    height: 100vh;
    width: 50%;
    z-index: 9990;
    padding-top: 4em;
    transition: all .5s ease;
}

header nav a {
    color: #ed2323;
    padding: .5em 1em;
    text-decoration: none;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    cursor: pointer; 
}

header nav a:hover {
    background-color: #ffda7c;
}

.active{
    background-color: rgb(255, 218, 124);
}

/* "botones" que muestran u ocultan el menu */
/* se oculta la "casilla de verificación" */
header [type="checkbox"]:not(:checked), header [type="checkbox"]:checked {
    display: none;
}

#menulateral ul img{
    height: 1.5em;
    right: 2vw;
    margin-right: .5em;
}

header nav label{
    cursor: pointer;
    padding: .5em;
    position: relative;
    z-index: 9997;
}

  /* qué "botón" se muestra */
#menu-toggle:not(:checked) + #llamamenu,
#menu-toggle:checked + #llamamenu + #ocultamenu {
    display: flex;
}

  /* qué "botón" se oculta */
#menu-toggle:checked + #llamamenu,
#menu-toggle:not(:checked) + #llamamenu + #ocultamenu {
    display: none;
}

#menu-toggle:checked + #llamamenu + #ocultamenu + ul {
    /* el menú se muestra corriéndose a la izquierda*/
    left: 50%;
    transition: all .5s ease;
}

/* el boton de cerrar sesion */
#myBtn{
    color: #ed2323;
    padding: .5em 1em;
    text-decoration: none;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    cursor: pointer; 
    font-size: 1em;
    width: 100%;
    background: none;
    border: none;
    outline: none;
}

#myBtn:hover{
    background-color: #ffda7c;
}


/* The Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: no;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    box-shadow: 2px 2px 4px silver inset;
    border-radius: 20px;
    width: 80%;
}
.modal-content p{
    font-size: 1.5em;
    margin-bottom: 1em;
}

.botones1{
    display: flex;
    flex-basis: 50%;
}

.close{
    color: black;
    background-color: white;
    border-color: silver;
    border-style: solid;
    border-width: 2px;
    border-radius: 10px;
    padding: .5em;
    font-size: 1.4em;
    max-height: 3em;
    cursor: pointer;
    align-self: flex-start;
    margin-right: .5em;
    text-align: center;
    flex-basis: 50%;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
    background-color: silver;
    outline: none;
}



/* menu de abajo*/

.contenedor{
    position: fixed;
    bottom: 0;
    width: 100vw;
    z-index: 9998;
    background-color: #FFE7AB;
    box-shadow: 0 -2px 4px silver; 
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
#menuinferior{
    display: flex;
    list-style-type: none;
    justify-content: space-between;
}
#menuinferior li{
    list-style-type: none;
/*    flex-basis: 20%; */
    flex-grow: 1;
}
#menuinferior li:hover{
    background: #ffda7c;
}
#menuinferior li a{
    display: flex;
    width: 100%;
    padding: .8em;
    justify-content: center;
}
#menuinferior li img{
    width: 2em;
}



/* video */

video{
    height: 100vh;
    width: auto;
}
#video{
    height: 100vh;
    padding-bottom: 0;
    background: #FFE7AB;
}



/* inicio sesion */

.inicio {
    display: flex;
    flex-direction: column;
    background-color: #FFE7AB;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

.inicio h1 {
    color: #FF0000;
}

.inicio h3 {
    color: black;
    text-align: center;
}
    
.inicio img {
    width:5em;
}

.inicio form {
    display:flex;
    flex-direction: column;
    margin-top: 1em;
    margin-bottom: 1em;
}

.inicio a{
    color: black;
}

#inicioredes{
    margin-bottom: 1em; 
}

#inicioredes ul{
    display:flex;
    flex-direction: row;
    list-style-type: none;
    align-items: center;
    justify-content: space-evenly;
}

#inicioredes img:hover{
    border-radius: 5px;
    box-shadow: 1px 1px 4px silver;
}

#inicioredes img{
    width:2em;
    border-radius: 5px;
}
.iniciosesion{
    border-color: rgb(255, 218, 124);
    border-style: solid;
    border-width: 2px;
    border-radius: 10px;
    padding: .5em;
    font-size: 1em;
    margin-bottom: .5em;
}
.iniciosesion:focus{
    outline: none;
    box-shadow: 0px 0px 4px silver inset;
}
.ingresar{
    margin-top: 1em;
    color: black;
    background: rgb(255, 218, 124);
    border-color: rgb(255, 218, 124);
    border-style: solid;
    border-width: 2px;
    border-radius: 10px;
    padding: .5em;
    font-size: 1.5em;
    cursor: pointer;
    box-shadow: 1px 1px 4px silver;
}
.ingresar:focus{
    outline: none;
}
.ingresar:active{
    background-color: rgb(255, 218, 124);
    box-shadow: 1px 1px 4px silver inset;
}



/* pagina ppal actividades */

.act{
    display: flex;
    width: 90vw;
    justify-content: space-between;
    margin: 2em 0;
}
.act .icono{
    margin-right: .5em;
    width: 20%;
    max-height: 10em;
}
.act>div{
    flex-grow: 1;
    width: 80%;
}
.nombre-fav{
    display: flex;
    justify-content: space-between;
}
.fav,
.like{
    background: none;
    border: none;
    cursor: pointer;
}
.fav img, 
.like img{
    width: 2em;
}

.like{
    display: none;
}

.act p{
    font-size: 1.2em;
}

.botones{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: .4em;
}

.cuadrado:visited, .cuadrado:link, .cuadrado1:visited, .cuadrado1:link {
    text-decoration: none;
    color: black;
    border-color: rgb(255, 218, 124);
    border-style: solid;
    border-width: 2px;
    border-radius: 10px;
    padding: .5em;
    font-size: 1.4em;
    max-height: 3em;
    cursor: pointer;
    align-self: flex-end;
    text-align: center;
}

.cuadrado:active{
    background-color: rgb(255, 218, 124);
    box-shadow: 1px 1px 4px silver inset;
}

.cuadrado1:active{
    background-color: rgb(255, 218, 124);
}

.cuadrado1{
    flex-grow: 1;
}


/* favoritas */

.deporte{
    display: flex;
    background: white;
    padding: 1em;
    border-radius: 20px;
    height: 8em;
    width: 80%;
    align-self: center;
    justify-content: center;
}

.deporte img{
    width: 6em;
    vertical-align: middle;
    margin: 0 .5em;
    max-height: 5em;
}
.deporte ul{
    display: flex;
    align-items: center;
    list-style-type: none;   
    font-size: 1.2em;
}

.combinacion{
    display: flex;
    background-color: rgb(255, 218, 124); 
    flex-direction: column;
    justify-content: center;
    vertical-align: middle;
    align-items: center;
    margin: 1em 0;
    border-radius: 20px;
    padding: 1em;
}



/* deporte */

#deporte #foto {
    width: 100%;
    height: auto;
    border-radius: 20px;
    margin-bottom: 1em
}
#deporte h1,
#deporte p{
    margin-bottom: 1rem;
}
#deporte .cuadrado{
    display: flex;
    justify-content: center;
}



/* anotarse */

#anotarse {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

#anotarseicon {
    max-width: 10em;
    margin-left: 1em;
}

#acthorarios ul,
#anotarseinfo ul{
    list-style-type: none;
}

#acthorarios {
    margin-top: 1.5em;
}

#acthorarios li{
    padding-top: 1em;
}

#acthorarios>span{
    padding-top: 2em;
    display: flex;
    justify-content: center;
}



/* salud-evolucion */

.actsalud{
    background-color: #FFE7AB;
    border-radius: 10px;
    display: flex;
    flex-wrap: wrap;
    width: 90vw;
    margin: 1em 0;
    padding: 1em
}

.actsalud .icono{
    margin-right: 1em;
    margin-left: 1em;
    width: 10vw;
    
    }

.actsalud>div{
    flex-grow: 2;
    width: 80%;
}

.actsalud .nombre-fav{
    display: flex;
    justify-content: space-between;
    
}

.actsalud ul{
list-style-type: none;
}

.progreso{
    display: flex;
    flex-wrap: wrap;
    list-style-type: none;
    justify-content: center;
}

.progreso img{
    width: 90%;
    display: flex;
    flex-wrap: wrap;
    margin: 0.5em;

}
.rec{
    width: 50%;
}



/* agenda */

.mis-act{
    padding: 10px;
    color: black;
}
#misem{
    display: flex;
    width: 100%;
}
#misem span{
    width: 15%;
    padding-top: 1em;
}
.mias{
    display: flex;
    flex-grow: 1;
    width: 85%;
    flex-wrap: wrap;
}
.mias img{
    width: 4em;
    vertical-align: middle;
    margin: 0 .5em;
    flex-grow: 2;
}
.mias ul{
    display: flex;
    align-items: center;
    width: 100%;
    background: #FFE7AB;
    margin: 0 .2em;
    padding: .5em;
    border-radius: 20px;
/*    flex-grow: 1;*/
    margin-bottom: .5em;
    height: 5em;
}
.nomias{
    background: rgba(192, 192, 192, 0.24);
    flex-grow: 1;
    padding: .5em 1.2em;
    border-radius: 20px;
    height: 2.5em;
}


/* perfil */
    
#perfilregistro {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-top: 1em;
    padding-bottom: 1em;
}

#perfilfoto {
    text-align: center;
}

#perfilfoto a{
    color: black;
    font-weight: 700;
    font-size: 0.8em;
    text-transform: uppercase;
}

#perfilfoto img{
    width: 5.5em;
}

#perfilusuario {
    padding-left: 1em;
}

#perfilusuario a{
    color: darkgray;
    font-weight: 700;
    font-size: 0.8em;
    text-transform: uppercase;
}

#perfilmailycontra {
    margin-top: 1em;
    margin-bottom: 2em;
    border-style: solid;
    border-radius: 10px;
    border-color: #FFD145;
    border-width: 1px;
    padding: 0.8em;
}

#perfilmailycontra ul{
    list-style-type: none;
}

#perfilmailycontra ul li{
    margin-bottom: 1em;   
}

#perfilbasicos ul{
    list-style-type: none;
}

#perfilbasicos ul li{
    margin-bottom: 1em;
}

#perfilbasicos{
    margin-top: 1em;
    margin-bottom: 2em;
    border-style: solid;
    border-radius: 10px;
    border-color: #FFD145;
    border-width: 1px;
    padding: 0.8em;
}

.campo {
    margin-bottom: 1rem;
}

h3{
    text-transform: uppercase;
    color: #FF0000;
}

.perfilcondpref{
    margin-top: 1em;
    border-style: solid;
    border-radius: 10px;
    border-color: #FFD145;
    border-width: 1px;
    padding: 0.8em;

}

.perfilcondpref p{
    font-style: italic;
}
.perfilcondpref ul {
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    padding-top: 0.9em;
    padding-bottom: 0.9em;
    font-size: 0.9em;
}

.perfilcondpref ul li{
    font-weight: 400;
    padding-left: 0.3em;
    padding-right: 0.3em;
    margin: 0.2em;
    background-color: #FFD145;
    border-radius: 5px;
}

.pfinal {
    padding-bottom: 1em;
}

.modificar img{
    width: 1.5em;
}

.modificar {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.modificar a {
    color: darkgray;
    font-weight: 700;
    font-size: 1em;
    text-transform: uppercase;
    margin-left: 0.3em;
    text-decoration: none;
    font-style: italic;
}

.modificar a:hover {
    color: lightgray;
    font-weight: 700;
    font-size: 1em;
    text-transform: uppercase;
    margin-left: 0.3em;
    text-decoration: none;
}

.editdatos ul{
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    list-style-type: none;
}

.campoperfil{
    border-color: rgb(255, 218, 124);
    border-style: solid;
    border-width: 2px;
    width: 100%;
    border-radius: 10px;
    padding: .5em;
    font-size: 0.8em;
}

.campoperfil:focus{
    outline: none;
    box-shadow: 0px 0px 4px silver inset;
}

#ejercitacion ul{
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    list-style-type: none;
}

.opcioncheck {
    display: block;
    position: relative;
    padding-left: 2.5em;
    padding-top: 0.3em;
    cursor: pointer;
    font-size: 1em;
    user-select: none;
}

.opcioncheck input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 1.8em;
    width: 1.8em;
    border-style: solid;
    border-width: 2px;
    border-radius: 5px;
    border-color: #FFD145;
}

.opcioncheck:hover input ~ .checkmark {
    background-color: #FFE7AB;
}

.opcioncheck input:checked ~ .checkmark {
    background-color: #FFD145;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.opcioncheck input:checked ~ .checkmark:after {
    display: block;
}

.opcioncheck .checkmark:after {
    left: 8px;
    top: 3px;
    width: 5px;
    height: 12px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
    
#editar {
    text-align: right;
}

.opciones {
display: flex;
justify-content: center;
height: 50vh;
}

.opciones2 {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
}

.datossi{
    padding: 0.5em;
    border-style: solid;
    border-width: 1px;
    border-radius: 8px;
    border-color: rgb(52, 191, 46);
    background: none;
    text-transform: uppercase;
    font-size: 1em;
    color: rgb(52, 191, 46);
    margin-left: 2em;
}

.datossi:hover{
    padding: 0.5em;
    border-style: solid;
    border-width: 1px;
    border-radius: 8px;
    border-color: rgb(126, 226, 122);
    background-color: rgb(126, 226, 122);
    text-transform: uppercase;
    font-size: 1em;
    color: #ffffff;
    margin-left: 2em;
}

.cancelar a{
    text-transform: uppercase;
    font-size: 1em;
    color: #9d9d9d;
    text-decoration: none;
    margin-right: 2em;
}

.cperfil{
    display: flex;
    flex-direction: column;
}


/* galeria */

.galeria .fila>i img{
    height: 2em;
    vertical-align: middle;
}
.galeria .fila{
    margin: 1em 0;
}
.bx-next{
    z-index: 8000;
}


/* mapa del google maps */

iframe{
    width: 100%;
    height: 50vh;
    margin-top: 2em;
}

.contacto p>i img{
    width: 2em;
    vertical-align: middle;
    margin: .5em;
}



/* agenda general */

#calendario ul{
    list-style-type: none;
}

.weekdays{
    padding: 10px 0;
    background: rgb(255, 218, 124);
    display: block;
    width: 90vw;
}

.weekdays li{
    color: black;
    text-align: center;
    text-transform: uppercase;
}

.actividades{
    display: block;
    padding: 5px;
    background: white;
}   


.actividades li{
    display: block;
    text-align: center;
    margin-bottom: .5em;
    padding: .5em;
    font-size: .9em;
    color: black;
}

.cuad:visited, .cuad:link{
    text-decoration: none;
    color: black;
    border: 1px solid #ffda7c;
    border-radius: 10px;
    padding: .5em;
    cursor: pointer;
    width: 100%;
}

.cuad:active{
    background-color: rgb(255, 218, 124);
    box-shadow: 1px 1px 4px silver inset;
}


/* media query */

@media only screen and (min-width: 425px) {
    .abierto{
        width: 64vw;
    }
    #deporte #foto{
        height: 8em;
    }
}

@media only screen and (min-width: 600px){
    .input{
        width: 40vw;
        padding: 0 10px;
    }
    .abierto{
        width: 40vw;
    }
    header nav ul {
        width: 30%;
    }
    #menu-toggle:checked + #llamamenu + #ocultamenu + ul {
        left: 70%;
    }
    .actsalud h2{
        font-size: 2em;
    }
    .actsalud .progreso img{
        width: 60%;
    }
    #deporte #foto{
        height: 8em;
        width: auto;
    }
    #anotarseinfo{
        margin: 0 30%;
    }
    .cperfil{
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .perfilcondpref{
        margin-right: 1em;
        align-content: stretch;
        justify-content: center;
        flex-grow: 1;
    }
    .perf1{
        align-content: stretch;
        justify-content: center;
        flex-grow: 1;
    }
    #perfilmailycontra{
        margin-right: 2em;
    }
    #perfilbasicos{
        margin-right: 1em;
    }
}

@media only screen and (min-width: 768px) {
    .weekdays{
        border-radius: 20px;
        display: flex;
        width: 100%;
        justify-content: space-around;
    }
    .weekdays li{
        width: 14%;
    }
    .actividades{
        align-items: center;
        padding-top: 5px;
        margin-top: 5px;
        height: 90%;
    }   
    .actividades li{
        display: flex;
        justify-content: center;
        width: 100%;
    }
    .mias ul{
        width: 40%;
        flex-grow: 1;
    }
    .actsalud .progreso{
        flex-wrap: nowrap;
    }
    .actsalud .progreso img{
        width: 90%;
        margin-top: 1em;
    }
    .combinacion{
        flex-direction: row;
    }
    .deporte{
        width: 30%;
        margin: 0 2em;
    }
    .botones{
        justify-content: flex-end;
    }
    .cuadrado{
        margin-left: 1em;
    }
    #deporte #foto{
        height: 10em;
    }
    #deporte .cuadrado{
        width: 50%;
        margin: 0 25%
    }
     #anotarseinfo{
        margin: 0 35%;
    }
}

@media only screen and (min-width: 992px) {
    main>p,
    main>h1,
    main>section,
    main>h3,
    main>h4,
    .cperfil,
    #perfilregistro{
        margin: 0 10vw;
    }
    iframe{
        width: 80%;
        margin: 0 10vw;
        border-radius: 20px;
        box-shadow: 2px 2px 4px silver;
    }
    header nav ul {
        width: 25%;
    }
    #menu-toggle:checked + #llamamenu + #ocultamenu + ul {
    /* el menú se muestra corriéndose a la izquierda*/
    left: 75%;
    }
    header{
        padding-right: 2em;
    }
    #misem span{
        text-align: end;
        padding-right: 1em;
    }
    .actsalud{
        width: 80vw;
        margin: 2em 10vw;
    }
    .act,
    .combinacion{
        width: 80vw;
        margin: 2em 10vw;
        border: rgb(255, 218, 124) solid;
        border-radius: 20px;
        padding: 1em;
    }
    .mis-act{
        margin: .5em 10vw;
    }
    .weekdays{
        width: 80vw;
        margin-left: 10%;
    }
    #foto, #deporte h1{
        margin: 0 10vw;
    }
     #anotarseinfo{
        margin: 0 40%;
    }
        
}
