@import url('/styles/vars.css');

body {
  background-color: var(--background-color);
  color: var(--text-color);
  font-family: var(--std-font);
  font-weight: var(--std-weight);
  overflow-x: hidden;
}

.tabHeader,
header {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

header img {
  max-height: 70%;
  max-width: 100%;
}

main {
  position: relative;
  display: flex;
  /* height: 80vh; */
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

main div {
  max-height: 50%;
}

main div img {
  max-height: 100%;
}

a {
  color: rgb(245, 245, 224);
}

.clear {
  clear: both;
}

.tabContainer {
  width: 100%;
  position: relative;
}

nav.tabSelectors {
  width: 100%;
  position: relative;
  height: auto;
  display: flex;
  justify-content: flex-start;
  border-bottom: 1px solid white;
}

.tabSelector {
  height: 2em;
  width: 8em;
  margin: 0 2px;
  vertical-align: middle;
  text-align: center;
}

.tabSelector:hover {
  cursor: pointer;
}

.tabs {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
}

.tab {
  width: 100%;
  position: absolute;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: left 1s ease-in-out;
}

.tabContent {
  outline: rgb(245, 245, 224);
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1.5em;
}

.activeTab {
  background-color: white;
  color: black;
}

.inactiveTab {
  background-color: #222;
  color: #555;
}

.visibleTab {
  left: 0;
  z-index: 5;
}

.hiddenTab {
  left: 150vw;
  z-index: -1;
}

.noDisplay {
  max-height: 0;
  max-width: 0;
  overflow: hidden;
}

.tabText {
  max-width: 90vw;
}

@keyframes slideinLeft {
  from {
    opacity: 0;
    scale: 0;
    transform: translate(600px, 0);
  }
  to {
    opacity: 1;
    scale: 1;
    transform: translate(0);
  }
}
@keyframes slideinRight {
  from {
    opacity: 0;
    scale: 0;
    transform: translate(-600px, 0);
  }
  to {
    opacity: 1;
    scale: 1;
    transform: translate(0);
  }
}
