* {
  padding: 0;
  margin: 0;
}

body {
  background-color: #063509;
  font-family: "Noto Sans JP", sans-serif;
}

.small-view {
  display: none;
}

a {
  text-decoration: none;
  color: black;
  display: block;
}
a:hover {
  color: #677a6c;
}

h1 {
  color: #dfebe2;
  font-family: "Courgette", cursive;
  font-size: 3em;
}

h3 {
  margin-bottom: 5px;
}

.logo {
  display: flex;
  height: 85px;
  align-items: center;
  column-gap: 15px;
}

/* Top Half */
.top--half {
  display: grid;
  grid-template-rows: 1fr 1fr;
  align-items: center;
  background: url("images/tree.svg") no-repeat center top;
  max-height: 40%;
}
.top--half p {
  font-family: "Quicksand", sans-serif;
  color: #dfebe2;
}

#main-text {
  margin-left: 100px;
  margin-top: 250px;
  max-width: 800px;
}

#main-text > * {
  margin: 70px;
  font-size: 150%;
}

.top__img {
  position: fixed;
  bottom: 16px;
  right: 30px;
}

.top__img p {
  color: white;
}

#value {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#value p {
  font-size: 150%;
  font-weight: 800;
  color: black;
}

/* Bottom Half */
.bottom--half {
  display: flex;
}

.bottom--half iframe {
  width: 80%;
  height: auto;
  margin: auto;
  padding: 20px;
  border: none;
}

/* Footer */
footer {
  background-color: #2f4c31;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  justify-items: center;
  margin-top: 100px;
  padding: 50px;
}

footer .card {
  background: #dfebe2;
  width: 70%;
  border-radius: 8px;
  padding: 20px;
  margin: 10px 0;
  border: solid 5px #063509;
}

#leaf-rain {
  background: url("images/leaf-3.png");
  background-size: 10%;
  animation: leaf-rain 2000s linear infinite;
  background-position: center top;
}

@keyframes leaf-rain {
  0% {
    background-position: 0 0, 0 0, 0 0;
  }
  100% {
    background-position: 50000px 50000px, 10000px 20000px, -10000px 15000px;
  }
}
@keyframes beat-heart {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  55% {
    transform: scale(1);
  }
  60% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}
.top__img img {
  height: 80px;
  animation-name: beat-heart;
  animation-duration: 2s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

@media (prefers-reduced-motion) {
  #leaf-rain {
    background: url("images/leaf-3.png");
    animation: leaf-rain 5000s linear infinite;
  }
}

@media screen and (max-width: 800px) {
  #leaf-rain {
    display: none;
  }
  body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 16px;
  }
  .small-view {
    display: block;
  }
  .small-view p {
    text-align: center;
    color: white;
    font-size: 1.4rem;
    margin-bottom: 16px;

  }
}

/*# sourceMappingURL=styles.css.map */
