:root {
  --bg-color:rgba(44, 41, 42, 0.6);
  --background-image: url('/images/backgrounds/sakura.webp');
  --banner-line-color: #272b2e;
  --banner-bg-color: transparent;

  --shadow-color: rgba(0, 0, 0, 0.5);

  /*--nav-bar-color: #d9ecfe;*/
  --nav-bar-color: rgba(44, 41, 42, .9);
  --nav-line-color: rgb(255, 238, 238);
  --nav-text-color: rgb(255, 238, 238);
  --nav-hover-bg: linear-gradient(to bottom, rgb(208, 203, 215, 0.8), rgb(255, 255, 255, 0.8));
  --nav-hover-text-color: #44647c;

  --notes-text-color: rgb(255, 238, 238);;
  --notes-text-weight: 650;
  --notes-bg-color: rgba(44, 41, 42, 0.3);

  --card-bg: transparent;
  /*--card-background-color: rgb(90,81,85,0.65);*/
  --card-background-color:rgba(44, 41, 42, 0.6);
  --move-title-color: rgb(255, 238, 238);
  --text-color: rgb(255, 238, 238);
  --border-color: rgb(255, 238, 238);
  --table-border-color: rgb(255, 238, 238);
  --table-background-color: rgba(44, 41, 42, 1);
  --card-border-width: 0.1rem;

  --popup-bg-color: rgb(90,81,85,1);
  --popup-title-text-color: rgb(255, 238, 238);
  --popup-text-color: rgb(255, 238, 238);
  --popup-border-color: rgb(255, 238, 238);
  --popup-button-color: rgb(255, 238, 238, 0.5);
  --popup-button-border-color: #272b2e;
  --popup-button-text-color: #272b2e;
  --popup-button-hover-color: linear-gradient(to bottom, rgb(208, 203, 215, 0.8), white);
  --popup-button-hover-text-color: #272b2e;

  --gradient-start: #D9A78B;
  --gradient-end: #222629;

  --copy-gif-button: url("/images/site/copy-gif-sakura.webp");

}
.theme-terminal {
  --bg-color: black;
  --bg: None;
  --background-image: url('/images/backgrounds/terminal.webp');
  --banner-line-color: transparent;
  --banner-bg-color: transparent;

  --nav-bar-color: #1A1A1A;
  --nav-bar-bg: linear-gradient(to left, rgb(0, 0, 0, 0.8), #012b01, rgb(0, 0, 0, 0.8));

  --nav-bar-color: rgb(0, 0, 0, 0.9);
  --nav-line-color: #00ff41;
  --nav-text-color: #00ff41;
  --nav-hover-bg: linear-gradient(to bottom, black, #008f11, black);
  --nav-hover-text-color: #D0FFD6;

  --notes-text-color: white;
  --notes-text-weight: 650;

  --card-bg: linear-gradient(to left, #012b01, black, #012b01);
  --card-background-color: rgb(0, 0, 0, 0.4);
  --move-title-color: #00ff41;
  --text-color: #D0FFD6;
  --border-color: #00ff41;
  --table-border-color: #00ff41;
  --card-border-width: 1px;

  --popup-bg-color: rgb(0, 0, 0, 1);
  --popup-title-text-color: #00ff41;
  --popup-text-color: #D0FFD6;
  --popup-border-color: #00ff41;
  --popup-button-border-color: #00ff41;
  --popup-button-color: transparent;
  --popup-button-text-color: #D0FFD6;
  --popup-button-hover-color: linear-gradient(to bottom, #008f11, black);
  --popup-button-hover-text-color: #D0FFD6;

  --gradient-start: #D9A78B;
  --gradient-end: #222629;

  --copy-gif-button: url("/images/site/copy-gif-terminal.webp");
}

.theme-fire {
  --bg-color: rgb(1, 4, 15);
  --bg: linear-gradient(to bottom, rgb(30, 8, 8), rgb(17, 5, 5));
  /*  --background-image: url('../images/site/fire.webp');*/
  --background-image: url('/images/backgrounds/grunge.webp');
  --banner-line-color: rgb(200, 0, 0);
  --banner-bg-color: transparent;

  --nav-bar-color: rgb(0, 0, 0, 0.9);
  --nav-bar-bg: linear-gradient(to left, transparent 5%, rgb(50, 8, 8, 0.8) 15%, rgb(0, 0, 0, 0.8), rgb(50, 8, 8, 0.8) 85%, transparent 95%);
  --nav-line-color: rgb(200, 0, 0);
  --nav-text-color: white;
  --nav-hover-bg: linear-gradient(to bottom, rgb(200, 0, 0), rgb(39, 8, 8));
  --nav-hover-text-color: white;

  --notes-text-color: white;
  --notes-text-weight: 650;

  --card-bg: transparent;
  --card-background-color: rgb(0, 0, 0, 0.2);
  --card-background-color: transparent;
  --move-title-color: white;
  --text-color: white;
  --border-color: rgb(200, 0, 0);
  --table-border-color: rgb(200, 0, 0);
  --table-background-color: rgb(0, 0, 0, 0.8);
  --card-border-width: 0.1rem;

  --popup-bg-color: rgb(0, 0, 0, 1);
  --popup-title-text-color: white;
  --popup-text-color: white;
  --popup-border-color: rgb(200, 0, 0);
  --popup-button-border-color: rgb(200, 0, 0);
  --popup-button-color: rgb(0, 0, 0, 0.85);
  --popup-button-text-color: white;
  --popup-button-hover-color: linear-gradient(to bottom, rgb(200, 0, 0), rgb(39, 8, 8));

  --gradient-start: #D9A78B;
  --gradient-end: black;

  --copy-gif-button: url("/images/site/copy-gif-fire.webp");
}

.theme-nightsky {
  --bg-color: rgb(1, 4, 15);
  --bg: linear-gradient(to top, rgb(1, 4, 15), rgb(1, 4, 15));
  --background-image: url('/images/backgrounds/galaxy.webp');
  --text-color: white;

  --banner-bg-color: transparent;
  --banner-line-color: rgb(164, 206, 246);
  --nav-bar-color: rgb(0, 7, 19, 0.9);
  --nav-bar-bg: linear-gradient(to left, transparent 0%, rgb(0, 22, 61, 0.8) 5%, rgb(0, 7, 19, 0.8), rgb(0, 7, 19, 0.8), rgb(0, 22, 61, 0.8) 95%, transparent 100%);
  --nav-line-color: rgb(31, 121, 203);
  --nav-text-color: rgb(164, 206, 246);
  --nav-hover-bg: linear-gradient(to bottom, rgb(0, 7, 19), rgb(0, 22, 61), rgb(0, 7, 19));
  --nav-hover-text-color: white;

  --notes-text-color: white;
  --notes-text-weight: 650;

  --card-bg: transparent;
  /*--card-background-color: rgb(0, 7, 19, 0.88);*/
  --card-background-color: transparent;
  --move-title-color: rgb(219, 234, 248);
  --text-color: rgb(219, 234, 248);
  --border-color: rgb(31, 121, 203);
  --table-border-color: rgb(31, 121, 203);
  --table-background-color: rgb(0, 7, 19, 0.8);
  --card-border-width: 1px;

  --popup-bg-color: rgb(0, 7, 19, 1);
  --popup-title-text-color: rgb(164, 206, 246);
  --popup-text-color: rgb(219, 234, 248);
  ;
  --popup-border-color: rgb(31, 121, 203);
  --popup-button-border-color: rgb(31, 121, 203);
  --popup-button-color: transparent;
  --popup-button-text-color: rgb(219, 234, 248);
  ;
  --popup-button-hover-color: linear-gradient(to bottom, rgb(0, 7, 19), rgb(0, 22, 61), rgb(0, 7, 19));
  --popup-button-hover-text-color: rgb(219, 234, 248);
  ;

  --gradient-start: rgb(0, 22, 61);
  --gradient-end: rgb(0, 7, 19);

  --copy-gif-button: url("/images/site/copy-gif-nightsky.webp");
}


.theme-light {
  --bg-color:rgb(209, 207, 196, 1);
  --background-image: url('/images/backgrounds/light.webp');
  --banner-bg-color: rgba(248, 240, 234, 0.6);
  --banner-line-color: rgb(40, 33, 28);

  --shadow-color: rbg(50, 50, 50);

  /*--nav-bar-color: #d9ecfe;*/
  --nav-bar-color: rgb(209, 207, 196, 0.9);
  --nav-line-color: rgb(80, 65, 51);
  --nav-text-color: rgb(40, 33, 28);
  --nav-hover-bg: linear-gradient(to bottom, rgb(209, 207, 196), rgb(255, 255, 255, 0.8));
  --nav-hover-text-color: rgb(40, 33, 28);

  --notes-text-color: rgb(40, 33, 28);
  --notes-text-weight: 650;
  --notes-bg-color:transparent;

  --card-bg: rgb(209, 207, 196, 0.3);
  /*--card-background-color: rgb(90,81,85,0.65);*/
  --card-background-color: transparent;
  --move-title-color: rgb(40, 33, 28);
  --text-color: rgb(32, 28, 23);
  --border-color: rgb(80, 65, 51);
  --table-border-color: rgb(40, 33, 28);
  --table-background-color: rgb(209, 207, 196, 1);
  --card-border-width: 0.2rem;

  --popup-bg-color:rgb(209, 207, 196, 1);
  --popup-title-text-color: rgb(40, 33, 28);
  --popup-text-color: rgb(40, 33, 28);
  --popup-border-color: rgb(40, 33, 28);
  --popup-button-color: rgb(235, 235, 235);
  --popup-button-border-color: rgb(40, 33, 28);
  --popup-button-text-color: rgb(40, 33, 28);
  --popup-button-hover-color: linear-gradient(to bottom, rgb(208, 203, 215, 0.8), white);
  --popup-button-hover-text-color: #272b2e;

  --gradient-start: #D9A78B;
  --gradient-end: #222629;

  --copy-gif-button: url("/images/site/copy-gif-light.webp");
}


* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Geneva, Tahoma, sans-serif;
  overflow-y: scroll;
}
h1 {
  color: var(--notes-text-color);
  padding: 0;
  margin: 0.5rem;
}
/*
Background conatiner
*/
.fade-in-background {
  position: fixed;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;

  background-image: var(--background-image);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  transition: all 0.5s ease-in-out;
  z-index: -1;
}

@keyframes fadeInBackground {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

main {
  width: 90vw;
  margin: 0 auto;
  padding: 0;
}

/* 
Top, site name banner styles
*/

.banner {
  width: 100%;
  display: flex;
  justify-content: center;
  overflow: hidden;
  background-color: var(--banner-bg-color);
  padding: 1px 0px 1px 0px;
  border-width: 1px 0px 1px 0px;
  border-color: var(--banner-line-color);
  border-style: solid;
  margin: 10px 0 10px 0;
}

.banner-image-container {
  height: 101px;
  position: relative;
  height: fit-content;
}

.banner-large {
  display: block;
  width: 100%;
  max-width: 547px;

  height: auto;
}

.banner-small {
  display: none;
  width: 100%;
  max-width: 320px;

  height: auto;
}

.banner-text {
  position: absolute;
  font-family: Geneva, Tahoma, sans-serif;
  color: white;
  font-size: .8rem;
  bottom: 0px;
  right:-40px;
}

/*
NAVIGATION BAR STYLES
*/
.navbar {
  position: sticky;
  top: 0;
  width: 90vw;
  margin: 0 auto;
  z-index: 100;
  border: 1px solid var(--nav-line-color);
  border-width: var(--card-border-width) 0 var(--card-border-width) 0;
  background-color: var(--nav-bar-color);

  transition: background-color 0.3s ease-in-out;
  backdrop-filter: blur(5px);
  align-content: center;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
}

.nav-content {
  width: auto;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-gap: 1px;
  grid-template-columns: min-content 1fr 1fr 1fr min-content;
  transition: all 0.3s ease-in-out;
}

.nav-char-select-icon {
  width: 60px;
  height: 60px;
  padding: 0;
  margin: 0;
}

.nav-char-select-icon:hover {
  scale: 110%;
  cursor: pointer;
  transition: all 0.15s ease-out;
}

.nav-links {
  color: var(--nav-text-color);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center !important;
  word-break: break-word;
  text-decoration: none;
  font-family: Geneva, Tahoma, sans-serif;
  line-height: 1.5rem;
  font-size: 1.3rem;
}

.nav-links:hover {
  scale: 105%;
  color: var(--nav-hover-text-color);
  border: 2px solid var(--nav-line-color);
  border-width: 0px 2px 0px 2px;
  background: var(--nav-hover-bg);
  cursor: pointer;
  transition: all 0.15s ease-out;
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.5);
}

.nav-hamburger {
  height: 3.8rem;
  width: auto;
}

.nav-hamburger:hover {
  box-sizing: border-box;
  scale: 120%;
  cursor: pointer;
}

.theme-icon {
  background: transparent;
  color: var(--text-color);
  font-size: 1.8rem;
  border: none;
  cursor: pointer;
  z-index: 1000;
  transition: color 0.3s;
  width: 4rem;
  margin: 0;
}

.theme-icon:hover {
  scale: 140%;
  transition: all 0.15s ease-out;
}
p.notes {
  width: fit-content;
  text-align: center;
  font-size: 0.7rem;
  font-weight: var(--notes-text-weight);
  color: var(--notes-text-color);
  background-color: var(--notes-bg-color);
  word-spacing: 0.2em;
  margin: auto;
  margin-top: 1rem;
  border-radius: 5px;
  backdrop-filter: blur(8px);
  padding: 0.3rem;
  transition: opacity 0.5s ease-in;
}

#content {
  min-height: 600px;
}

/*
MAIN STYLES
for the grid and the cards
*/
.anchor-link-grid {
  text-align: center;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  justify-content: center;
  row-gap: 0.8rem;
  column-gap: 0.2rem;
  padding: 0.5rem;
  width: 80vw;
  margin: 0 auto;
}

a {
    color: var(--notes-text-color);
}

.main-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 0.25fr));
  gap: 20px;
  /*max-width: calc(3 * 500px + 3 * 20px);*/
  max-width: 95vw;
  justify-content: center;
  margin: 0 auto;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.move-container {
  /*width: 100%;*/
  min-height: 300px;
  max-height: fit-content;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  /*  justify-content: space-between;*/
  text-align: center;
  backdrop-filter: blur(8px);
  padding: 0;

  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);

  border: var(--card-border-width) solid var(--border-color);
  font-size: 1rem;
  color: var(--text-color);
  transition: all 0.5s ease-in-out;

  opacity: 0;
  animation: fadeInBoxes 0.5s ease-out forwards;
}

