/******************************
Author: Simon Dreyfus
Site: Leguminapp.simon3fus.ch/app
Version: 1.0
******************************/




/*******************************
Global
*******************************/

:root {
    --green400: #6D8240;
    --blue400: #1E89AA;
    --grau200: #F5F4F2;
    --grau400: #EBE9E6;
    --grau800: #393938;
    --white100: #fff;
  }




  html {
    background-color: var(--grau200);
  }


h1,
h2,
h3,
h4,
p,
a {
  font-family: "Rubik", sans-serif;
  color: var(--grau800);
}

H1 {
    font-weight: bold;
font-size: 43px;
line-height: 100%;
letter-spacing: -0.015em;
}

H2 {
    font-weight: bold;
font-size: 37px;
line-height: 110%;
letter-spacing: -0.015em;
}

H3 {
    font-weight: bold;
    font-size: 33px;
    line-height: 110%;
    letter-spacing: -0.005em;
}

H4 {
  font-weight: 500;
font-size: 29px;
line-height: 115%;
letter-spacing: -0.005em;
}

H5 {
  font-weight: 500;
  font-size: 21px;
  line-height: 120%;
  letter-spacing: -0.005em;
}

p {
  margin: 5px;
}



/************
Body
************/
body{
  position: relative;
  padding-top: 96px;
  overflow: hidden;
}


.wrapper-padding{
  padding-left: 16px;
  padding-right: 16px;
}




/************
Header
************/

header {
  position: absolute;
  position: fixed;
  top: 0;
  z-index: 10;
  width: 100%;
  height: 60px;
  padding-left: 16px;
  padding-right: 16px;
  background-color: var(--white100);
  padding-top: 18px;
  filter: drop-shadow(0px 2px 10px rgba(0, 0, 0, 0.15));
}

.header-datum {
  display: flex;
  justify-content: space-between;
}

.header-dropper {
  display: flex;
  justify-content: center;
  width: 100%;
}

.date {
  font-weight: 700;
  color: var(--grau800);
}

#tag {
  color: var(--green400);
}


/************
Nav
************/
nav {
position: fixed;
z-index: 20;
  bottom: 0;
  background-color: var(--white100);
  height: 60px;
  width: 100%;
  padding-right: 16px;
  box-shadow: 0px 0px 9px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.menu {
  color: var(--blue400);
  font-weight: 500;
  display: flex;
}

.menu p{
  color: var(--blue400);
}
.menu img{
  margin-right: 8px;
}


#navigation-container {
  overflow: hidden;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  z-index: 15;
  background-color: var(--white100);
  transform: translateX(100%);
  transition: cubic-bezier(.64,.23,.45,.94);
}

.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 15%;
  background-color: var(--grau200);
}

ul{
  list-style-type: none;
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

li {
  display: flex;
  align-items: center;
  height: 70px;
}


/************
Burger
************/
.burger {
  height: 20px;
  width: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.burger span {
  width: 27px;
  height: 2px;border-radius: 8px;
  background-color: var(--blue400);
}





/************
Reiter
************/

.reiter {
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  height: 35px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
}


.tap-active {
  width: 50%;
  color: var(--white100);
  background-color: var(--blue400);
  border-radius: 8px 0px 0px 8px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.tap-passiv {
  width: 50%;
  background-color: var(--white100);
  border-radius: 0px 8px 8px 0px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}




/************
Card
************/

.card {
  background-color: var(--white100);
  width: 100%;
  height: 77px;
  margin-top: 16px;
  margin-bottom: 16px;
  display: flex;
  position: relative;
  border-radius: 8px;
}

.aufgabe {
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  padding-left: 16px;
}


.checker {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 4px;
  border-radius: 8px;
  position: absolute;  
  background-color: var(--grau400);
}



.checker img{
  opacity: 0;
  height: 32px;
}





/************
Animation
************/


@keyframes check-ani {

0% {
  width: 4px;
  left: 0;
  right: calc(100%-4px);
  background-color: var(--grau400);
}

50%{
  width: 100%;
  left: 0;
  right: 100%;
}
100% { 
  width: 103px;
  left: calc(100%-103px);
  right: 0%;
  background-color: var(--green400);
}
}


@keyframes opacity {
  0%{
opacity: 0;
  }
  100%{
opacity: 1;
  }
}
