@media screen and (max-width: 360px) and (max-height: 780px),
  (max-width: 599px),
  (min-width: 360px) and (max-width: 780px),
  (min-width: 600px) and (max-width: 799px),
  (min-width: 800px) and (max-width: 1020px) {
  * {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
      Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
      sans-serif;
  }
  body {
    background-color: #dceef9;
  }
  .logo {
    background-color: #dceef9;
    position: flex;
    display: flex;
    overflow: hidden;
    margin: 0;
    padding: 0;
  }
  .top-text {
    color: rgb(0, 135, 165);
    display: inline-block;
    position: absolute;
    top: 10px;
    left: 60px;
    background-color: #dceef9;
  }
  .top-text a {
    background-color: #dceef9;
    color: rgb(0, 135, 165);
    font-size: 20px;
    text-decoration: none;
  }

  .topnav {
    background-color: rgb(0, 135, 165);
    overflow: hidden;
    position: relative;
    max-width: 100%;
  }
  .topnav #myLinks {
    display: none;
  }
  .topnav a {
    background-color: rgb(0, 135, 165);
    color: #ffffff;
    margin: 10px;
    font-size: 18px;
    text-decoration: none;
    display: block;
  }
  .beer-icon {
    display: flex;
    float: right;
  }
  .touch-menu {
    font-size: 12px;
    float: right;
  }
  .topnav a:hover {
    padding: 5px;
    background-color: #96dcf5;
    color: black;
  }
  .active {
    background-color: #dbeee7;
    color: white;
  }
  .search-icon {
    margin: auto;
    display: block;
  }
  .headline {
    font-size: 18px;
    text-align: center;
    padding: 15px 20px;
    margin: auto;
    width: 350px;
    max-width: 80%;
    display: flex;
    justify-content: center;
  }

  .page-indicate {
    text-align: center;
    margin: auto;
    display: flex;
    justify-content: center;
  }
  .page-indicate a {
    margin: 10px;
    color: #030314;
  }
  .body-one {
    font-size: 16px;
    background-color: rgba(203, 245, 254, 0.968);
    padding: 16px;
    color: #dceef9;
    text-align: center;
  }
  .body-two {
    font-size: 16px;
    padding: 16px;
    color: #16252e;
    text-align: center;
    background-color: #dafcf2;
  }
  .body-one:hover,
  .body-two:hover {
    background-color: rgb(177, 220, 218);
  }

  .body-one a {
    color: #030314;
    margin: 18px;
    align-items: center;
    align-self: center;
    text-decoration: none;
  }
  .body-two a {
    color: #030314;
    margin: 18px;
    align-items: center;
    align-self: center;
    text-decoration: none;
  }

  .sub-vocab {
    background-color: rgb(201, 250, 199);
    padding: 16px;
    font-size: 14px;
    color: #04080a;
    text-align: center;
    margin: auto;
  }
  .sub-vocab a {
    margin: 25px;
    align-items: center;
    align-self: center;
    text-decoration: none;
    color: #04080a;
  }
  .prev {
    background-color: rgb(0, 135, 165);
    padding: 0px 5px;
    display: initial;
    position: sticky;
    left: 45%;
    width: 25px;
    color: #fcfeff;
    font-size: 40px;
    text-align: center;

    align-items: center;
    align-content: center;
  }
  .next {
    background-color: rgb(0, 135, 165);
    padding: 0px 5px;
    margin: auto;

    display: initial;
    position: sticky;
    left: 55%;
    color: #fcfeff;
    font-size: 40px;
    text-align: center;

    flex-direction: row;
  }
  #lesson-page-one {
    display: block;
    position: sticky;
    left: 20%;
    margin: auto;
    width: 25px;
  }
  a {
    text-decoration: none;
  }
  a:hover {
    background-color: #b2d8ff;
    color: black;
  }
}
@media screen and (min-width: 800px) and (max-width: 1024px),
  (min-width: 1025px) and (max-width: 1399px),
  (min-width: 1400px) {
  body {
    background-color: #dceef9;
  }
  .logo {
    background-color: #dceef9;
    position: flex;
    display: flex;
    overflow: hidden;
    margin: 0;
    padding: 0;
  }

  .top-text {
    font-size: 25px;
    align-self: center;
    align-items: center;
  }

  .top-text a {
    text-decoration: none;
    color: rgb(0, 135, 165);
  }
  .topnav {
    background-color: rgb(0, 135, 165);
    text-align: right;
    margin: auto;
  }
  .topnav,
  #myLinks {
    padding: 6px;
  }
  .topnav a {
    background-color: rgb(0, 135, 165);
    color: #ffffff;
    margin: 0 18px;
    align-items: center;
    align-self: center;
    font-size: 20px;
    text-decoration: none;
  }
  .beer-icon {
    display: none;
  }
  .touch-menu {
    display: none;
  }

  .topnav a:hover {
    background-color: #96dcf5;
    padding: 15px;
  }
  .headline {
    font-size: 20px;
    text-align: center;
    padding: 15px 20px;
    margin: auto;
    width: 650px;
    max-width: 100%;
  }
  .page-indicate {
    text-align: center;
    margin: auto;
    display: flex;
    justify-content: center;
  }
  .page-indicate a {
    margin: 10px;
    color: #030314;
    font-size: 18px;
  }
  .body-one {
    font-size: 20px;
    background-color: rgba(203, 245, 254, 0.968);
    padding: 20px;
    color: #dceef9;
    text-align: center;
  }
  .body-two {
    font-size: 20px;
    padding: 20px;
    color: #16252e;
    text-align: center;
    background-color: #dafcf2;
  }

  .body-one:hover,
  .body-two:hover {
    background-color: rgb(177, 220, 218);
  }

  .body-one a {
    color: #030314;
    margin: 20px;
    align-items: center;
    align-self: center;
    text-decoration: none;
  }
  .body-two a {
    color: #030314;
    margin: 25px;
    align-items: center;
    align-self: center;
    text-decoration: none;
  }

  .sub-vocab {
    background-color: rgb(201, 250, 199);
    padding: 20px;
    font-size: 16px;
    color: #04080a;
    text-align: center;
  }
  .sub-vocab a {
    margin: 25px;
    align-items: center;
    align-self: center;
    text-decoration: none;
    color: #04080a;
  }
  .prev {
    background-color: rgb(0, 135, 165);
    padding: 0px 5px;
    display: initial;
    position: sticky;
    left: 45%;
    width: 25px;
    color: #fcfeff;
    font-size: 40px;
    text-align: center;

    align-items: center;
    align-content: center;
  }
  .next {
    background-color: rgb(0, 135, 165);
    padding: 0px 5px;
    margin: auto;

    display: initial;
    position: sticky;
    left: 55%;
    color: #fcfeff;
    font-size: 40px;
    text-align: center;

    flex-direction: row;
  }
  #lesson-page-one {
    display: block;
    position: sticky;
    left: 20%;
    margin: auto;
    width: 25px;
  }
  a {
    text-decoration: none;
  }
  a:hover {
    background-color: #b2d8ff;
    color: black;
  }
}
