:root {
  font-family: "M PLUS Rounded 1c";
  --main-bg-color: #ff7799;
  --secondary-bg-color: #ff88aa;

  --primary-color: white;
}

body {
  background-color: var(--main-bg-color);
  color: var(--primary-color);
  font-weight: 400;
}

.container {
  display: flex;
  width: 100%;
  height: 100vh;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
}

@media screen {
  .content {
    width: 90%;  
  }

  .illust {
    width: 100%;
  }
}

@media screen and (min-width: 400px) {
  .content {
    width: 400px;  
  }

  .illust {
    width: 400px;
  }
}

.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;

  opacity: 1;
}

@keyframes fadedown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeup {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  width: 180px;

  margin: 0.7rem;

  opacity: 0;
  animation: 0.5s fadedown ease-in-out forwards;

  img {
    width: 100%;
    object-fit: contain;
  }
}

.illust {
  display: flex;
  justify-content: center;
  animation: 0.5s fadeup ease-in-out forwards;
  animation-delay: 0.3s;

  opacity: 0;

  img {
    width: 90%;
    border: solid 1px var(--primary-color);
    object-fit: contain;
    border-radius: 4px;
  }
}

.menu {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;

  width: 100%;
  height: 100%;

  opacity: 0;

  animation: 0.5s fadeup ease-in-out forwards;
  animation-delay: 0.6s;

  .item {
    display: flex;
    flex-direction: column;

    background-color: var(--secondary-bg-color);

    border: solid 1px var(--primary-color);
    border-radius: 4px;
    width: 100%;

    .button {
      display: flex;
      flex-direction: row;

      width: 100%;
    }

    .link {
      width: 100%;
      display: flex;
      flex-direction: row;
      align-items: center;
    }

    a {
      display: flex;
      justify-content: center;
      align-items: center;
      flex: 1;
      padding: 0.5rem;

      color: var(--primary-color);
      text-decoration: underline;
    }

    a:hover {
        background-color: rgba(255, 255, 255, 0.2);
    }
  }
}

.footer {
  margin-top: 0.5rem;
  margin-bottom: 8px;
}