body {
  font-family: Georgia, Times;
  letter-spacing: .5px;
}

a {
  text-decoration: none;
  color:inherit;
}

header {
  display: grid;
  width: 100%;
  height: 50px;
  top: 0px;
  left: 0px;
  background-color: #66cc66;
  position: fixed;
  grid-template-rows: 100%;
  grid-template-columns: 20% 60% 20%;
  font-size: 18px;
  align-content: center;
  align-items: center;
  color: white;
  z-index: 10;
}

footer {
  width: 100%;
  height: 50px;
  position: fixed;
  bottom: 0px;
  left: 0px;
  right: 0px;
  background-color: #333333;
  color: white;
  font-family: Arial;
  font-size: 16px;
}

button {
  width: 120px;
  height: 38px;
  margin: 0px 18px;
  border-radius: 5px;
  border: none;
  background-color: #ffcc00;
  color: #333333;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 1.1;
  cursor: pointer;
  outline: none;
}

.buttoncontainer {
  margin: 6px auto;
  width: 320px;
}

#lessons {
  display: none;
}

.lessontitle {
  display: inline-block;
  margin: 0 auto;
  font-size: 20px;
  font-family: arial;
  letter-spacing: 1.1;
}

#SiteTitle {
  display: inline-block;
  position: relative;
  left: 40px;
  width: 300px;
  font-style: italic;
  font-size: 22px;
}

#ReturnLesson {
  display: inline-block;
  position: relative;
  font-family: Arial;
  font-size: 19.5px;
  text-align: right;
  right: 40px;
}


.main {
  position: absolute;
  width: 100%;
  bottom: 50px;
  top: 50px;
  left: 0px;
  display: grid;
  grid-template-columns: 25% 75%;
  font-family: Arial;
  letter-spacing: 1.1;
}

.navchecklist {
  border-right: solid 1px #cccccc;
  background-color: #e6f5ff;
  height: 89.5vh;
}

.checklistcontainer {
  margin-left: 30px;
  margin-top: 35px;
  display: grid;
  grid-template-columns: 100% ;
  grid-template: ".checklist";
  height: 100%;
}

.checklist {
  line-height: 40px;
  margin: 0 0;
}

.attributescontainer {
  margin-left: 14%;
  margin-top: 6%;
  padding-left: 9%;
  padding-top: 5%;
  padding-bottom: 5%;
  width: 60%;
  min-width: 180px;
  display: grid;
  grid-template-columns: 80% 20%;
  grid-template: ".attributes .boxcontainer";
  background-color: #ffeb99;
  border-radius: 20px;
}

.attributes {
  line-height: 40px;
  margin: 0 0;
  font-weight: bold;
  color: #4d4d4d;
}

.boxcontainer {
  display: grid;
  grid-template-rows: repeat(3, 40px);
  margin-left: 5vw;
}

.divbox {
  width: 18px;
  height: 18px;
  margin: 11px 0px;
  border-radius: 3px;
  border: solid 0.5px #cccccc;
  background-color: white;
  cursor: pointer;
}

.check {
  background: url("./images/Check.png");
  background-size: cover;
  border: none;
  width: 19px;
  height: 19px;
}

.content {
  height: inherit;
}

/*---------------------------------------------------------------------------*/
#page1 {
  position: absolute;
  display: ;
  height: 100%;
  overflow-y: auto;
}

#page1 div {
  position: relative;
  width: 90%;
  top: 10%;
  left: 5%;

}

#page1 h1 {
  width: inherit;
  font-size: 36px;
  font-family: Arial;
  font-weight: normal;
  margin: 10px 5%;
  width: 90%;
}

#page1 .item1 {
  padding-top: 15px;
  margin: 0 5%;
  width: 90%;
  line-height: 2;
  font-size: 16px;
}

#page1 .images {
  display: flex;
  justify-content: space-evenly;
  margin-top: 80px;
  margin-bottom: 80px;
}

