/* Root Variables */
:root {
  --background-color: #fffefa;
  --header-color: #F2F2EE;
  --text-color: black;
  --font-family: 'Cutive Mono', monospace;
}

/* Typography */
body {
  background-color: var(--background-color, #fffefa);
  margin: 0;
  height: 100%;
  font: normal 1.2em var(--font-family);
  -webkit-text-size-adjust: 100%; /* Prevents auto-scaling */
}

b {
  font-weight: bold;
}

p {
  font-size: 0.85em;
}

a,
a:visited,
a:active,
a:link {
  color: var(--text-color);
  text-decoration: none;
}

a:hover {
  color: var(--text-color);
  cursor: pointer;
  text-decoration: underline;
}

/* Layout */
.desktop {
  display: none;
}

.mobile {
  display: block;
}

.desktop-container {
  display: none;
}

.mobile-container {
  margin-top: 10%;
  width: 100%;
  height: auto;
  position: relative;
  display: flex;
  flex-direction: column;
}

.mobile-image {
  margin: 40px auto;
  display: flex;
  height: auto;
  width: 90%;
  min-height: 100px;
  min-width: 90%;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0;
}

.statement-image {
  display: flex;
  height: 0;
  padding-top: 85%;
  width: 100%;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 1;
}

#statement-image-1 {
  background-image: url('images/big_rich/statement/Statement-1.webp');
}

/* Footer */
footer {
  height: 2.5%;
  min-height: 40px;
  border-top: 1px solid var(--text-color);
  color: var(--text-color);
  margin: 0;
  position: fixed;
  bottom: 0;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: flex-start;
}

footer > div {
  margin: auto;
  display: block !important;
}

footer > div:hover {
  cursor: pointer;
  text-decoration: underline;
}

footer > div > p {
  text-align: center;
}

.footer-left {
  text-align: left;
  border-right: 1px solid var(--text-color);
  width: 50%;
  padding-left: 7px;
}

.footer-right {
  text-align: right;
  width: 50%;
  padding-right: 7px;
}

/* Centered Image */
.image-centered {
  height: 80%;
  width: 95%;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  opacity: 0;
  transform: translate(-50%, -50%);
}

/* Animations */
@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.fade {
  animation: fade-in 1s;
  opacity: 1;
}

/* Utility Classes */
footer > div {
  display: none;
}

.pre-load {
  z-index: -1;
  opacity: 0;
}

.center-holder {
  position: relative;
  top: 5%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 5%);
}

.about-container,
.statement-container {
  margin: 15px;
  max-width: 815px;
}

/* Media Queries */
@media only screen and (min-width: 1000px) {
  .desktop {
    display: block;
  }

  .mobile {
    display: none;
  }

  .desktop-container {
    display: block;
    height: 100%;
    position: relative;
  }

  .mobile-container {
    display: none;
  }
}