@keyframes grow {
  10% {
    scale: 1.5;
  }
}
.link {
  padding: 0 0.25em 0 0.25em;
}
.link:hover {
  animation: grow 2s;
}
#nav-bar {
  background-color: #a499be;
  padding: 0.5em;
  filter: drop-shadow(0 0 0.5em #000000);
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  max-width: 100vw;
  z-index: 999;
}
#nav-bar button {
  border: 1;
  border-color: transparent;
  border-radius: 0.5em;
  padding: auto;
  background-color: transparent;
}
#nav-bar button:hover,
#nav-bar button:focus {
  background-color: #887aaa;
  outline: none;
  transform: scale(1.3);
}
#nav-bar .nav-elements {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
}
@media only screen and (max-width: 500px) {
  #nav-bar .nav-elements {
    flex-direction: column;
    height: auto;
  }
  #nav-bar .dividers {
    display: none;
  }
}
#nav-bar .logo {
  font-family: 'Knewave-Regular', Arial;
  font-weight: bold;
  font-size: 15px;
}
@font-face {
  font-family: "Knewave-Regular";
  src: url(../Fonts/Knewave-Regular.ttf) format("truetype");
}
#custom-article {
  margin: 0 15%;
  padding: 1em 3em;
  background-color: #ffffff;
  min-height: 100vh;
}
@media (width <= 500px) {
  #custom-article {
    margin: 0;
  }
}
#custom-article section {
  overflow-x: auto;
}
@media (width <= 500px) {
  #custom-article section {
    padding: 0;
  }
}
#custom-article section figure {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}
#custom-article section p,
#custom-article section ul,
#custom-article section li,
#custom-article section table,
#custom-article section figure,
#custom-article section section {
  margin: 1em;
}
#custom-article section h {
  margin: 0 calc(1em / 2);
}
#custom-article section table {
  border-collapse: collapse;
}
#custom-article section tr {
  border-bottom: 1px solid;
}
#custom-article section td {
  padding: 0.5em;
}
#Game {
  background-color: #d2c297;
  overflow: hidden;
  color: #000000;
  letter-spacing: calc(var(--game-width)/50 - 1ch);
  font-size: calc(var(--game-height) / 50);
  line-height: 1;
  font-family: "DejaVuSansMono", monospace;
  text-wrap: nowrap;
  white-space: pre;
}
/* Background : {red: 0, green: 0, blue: 0},
        Player : {red: 255, green: 0, blue: 0},
        Villages : {red: 0, green: 255, blue: 0},
        NPC : {red: 100, green: 255, blue: 100} */
