@charset "utf-8";

:root {
  --button-color: white;
}

header,
main,
footer {
  animation-name: load;
  animation-duration: 3s;
}

@keyframes load {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

body {
  font-family: 'Iowan Old Style', 'Palatino Linotype', 'URW Palladio L', P052, serif;
  background-color: black;
  color: white;
}

/* メイン */
main {
  position: relative;
}

.secret {
  position: absolute;
  width: 300px;
  top: -46px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.1;
  z-index: -1;
}
.report h2{
  font-size: 1.5rem;
}
/* ボタン */
.submit {
  display: block;
  padding: 8px 16px;
  border: solid 2px var(--button-color);
  color: var(--button-color);
  border-radius: 100px;
  margin-top: 140px;
  margin-left: auto;
  margin-right: auto;
  background-color: black;
  transition-duration: 0.1s;
  text-align: center;
}

.submit:hover {
  opacity: 0.7;
}

/* フッター */
footer {
  padding-bottom: 0.5em;
  width: 970px;
  max-width: 93%;
  margin-left: auto;
  margin-right: auto;
  font-size: small;
}

.page {
  opacity: 0.8;
  margin-top: 1rem;
  text-align: center;
}

.okareco {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  font-family: 'Iowan Old Style', 'Palatino Linotype', 'URW Palladio L', P052, serif;
  margin: 100px auto 0;
  opacity: 0.6;
}

.okareco a:hover {
  opacity: 0.7;
}

.message {
  animation-name: blurAnime;
  animation-delay: .5s;
  animation-duration: 1.8s;
  animation-fill-mode: forwards;
  opacity: 0;
}

.kokoro {
  font-size: small;
}

@keyframes blurAnime {
  from {
    filter: blur(10px);
    transform: scale(1.02) translateX(-50%);
    opacity: 0;
  }

  to {
    filter: blur(0);
    transform: scale(1) translateX(-50%);
    opacity: 1;
  }
}

.error {
  position: absolute;
  top: -2rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: greenyellow;
}

.error a {
  text-decoration: underline;
}

@media (max-width: 800px) {
  .okareco {
    display: block;
    text-align: center;
  }
}