*{
    margin: 0;
    padding: 0;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
}

.unterschrift{
    font-size: 12px;
}

body{
    height: 100vh;
    width: 100vw;
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

header{
    height: 40%;
    width: 100%;
    background-color: #171717;
    border-bottom: 1px solid white;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#progress_total{
    height: 75%;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
}

#eaten_total{
    text-align: center;
}

.donut {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: conic-gradient(
      #4caf50 calc(var(--percent) * 1%),
      #ddd 0
    );
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }

  .donut::before {
    content: "";
    position: absolute;
    width: 100px;
    height: 100px;
    background: #171717;
    border-radius: 50%;
    z-index: 1;
  }

  .percent-text {
    position: absolute;
    z-index: 2;
    text-align: center;
  }

  #calories_total{
    text-align: center;
}

#days{
    height: 25%;
    width: 100%;
    
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
}

#date{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

#streak{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

main{
    height: 60%;
    width: 100%;
    background-color: #171717;

    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}

main > div{
    width: 90%;
    height: 100px;
    background-color: #2a2929;
    border-radius: 5px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.info{
    height: 50%;
    width: 100%;
    border-bottom: 1px solid white;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.title{
    display: flex;
    justify-content: start;
    align-items: center;
}

.title_icon{
    width: 32px;
    margin-left: 5px;
    margin-right: 15px;
}

.add_icon{
    width: 32px;
    margin-right: 10px;
}

.calories{
    height: 50%;
    width: 100%;
    
    position: relative;
}

.eaten{
    position: absolute;

    left: 50%;
    transform: translateX(-50%);
    top: 50%;
    transform: translate(-50%, -50%);
}

.left{
    position: absolute;

    left: 85%; 
    transform: translateX(-50%);
    top: 50%;
    transform: translate(-50%, -50%);
}

footer{
    height: 10%;
    width: 100%;
    background-color: #171717;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

#nav_calories{
    height: 100%;
    width: 50%;
    border-right: 1px solid white;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

#nav_scale{
    height: 100%;
    width: 50%;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