#page1 img {
  width: 200px;
  height: 150px;
  border-radius: 10px;
}


/*---------------------------------------------------------------------------*/
#page2 {
  position: absolute;
  display: none;
  height: 100%;
  overflow-y: auto;
}

#page2 div {
  position: relative;
  width: 90%;
  top: 10%;
  left: 5%;
}

#page2 h1 {
  width: inherit;
  font-size: 36px;
  font-family: Arial;
  font-weight: normal;
  margin: 10px 5%;
  width: 90%;
}

#page2 .item1 {
  padding-top: 15px;
  margin: 0 5%;
  width: 90%;
  line-height: 2;
  font-size: 16px;
}

#page2 .item2 {
  width: 90%;
  margin: 30px 0;
  padding-bottom: 100px;
}

#page2 .imageblock {
  display: grid;
  grid-template-columns: 220px, 600px;
  grid-auto-flow: column;
  margin: 110px 0;
  align-content: center;
}

#page2 img {
  width: 250px;
  height: 250px;
  margin: 10px 0px;
  border-radius: 50%;
}

#page2 ul {
  height: 200px;
  line-height: 1.4;
  margin: 0px 40px;
  margin-bottom: 100px;
}

#page2 ul li {
  padding: 15px;
}


/*---------------------------------------------------------------------------*/
#page3 {
  position: absolute;
  display: none;
  height: 100%;
  overflow-y: auto;
}

#page3 div {
  position: relative;
  width: 90%;
  top: 10%;
  left: 5%;
}

#page3 h1 {
  width: inherit;
  font-size: 36px;
  font-family: Arial;
  font-weight: normal;
  margin: 10px 5%;
  width: 90%;
}

#page3 .item1 {
  padding-top: 15px;
  margin: 0 5%;
  width: 90%;
  line-height: 2;
  font-size: 16px;
}

#page3 .item2 {
  width: 100%;
}

#page3 .imageblock {
  display: grid;
  grid-template-columns: 400px, 300px;
  grid-auto-flow: column;
  margin: 60px 0;
  align-content: center;
}

#page3 img {
  width: 400px;
  height: 240px;
}

#page3 ul {
  min-width: 300px;
  max-width: 450px;
  height: 200px;
  line-height: 1.4;
  margin: 0px 20px;
}

#page3 ul li {
  padding: 15px;
}


/*---------------------------------------------------------------------------*/
#page4 {
  position: absolute;
  display: none;
  height: 100%;
  background-image: url("./images/img13.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  overflow-y: auto;
}

#page4 div {
  position: relative;
  width: 60%;
  min-width: 700px;
  margin: 15% auto;
  padding: 20px 0px;
  background: white;
  border: solid 5px #66cc66;
  border-radius: 20px;
}

#page4 h1 {
  width: inherit;
  font-size: 36px;
  font-family: Arial;
  font-weight: normal;
  margin: 10px 5%;
  width: 90%;
}

#page4 .item1 {
  padding-top: 15px;
  margin: 0 5%;
  width: 90%;
  line-height: 2;
  font-size: 16px;
}

#page4 li {
  padding: 10px;
}


/*---------------------------------------------------------------------------*/
#page5 {
  position: absolute;
  display: none;
  height: 100%;
  overflow-y: auto;
  background: url("");
  background-size: cover;
  background-repeat: no-repeat;
  overflow-y: auto;
}

#page5 div {
  position: relative;
  width: 90%;
  top: 10%;
  margin: auto;

}

#page5 h1 {
  width: inherit;
  font-size: 36px;
  font-family: Arial;
  font-weight: normal;
  margin: 10px 5%;
  width: 90%;
}

#page5 .item1 {
  padding-top: 15px;
  margin: 0 5%;
  width: 90%;
  line-height: 2;
  font-size: 16px;
}

#page5 .item2 {
  width: 90%;
  margin: 120px 0;

}

