@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;700&display=swap');


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: 'Poppins', sans-serif;
}

.menu{
    background-color: #1A202C;
    color: #fff;
    height: 66px;
    Z-index: 2;
}

.nombresenlahistoria{
    font-size: small;
    font-family: 'PT Serif', serif;
    text-align: center;
}

.menu__container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    height: 80px;
    margin: 0 auto;
    
}

.menu__links{
    height: 80%;
    transition: transform .5s;
    display: flex;
    
}

.menu__item{
    list-style: none;
    position: relative;
    height: 90%;
    --clip: polygon(0 0, 100% 0, 100% 0, 0 0);
    --transform: rotate(-90deg);
    
}

.menu__item:hover{
    --clip: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    --transform: rotate(0);
}

.menu__link{
    color: #fff;
    text-decoration: none;
    padding: 0 20px;
    display: flex;
    height: 100%;
    align-items: center;
    Z-index: 2;
}

.menu__link:hover{
    background-color: #5e7094;
}


.menu__arrow{
    transform: var(--transform);
    transition: transform .3s;
    display: block;
    margin-left: 3px;
}

.menu__nesting{
    list-style: none;
    transition:clip-path .3s;
    clip-path: var(--clip);
    position: absolute;
    right: 0;
    bottom: 0;
    width: max-content;
    transform: translateY(100%);
    background-color: #000;
    Z-index: 3;
}

.menu__link--inside{
    padding: 10px 50px 10px 10px;
}

.menu__link--inside:hover{
    background-color: #798499;
}

.menu__hamburguer{
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 15px;
    cursor: pointer;
    display: none;
}

.menu__img{
    display: block;
    width: 36px;
}

@media (max-width:800px){
    .menu__hamburguer{
        display: flex;
    }

    .menu__item{
        --clip:0;
        overflow:hidden ;
    }

    .menu__item--active{
        --transform: rotate(0);
        --background: #5e7094;
    }

    .menu__item--show{
        background-color: var(--background);
    }


    .menu__links{
        position: fixed;
        max-width: 400px;
        width: 100%;
        top: 70px;
        bottom: 0;
        right: 0;
        background-color: #000;
        overflow-y: auto;
        display: grid;
        grid-auto-rows: max-content;
        transform: translateX(100%);
        z-index: 4;
    }

    .menu__links--show{
        transform: unset;
        width: 100%;
    }

    .menu__link{
        padding: 25px 0;
        padding-left: 30px;
        height: auto;
    }

    .menu__arrow{
        margin-left: auto;
        margin-right: 20px;
    }

    .menu__nesting{
        display: grid;
        position: unset;
        width: 100%;
        transform: translateY(0);
        height: 0;
        transition: height .3s;
    }

    .menu__link--inside{
        width: 90%;
        margin-left: auto;
        border-left: 1px solid #798499;
    }
    
    
}

#tabladedatos {
background-image: url('/imagenes/fondo2.jpg?v=2');

}

#tabladedatos2 {
background-image: url('/imagenes/fondo2.jpg?v=2');

}

#tabladedatos3 {
background-image: url('/imagenes/fondo2.jpg?v=2');

}

#imagenprof {
    border-radius: 50%;
}


    
#tipodeletra {
    font-family: 'PT Serif', serif;
    text-align: center;
    
}

#textoprincipal{
    border: #DCD8D6 2px solid;
    background-color: #7B8FF3;
}

.texto {
    font-family: 'PT Serif', serif;
    text-align: center;
    font-size: small;
}

.texto2 {
    font-family: 'PT Serif', serif;
    text-align: justify;
    font-size: x-small;
    
}

.barra {
    background-color: #E8E6E6;
    
    }

.barra2 {
    background-color: #335CCB;
}

.barra3 {
    background-color: #DAC01A;
}

}
.inputingreso2 {
    height:20px;
    width:40px;
    font-family: 'PT Serif', serif;
    font-size: x-small;
}

.inputingreso {
    height:20px;
    width:40px;
    font-family: 'PT Serif', serif;
    font-size: x-small;
}

.separador {
    height:4px;
}

.titulosuperior{
    background-color: #7B8FF3;
    position: fixed;
}

.alimento {
   height:20px;
    width:100px;
    font-family: 'PT Serif', serif;
    font-size: small; 
}

.porcion {
    height:20px;
    width:30px;
    font-family: 'PT Serif', serif;
    font-size: small;
}

.porcion2 {
    height:20px;
    width:90px;
    font-family: 'PT Serif', serif;
    font-size: small;
}

.caloriasporporcion {
   height:22px; width:40px;
   font-family: 'PT Serif', serif;
    font-size: small; 
}

.botonagregar {
font-size: small;
background-color: #FFBE33;
border: 0;
width:80px;
height:24px;
}

.bordesdeloscontenedores{
    border: #DCD8D6 2px solid;
    
}

.bordesdeloscontenedores2{
    border-bottom: #DCD8D6 2px solid;
    border-right: #DCD8D6 2px solid;
    border-left: #DCD8D6 2px solid;
}


.inputactivo {
  height:20px;
    width:110px;
    font-family: 'PT Serif', serif;
    font-size: small;  
}

.inputingreso2{
    height:20px;
    width:80px;
    font-family: 'PT Serif', serif;
    font-size: small;
}

#menu ul li:hover > ul {
 display:block;
}



#cajacookies button {
  color: black;
}

.cajacookies {
  display: none;
  box-shadow: 0px 0px 5px 5px #808080;
  background-color: #D5D4D4;
  color: black;
  padding: 10px;
  margin-left: -15px;
  margin-right: -15px;
  margin-bottom: 0px;
  position: fixed;
  top: 0px;
  width: 100%;
  font-size: x-small;
  font-family: 'PT Serif', serif;
  z-index: 3000;
}

.inactive{
    display:none;
}


body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.contenedor {
    position: relative;
}

.notificacion-icono {
    cursor: pointer;
    font-size: 24px;
    position: absolute;
    top: 10px;
    left: 10px;
}

.notificaciones-container {
    display: none;
    position: absolute;
    top: 40px;
    right: 10px;
    width: 300px;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.notificacion-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.notificacion-item:last-child {
    border-bottom: none;
}