@keyframes fadeInBoxes {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.move-title {
  display: block;
  max-height: fit-content;
  width: 100%;
  margin: 0;
  padding: 10px;
  background-color: var(--card-background-color);
  font-size: 1rem;
  color: var(--move-title-color);
  transition: all 0.5s ease-in-out;
}

.move-thumbnail-container {
  position: relative;
  min-height: 20vh;
  max-height: 300px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background-color: transparent;
  border: 1px solid var(--border-color);
  border-width: var(--card-border-width) 0 var(--card-border-width) 0;

  transition: all 0.5s ease-in-out;
  
}

.move-thumbnail {
  max-width: 100%;
  height: auto;
  max-height: 100%;
  display: block;
  cursor: pointer;
  transition: all 0.15s ease-in;
  opacity: 0;
  animation: fadeInThumbnail 0.5s ease-out forwards;
}

.icon {
  width: 32px;
  height: 32px;
  background-image: var(--icon-url);
  background-size: cover;
  background-repeat: no-repeat;
}
.copy-gif-link-button {
    position: absolute;
    bottom: 5px;       /* adjust position */
    right: 5px;      /* adjust position */
    width: 30px;   /* adjust size */
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
    background-image: var(--copy-gif-button);
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.5;
}
.copy-gif-link-button:hover{
  scale: 120%;
  opacity: 1;
}

@keyframes fadeInThumbnail {
  to {
    opacity: 1;
  }
}

.move-thumbnail:hover {
  scale: 105%;
  transition: all 0.15s ease-out;
}

.move-info {
  width: 100%;
  max-height: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
  justify-items: center;
  background-color: var(--card-background-color);
  padding: 10px;
  transition: all 0.5s ease-in-out;
}

.input {
  /*display: flex;*/
  max-width: 100%;
  max-height: 10vh;
  min-height: 2vh;
  font-size: 1rem;
  /*align-items: center;
  justify-content: center;*/
  text-align: center;
  overflow: hidden;
}

.input img {
  max-height: 2rem;
}

.table-scroll-wrapper {
  overflow-x: auto;
  overflow-y: auto;
  display: block;
  max-width: 100%;
  max-height: 100%;
  min-height: fit-content;
  padding: 0;
  align-items: center;
  justify-content: center;
}

.move-info table {
  margin: 3px 0px 3px 0px;
  width: 1fr;
  border-collapse: collapse;
  border: 1px solid var(--table-border-color);
  background-color: var(--table-background-color);
}

.move-info th,
td {
  border-collapse: collapse;
  border: 1px solid var(--table-border-color);
  font-family: Geneva, Tahoma, sans-serif;
  font-size: 0.8rem;
  font-weight: 650;
  text-align: center;
  color: var(--text-color);
  padding: 5px;
  margin: 5px;
  max-width: 85px;
  word-wrap: break-word;

}

.startup-text {
  color: rgb(0, 178, 151)
}

.active-text {
  color: rgb(208, 42, 98)
}

.recovery-text {
  color: rgb(39, 143, 217)
}

.move-notes {
  text-align: left;
  margin: 5px 0px 5px 0px;
  padding: 0;
  width: 80%;
  font-size: 1rem;
  overflow-y: auto;
  max-height: 20vh;
}

/*
"Other"s
Styles currently used for the MORE... page
*/

.other-container {
  display: block;
  min-height: 340px;
  max-height: fit-content;
  max-width: 800px;
  margin: 0 auto;
  border-radius: 8px;

  text-align: center;
  backdrop-filter: blur(8px);

  border: var(--card-border-width) solid var(--border-color);
  transition: all 0.5s ease-in-out;
  opacity: 0;
  animation: fadeInBoxes 0.5s ease-out forwards;
  padding: 0 1rem 1rem 1rem;
  background-color: var(--card-background-color);
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
  margin-top: 1rem;

}

.other-links {
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
  font-family: Geneva, Tahoma, sans-serif;
  align-items: center;
  text-align: center;
  font-size: 1rem;
  color: var(--nav-text-color);
  max-height: 1.2rem;
}

.other-links:hover {
  scale: 105%;
  cursor: pointer;
}

.other-text {
  text-align: left;
  font-family: Geneva, Tahoma, sans-serif;
  font-size: 1rem;
  line-height: 1.4rem;
  color: var(--nav-text-color);
  max-width: 550px;
  margin: 20px auto;
  padding: 0 15px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
.other-text a{
  color: var(--notes-text-color);
}
.other-text a:hover{
  color: red;
}

.other-text h2 {
  text-align: center;
  color: var(--nav-text-color);
}

.other-container table,
th,
td {
  border-collapse: collapse;
  table-layout: fixed;
  width: auto;
  margin-left: auto;
  margin-right: auto;
}

.other-container th,
.other-container td {
  border-collapse: collapse;
  border: 1px solid var(--table-border-color);
  font-family: Geneva, Tahoma, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  text-align: center;
  color: var(--nav-text-color);
  padding: 0.5rem;
  margin: 0.6rem;
  max-width: 85px;
  word-wrap: break-word;
}

.other-container table img {
  text-align: center;
  vertical-align: middle;
  max-width: 100%;
}

/*
Main page (calling it index) styles
*/
.index-container {
  background-color: var(--card-background-color);
  display: block;
  min-height: 340px;
  max-height: fit-content;
  max-width: 85%;
  margin: 0 auto;
  border-radius: 8px;

  text-align: center;
  backdrop-filter: blur(8px);

  border: var(--card-border-width) solid var(--border-color);
  transition: all 0.5s ease-in-out;
  opacity: 0;
  animation: fadeInBoxes 0.5s ease-out forwards;

  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
  margin-top: 1rem;
}
.index-news {
  text-align: left;
  margin: 10px 0px 10px 0px;
  width: 100%;
  line-height: 1.4rem;
  font-size: 1rem;
  overflow-y:auto;
  max-height:30vh;
}
.index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20px, 250px));
  min-height:50px;
  row-gap: 5px;
  column-gap: 10px;
  padding: 1.2rem;
  max-width: calc(4 * 400px + 3 * 50px);

  justify-content: center;
  margin: 0 auto;
}