#page5 .imageblock {
  display: grid;
  grid-template-columns: 280px, 400px;
  min-width: 800px;
  max-width: 900px;
  grid-auto-flow: column;
  margin: 120px auto;
  background-color: white;
  border-radius: 20px;
  border: ;
}

#page5 img {
  width: 280px;
  height: 180px;
  margin: 20px;
  border-radius: 15px;
}

#page5 ul {
  width: 440px;
  height: ;
  line-height: 1.5;
  margin-left: 0px;
}

#page5 ul li {
  padding: 15px;

}


/*---------------------------------------------------------------------------*/
#page6 {
  position: absolute;
  display: none;
  height: 100%;
  overflow-y: auto;
}

#page6 div {
  position: relative;
  width: 90%;
  top: 10%;
  left: 5%;
}

#page6 .pagecontainer {
  margin-bottom: 150px;
}

#page6 h1 {
  width: inherit;
  font-size: 36px;
  font-family: Arial;
  font-weight: normal;
  margin: 10px 5%;
  width: 90%;
}

#page6 .item1 {
  padding-top: 15px;
  margin: 0 5%;
  width: 90%;
  line-height: 2;
  font-size: 16px;
}

#page6 img {
  border-radius: 10px;
}

#page6 .images {
  display: flex;
  width: 70%;
  margin: 50px 10%;
  justify-content: space-around;
}

#page6 ol {
  margin: 0px 15%;
  padding: 40px 0px 35px 0px;
  line-height: 3;
}

#page6 ul {
  line-height: 2;
}


/*Responsive Design--------------------------------------------------*/

.menu {
  display: none;
  cursor: pointer;
}
.menu div {
  width: 30px;
  height: 4px;
  background-color: white;
  margin: 6px auto;
}
#menubar1 {
  margin-top: 10px;
}
#menubar3 {
  margin-bottom: 10px;
}
.returncontainer {
  display: none;
}

@media only screen and (max-width: 480px ) {
  body {
    height: 100%;
  }
  #SiteTitle {
    display: none;
  }
  #ReturnLesson {
    display: none;
  }
  .menu {
    display: initial;
  }
  header {
    display: grid;
    grid-template-columns: 20% 60% 20%;
    width: 100vw;
  }
  footer {
    width: 100vw;
    position: fixed;
  }
  .navchecklist {
    display: none;
    position: absolute;
    z-index: 10;
    width: 80vw;
  }
  .checklistcontainer {
    height: auto;
    margin-left: 20px;
    margin-top: 1.8vh;
  }
  .checklist {
    font-size: 16px;
    line-height: 5vh;
  }
  .attributescontainer {
    min-width: 155px;
    width: 155px;
    margin-left: 36px;
    margin-top: 1.8vh;
    padding: 10px 20px;
  }
  .attributes {
    height: 90px;
  }
  .attributes div {
    line-height: 30px;
  }
  .boxcontainer {
    margin-left: 33px;
    grid-template-rows: repeat(3, 30px);
  }
  .divbox {
    margin: auto 0px;
  }
  .returncontainer {
    display: block;
    color: skyblue;
    text-align: center;
    width: 185px;
    margin: 16px auto 15px 36px;
    font-size: 18px;
    font-weight: bold;
    background-color: white;
    padding: 10px 6px;
    border-radius: 20px;
  }
  .content {
    max-width: 100vw;
  }
  .pagecontainer {
    max-width: 100vw;
  }
  img{
    max-width: 90vw;
    margin: 10px auto;
  }
  #page1 .images {
    display: block;
    width: 90vw;
    margin: 30px 0px;
  }
  #page2 {
    width: 100vw;
    max-width: 100vw;
    min-width: 300px;
  }
  #page2 div {
    max-width: 90vw;
  }
  #page2 .item1, #page2 .item2 {
    width: 80vw;
  }
  #page2 .item2 {
    margin-bottom: 100px;
  }
  #page2 .imageblock {
    display: block;
    width: 90vw;
    max-width: 90vw;
    left: 0px;
    margin: 40px 0px;
    height: 660px;
  }
  #page2 ul {
    width: 75vw;
    max-width: 75vw;
    margin: 0;
    margin-top: 40px;
    padding-left: 30px;
  }
  #page3 {
    max-width: 100vw;
    width: 100vw;
    min-width: 300px;
  }
  #page3 .imageblock {
    display: block;
    width: 90vw;
    max-width: 90vw;
    left: 0px;
    margin: 40px 0px;
  }
  #page3 img {
    width: 300px;
    height: 180px;
  }
  #page3 ul {
    width: 74vw;
    max-width: 74vw;
    min-width: 70vw;
    margin: 0;
    margin-top: 40px;
    padding-left: 30px;
  }
  #page3 ul li {
    width: 66vw;
  }
  #page3 .item2 {
    margin-bottom: 100px;
  }
  #page4 {
    max-width: 100vw;
    width: 100vw;
    min-width: 300px;
  }
  #page4 .container4 {
    width: 90vw;
    min-width: 300px;
  }
  #page4 h1, #page4 .item1 {
    width: 75vw;
    margin: 10px 8%;
  }
  #page4 ul {
    padding-left: 30px;
    width: 300px;
  }
  #page4 ul li {
    line-height: 2;
  }
  #page5 {
    max-width: 100vw;
    width: 100vw;
    min-width: 300px;
  }
  #page5 .item2 {
    margin: 40px 0px;
    margin-bottom: 100px;
  }
  #page5 .imageblock {
    display: block;
    width: 90vw;
    max-width: 90vw;
    min-width: 80vw;
    left: 0px;
    margin: 40px 0px;
  }
  #page5 ul {
    padding-left: 30px;
    width: 300px;
  }
  #page6 ol {
    width: 300px;
    margin: 0px 10%;
    line-height: 2;
    margin-bottom: 100px;
  }
}


