html, body {
  background-color: #F9F5E5;
  color: #8C4A2D;
}

header {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  height: 65svh;
  background-image: url("bethel.jpeg");
  background-size: cover;
  background-position: center top;
  background-color: rgba(255, 255, 255, 0.6);
  background-blend-mode: lighten;
  border-radius: 15px;
}

.nameFont {
  font-family: "Yuji Mai", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 5rem;
}

.to {
  font-family: "Dela Gothic One", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1rem;
  margin-top: 0;
  margin-bottom: 0;
}

.bethel {
  font-family: "Dela Gothic One", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 2rem;
  margin-top: 0;
}

.top {
  text-align: center;
  font-family:sans-serif;
  font-weight: bold;
  font-size: large;
}

.container {
  display: flex;
  flex-wrap: wrap;
  min-height: 280px;

}

/* Over 625px */
@media screen and (min-width: 625px) {
  html, body {
    padding: 2rem;
  }

  .box {
    width: 50%;
    box-sizing: border-box;
  }

  .container-left {
    flex-direction: revert;
  }

  .container-right {
    flex-direction: row-reverse;
  }
}

/* Under 625px */

@media screen and (max-width: 625px) {
  html, body {
    padding: 10px;
  }
  
  .container {
    flex-direction: column;
  }

  .imageBox {
    width: 100%;
  }
}

.scripturesBox {
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 2rem;
  position: relative;
  color: #6A5A52;
  font-size: large;
  box-sizing: border-box;
  text-align: center;
}

section {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.messageBox {
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 2rem;
  position: relative;
  box-sizing: border-box;
  border-radius: 15px;
  font-family: Arial, Helvetica, sans-serif;
}

.brown {
  background-color: #F4E1A4;
}

.yellow {
  background-color: #E2B46D;
}

.imageBox {
  border-radius: 15px;
  min-height: 280px;
  max-height: 35svh;
  object-fit: cover;
}

.right {
  text-align: right;
}

.fadein {
  opacity: 0;
  transition: all 1.5s;
  transform: translate(0, -30px);

  &.scrollin {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
  }
}

footer {
  text-align: center;
}

.heading {
  /* 線を上下中央 */
  align-items: center;
  display: flex;
  /* 文字と線を横並び */
  justify-content: center;
  /* 文字を中央寄せ */
}

.heading::before,
.heading::after {
  background-color: #8C4A2D;
  /* 線の色 */
  border-radius: 5px;
  /* 線の両端を丸く */
  content: "";
  height: 5px;
  /* 線の高さ */
  width: 40px;
  /* 線の長さ */
}

.heading::before {
  margin-right: 10px;
  /* 文字との余白 */
  transform: rotate(60deg);
  /* 傾ける */
}

.heading::after {
  margin-left: 10px;
  /* 文字との余白 */
  transform: rotate(-60deg);
  /* 傾ける */
}