.splash-page-hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
  background: rgba(242, 128, 0, 0.55);
}

.splash-page-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.hero-box {
  margin: 0;
  position: relative;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.hero-logo {
  width: 25%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.hero-text {
  text-align: center;
}

.hero-h2 {
  text-align: center;
  color: #fff;
}

.hero-p {
  color: #fff;
  font-weight: bold;
  text-align: center;
  font-size: 2rem;
}

.hero-scroll-down {
  width: 3rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
  animation: pulse-animation 2s infinite;
  border-radius: 50%;
}

@keyframes pulse-animation {
  0% {
    box-shadow: 0 0 0 0px rgba(0, 0, 0, 1);
  }
  100% {
    box-shadow: 0 0 0 20px rgba(0, 0, 0, 0);
  }
}

.kids-up-explainer {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin: 0;
  position: relative;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  padding: 4rem;
}

.profile-video-iframe {
  width: 100%;
  height: 100%;
}

.work-explainer {
  background-color: #59534b;
}

.work-explainer-textbox {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin: 0;
  position: relative;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  padding: 4rem;
}

.h2-work-explainer {
  color: #fff;
  font-size: 2.75rem;
}

.p-work-explainer {
  color: #fff;
}

.application-steps {
  background-color: #fff;
}

.application-steps-row {
  margin-left: 4rem;
  margin-right: 4rem;
  grid-auto-rows: 1fr;
}

.application-steps-card {
  width: 100%;
  background-color: #fff;
  border: 1px;
  border-style: solid;
  border-width: 0.2rem;
  border-color: #f28000;
  border-radius: 1.5rem;
  margin-top: 2rem;
  position: relative;
  height: 100%;
}

.application-steps-card-number {
  font-family: "noto-sans-cjk-jp", sans-serif;
  color: #f28000;
  font-weight: bold;
  font-size: 2.75rem;
  position: absolute;
  transform: translate(0%, -60%);
  top: 0%;
  left: 15%;
  background-color: #fff;
  border-style: solid;
  border-width: 0.5rem;
  border-color: #fff;
}

.application-steps-card-left {
  margin: none;
  padding: none;
}

.application-steps-card-image-box {
  height: 9.5rem;
  margin-left: 2rem;
}

.application-icon {
  margin: 0;
  position: relative;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 4.25rem;
}

.application-steps-card-text-box {
  margin-right: 2rem;
  margin-left: 2rem;
  margin-right: 2rem;
}

.application-steps-h3 {
  font-size: 1.25rem;
  color: #59534b;
  font-weight: bold;
}

.meet-the-teachers {
  background-color: #fdf4eb;
  background-image: url(./images/main-page/learn-with-fun-bg.png);
  background-repeat: no-repeat;
  background-size: 7rem;
  background-position-x: 0rem;
  background-position-y: 3rem;
  background-attachment: fixed;
}

.h2-meet-the-teachers {
  font-size: 2.5rem;
  text-align: center;
  color: #59534b;
  font-weight: bold;
}

.h3-meet-the-teachers {
  font-size: 1.75rem;
  text-align: left;
  color: #59534b;
  font-weight: bold;
}

.p-meet-the-teachers {
  font-size: 1rem;
  text-align: left;
  color: #59534b;
}

.meet-the-teachers-box {
  background-color: white;
  border-style: solid;
  border-width: 0.2rem;
  border-color: #77b6d8;
  border-radius: 1.5rem;
}

.meet-the-teachers-photo-left {
  width: 100%;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  position: relative;
  transform: translate(0, -50%);
  top: 50%;
}

.meet-the-teachers-photo-right {
  width: 100%;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  position: relative;
  transform: translate(0, -50%);
  top: 50%;
}
.meet-the-teachers-textbox-left {
  margin-left: 4rem;
  position: relative;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.meet-the-teachers-textbox-right {
  margin-right: 4rem;
  position: relative;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.contact-form {
  background-image: url(../images/main-page/contact-form-bg.jpg);
  background-size: cover;
  background-repeat: no-repeat;
}

.contact-form-h3 {
  font-family: "noto-sans-cjk-jp", sans-serif;
  font-weight: 900;
  color: #fff;
  font-size: 2rem;
}

.contact-form-p {
  font-size: 1rem;
  color: #fff;
}

#fcf-form {
  display: block;
}

.fcf-body {
  margin: 0;
  font-family: "noto-sans-cjk-jp", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: left;
  background-color: #fbdebb;
  max-width: 100%;
}

.fcf-form-group {
  margin-bottom: 1rem;
}

.fcf-input-group {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-align: stretch;
  align-items: stretch;
  width: 100%;
  background-color: #fbdebb;
  height: 100%;
}

.fcf-form-control {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #511c05;
  background-color: #fbdebb;
  background-clip: padding-box;
  border: none;
  outline: none;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.fcf-form-control:focus {
  border: 2px solid #511c05;
}

select.fcf-form-control[size],
select.fcf-form-control[multiple] {
  height: auto;
}

textarea.fcf-form-control {
  font-family: -apple-system, Arial, sans-serif;
  height: auto;
}

label.fcf-label {
  font-size: 1rem;
  font-family: "noto-sans-cjk-jp", sans-serif;
  color: #fff;
  display: inline-block;
  margin-bottom: 0.5rem;
  font-weight: 900;
}

.required {
  font-size: 1rem;
  font-family: "noto-sans-cjk-jp", sans-serif;
  color: #59534b;
  display: inline-block;
  margin-bottom: 0.5rem;
  font-weight: 900;
}

.fcf-btn {
  display: inline-block;
  font-weight: 400;
  color: #212529;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
  .fcf-btn {
    transition: none;
  }
}

.fcf-btn:hover {
  color: #212529;
  text-decoration: none;
}

.fcf-btn:focus,
.fcf-btn.focus {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.fcf-btn-primary {
  color: #fff;
  font-family: "noto-sans-cjk-jp", sans-serif;
  font-weight: 900;
  background-color: #77b6d8;
  border-color: #77b6d8;
}

.fcf-btn-primary:hover {
  color: #fff;
  background-color: #448ab9;
  border-color: #0062cc;
}

.fcf-btn-primary:focus,
.fcf-btn-primary.focus {
  color: #fff;
  background-color: #448ab9;
  border-color: #0062cc;
}

.fcf-btn-lg,
.fcf-btn-group-lg > .fcf-btn {
  padding: 0.5rem 1rem;
  font-size: 1.25rem;
  line-height: 1.5;
  border-radius: 2rem;
}

.fcf-btn-block {
  display: block;
  width: 40%;
  margin-left: auto;
  margin-right: auto;
  text-decoration: none;
}

.fcf-btn-block + .fcf-btn-block {
  margin-top: 0.5rem;
}

input[type="submit"].fcf-btn-block,
input[type="reset"].fcf-btn-block,
input[type="button"].fcf-btn-block {
  width: 100%;
}

/* Modal styles */
.form-modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 50;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

.form-modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
}

.form-close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.form-close:hover,
.form-close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.modal-dialog {
  max-width: 800px;
  margin: 30px auto;
}

.modal-body {
  position: relative;
  padding: 0px;
}
.btn-close {
  position: absolute;
  right: -30px;
  top: 0;
}

.video-btn {
  color: #fff;
  font-family: "noto-sans-cjk-jp", sans-serif;
  font-weight: 900;
  background-color: #f28000;
  border: none;
}

.video-btn:hover {
  color: #fff;
  font-family: "noto-sans-cjk-jp", sans-serif;
  font-weight: 900;
  background-color: #77b6d8;
}

@media (max-width: 767px) {
  .application-card-col {
    margin-top: 3rem;
  }

  .meet-the-teachers {
    background-color: #fff;
    background-image: none;
  }

  .meet-the-teachers-box {
    border: none;
    border-radius: 0;
  }

  .meet-the-teachers-textbox-left {
    width: 100%;
    margin-right: 0rem;
    margin-left: 0rem;
    padding-left: 5%;
    padding-right: 5%;
  }

  .meet-the-teachers-textbox-right {
    width: 100%;
    margin-right: 0rem;
    margin-left: 0rem;
    padding-left: 5%;
    padding-right: 5%;
  }

  .meet-the-teachers-photo-left {
    display: none;
  }
  .meet-the-teachers-photo-right {
    display: none;
  }
  .meet-the-teacher-column {
    padding: 0;
    margin: 0;
  }

  .meet-the-teacher-photo-mobile {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .hero-logo {
    width: 70%;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .kids-up-explainer {
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);

    padding-left: 2rem;
    padding-right: 2rem;
  }

  .work-explainer-textbox {
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    padding-left: 2rem;
    padding-right: 2rem;
    padding-top: 0rem;
    padding-bottom: 0rem;
  }

  .h2-work-explainer {
    color: #fff;
    font-size: 2rem;
    padding-top: 2rem;
  }

  .p-work-explainer {
    color: #fff;
    padding-bottom: 2rem;
  }

  .profile-video-iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .application-steps-row {
    margin-left: 2rem;
    margin-right: 2rem;
    grid-auto-rows: 1fr;
  }

  .application-steps-h3 {
    font-size: 2rem;
    color: #59534b;
    font-weight: bold;
  }

  .fcf-btn-block {
    display: block;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
}

.php-confirmation {
  background-color: #fbdebb;
}

.php-confirmation-text{
  text-align: center;
  margin-top: 2rem;
  color: #000;
}