@media only screen and (min-width: 480px ) and (max-width: 1080px) {
  body {
    height: 100%;
  }
  #SiteTitle {
    display: none;
  }
  #ReturnLesson {
    display: none;
  }
  .menu {
    display: initial;
  }
  header {
    display: grid;
    grid-template-columns: 10% 80% 10%;
    width: 100vw;
  }
  footer {
    width: 100vw;
    position: fixed;
  }
  .navchecklist {
    display: none;
    position: absolute;
    z-index: 10;
    width: 40vw;
  }
  .checklistcontainer {
    height: auto;
    margin-left: 20px;
    margin-top: 1.8vh;
  }
  .checklist {
    font-size: 16px;
    line-height: 5vh;
  }
  .attributescontainer {
    min-width: 155px;
    width: 155px;
    margin-left: 36px;
    margin-top: 1.8vh;
    padding: 10px 20px;
  }
  .attributes {
    height: 90px;
  }
  .attributes div {
    line-height: 30px;
  }
  .boxcontainer {
    margin-left: 33px;
    grid-template-rows: repeat(3, 30px);
  }
  .divbox {
    margin: auto 0px;
  }
  .returncontainer {
    display: block;
    color: skyblue;
    text-align: center;
    width: 185px;
    margin: 16px auto 15px 36px;
    font-size: 18px;
    font-weight: bold;
    background-color: white;
    padding: 10px 6px;
    border-radius: 20px;
  }
  .content {
    max-width: 100vw;
  }
  .pagecontainer {
    max-width: 100vw;
  }
  img{
    max-width: 90vw;
    margin: 10px auto;
  }
  #page1 .images {
    display: flex;
    width: 80vw;
    margin: 30px 0px;
  }
  #page2 ul {
    width: 38vw;
  }
  #page3 .imageblock {
    display: block;
  }
  #page3 ul {
    margin-left: 0px;
    margin-top: 40px;
    padding-left: 20px;
  }
  #page5 .imageblock {
    min-width: 500px;
  }
  #page5 ul {
    width: 38vw;
  }
}
