html{
    height:100%;
}

.flex-container
{
    display: flex;
    flex-flow: row-reverse wrap; /* 1)direction 2)wrap to multiple line */
      /* flex-flow: column wrap; */
  justify-content: space-around; /* how is distributed the remaining space */ 
}
.navigation{
  display: flex;
}
.menu-wrap{
  position: fixed;  /* always want at the same position */
  top: 3vh;
  left:0.8vw;
  z-index: 1;
}
.menu-wrap .toggler /* to hide check box */
{
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 40px;
  height: 40px;
  opacity: 0;
  cursor: pointer;
}
.toast{
  position: absolute;
  z-index: 2;
  left:4vw;
}
.menu-wrap .hamburger{ /* to make hamburger logo space */
     position: absolute;
     top: 0;
     left: 0;
     z-index: 1;
     height: 40px;
     width: 40px;
     padding: 0.6vh;
     display: flex;
     justify-content: center;
     align-items: center;
     background-color: darkcyan;
}
/* hamburger line */
.menu-wrap .hamburger > div{
  position:relative;
  width: 100%;
  height: 2px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: white;
  transition: all 0.4s ease;
}
/* hamburger line top and bottom */
.menu-wrap .hamburger > div::before,
.menu-wrap .hamburger > div::after{
  content: ' ';
  position: absolute;
  z-index: 1;
  top: -10px;
  width: 100%;
  height: 2px;
  background-color: inherit;
}
.menu-wrap .hamburger > div::after{
  top: 10px;
}
/* toggler animation */
.menu-wrap .toggler:checked+.hamburger>div{
  transform: rotate(135deg);
}
.menu-wrap .toggler:checked~.menu-bar{
   visibility:visible;
}
.menu-wrap .toggler:checked~.menu-bar>div{
  transform: scale(1);
  transition-duration: var(--menu-speed);
}
.menu-wrap .toggler:checked~.menu-bar>div>div{
  opacity: 1;
  transition: opacity 0.4s ease;
}
/* turn line into x */
.menu-wrap .toggler:checked+.hamburger>div::before,.menu-wrap .toggler:checked+.hamburger>div::after{
  top: 0;
  transform: rotate(90deg);
}
.menu-wrap .toggler:checked:hover+.hamburger>div{/* rotate on hover when checked */
  transform: rotate(225deg);
}
.menu-wrap .menu-bar{
  position:fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
 visibility: hidden;
 overflow: hidden;
 display: flex;
 justify-content: center;
 align-items: center;
}
.menu-wrap .menu-bar > div{
  background: rgba(138, 89, 148, 0.7);
  border-radius: 50%;
  width: 150vw;
  height: 150vh;
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  transform: scale(0);
  transition: all 0.4s ease;
}
.menu-wrap .menu-bar > div>div{
  text-align: left;
  max-width: 80vw;
  max-height: 80vh;
 opacity: 1;
  transition: all 0.4s ease;
}
.menu-wrap .menu-bar > div>div>ul>li{
    list-style: none;
    color:white;
    font-size: 3vw;
    font-weight: bold;
    text-align: center;
    padding: 1rem;
}
.menu-wrap .menu-bar > div>div>ul>li>a{
  color: inherit;
  text-decoration: none;
  transition: color 0.4s ease;
}
.menu-wrap .menu-bar > div>div>ul>li>a:hover{
  color: black;
}
.parentPage
{
  display: flex;
  flex-flow: row wrap;
  text-align: center;
  font-size: 3vw;
  font-weight: bold;
}
.parentPage > *{
  padding:4px;
  flex: 1 100%;
}
.headerClass
{
  background-color: cadetblue;
  margin-top: 1vh;
}
.aside1
{
  background-color: coral;
  
}
.main
{
  background-color: gold;
  text-align: left;
}
.footerClass
{
  background-color: indianred;
  display: flex;
  justify-content: flex-end;
  height: 12vh;
}
.insidefooterClass{
  color: white;
  font-weight: bold;
background-color: rgb(0, 111, 139);
margin-top: 3vh;
height: 6vh;
font-size: 2vh;
}
@media only screen and (max-width: 600px) {
    .navigation {
      flex-flow: column wrap;
      padding: 0;
    }
    .navigation a { 
      text-align: center; 
      padding: 2vh;
      border-top: 1px solid white;
      border-bottom: 1px solid white; 
    }
}

@media only screen  and (max-width: 600px) {
  .aside { flex: 1 0 0; }
}

@media only screen and (min-width: 800px) {
  .main    { flex: 3 0px; }
  .aside1 { order: 1; 
  flex: 0 1 20vw;} 
  .main    { order: 2; }
  .footerClass  { order: 3; }
}