.index-grid img:hover {
  scale: 110%;
  transition: all 0.15s ease-out;
}
/*basically a copy of other-text, just separating for clariy*/
.index-text {
  text-align: left;
  font-family: Geneva, Tahoma, sans-serif;
  font-size: 1rem;
  line-height: 1.4rem;
  color: var(--nav-text-color);
  max-width: 650px;
  margin: 20px auto;
  padding: 0 15px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
.index-text a{
  color: var(--notes-text-color);
}
.index-text a:hover{
  color: red;
}

.index-text h1 {
  text-align: center;
}

.move-divider {
  height:fit-content;
  text-align: center;
  margin: 1rem;
}
.x-button {
  text-align: center;
  height: fit-content;
}

.x-button img:hover{
  scale:110%;
  transition: all 0.15s ease-out;
}
/*
at media stuff
*/

#backToTop {
  position: fixed;      /* stays in place */
  bottom: 0px;         /* distance from bottom */
  right: 0px;
  display: none;        /* hidden by default */
  padding: 15px 15px;
  font-size: 14px;
  border-color: var(--border-color);
  border-radius: 6px;
  background: var(--popup-bg-color);
  color: var(--text-color);
  cursor: pointer;
  z-index: 1000;
}
#backToTop:hover {
  opacity: 1;
}


