:root {
  --pageColor: #8c4e9f;
  --lightColor: #f1f0ff;
  --darkColor: #443266;
  --mediumColor: #c3c3e5;
}

* {
  margin: 0;
  padding: 0;
  border: 0;
}
ul,
ol,
li {
  list-style: none;
}

body {
  width: 90%;
  margin: 1em auto;
  background-color: var(--pageColor);
  color: var(--lightColor);
  font-family: "Open Sans", sans-serif;
}

#wrapper {
  text-align: center;
}

#logo {
  margin: 0 auto;
  width: 80%;
  height: auto;
}

.container {
  margin: 1.5em auto;
  background-color: var(--lightColor);
  color: var(--darkColor);
  border-radius: 0.5em;
  padding: 0.5em 1em;
  box-shadow: 10px 10px 10px 1px rgba(5, 5, 5, 0.3);
}

#planet {
  font-weight: bold;
}

p,
label {
  font-size: 1.2em;
  margin: 1em 0;
}

input {
  padding: 0.2em;
  border-radius: 0.5em;
  font-size: large;
  text-align: right;
  background-color: var(--mediumColor);
}

#town {
  font-weight: bold;
}

.svg {
  width: 2vh;
}

.bold {
  font-weight: bold;
}

.tab {
  /* position: relative; */
  display: inline-block;
  border-radius: 0.5em 0.5em 0 0;
  overflow: hidden;
  /* border: 1px solid var(--mediumColor); */
  border-bottom: none;
  background-color: var(--lightColor);
}

.tab button {
  color: var(--mediumColor);
  background-color: inherit;
  font-size: 1.2em;
  font-weight: bold;
  float: left;
  /* border: none; */
  outline: none;
  cursor: pointer;
  padding: 0.3em 0.5em;
  transition: 0.3s;
}
.tab button:hover {
  background-color: var(--mediumColor);
  color: var(--darkColor);
}

.tab button.active {
  background-color: var(--mediumColor);
  color: var(--darkColor);
}

.tabcontent {
  display: none;
  margin-top: -5px;
  background-color: var(--mediumColor);
  padding: 6px 12px;
  border-radius: 0 0.5em 0.5em 0.5em;
  border: 1px solid var(--mediumColor);
  border-top: none;
  box-shadow: 10px 10px 10px 1px rgba(5, 5, 5, 0.3);
}

table {
  width: 90%;
  border-spacing: 0;
  border-radius: 0.5em;
  margin: 1em auto 0;
  color: var(--darkColor);
  background-color: var(--lightColor);
  box-shadow: 10px 10px 10px 1px rgba(5, 5, 5, 0.3);
}

table tr:first-child th:first-child {
  border-top-left-radius: 0.5em;
}

table tr:first-child th:last-child {
  border-top-right-radius: 0.5em;
}

table tr:last-child td:first-child {
  border-bottom-left-radius: 0.5em;
}

table tr:last-child td:last-child {
  border-bottom-right-radius: 0.5em;
}

th {
  background-color: var(--darkColor);
  color: var(--lightColor);
}
th,
td {
  height: 2.2em;
  border: 0.1em solid var(--darkColor);
  text-align: center;
}

.credit {
  display: block;
  text-align: right;
  margin-right: 5%;
  text-decoration: none;
  color: var(--darkColor);
  font-size: 0.6em;
}
.credit[:last-of-type] {
  margin-bottom: 0.5em;
}
.credit_art {
  display: block;
  text-align: center;
  margin: 0.5em;
  text-decoration: none;
  color: var(--lightColor);
  font-size: 1em;
}
.lnk {
  text-decoration: underline;
}
