/** =================
 * Utilities / Top-Level Styles
 * ==================
 */
:root {
  --text-color-main: #083c88;
  --text-color-secondary: #3c4148;
}

.tangerine-regular {
  font-family: "Tangerine", cursive;
  font-weight: 400;
  font-style: normal;
}

.tangerine-bold {
  font-family: "Tangerine", cursive;
  font-weight: 700;
  font-style: normal;
}

* {
  /* https://modernfontstacks.com/ */
  font-family:
    ui-rounded, "Hiragino Maru Gothic ProN", Quicksand, Comfortaa, Manjari,
    "Arial Rounded MT", "Arial Rounded MT Bold", Calibri, source-sans-pro,
    sans-serif;
  text-underline-offset: 4px;
}

html,
body {
  /* 100% of viewport width */
  margin: 0;
}

h1 {
  font-family: "Tangerine", cursive;
  font-weight: 700;
  font-style: normal;
  text-align: center;
  color: var(--text-color-main);
  font-size: 5em;
  margin: 0.1em;
}

.cursive-subtitle {
  color: var(--text-color-secondary);
  font-size: 2.5rem;
  font-family: "Tangerine", cursive;
}

p {
  color: var(--text-color-secondary);
  font-size: 1.1rem;
}

p.emphasize {
  font-size: 1.1rem;
  text-emphasis: bolder;
  font-style: normal;
}

.center {
  text-align: center;
}

/** =================
 * Navigation Bar
 * ==================
 */
#menu {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

#menu .menu-item.active {
  font-weight: 900;
  text-decoration: underline;
}

#menu .menu-item {
  font-weight: 100;
  font-size: 0.8em;
  flex: 0 1 150px;
  vertical-align: middle;
  display: inline-block;
  text-align: center;
  color: var(--text-color-secondary);
  text-decoration: none;

  padding-top: 0;
  padding-bottom: 0.5rem;

  &:hover {
    text-decoration: underline;
  }
}

#hero-container {
  height: 0;
  @media (min-width: 700px) {
    padding-bottom: 33%;
  }

  @media (max-width: 700px) {
    padding-bottom: 75%; /* 3:4 aspecet ratio */
  }
}

#hero-container img {
  width: 100%;
}

@media (min-width: 700px) {
  #content {
    width: 700px;
    max-width: 70vh;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 700px) {
  #content {
    width: 100%;
  }
}

#content {
  padding-top: 1rem;
}

/** 
 * ========================
 * LOGIN PAGE
 * ========================
 */

#login-container {
  width: 100%;
  max-width: 30rem;
  margin-left: auto;
  margin-right: auto;
}

#login-container #title {
  margin-top: 20vw;
}

#login-form {
  display: flex;
  width: 100%;
}

#login-form #secret {
  flex-grow: 1;
  height: 2em;
}

#login-form #submit {
  margin-left: 1rem;
  padding-left: 0.7rem;
  padding-right: 0.7rem;
  color: var(--text-color-main);
  background-color: white;
  box-shadow: 0;
  border: 1px solid black;

  &:hover {
    background-color: #e6e6e6;
  }
}

.italic-text {
  font-style: italic;
}