@media (max-width: 1150px) {
  .main-grid {
  grid-template-columns: repeat(auto-fit, minmax(310px, 0.45fr));
  }
  .move-thumbnail-container {
    min-height: 150px;
  }
  .index-grid{
    grid-template-columns: repeat(auto-fit, minmax(150px, 0.46fr));
    padding: 5px;
  }
  .nav-links {
    font-size: 1rem;
  }
  .banner-large {
    display: none;
  }
  .banner-small {
    display: block;
  }
  .banner-image-container {
    height: 62px;
  }
  .banner-text {
    bottom: 0px;
    right: -25px;
    font-size: 0.6rem;
  }
}

/*was 780*/
@media (max-width: 884px) {
  .index-grid{
    grid-template-columns: repeat(auto-fit, minmax(150px, 0.46fr));
    padding: 5px;
  }
  .move-thumbnail-container {
    min-height: 150px;
  }
  .index-news{
    font-size:0.9rem;
    line-height: 1rem;
  }
  .navbar {
    width: 98vw;
    height: fit-content;
  }
  .nav-char-select-icon {
    height: 58px;
  }
  .nav-links {
    font-size: 1rem;
  }
  .nav-content {
    justify-content: space-around;
  }
  p.notes {
    font-size: 0.7rem;
  }
  .other-links {
    font-size: 0.8rem;
  }
  .index-container {
    max-width: 100vw;
  }
  .index-text {
    font-size: 1rem;
  }
}

