html {
  background-color: #eeffff;
  /*background: linear-gradient(0deg, #fff, #eeffee 40%, #eeffff);*/
  /* use flex to make it take up all vertical space */
  display: flex;
  flex-direction: column;
}

img[src*="/pokemon/img/sprites/"] {
  image-rendering: pixelated;
}

#content-control {
  border: 0;
}

#settings-pill {
  background-color: #abfce0;
  padding: 10px;
  border-radius: 15px;
  position: fixed;
  right: 10px;
  bottom: 10px;
  width: 50px;
  height: 20px;
  border: 2px solid #abfce0;
  overflow:hidden;
  transition:
    width 0.5s, height 0.5s;
  z-index:3;
}

#settings-pill:hover {
  border: 2px solid #44ba90;
  cursor: pointer;  
}

.open {
  width: 250px !important;
  height: 120px !important;
  overflow: hidden;
}

.hidden {
  display: none;
}

a {
  color: #208070;
}

a:hover {
  color: #44ba90;
}

/*a:visited {
  color: #888890;
}*/

/* big screen */
@media (min-width: 769px) {
  .offside-regular {
    font-family: "Genos", serif;
    font-size: 50px;
    font-weight: 400;
    font-style: normal;
    color: #fff;
  }
  .offside {
    font-family: "Genos", serif;
    font-size: 20pt;
    font-weight: 500;
    font-style: normal;
    color: #fff;
    text-shadow: 1px 1px #aaa;
  }

  h1 {
    width: 100%;
    border-bottom: 2px solid #66d9fa;
    padding-bottom: 10px;
  }

  h1::before {
    width: 15px;
    height: 15px;
    background-color: #eb9cf9;
    content: "";
    display: inline-block;
    margin-right: 15px;
    margin-bottom: 3px;
    border-radius: 15px;
  }

  h1,
  h2,
  h3,
  h4 {
    font-family: Arial;
  }

  header {
    /* block out the height of the header so the content does not jump when it is loaded*/
    height: 64px;
    text-shadow: 1px 1px #aaa;
    text-align: center;
    border: 2px solid transparent;
    background: linear-gradient(
          0deg,
          rgba(60, 247, 183, 1) 0%,
          rgba(102, 217, 250, 1) 75%,
          rgba(151, 248, 253, 0.5) 100%
        )
        padding-box,
      linear-gradient(to top, #5cbd74, #66d9fa) border-box;
    border-radius: 5px;
  }

  header a {
    text-decoration: none;
    color: #fff;
  }

  .side-menu {
    display: none;
  }

  .container {
    position: relative;
    flex-grow: 1;
    min-height: 100vh;
    padding: 10px;
    margin-top: 20px;
    display: grid;
    grid-template-columns: 200px 3fr 200px; /* Two equal columns */
    gap: 20px; /* Space between columns */
  }
  .content {
    font-family: Arial;
    line-height: 24px;
    padding: 10px;
  }

  nav {
    margin-top: 50px;
    /*   background-color: #fff;
  border-left: 1px solid #a8f8dc; */
  }

  /*  https://simplestepscode.com/css-glass-button-tutorial/ */

  .glass {
    /* background styles */
    position: relative;
    display: inline-block;
    padding: 8px 25px;
    background-color: green; /*for compatibility with older browsers*/
    background-image: linear-gradient(
      0deg,
      rgba(60, 247, 183, 1) 0%,
      rgba(60, 247, 183, 1) 75%,
      rgba(60, 247, 183, 0.5) 100%
    );

    /* text styles */
    text-decoration: none;
    color: #fff;
    font-size: 20px;
    font-family: sans-serif;
    font-weight: 100;

    border-radius: 2px;
    box-shadow: 0px 1px 4px -2px #333;
    /*   text-shadow: 0px -1px #333; */
    text-align: center;
    width: 150px;
  }

  .glass:after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: calc(100% - 4px);
    height: 50%;
    background: linear-gradient(
      rgba(255, 255, 255, 0.8),
      rgba(255, 255, 255, 0.5)
    );
  }

  .subheader,
  subheader:hover {
    background-color: #8ce5c7 !important;
    list-style-type: none;
    color: #fff;
    font-variant: small-caps;
    font-family: Arial;
    text-shadow: -1px 1px #aaa;
    font-weight: 600;
    font-size: 14pt;
  }
  
  .affiliate {
    text-align: center;
  }

  .sublink {
    width: 170px;
    background-color: #fff;
    list-style-type: none;
    padding: 0;
    margin-left: 10px;
    margin-top: 0px;
    margin-bottom: 0px;
    border-left: 2px solid #44ba90;
    border-right: 2px solid #44ba90;

    /* text styles */
    color: #666;
    font-family: "Rajdhani", serif;
    font-weight: 500;
    font-style: normal;
  }

  .sublink a {
    text-decoration: none;
    color: #666;
  }

  .sublink li {
    padding: 5px;
  }

  .sublink li:hover {
    background-color: #a8f8dc;
  }

  nav details:last-of-type .sublink:last-child {
    border-bottom: 2px solid #44ba90;
    border-radius: 3px;
  }

  nav details > summary {
    list-style-type: none;
  }

  nav details > summary:hover {
    cursor: pointer;
  }

  /* Needed to remove arrow in safari */
  nav details > summary::-webkit-details-marker {
    display: none;
  }

  .darkbluedot {
    z-index: -1;
    position: fixed;
    bottom: 80px;
    right: 90px;
    opacity: 0.75;
    height: 200px;
    width: 200px;
    background-color: #66d9fa;
    border-radius: 50%;
    display: inline-block;
  }
  .cyandot {
    z-index: -1;
    position: fixed;
    bottom: 266px;
    right: 33px;
    padding: 15px;
    height: 25px;
    width: 25px;
    background-color: #97f8fd;
    border-radius: 50%;
    display: inline-block;
  }
  .greendot {
    z-index: -1;
    position: fixed;
    bottom: 10px;
    right: 200px;
    opacity: 0.5;
    height: 85px;
    width: 85px;
    background-color: #a9fa53;
    border-radius: 50%;
    display: inline-block;
  }
  .pinkdot {
    z-index: -1;
    position: fixed;
    bottom: 10px;
    right: 10px;
    opacity: 0.5;
    height: 125px;
    width: 125px;
    background-color: #eb9cf9;
    border-radius: 50%;
    display: inline-block;
  }
}

