.wrapper {
  display: flex;
  flex-flow: row wrap;
  text-align: center;
}

.wrapper>* {
  padding: 10px;
  margin: 5px;
  flex: 1 100%;
  border-radius: 10px;
}

.header {
  min-height: 40px;
  font-family: Helvetica;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  padding: 5px;

}

.footer {
  background: DarkSlateGray;
  height: 100%;
  color: white;
  font-family: Kitab;
  text-align: right;
}

.main {
  text-align: right;
  background: DarkSlateGray;
  height: 100%;
  color: white;
  font-family: Kitab;
}
.aside {
  flex: 1;
}

.aside1 {
  background: white;
  color: white;
}

.aside2 {
  background: white;
  color: white;
}

@media all and (min-width: 800px) {


  .aside1 {
    order: 1;
  }

  .aside2 {
    order: 2;
  }

  .footer {
    order: 3;
  }

}




@font-face {
    font-family: 'Kitab';
    src: url("Kitab-Regular.ttf?#iefix") format("truetype");
}


.button1 {
  width: 100%;
  height: 100%;
  font-size: 24px;
  background-color: #4CAF50;
  /* Green */
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  border-radius: 10px;

}

.button2 {
  width: 100%;
  height: 100%;
  font-size: 24px;
  background-color: hotpink;
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  border-radius: 10px;

}

* {
  box-sizing: border-box;
}

body {
  margin: 0px;
  font-family: 'segoe ui';
}

/* Navigation */
.nav {
  height: 50px;
  width: 100%;
  background-color: DarkSlateGray;
  position: relative;
}

.nav > .nav-header {
  display: inline;
}

.nav > .nav-header > .nav-title {
  display: inline-block;
  font-size: 22px;
  color: #fff;
  padding: 10px 10px 10px 10px;
}

.nav > .nav-btn {
  display: none;
}

.nav > .nav-links {
  display: inline;
  float: right;
  font-size: 18px;
}

.nav > .nav-links > a {
  display: inline-block;
  padding: 13px 10px 13px 10px;
  text-decoration: none;
  color: #efefef;
}

.nav > .nav-links > a:hover {
  background-color: rgba(0, 0, 0, 0.3);
}

.nav > #nav-check {
  display: none;
}

@media (max-width:600px) {
  .nav > .nav-btn {
    display: inline-block;
    position: absolute;
    right: 0px;
    top: 0px;
  }
  .nav > .nav-btn > label {
    display: inline-block;
    width: 50px;
    height: 50px;
    padding: 13px;
  }
  .nav > .nav-btn > label:hover,.nav  #nav-check:checked ~ .nav-btn > label {
    background-color: rgba(0, 0, 0, 0.3);
  }
  .nav > .nav-btn > label > span {
    display: block;
    width: 25px;
    height: 10px;
    border-top: 2px solid #eee;
  }
  .nav > .nav-links {
    position: absolute;
    display: block;
    width: 100%;
    background-color: #333;
    height: 0px;
    transition: all 0.3s ease-in;
    overflow-y: hidden;
    top: 50px;
    left: 0px;
  }
  .nav > .nav-links > a {
    display: block;
    width: 100%;
  }
  .nav > #nav-check:not(:checked) ~ .nav-links {
    height: 0px;
  }
  .nav > #nav-check:checked ~ .nav-links {
    height: calc(100vh - 50px);
    overflow-y: auto;
  }
}