@media (max-width: 712px) {
  .main-grid {
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  }
  .move-thumbnail-container {
    min-height: 150px;
  }
  .index-grid{
    grid-template-columns: repeat(auto-fit, minmax(150px, 0.46fr));
    padding: 5px;
  }
  .anchor-link-grid {
    max-width: 90vw;
  }
  .nav-links a{
    line-height: 1.1rem;
    font-size: 1.0rem;
  }
}

/*phoe portrait, usually 480px, doing 500 */
@media (max-width: 500px) {
  .index-grid{
    grid-template-columns: repeat(auto-fit, minmax(140px, 0.46fr));
    padding: 5px;
  }
  .index-news{
    font-size:0.9rem;
    line-height: 1.15rem;
    max-height:25vh;
  }
  .other-text{
    font-size:0.9rem;
    line-height: 1.15rem;
  }
  .main-grid {
    padding-left: 0.2rem;
    padding-right: 0.2rem;
  }
  .navbar {
    position: fixed;
    top: auto; /*this removes stickiness to top*/
    height:fit-content;
    bottom: 0%;
    right: 0%;

  }
  .nav-links {
    font-size: 0.8rem;
    line-height: 1rem;
  }
  .nav-char-select-icon {
    height: 58px;
  }

  .move-thumbnail-container {
    min-height: 150px;
  }
  .nav-char-select-icon {
    margin: 0;
    width: 50px;
    height: 50px;
  }
  .theme-icon {
    margin: 0;
    font-size: 20px;
  }
  .banner-image-container {
    position: relative;
  }
}
