* {
  margin: 0px;
  padding: 1px;
  box-sizing: border-box;
}

body {
  font-family: Avenir Next;
  font-size: 1em;
  background-color: antiquewhite;
}

a:link,
a:visited {
  text-decoration: none;
  color: #002c61;
}

.chheader {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 50px 0;
  color: #002c61;
}

.chtitle {
  font-size: 50px;
}

.chsubtitlesnskrt {
  font-size: 30px;
  font-weight: 600;
}

.chsubtitleeng {
  font-size: 20px;
  font-style: italic;
}

button {
  background: hsla(213, 100%, 19%, 0.301);
  padding: 10px;
  border: 0;
  color: aliceblue;
  margin: 0 0 0 50px;
}

.hidesanskrit {
  padding: 10px;
  border: 0;
  color: aliceblue;
  margin: 0 0 0 50px;
  position: fixed;
  right: 10px;
  bottom: 20px;
  cursor: pointer;
}

.hideenglish {
  padding: 10px;
  border: 0;
  color: aliceblue;
  margin: 0 0 0 50px;
  position: fixed;
  right: 10px;
  bottom: 80px;
  cursor: pointer;
}

.chindex {
  display: flex;
  flex-direction: column;
}

.cisubchtitles {
  display: flex;
  flex-wrap: wrap;
  margin: 10px 50px 0 0px;
}

.civerses {
  font-weight: 500;
}

.ciinstructions {
  margin: 20px 0 0 50px;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  color: hsl(202, 95%, 46%);
}

.subchtitle {
  margin: 20px 0 0 50px;
  font-weight: 700;
  color: #002c61;
  text-transform: uppercase;
}

.versecontainer {
  margin: 10px 0 0 50px;
  display: flex;
  flex-direction: row;
}

.verseno {
  width: 65px;
}

.engverse {
  font-weight: 500;
  width: 48vw;
}

.separator {
  width: 2px;
  margin: 2%;
  background-color: hsl(191, 62%, 54%);
  margin-top: 10px;
  margin-bottom: 10px;
}

.snskrtverse {
  width: 48vw;
  margin: 0 10px 0 0;
}

.expand {
  width: 80vw;
}

.hidden {
  display: none;
}

ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30px, 1fr));
  list-style-type: none;
  margin: 10px 50px 0 50px;
  font-weight: 700;
}

li {
  text-decoration: none;
}

.round-button {
  background-color: hsla(213, 100%, 19%, 0);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 0px 5px 1px hsl(202, 95%, 46%);
  position: fixed;
  right: 20px;
  bottom: 145px;
  cursor: pointer;
}

.round-button:before {
  content: "";
  height: 7px;
  width: 7px;
  border-top: 3px solid hsl(202, 95%, 46%);
  border-left: 3px solid hsl(202, 100%, 19%);
  transform: rotate(45deg);
  margin-top: 4px;
}

.chapter-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.prev-chapter {
  margin: 50px 200px 50px 50px;
  padding-left: 20px;
  border-left: solid hsl(202, 95%, 46%) 10px;
  border-start-start-radius: 50px 80px;
}

.next-chapter {
  margin: 50px 50px 50px 200px;
  padding-right: 20px;
  border-right: solid hsl(202, 95%, 46%) 10px;
  border-start-end-radius: 50px 80px;
}

.other-chapters {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.chapter {
  margin: 25px 50px 50px 50px;
}

@media (max-width: 900px) {
  .versecontainer {
    flex-wrap: nowrap;
    flex-direction: column;
  }

  .engverse {
    width: 90vw;
  }

  .snskrtverse {
    width: 90vw;
  }

  .verseno {
    margin: 10px 0 0 0px;
    width: 18%;
    font-weight: 600;
  }

  .other-chapters {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .prev-chapter {
    margin: 50px 10px 50px 30px;
    padding-left: 40px;
    border-left: solid #002c61 1px;

  }

  .next-chapter {
    margin: 50px 50px 50px 10px;
    padding-right: 20px;
    border-right: solid #002c61 1px;
  }

  .chapter {
    margin: 20px 10px 20px 10px;
  }

  .ciinstructions {
    margin: 12px 0 0 10px;
  }
}

@media print {
  .versecontainer {
    flex-direction: column;
  }
}

@media (max-width: 450px) {
  .versecontainer {
    margin: 10px 5px 10px 5px;
  }

  .subchtitle {
    margin: 20px 0 0 20px;
  }
  .verseno {
    margin: 10px 0 0 0px;
    width: 18%;
    font-weight: 600;
  }

  .other-chapters {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .prev-chapter {
    margin: 50px 10px 50px 30px;
    padding-left: 20px;
  }

  .next-chapter {
    margin: 50px 50px 50px 10px;
  }

  .chapter {
    margin: 20px 10px 20px 10px;
  }

  .ciinstructions {
    margin: 12px 0 0 5px;
  }
}
