@font-face {
  font-family: Baikal;
  src: url("Baikal-CondensedMedium.otf");
}
@font-face {
  font-family: Baikal;
  font-style: oblique;
  src: url("Baikal-CondensedMediumItalic.otf");
}
@font-face {
  font-family: Baikal;
  font-weight: bold;
  src: url("Baikal-CondensedBold.otf");
}
@font-face {
  font-family: Baikal-light;
  src: url("Baikal-CondensedLight.otf");
}

@font-face {
  font-family: "MyHelvetica";
  src: local("Helvetica Neue Bold"), local("HelveticaNeue-Bold"),
    url("MgOpenModernaBold.ttf");
  font-weight: bold;
}

@media (max-width: 600px) {
  #setting-button span {
    display: none;
  }
}

#app {
  font-family: "Baikal", "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  flex-direction: column;
  background-color: #333333;
  overflow: hidden;
  color: #f8efd1;
  scrollbar-color: #ff4a52 #f8efd1;
}

#app.light {
  background-color: #f8efd1;
  color: black;
}

#select-bar {
  display: flex;
  flex: 1;
  background-color: #ff4a52;
  max-height: 60px;
  min-height: 60px;
  align-items: center;
  padding-left: 20px;
  padding-right: 10%;
  user-select: none;
}

#search-bar {
  background-color: rgba(102, 51, 153, 0);
  border-style: none;
  border-bottom-style: solid;
  border-color: #f8efd1;
  font-size: 20px;
  font-weight: bold;
  padding: 10px;
  max-width: calc(100% - 100px);
  color: #f8efd1;
}
#search-bar::placeholder {
  text-shadow: none;
  text-overflow: ellipsis;
  color: #f8efd1c2;
}
#search-bar:focus {
  outline: none;
}
#search-bar:focus::placeholder {
  color: transparent;
  text-shadow: none;
}

#left-menu {
  max-width: 300px;
  overflow-y: scroll;
  background-color: #ff4a52;
  color: #f8efd1;
  padding: 20px;
  flex: 1;
}

#left-menu a,
#app.light #left-menu a {
  color: #f8efd1;
  text-decoration: none;
  font-style: oblique;
  text-transform: uppercase;
  text-shadow: 1px 1px 1px black;
}

#main-vue {
  display: flex;
  flex-direction: row;
  overflow: hidden;
  flex: 1;
}

.button {
  height: 40px;
  border-radius: 5px;
  background-color: #68c984;
  display: flex;
  padding-left: 10px;
  padding-right: 10px;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  transition: text-shadow 0.2s, border-radius 0.2s, box-shadow 0.2s;
  text-shadow: 2px 2px 2px black;
  cursor: pointer;
  user-select: none;
  color: white;
}
.button:hover {
  border-radius: 2px;
  text-shadow: 0 0 black;
  box-shadow: 4px 4px black, -4px -4px black;
}

.index {
  display: flex;
  flex-direction: column;
}

#content {
  flex: 1;
  overflow-y: auto;
  padding-left: 10%;
  padding-right: 10%;
}

.info {
  background-color: #ff4a52;
  border-radius: 5px;
  padding: 20px;
  color: #f8efd1;
}
#app.light .info a {
  color: #f8efd1;
}

a {
  color: #f8efd1;
}

#app.light a {
  color: black;
}

h1 {
  text-shadow: none;
}

p {
  padding: 20px;
  border-style: dashed;
  border-top-style: none;
  border-width: 2px;
  border-color: #ff4a52;
  padding-left: 20px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

th {
  text-align: left;
}

table,
th,
td {
  border-collapse: collapse;
  border: 1px solid;
  border-color: #f8efd1;
  padding: 10px;
}

#app.light table,
#app.light th,
#app.light td {
  border-color: black;
}

td span {
  font-size: 25px;
}

li {
  padding-bottom: 10px;
}

@keyframes moveShadow {
  from {
    padding-top: 40px;
  }
  to {
  }
}

#loading {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: #ff4a52;
  transition: margin 0.3s;
  align-items: center;
  justify-content: center;
  font-size: 50px;
  animation: moveShadow 0.5s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-timing-function: ease-in-out;
  user-select: none;
  text-shadow: 10px 5px 10px black;
}

#setting-menu {
  display: unset;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 10px;
  padding-left: 10%;
  padding-right: 10%;
  background-color: #333333;
  transition: margin 0.5s;
  overflow-y: auto;
}
#setting-menu.light {
  background-color: #f8efd1;
}

.optin {
  background-color: #333333;
  padding: 10px;
  border-radius: 30px;
  border-style: solid;
  border-color: black;
  border-width: 1px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.2s;
  color: #f8efd1;
  display: inline-block;
}

.optin.on {
  background-color: #ff4a52;
  text-shadow: 2px 2px 2px black;
  border-color: #ff4a52;
}

.graph {
  display: flex;
  min-height: 50px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 5px 5px 5px black;
  margin-bottom: 50px;
}