/* Small screen */
@media (max-width: 768px) {
  .offside-regular {
    font-family: "Genos", serif;
    font-size: 35px;
    font-weight: 400;
    font-style: normal;
    color: #fff;
  }
  .offside {
    font-family: "Genos", serif;
    font-size: 20pt;
    font-weight: 500;
    font-style: normal;
    color: #fff;
    text-shadow: 1px 1px #aaa;
  }

  h1 {
    width: 100%;
    border-bottom: 2px solid #66d9fa;
    padding-bottom: 10px;
  }

  h1::before {
    width: 15px;
    height: 15px;
    background-color: #eb9cf9;
    content: "";
    display: inline-block;
    margin-right: 15px;
    margin-bottom: 3px;
    border-radius: 15px;
  }

  h1,
  h2,
  h3,
  h4 {
    font-family: Arial;
  }

  header {
    position: fixed;
    left: 0px;
    top: 0;
    width: 100%;
    text-shadow: 1px 1px #aaa;
    /*   text-align: center; */
    border: 2px solid transparent;
    background: linear-gradient(
          0deg,
          rgba(60, 247, 183, 1) 0%,
          rgba(102, 217, 250, 1) 75%,
          rgba(151, 248, 253, 0.5) 100%
        )
        padding-box,
      linear-gradient(to top, #5cbd74, #66d9fa) border-box;
    border-radius: 5px;
  }

  header a {
    text-decoration: none;
    padding-left: 15px;
    color: #fff;
  }

  .container {
    padding: 10px;
    margin-top: 60px;
  }

  .content {
    font-family: Arial;
    line-height: 24px;
    padding: 10px;
  }

  #main {
    z-index: 2;
    display: none;
    position: fixed;
    overflow: scroll;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 80%;
  }

  .side-menu {
    position: fixed;
    height: 50px;
    width: 40px;
    top: 0px;
    right: 0px;
    opacity: 0;
    -webkit-tap-highlight-color: transparent;
  }

  .side-menu:checked ~ nav#main {
    display: block;
  }

  .hamb-line {
    background: #fff;
    display: block;
    height: 2px;
    position: fixed;
    width: 24px;
    top: 25px;
    right: 15px;
  } /* Style span tag */

  input:hover {
    cursor: pointer;
  }

  .hamb-line::before,
  .hamb-line::after {
    background: #fff;
    content: "";
    display: block;
    height: 100%;
    position: absolute;
    transition: all 0.2s ease-out;
    width: 100%;
  }
  .hamb-line::before {
    top: 5px;
  }
  .hamb-line::after {
    top: -5px;
  }

  nav {
    margin-top: 50px;
    /*   background-color: #fff;
  border-left: 1px solid #a8f8dc; */
  }

  /*  https://simplestepscode.com/css-glass-button-tutorial/ */

  .glass {
    /* background styles */
    position: relative;
    display: block;
    padding: 8px;
    background-color: green; /*for compatibility with older browsers*/
    background-image: linear-gradient(
      0deg,
      rgba(60, 247, 183, 1) 0%,
      rgba(60, 247, 183, 1) 75%,
      rgba(60, 247, 183, 0.5) 100%
    );

    /* text styles */
    text-decoration: none;
    color: #fff;
    font-size: 20px;
    font-family: sans-serif;
    font-weight: 100;

    border-radius: 2px;
    box-shadow: 0px 1px 4px -2px #333;
    /*   text-shadow: 0px -1px #333; */
    text-align: center;
    /*   width: 100%; */
  }

  .glass:after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: calc(100% - 4px);
    height: 50%;
    background: linear-gradient(
      rgba(255, 255, 255, 0.8),
      rgba(255, 255, 255, 0.5)
    );
  }

  .subheader,
  subheader:hover {
    background-color: #8ce5c7 !important;
    list-style-type: none;
    color: #fff;
    font-variant: small-caps;
    font-family: Arial;
    text-shadow: -1px 1px #aaa;
    font-weight: 600;
    font-size: 14pt;
  }

  .sublink {
    background-color: #fff;
    list-style-type: none;
    padding: 0;
    margin-top: 0px;
    margin-bottom: 0px;
    border-left: 2px solid #44ba90;
    border-right: 2px solid #44ba90;

    /* text styles */
    color: #666;
    font-family: "Rajdhani", serif;
    font-weight: 500;
    font-style: normal;
  }

  .sublink a {
    text-decoration: none;
    color: #666;
  }

  .sublink li {
    padding: 5px;
  }

  .sublink li:hover {
    background-color: #a8f8dc;
  }

  nav details:last-of-type .sublink:last-child {
    border-bottom: 2px solid #44ba90;
    border-radius: 3px;
  }

  nav details > summary {
    list-style-type: none;
  }

  nav details > summary:hover {
    cursor: pointer;
  }

  /* Needed to remove arrow in safari */
  nav details > summary::-webkit-details-marker {
    display: none;
  }

  .darkbluedot {
    z-index: -1;
    position: fixed;
    bottom: 80px;
    right: 90px;
    opacity: 0.75;
    height: 200px;
    width: 200px;
    background-color: #66d9fa;
    border-radius: 50%;
    display: inline-block;
  }
  .cyandot {
    z-index: -1;
    position: fixed;
    bottom: 266px;
    right: 33px;
    padding: 15px;
    height: 25px;
    width: 25px;
    background-color: #97f8fd;
    border-radius: 50%;
    display: inline-block;
  }
  .greendot {
    z-index: -1;
    position: fixed;
    bottom: 10px;
    right: 200px;
    opacity: 0.5;
    height: 85px;
    width: 85px;
    background-color: #a9fa53;
    border-radius: 50%;
    display: inline-block;
  }
  .pinkdot {
    z-index: -1;
    position: fixed;
    bottom: 10px;
    right: 10px;
    opacity: 0.5;
    height: 125px;
    width: 125px;
    background-color: #eb9cf9;
    border-radius: 50%;
    display: inline-block;
  }
}
