/* General */

*,
*::before,
*::after {
  font-family: "Libre Baskerville", serif;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  text-size-adjust: none;
  -webkit-text-size-adjust: none;
  -moz-text-size-adjust: none;
  -ms-text-size-adjust: none;
  width: 100%;
}

p {
  font-family: "Noto Sans KR", sans-serif;
  padding-bottom: 1rem;
  font-size: 1.1rem;
}

.italic {
  font-style: italic;
}

h1 {
  font-size: 1.7rem;
  padding-bottom: 2rem;
}

.link {
  display: block;
  margin-top: -7rem;
  padding-bottom: 7rem;
}

/* Nav bar */

nav {
  width: 100%;
  position: fixed;
  background-color: #183781;
  top: 0;
  left: 0;
  z-index: 1;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

nav > ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
}

nav > ul a {
  display: block;
  padding: 2.5rem 1.2rem;
  min-width: 150px;
  text-decoration: none;
  color: white;
  font-size: 1.2rem;
  text-align: center;
}

nav > ul a:hover {
  background-color: #45567d;
}

.tutoring-logo {
  max-width: 140px;
  z-index: 2;
  margin: 1rem;
  align-self: flex-start;
}

@media (max-width: 1100px) {
  .tutoring-logo {
    max-width: none;
    width: 15vh;
    height: 8vh;
    padding: 1vh;
    margin: 0.5vh;
  }
}

.dropdown-content {
  display: none;
  position: absolute;
  z-index: 1;
  opacity: 0.9;
}

.dropdown-content ul {
  flex-direction: column;
  background-color: #183781;
  min-width: 100px;
  list-style-type: none;
}

.dropdown-content a {
  display: block;
  padding: 0.6rem;
  text-decoration: none;
  color: white;
  font-size: 1rem;
  text-align: center;
}

.dropdown:hover .dropdown-content {
  display: block;
}

@media (max-width: 1100px) {
  #web-menu {
    display: none;
  }
}

#mobile-menu {
  display: none;
}

@media (max-width: 1100px) {
  #mobile-menu {
    display: initial;
  }
}

/*Mobile Menu*/
/* Dropdown Button */
.dropbtn {
  color: #183781;
  margin: auto;
  border: none;
  cursor: pointer;
  width: 4.5vh;
  height: 4.5vh;
}

/* The container <div> - needed to position the dropdown content */
.mobile-dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.mobile-dropdown-content {
  display: none;
  position: absolute;
  background-color: #183781;
  opacity: 0.9;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  top: 9vh;
  left: 0;
  width: 100%;
}

/* Links inside the dropdown */
.mobile-dropdown-content a {
  color: white;
  font-size: 1.2rem;
  padding: 1rem 0.5rem;
  text-decoration: none;
  display: block;
  width: 100%;
  text-align: center;
}

/* Change color of dropdown links on hover */
.mobile-dropdown-content a:hover {
  background-color: #45567d;
}

/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.show {
  display: block;
}

/* Banner */

#welcome-section {
  display: flex;
  width: 100%;
  height: 100vh;
  background-image: url(../Images/IMG_2179-1K5-9.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom;
  line-height: 1.5;
  position: fixed;
  top: 6.2rem;
  z-index: -1;
}

@media (max-width: 1100px) {
  #welcome-section {
    top: 9vh;
  }
}

/* Home Tutoring */

#home-tutoring {
  background: linear-gradient(
    180deg,
    rgba(253, 253, 253, 0.7) 0%,
    rgba(253, 253, 253, 0.9) 100%
  );
  width: 100%;
  padding: 6rem 2rem;
  line-height: 1.5;
  display: flex;
  color: black;
  margin-top: 90vh;
}

@media (max-width: 1100px) {
  #home-tutoring {
    flex-wrap: wrap;
    padding: 4rem 0 3rem 0;
    margin-top: 70vh;
  }
}

#text-container {
  width: 50%;
  padding: 0 3rem;
  background-color: rgba(253, 253, 253, 0);
  border-radius: 1%;
}

@media (max-width: 1100px) {
  #text-container {
    width: 90%;
    margin: auto;
    padding: 0 1rem;
  }
}

#map-container {
  width: 50%;
  text-align: center;
  margin: auto;
  padding: 0 1rem;
}

@media (max-width: 1100px) {
  #map-container {
    width: 90%;
    padding: 1rem;
  }

  #map-container iframe {
    width: 80vw;
    height: 50vw;
  }
}

/* Online Tutoring */

#online-tutoring {
  width: 100%;
  background-color: rgba(24, 55, 129, 0.9);
  line-height: 1.5;
  padding: 5rem 2rem;
  display: flex;
  flex-direction: row-reverse;
  color: white;
}

@media (max-width: 1100px) {
  #online-tutoring {
    flex-wrap: wrap;
    padding: 4rem 0;
  }
}

#online-tutoring p {
  font-size: 1.1rem;
  padding-bottom: 1rem;
}

#online-tutoring ul {
  padding-bottom: 1rem;
}

#online-tutoring li {
  font-size: 1.1rem;
}

@media (max-width: 1100px) {
  #online-tutoring li {
    font-size: 1rem;
  }
}

#online-text {
  width: 55%;
  padding: 1rem 2rem;
  list-style-position: inside;
}

@media (max-width: 1100px) {
  #online-text {
    width: 90%;
    margin: auto;
  }
}

#video-container {
  width: 40%;
  margin: auto;
  display: flex;
  justify-content: center;
}

@media (max-width: 1100px) {
  #video-container {
    width: 90%;
    padding-top: 1rem;
  }

  #video-container iframe {
    width: 80vw;
    height: 45vw;
  }
}

/* Pricing */

#pricing {
  color: black;
  padding: 6rem 0;
  display: flex;
  background: white;
}

@media (max-width: 1100px) {
  #pricing {
    flex-wrap: wrap;
    padding: 4rem 0rem;
  }
}

.section-left {
  width: 45%;
  padding: 0 2rem;
}

@media (max-width: 1100px) {
  .section-left {
    width: 90%;
    margin: auto;
    padding: 1rem;
    padding-left: 2rem;
  }
}

.section-left h1 {
  padding-left: 2rem;
}

.table-container {
  display: flex;
  width: 100%;
  height: 70%;
}

table {
  padding: 0.5rem;
  padding-top: 1rem;
  width: 50%;
  margin: auto;
}

@media (max-width: 1100px) {
  table {
    width: 100%;
  }
}

#pricing th,
td {
  font-size: 1.3rem;
  padding: 1rem;
}

#pricing-text {
  width: 55%;
  padding: 3rem 2rem;
  padding-right: 10rem;
}

@media (max-width: 1100px) {
  #pricing-text {
    width: 90%;
    margin: auto;
    padding: 3rem 2rem;
  }
}

/* Footer */

footer {
  width: 100%;
  background-color: #183781;
  display: flex;
  justify-content: space-evenly;
  color: white;
}

footer p {
  padding: 2rem;
  font-size: 1.2rem;
}

#year {
  font-family: "Noto Sans KR", sans-serif;
}
