/*@import url('https://fonts.googleapis.com/css2?family=Alegreya&display=swap');*/

body {
    font-family: 'PT Serif', serif;
    background-color: #f4f4f4;
    background-image: url();
    background-size: 100%;
}

.centralo{
    display: flex;
    flex-direction: column;
    align-items: center;
}

#logo-karlosar {
    height: 50px;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #000000;
    position: fixed;
    top: 0;
    width: 100%;
    border-radius: 5px;
}

li {
    float: right;
}

li a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

li a:hover:not(.active) {
    background-color: rgb(61, 58, 58);
}

.active {
    background-color: #04aa6d;
}

.titulo {
    color: #002B5B;
    font-size: 40px;
    /*font-family: 'Titan One', cursive;*/
    text-align: center;
}

#seccion-geb {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 600px;
    border:#dc6263 5px solid;
    border-radius: 10px;
}

#seccion-geaf {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 1150px;
    border:#dc6263 5px solid;
    border-radius: 10px;
}

#explica-geaf {
    font-size: 16px;
    font-family: 'Alegreya';
}

#seccion-get {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 20px;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    text-align: center;
}

#seccion-macronutrientes {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 15px;
    font-family: 'Alegreya';
    text-align: center;
}

#seccion-imc {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 15px;
    font-family: 'Alegreya';
    text-align: center;
}

#datos {
    display: flex;
    padding: 15px;
    flex-direction: column;
    align-items: center;
}

.datos-get {
    display: flex;
    padding: 5px;
}

.tarjetas {
    display: flex;
    gap: 10px;
}

.tarjetas input {
    display: none;
}

.redondeado{
    border-radius: 5px;
    width: 80px;
    height: 20px;
    font-weight: bold;
    text-align: center;
}

.tarjetasGeaf {
    display: flex;
    gap: 10px;
}

.tarjetasGeaf input {
    display: none;
}

.tarjetasObjetivo {
    display: flex;
    gap: 10px;
}

.tarjetasObjetivo input {
    display: none;
}

.tarjeta-genero {
    width: 200px;
    height: 100px;
    background: #dc6263;
    border-radius: 20px;
    padding: 55px;
    box-sizing: border-box;
    display: flex;
    color: #f4f4f4;
    align-content: center;
    justify-content: center;
    align-items: center;
    flex-direction: row-reverse;
}

.tarjeta-genero img {
    width: 35px;
}

#boton-calcular-geb,
#boton-geaf,
#boton-reiniciar {
    margin: 20px;
    border-radius: 20px;
    width: 128px;
    height: 40px;
    box-sizing: border-box;
    border: 1px solid #070707;
    background: #dc6263;
    color: #f4f4f4;
    font-family: 'PT Serif', serif;
}

#seleccionar-geaf {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.tarjeta-obj {
    width: 200px;
    height: 100px;
    background: #dc6263;
    border-radius: 20px;
    padding: 55px;
    box-sizing: border-box;
    display: flex;
    color: #f4f4f4;
    align-content: center;
    justify-content: center;
    align-items: center;
    flex-direction: row-reverse;
}

.tarjeta-obj img {
    width: 75px;
}

.tarjeta-geaf {
    width: 200px;
    height: 100px;
    background: #dc6263;
    border-radius: 20px;
    padding: 55px;
    box-sizing: border-box;
    display: flex;
    color: #f4f4f4;
    align-content: center;
    justify-content: center;
    align-items: center;
    flex-direction: row-reverse;
}

.tarjeta-geaf img {
    width: 75px;
}

input:checked+label {
    background-color: rgb(61, 58, 58);
}

.tabla {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
}

.tabla-macros {
    width: 50%;
    max-width: 50%;
    margin-bottom: 20px;
}

.tabla-get {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
    font-size: 15px;
}

.tabla>tbody>tr>td,
.tabla-macros>tbody>tr>td {
    padding: 8px;
    line-height: 1.42857143;
    vertical-align: top;
    border-top: 1px solid #dc6263;
}

.tabla-get>tbody>tr>td {
    padding: 8px;
    line-height: 1.42857143;
    vertical-align: top;
    border-top: 1px solid #dc6263;
}

tr {
    display: table-row;
    vertical-align: inherit;
    border-color: inherit;
}

tbody {
    display: table-row-group;
    vertical-align: middle;
    border-color: inherit;
}

.contenedor {
    width: 850px;
}

.pagina {
    background-color: #f4f4f4;
    padding: 15px 30px 30px;
    border-radius: 10px;
    border: 5px solid #dc6263;
}

.cita {
    min-height: 20px;
    padding: 19px;
    margin-bottom: 20px;
    background-color: #f5f5f5;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgb(0 0 0 / 5%);
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 5%);
}

#texto {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 1000px;
    border:#dc6263 5px solid;
    border-radius: 10px;
}

code {
    padding: 2px 4px;
    font-size: 90%;
    color: #c7254e;
    background-color: #f9f2f4;
    border-radius: 4px;
}

@media (max-width: 400px) {
    .tarjetas {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .tarjetasGeaf {
        flex-direction: column;
    }
}