.color-0-0-0 {
  color: #000000;
}
.color-255-0-0 {
  color: #ff0000;
}
.color-0-255-0 {
  color: #00ff00;
}
.color-28-92-28 {
  color: #1c5c1c;
}
@font-face {
  font-family: "DejaVuSansMono";
  src: url("../Fonts/DejaVuSansMono/DejaVuSansMono.ttf") format('truetype');
}
.pop-content {
  box-shadow: 0.25em 0.25em 0.25em rgba(0, 0, 0, 0.1);
}
.wizard-container {
  background: linear-gradient(120deg, #ffffff, 60%, #cccccc);
  border-radius: 0.4em;
  padding: 1em 3em;
  margin: 1em auto;
  font-size: 1em;
  width: 80%;
  display: flex;
  flex-direction: column;
}
.retain-height {
  flex-shrink: 1;
  flex-grow: 0;
  flex-basis: auto;
}
.grow-height-as-much-as-possible {
  flex-grow: 1;
  flex-shrink: 1;
}
.wizard-header {
  font-size: 15px;
  margin-bottom: calc(1em / 2);
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(164, 153, 190, 0.2);
  padding-bottom: 0.3em;
}
.wizard-panel {
  background-color: #ffffff;
  border-radius: 0.2em;
  padding: 0.5em;
  margin-bottom: 1em;
  border: 1px solid rgba(164, 153, 190, 0.1);
}
.wizard-controls {
  display: flex;
  justify-content: space-between;
  margin-top: 1em;
}
.wizard-button {
  background: #a499be;
  color: #000000;
  border: 1px solid rgba(164, 153, 190, 0.3);
  border-radius: 0.2em;
  padding: 0.5em 0.5em;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, border 0.18s, transform 0.18s;
  animation: button-fadein 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, box-shadow;
  position: relative;
  opacity: 1;
  outline: none;
  min-width: 12em;
  display: inline;
  white-space: nowrap;
}
.fill-row {
  flex-grow: 1;
}
.random-button:hover {
  animation: shake 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.wizard-button:focus,
.wizard-button:hover,
.button-icon:focus,
.button-icon:hover {
  transform: scale(1.1);
  cursor: pointer;
}
.wizard-button:hover,
.wizard-button:focus {
  background: #887aaa;
}
.selected-button {
  background: #887aaa !important;
}
@keyframes button-fadein {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes shake {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-15deg);
  }
  75% {
    transform: rotate(15deg);
  }
}
.standard-wizard-styles {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1em;
  padding: 0.5em;
}
.standard-wizard-styles .image {
  display: block;
  margin-bottom: 0.5em;
  border: 1px solid rgba(164, 153, 190, 0.1);
}
.standard-wizard-styles .description {
  border-radius: 0.2em;
  padding: 0.5em;
  margin-bottom: 1em;
  border: 1px solid rgba(164, 153, 190, 0.08);
}
hr {
  width: 85%;
  opacity: 10%;
  color: #a499be;
}
.propensity-view .dispositions {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  align-items: center;
}
.propensity-view .propensity-dispositions-row {
  display: flex;
  gap: 0.5em;
  margin-top: 0.5em;
}
.centered {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5em;
  flex-direction: column;
}
.largeText {
  width: 70%;
}
.wizard-select {
  background: #a499be;
  border: 1px solid rgba(164, 153, 190, 0.3);
  border-radius: 0.2em;
  padding: 0.5em 1em;
  cursor: pointer;
  min-width: 12em;
  text-align: center;
  transition: all 0.2s ease;
}
.wizard-select:hover,
.wizard-select:focus {
  background-color: #887aaa;
  outline: none;
  transform: scale(1.02);
}
.wizard-select option {
  color: #000000;
  padding: 0.5em;
  cursor: pointer;
  border-radius: 0.2em;
  margin: 0.5em 0;
}
.wizard-select .wizard-button {
  background-color: transparent;
  padding: 0;
}
.wizard-select .button-icon {
  display: inline-flex;
}
.wizard-option {
  color: #000000;
  padding: 0.5em;
  cursor: pointer;
  border-radius: 0.2em;
  margin: 0.5em 0;
}
.wizard-option-container {
  padding: 0.1em 0.5em;
  background: #887aaa;
  border-radius: 0.2em;
  list-style-type: none;
}
.wizard-option:hover {
  background: white;
}
.space-between {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
}
.header {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-size: 1.2em;
  margin-bottom: calc(1em / 2);
  border-bottom: 1px solid rgba(164, 153, 190, 0.15);
  padding-bottom: 0.2em;
}
@media (width <= 500px) {
  .wizard-container {
    padding: 0.5em;
    font-size: 0.95em;
  }
  .wizard-header {
    font-size: 1.3em;
  }
  .propensity-header {
    font-size: 1em;
  }
  .propensity-image {
    max-width: 7em;
  }
}
.carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  flex-direction: row;
  justify-content: space-around;
  padding: 0.5em 0;
  scrollbar-color: transparent transparent;
}
.carousel *::-webkit-scrollbar {
  width: 0;
}
.carousel *::-webkit-scrollbar-track {
  background: transparent;
}
.carousel *::-webkit-scrollbar-thumb {
  background: transparent;
  border: none;
}
.carousel * {
  -ms-overflow-style: none;
}
.carousel-item {
  scroll-snap-align: start;
  flex: 0 0 100%;
  transform: translateX(0%);
  transition: transform 1s;
  transform-origin: center center;
}
.toolTip {
  position: absolute;
  padding: 0.5em 0.5em;
  background-color: #a499be;
  z-index: 999;
  max-width: 20em;
  display: inline-block;
}
#footer {
  display: flex;
  text-align: center;
  flex-direction: column;
  background-color: #a499be;
  color: #1a1a1a;
}
#footer .centered {
  display: inline-flex;
}
#footer #sections {
  display: flex;
  flex-direction: row;
}
#footer #design-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-grow: 2;
}
#footer #design-section img {
  max-height: 10em;
}
#footer h2 {
  font-size: 15px;
  color: #000000;
}
#footer #contacts-section {
  flex-grow: 1;
}
#footer a {
  color: #000000;
  font-weight: bold;
  text-decoration: none;
}
.modal {
  position: fixed;
  /* Stay in place */
  z-index: 1;
  /* Sit on top */
  padding-top: 2em;
  /* Location of the box */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: #000000;
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4);
  /* Black w/ opacity */
  display: flex;
  align-content: center;
  justify-content: center;
}
.modal .modal-contents {
  width: 60em;
  height: 60em;
  background-color: #ffffff;
  padding: 1em;
}
.modal .header {
  display: flex;
  justify-content: space-between;
  padding: 1em;
  font-weight: bold;
  font-size: 15px;
}
body {
  background-color: #f2f2f2;
  color: #000000;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  font-size: 10px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img {
  max-width: 80%;
}
.icon {
  aspect-ratio: 1;
  max-height: 1.5em;
  transition: transform 0.3s ease-in-out;
}
.button-icon {
  aspect-ratio: 1;
  max-height: 1.5em;
  transition: transform 0.3s ease-in-out;
}
.button-link {
  display: flex;
  align-content: center;
  justify-content: center;
}
.image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
* {
  padding: 0;
  margin: 0;
  font-family: inherit;
  font-size: inherit;
}
#main-website-container {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}
#main-website-container nav {
  flex-grow: 1;
}
#main-website-container main {
  flex-grow: 3;
}
#main-website-container footer {
  flex-grow: 1;
}
#main-view {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}
.standard-padding {
  padding: 0.5em 0.5em;
}
