@font-face {
  font-family: 'Script';
  src: url('../fonts/script.woff2') format('woff2');
}

body {
  background: #A80000;
}

.script, header .top {
  font-family: 'Script', serif;
}

h1.script {
  font-size: 120px;
  font-weight: normal;
  margin-top: 20px;
  margin-bottom: 10px;
}

h2.script {
  font-size: 80px;
  font-weight: normal;
  margin-top: 0;
}

h2.mt-0 {
  margin-top: 0;
}

header .top {
  display: flex;
  font-size: 70px;
  color: #FFFFB2;
}

header .top a img {
  height: 140px;
}

header .top div {
  display: flex;
  flex-grow: 2;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.navi {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  text-align: center;
  background: #FFFFB2;
  padding: 2px;
  column-gap: 2px;
  border-radius: 2px;
  margin: 5px 0;
}

.navi li {
  flex-grow: 1;
  padding: 5px 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1px;
  border: 2px solid #A80000;
  border-radius: 2px;
}

.navi a {
  color: #A80000;
  font-weight: bold;
  text-decoration: none;
}

.navi a:hover {
  text-decoration: underline;
}

main {
  width: 90%;
  color: #FBF0AF;
  text-align: center;
  margin: 40px auto;
}

main a {
  color: inherit;
  text-decoration: underline;
}

main a:hover {
  text-decoration: none;
}

main img {
  max-width: 100%;
}

main img.small {
  max-width: 30%;
}

main img.mid {
  max-width: 40%;
}

main h2 {
  margin-top: 40px;
}

main .special {
  color: orange;
}

main hr {
  border: 0;
  background: #FFFFB2;
  height: 1px;
  margin-top: 40px;
}

@media screen and (min-width: 1200px) {
  body {
    max-width: 1200px;
    margin: auto;
  }
}

@media screen and (max-width: 1024px) {
  header .top a img {
    height: 120px;
  }

  header .top {
    font-size: 65px;
  }

  .navi li {
    font-size: 13px;
    padding: 5px 0px;
  }

  main img.mid {
    max-width: 50%;
  }
}

@media screen and (max-width: 700px) {
  header .top a img {
    height: 60px;
  }

  header .top {
    font-size: 35px;
  }

  .navi li {
    font-size: 11px;
    padding: 3px 5px;
  }

  main img.small {
    max-width: 50%;
  }

  main img.mid {
    max-width: 60%;
  }

  main h1 {
    font-size: 1.7em;
  }

  main h2 {
    font-size: 1.4em;
  }

  h1.script {
    font-size: 80px;
  }

  h2.script {
    font-size: 40px;
  }
}
