/* Made by Jinhyuk Yoon*/
/* Font import */
@import url('https://fonts.googleapis.com/earlyaccess/notosanskr.css');
@import url('https://fonts.googleapis.com/css?family=Noto+Sans|Open+Sans');
@import url('https://fonts.googleapis.com/earlyaccess/nanumgothic.css');
@import url("https://fonts.googleapis.com/css?family=Roboto:400,300,100,500,700");

@media only screen and (max-width: 768px) {
  #mainNav {
    max-height: fit-content;
  }
}

html, body {
  width: 100%;
  height: 100%;
  margin: 0px;
  padding: 0px;
  overflow-x: hidden;
  background-color: rgb(27, 27, 27);
  color: white;
  scroll-behavior: smooth;
}

p {
  font-size: 15px;
  font-weight: 300;
}

h1, h2, h3, h4 {
  font-weight: 400;
}

strong {
  font-weight: 500;
}

::selection {
  background-color: rgba(255, 255, 255, 0.8);
  color: black;
}

.container {
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
  font-family: 'Roboto', sans-serif !important;
}

.nav-container {
  padding-right: 5px;
  padding-left: 5px;
}

.navbar {
  padding-top: 15px;
  padding-bottom: 15px;
  background-color: rgb(27, 27, 27);
}

.navbar-top {
  background-color: black;
  padding-top: 15px;
  padding-bottom: 20px;
}

.navbar-bottom {
  height: 100px;
}

.navbar-dark .navbar-nav .nav-link {
  font-size: 18px;
  font-weight: 400;
}

.navbar-dark .navbar-nav .nav-link:hover {
  color: white;
}

.navbar-dark .navbar-nav .nav-link.active {
  color: white;
}

.nav-item {
  font-weight: 700;
  text-decoration: none;
  padding-left: 30px;
  z-index: 1030;
}

.no-transition {
  -webkit-transition: height 0.01s;
  -moz-transition: height 0.01s;
  -ms-transition: height 0.01s;
  -o-transition: height 0.01s;
  transition: height 0.01s;
}

@media (max-width: 993px) {
  .navbar-nav.ml-auto {
    margin-left: -1px !important;
  }

  .nav-item {
    padding-left: 15px;
    margin-left: -10px;
    margin-right: -20px;
  }
}

/*index style*/
.main-image {
  padding-top: 150px;
  padding-bottom: 40px;
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.main-image-item {
  background: no-repeat center center scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.main-image-item, .main-image-caption-bg {
  height: 500px;
}

.main-image-caption-bg {
  background-color: rgba(0, 0, 0, 0.3);
  position: relative;
}

.main-image-caption {
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.main-image-caption h1 {
  width: 1500px;
  text-align: center;
  font-size: 70px;
  padding-left: 5%;
  padding-right: 5%;
  font-weight: 500;
  letter-spacing: 2px;
}

.main-image-caption h2 {
  text-align: center;
  font-weight: 400;
  font-size: 18px;
}

@media (max-width: 993px) {
  .main-image-caption h1 {
    font-size: 85px;
  }

  .main-image-caption h2 {
    font-size: 20px;
  }

  .container.main-image {
    padding-top: 150px;
  }
}

@media (max-width: 576px) {
  .main-image-caption h1 {
    font-size: 65px;
  }

  .main-image-caption h2 {
    font-size: 20px;
  }

}

@media (max-width: 450px) {
  .main-image-caption h2 {
    font-size: 13px;
  }
}

.korean {
  font-family: 'Nanum Gothic', sans-serif;
}

.about, .people {
  padding-bottom: 100px;
}

.about .korean {
  font-size: 17px;
  text-align: justify;
}

.about .top {
  padding-top: 15px;
}

.people {
  margin-right: auto;
  margin-left: auto;
}

.people .row {}

.people .item, .partner .item {
  display: inline-block;
  padding-top: 15px;
  text-align: center;
}

.people .img, .partner .img {
  display: block;
  margin-top: 20px;
  margin-bottom: 20px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 5px;
}

.people .img {
  height: 250px;
}

.partner .img {
  height: 150px;
}

@media (max-width: 575px) {
  .about h1, .people h1, .partner h1 {
    padding-bottom: 10px;
    border-bottom-style: solid;
    border-bottom-width: 0.5px;
    border-bottom-color: gray;
  }
  .people .img ,.partner .img {
    margin-left: 25%;
    margin-right: 25%;
  }

  .people .lab-name {
    padding-bottom: 20px;
  }
}

.people p {
  margin-bottom: 10px;
}

.people .name, .partner .name {
  font-size: 20px;
  font-weight: 500;
}

.people .lab-name {
  font-size: 16px;
}

.people a, .partner a {
  color: white;
  text-decoration: none;
}

.people a:hover, .partner a:hover {
  color: rgb(200, 200, 200);
}

.people .icon, .partner .icon {
  height: 15px;
  margin-left: 10px;
}

.people .item, .partner .item {
  padding-left: 20px;
  padding-right: 20px;
}

@media (max-width: 575px) {
  .people .item .partner .itme {
    padding-left: 25%;
    padding-right: 25%;
  }
}

.partner .img-fluid {
  margin-bottom: 20px;
  border-radius: 5px;
  height: 150px;
}

.page-footer.right {
  text-align: right;
}

.page-footer, .page-footer a {
  background-color: rgb(27, 27, 27);
  color: gray;
}

.page-footer>.container {
  padding-top: 30px;
  margin-top: 100px;
  height: 150px;
}

.page-footer .left {
  padding-bottom: 5px;
  text-align: left;
}

.page-footer .right {
  float: right;
  padding-right: 15px;
}

.page-footer .icons img {
  border-radius: 2px;
  margin-left: 15px;
}

.page-footer .clear {
  clear: both;
}

.page-footer-navigation {
  text-align: left;
  line-height: 40px;
  padding-bottom: 20px;
}
