@font-face {
  font-family: Hylia;
  src: url("https://static.zeldamods.org/assets/HyliaSerifBeta-Regular.otf") format("opentype");
}

@font-face {
  font-family: CalamityB;
  font-weight: bold;
  font-style: italic;
  src: url("https://static.zeldamods.org/assets/Calamity-Bold.otf") format("opentype");
}


body {
  font-family: Roboto, sans-serif;
  color: #fffdf7;
  font-size: 1.2rem;
}

body, #main {
  background: #1F1B24;
}

#main h2 {
  font-family: Hylia;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 0.75em;
  hyphens: auto;
}

#main h3 {
  font-family: CalamityB;
  font-size: 1.3rem;
  margin-top: 2em;
}

#features h3 {
  margin-top: 0;
}

#main > section {
  padding-top: 1rem;
  padding-bottom: 3.5rem;
}

#main > section:first-child {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

#main #nav {
  overflow-x: auto;
}

a {
  color: #ba7dff !important;
  text-decoration: none;
}

code {
  background-color: rgba(255, 255, 255, 0.05);
  color: #ffc107;
}

#features img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.masthead, .masthead-bg, .masthead-text {
  height: 70vh;
  width: 100%;
}

.masthead-bg {
  position: fixed;
  object-fit: cover;
  z-index: -1;
}

.masthead-text {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.5);
  color: #f0e3ff;
  text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .6);
  box-shadow: inset 0 0 5rem rgba(0, 0, 0, .6);
}


.masthead h1 {
  font-family: Hylia;
  font-size: 5rem;
  text-shadow: 0 0 20px #9755fa;
}

.masthead h2 {
  margin-top: 0.25em;
  font-size: 1.3rem;
  font-family: CalamityB;
  text-shadow: 0 0 30px #9755fa, 0 0 30px #9755fa, 0 0 20px #9755fa;
}

@media (max-width: 576px) {
  body {
    font-size: 1.1rem;
  }

  #features img {
    padding-left: 7rem;
    padding-right: 7em;
    margin-bottom: 2rem;
  }

  .masthead, .masthead-bg, .masthead-text {
    height: 60vh;
  }
}

@media (max-width: 500px) {
  .masthead h1 {
    font-size: 4rem;
  }
  .masthead h2 {
    font-size: 1.1rem;
  }
}

@media (max-width: 400px) {
  body {
    font-size: 1rem;
  }

  .masthead h1 {
    font-size: 3rem;
  }
}

.banner {
    position: fixed;
    bottom: 0;
    left: 50%;
    -webkit-transform: translate(-50%);
    transform: translate(-50%);
    z-index: 1000;
    background-color: rgba(1,21,31,.88);
    border: 0;
    padding: 10px 20px;
    font-family: Roboto,sans-serif;
    color: #fff;
    text-align: center;
}

.banner a {
    color: #29d1fc !important;
}
