body {
  margin: 10px auto;
  font-family: "Noto Sans TC, sans-serif";
}
div {
  border: 1px solid transparent;
}
.menu {
  font-size: 22px;
}
.img {
  width: 100%;
  border: 1px solid transparent;
}
/* .mainpage h1 {
  position: relative;
  left: 50%;
  font-size: 50px;
  font-weight: bolder;
  line-height: 700px;
  width: 400px;
  height: 700px;
  margin-left: -10%;
} */
/* #learnspanish::before {
  content: "";
  line-height: 700px;
  z-index: 999;
  color: #f8f8f8;
  font-size: 50px;
  font-family: "Noto Sans TC, sans-serif";
  font-weight: bolder;
} */
.menu {
  background-color: rgb(255, 255, 255);
}
.menu::after {
  content: "";
  clear: both;
  display: block;
}

.menu li {
  float: right;
  padding: 10px;
  list-style: none;
}
.menu {
  font-family: "Noto Sans TC", sans-serif;
}
.box_container_1 li {
  float: left;
  list-style: none;
  margin: 50px;
}
.life_in_spain {
  width: 13em;
  height: 13em;
  background-color: #ffffff;
  background-image: url(../taipei2.jpg);
  background-size: 390px;
  border-radius: 1em;
  font-size: 22px;
  -webkit-text-stroke: 1px #ffffff;
  -webkit-text-fill-color: #ffffff;
  text-shadow: 0.1em 0.1em #070707;
  background-repeat: no-repeat;
  background-position: 50%;
  background-size: cover;
}

.life_in_spain h3,
.life_in_spain p {
  color: rgb(255, 255, 255);
  text-align: center;
}
.elementary_junior {
  width: 13em;
  height: 13em;
  background-color: #ffffff;
  background-image: url(../usa8.jpg);
  background-size: 390px;
  border-radius: 1em;
  font-size: 22px;
  text-shadow: 0.1em 0.1em #070707;
  -webkit-text-stroke: 1px #ffffff;
  -webkit-text-fill-color: #ffffff;
  background-repeat: no-repeat;
  background-position: 50%;
  background-size: cover;
}
.elementary_junior h3,
.elementary_junior p {
  color: rgb(255, 255, 255);
  text-align: center;
}
.adult {
  width: 13em;
  height: 13em;
  background-color: #ffffff;
  background-image: url(../spain2.jpg);
  background-size: 390px;
  border-radius: 1em;
  font-size: 22px;
  text-shadow: 0.1em 0.1em #070707;
  -webkit-text-stroke: 1px #ffffff;
  -webkit-text-fill-color: #ffffff;
  background-repeat: no-repeat;
  background-position: 50%;
  background-size: cover;
}
.adult h3,
.adult p {
  color: rgb(255, 255, 255);
  text-align: center;
}
.business_class { 
  width: 13em;
  height: 13em;
  background-color: #ffffff;
  background-image: url(../japan.jpg);
  background-size: 390px;
  border-radius: 1em;
  font-size: 22px;
  text-shadow: 0.1em 0.1em #070707;
  -webkit-text-stroke: 1px #ffffff;
  -webkit-text-fill-color: #ffffff;
  background-repeat: no-repeat;
  background-position: 50%;
  background-size: cover;
}
/* .business_class h3, */
/* .business_class p { */
  /* color: rgb(255, 255, 255);
  text-align: center;
} */
/* .for_cooperate {
  width: 13em;
  height: 13em;
  background-color: #ffffff;
  background-image: url(../sagradafamilia.jpg);
  background-size: 390px;
  border-radius: 1em;
  font-size: 22px;
  text-shadow: 0.1em 0.1em #070707;
  -webkit-text-stroke: 1px #ffffff;
  -webkit-text-fill-color: #ffffff;
  background-repeat: no-repeat;
  background-position: 50%;
  background-size: cover;
} */
/* .for_cooperate h3, */
.for_cooperate p {
  color: rgb(255, 255, 255);
  text-align: center;
}
/* .online_clase {
  width: 13em;
  height: 13em;
  background-color: purple;
  background-image: url(../onlineclass.jpg);
  background-size: 280px;
  border-radius: 1em;
  font-size: 22px;
  text-shadow: 0.1em 0.1em #070707;
  -webkit-text-stroke: 1px #ffffff;
  -webkit-text-fill-color: #ffffff;
  background-repeat: no-repeat;
  background-position: 50%;
  background-size: cover;
} */
.online_clase h3,
.online_clase p {
  color: rgb(255, 255, 255);
  text-align: center;
}
.row {
  margin: 0 auto;
}
.box {
  line-height: 100px;
  margin: 10px auto;
  padding: 10px;
  border-radius: 0;
  width: 100%;
  position: relative;
}
.box::before {
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.411);
  position: absolute;
  left: 0;
  top: 0;
  line-height: 248px;
  text-align: center;
}
.life_in_spain::before {
  content: "中文課程";
}

.elementary_junior::before {
  content: "英文課程";
}

.adult::before {
  content: "西文課程";
}
.business_class::before {
  content: "日文課程";
}
/* .box::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.411);
  position: absolute;
  left: 0;
  top: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(255, 255, 255, 0.8) 78%
  );
  background: -moz-linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(255, 255, 255, 0.8) 78%
  );
  background: -webkit-linear-gradient(
    277deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(43, 42, 42, 0.411) 88%
  );
  background: -o-linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(255, 255, 255, 0.8) 78%
  );
} */
.body_box h2,
.body_box p {
  text-align: center;
  font-size: 30px;
  padding: 10px;
  margin: 50px auto;
  width: 100%;
}
.body_box iframe {
  padding: 10px;
  margin: 50px auto;
  width: 50%;
  display: block;
}

#learnspanish {
  background-image: url(../adria1.jpg);
  background-position: 50% 30%;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}
#channel {
  width: 100%;
}
.collapse {
  align-items: left;
}
ul .nav-item {
  width: 95px;
}
.d-flex {
  margin: 0;
  height: 38px;
}
form ul .nav-link {
  height: 38px;
}
