/* Elements */

body {
  color: rgb(0, 0, 0);
  background-color: rgb(224, 160, 244);
  background-image: linear-gradient(135deg, rgb(224, 192, 255), rgb(224, 128, 244)),
                    linear-gradient(90deg, rgb(224, 192, 255), rgb(224, 128, 244));
  background-position: 0vw 0vw, 100vw 50vw;
  background-size: 100vw 100vw, 200vw 100vw;
  background-repeat: no-repeat, repeat;
  margin: auto;
  margin-top: 1em;
  width: 70%;
}

a {color: rgb(0, 96, 0);}
a:hover {color: rgb(0, 128, 0);}

table {
  color: rgb(0, 0, 0);
  background-color: rgb(224, 224, 224);
}

h1 {text-align: center;}

p {text-indent: 2rem; font-size: 1.125rem}

img {
  image-rendering: auto;
  image-rendering: pixelated;
}

footer {
  position: absolute;
  left: 0;
  width: 100%;
  padding-top: 1rem;
  padding-bottom: 1rem;
  
  font-size: 12px;
  
  background-color: rgba(128, 240, 128, 0.25);
}

footer > div {
  width: 60%;
  margin: auto;
}

/* Theme */

#themeButton {
  position: absolute;
  right: 1rem;
  top: 1rem;
  border-radius: 0;
  background-color: rgba(224, 224, 224, 0.6);
  
  padding: 0;
  padding-bottom: 2rem;
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.5rem;
}

/* Warning */

#warnContainer {
  position: fixed;
  left: 0;
  top: 4rem;
  
  border-radius: 0.25rem;
  
  animation: warnCont 2s ease;
}

.warn {
  background-color: rgb(255, 224, 32);
  color: rgb(0, 0, 0);
  
  position: relative;
  transition: right 2s;
  right: calc(100% - 0.5rem);
  
  padding: 0.5rem;
  
  border-radius: 0.25rem;
  
  z-index: 100;
}

#warnContainer:hover .warn {
  right: 0rem !important;
}

.warn > div {
  display: inline-block;
  
  max-width: 0;
  max-height: 1rem;
  transition: max-width 1s, max-height 1s;
  
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
}

@keyframes warnCont {
  0% {
    background-color: rgba(255, 128, 0, 0.5);
  }
  100% {
    background-color: rgba(255, 128, 0, 0);
  }
}

/* Navigation */

.navigation {text-align: center;}

.nav, .navArrow {
  background-color: rgb(128, 208, 128);
  color: rgb(0, 0, 0);
  padding: 0.25em;
  margin: 0.1em;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 1.5em;
  cursor: pointer;
  border-radius: 0.25em;
}

a.nav:hover, a.nav:active, a.navArrow:hover, a.navArrow:active {
  background-color: rgb(128, 192, 128);
  color: rgb(0, 0, 0);
}

.navArrow {
  font-family: Consolas;
  width: 1em;
  height: 1em;
  line-height: 1em;
}

div.navArrow {
  background-color: rgb(160, 192, 160);
  color: rgb(128, 128, 128);
  cursor: not-allowed;
}

.sectBttn {
  text-align: center;
  line-height: 2em;
  border: none;
  background-color: rgba(0, 0, 0, 0);
  font-size: 1em;
  cursor: pointer;
}

.sect {
  position: relative;
  overflow-y: hidden;
  transition: max-height 1s;
}

/* Animated Button */

.imgButton {
  border: 0;
  padding: 0;
  height: 8rem;
  cursor: grab;
}

/* Media */

@media (max-width: 600px) {
  body {
    width: 80%;
  }
}

/* Load Animation */

@keyframes load {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Other */

.WC {
  text-align: center;
  color: rgb(96, 96, 96);
}
