.cover {
  align-items: center;
  background-image: url(../img/home.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
}

.content {
  background: rgba(255, 255, 255, 0.60);
  border-radius: 8px;
  text-align: center;
  padding: 48px;
}

.copy {
  color: #388e3c;
  font-family: 'Noto Serif JP', serif;
  font-size: 60px;
  font-weight: 400;
  margin: 24px 0;
}

.lead {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 28px;
  font-weight: 300;
  line-height: 1.6;
  margin: 0;
}

ul {
  display: flex;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 19px;
  font-weight: 400;
  justify-content: space-between;
  list-style: none;
  padding: 0;
  text-align: center;
  margin: 48px 0 0 0;
  width: 100%;
}

li {
  background: rgba(255, 255, 255, 0.60);
  border-radius: 8px;
  width: 184px;
}

li:hover {
  background: rgba(255, 255, 255, 0.87);
}

a {
  text-decoration: none;
  color: rgba(0, 0, 0, 0.87);
  padding: 16px;
  display: block;
}

@media (max-width: 991.98px) {
  .container {
    margin: 16px;
  }
}

/* Small devices */

@media (max-width: 767.98px) {
  html,
  body,
  .cover {
    min-height: auto;
    height: 100%;
  }

  .content {
    padding: 24px;
  }

  .copy {
    font-size: 30px;
  }
  
  .lead {
    font-size: 19px;
  }

  ul {
    display: grid;
    grid-template: 1fr 1fr / 1fr 1fr;
    grid-gap: 16px;
    font-size: 16px;
    width: auto;
    flex-wrap: wrap;
    margin-top: 16px;
  }

  li {
    width: auto; 
  }
} 
