/*----- Main Contents -----*/

/*----- Carousel CSS -----*/
.carousel-caption {
  z-index: 10;
  /* padding-bottom: 200px; */
  text-align: left;
  color: #fff;
  /* font-family: 'Nunito Sans', sans-serif; */
}

.carousel-item {
  height: 90vh;
  min-height: 1020px;
}
.carousel-inner {
  background-color: #4285f4;
}
.carousel-inner .bg-1 {
  background: url("../img/main/mainimg-pc-01.png") no-repeat center;
  background-size: cover;
  position: relative;
  top: 0;
  left: 0;
  min-width: 100%;
  transition: 1s;
  z-index: 999;
}

.carousel-caption {
  top: 17%;
}
.carousel-caption h2 {
  font-size: 90px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
  width: 600px;
}
.carousel-caption h3 {
  font-size: 32px;
  font-weight: 200;
  padding-bottom: 30px;
}
.carousel-caption p {
  font-size: 36px;
  line-height: 1.3;
  color: #fff;
  font-weight: 200;
  margin-bottom: 30px;
}

.carousel-caption .card {
  border-radius: 10px;
  border: transparent;
  box-shadow: 5px 8px 40px rgba(0, 0, 0, 0.4);
  color: #3c3c3b;
  margin-top: 50px;
  /* TODO 3개일 때 max-width 삭제*/
  max-width: 1100px;
  width: 100%;
}
.carousel-caption .card .card-body {
  padding-bottom: 0 !important;
}
.carousel-caption .card .card-body > .card-title {
  background-color: #323232;
  color: #fff;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 20px;
}
.carousel-caption .card .card-body .title-s {
  text-align: right;
  margin-left: 20%;
  margin-top: 20px;
}
.carousel-caption .card .card-body h3 {
  font-family: "Roboto", sans-serif;
  font-size: 60px;
  font-weight: 600;
  color: #4285f4;
  /* color: #7cbb00; */
  line-height: 1;
}
.carousel-caption .card .card-body h5 {
  line-height: 1;
}
.carousel-caption .card .card-body img {
  width: 110px;
  height: 110px;
  margin-left: 30px;
  transition: ease-in-out;
  margin-top: 10px;
}
.card {
  transition: 0.3s;
}
.card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15), 0 4px 8px rgba(0, 0, 0, 0.4);
}

/*----- Section CSS -----*/
#sec2 {
  padding: 80px 30px 60px;
  background: url("../img/main/bg-line-01.png") no-repeat center;
  background-size: cover;
}
#sec2 .col-pd {
  padding-left: 30px;
  padding-right: 30px;
}
#sec2 .card {
  border-radius: 10px;
  border: transparent;
  box-shadow: 5px 8px 40px rgba(0, 0, 0, 0.15);
  color: #3c3c3b;
  margin-bottom: 40px;
}

#sec2 .card:hover {
  transform: scale(1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15), 0 4px 8px rgba(0, 0, 0, 0.4);
  border: 3px solid #4285f4;
}
#sec2 .card-body {
  padding: 30px;
}
#sec2 h3 {
  font-size: 40px;
  font-weight: 500;
  padding-bottom: 10px;
  margin-left: 5px;
}
#sec2 h4 {
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 0;
}
#sec2 p {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 10px;
}
#sec2 i {
  margin-bottom: 20px;
  margin-right: 5px;
}
#sec2 .card .date {
  margin-right: 20px;
}
#sec2 .card a {
  color: #3c3c3b;
  font-weight: 400;
  font-language-override: 1.6;
}
#sec2 .card a:hover {
  color: #4285f4;
}
#sec2 .card a.active {
  color: #4285f4;
}
#sec2 .card .badge {
  font-size: 12px;
  font-weight: 300;
  line-height: 1.5;
  padding-left: 10px;
  padding-right: 10px;
  height: 25px;
}

#sec3 {
  padding: 80px 45px 60px;
  background-color: #fff;
}
#sec3 h3 {
  font-size: 40px;
  font-weight: 500;
  margin-left: 5px;
  margin-bottom: 30px;
}
#sec3 .banner-wrap {
  display: flex;
  overflow: hidden;
}
#sec3 .rolling-list ul {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-around;
}
#sec3 .rolling-list ul li {
  display: flex;
  padding: 30px;
  align-items: center;
  flex-shrink: 0;
}

@media (min-width: 769px) and (max-width: 1440px) {
  .carousel-item {
    height: 80vh;
    min-height: 800px;
  }
  .carousel-caption {
    width: 80%;
    left: 10%;
  }
  .carousel-caption h2 {
    font-size: 60px;
    width: 100%;
  }
  .carousel-caption h3 {
    font-size: 24px;
    padding-bottom: 30px;
  }
  .carousel-caption p {
    font-size: 26px;
  }
  .carousel-caption .card {
    margin-top: 40px;
  }
  .carousel-caption .card .card-body .title-s {
    text-align: right;
    margin-left: 10%;
    margin-top: 20px;
  }
  .carousel-caption .card .card-body h3 {
    font-size: 48px;
  }
  .carousel-caption .card .card-body h5 {
    font-size: 17px;
  }
  .carousel-caption .card .card-body img {
    width: 100px;
    height: 100px;
    margin-left: 0;
  }
}
@media (max-width: 768px) {
  .container-xl {
    width: 100%;
  }
  .carousel-inner .bg-1 {
    background: url("../img/main/mainimg-mb-01.png") no-repeat center;
    background-size: cover;
  }
  .carousel-item {
    min-height: 1080px;
  }
  .carousel-caption {
    top: 12%;
    left: 10%;
    right: 10%;
  }
  .carousel-caption h2 {
    font-size: 48px;
    width: 100%;
  }
  .carousel-caption h3 {
    font-size: 19px;
    padding-bottom: 30px;
  }
  .carousel-caption p {
    font-size: 20px;
  }
  .carousel-caption .card {
    margin-top: 100px;
  }
  .carousel-caption .card .card-body .title-s {
    text-align: left;
    margin-left: 30px;
    margin-top: 20px;
  }
  .carousel-caption .card .card-body h3 {
    font-size: 40px;
  }
  .carousel-caption .card .card-body h5 {
    font-size: 16px;
  }
  .carousel-caption .card .card-body img {
    width: 90px;
    height: 90px;
    margin-left: 0;
  }
  #sec2,
  #sec3 {
    padding: 50px 10px;
    padding-bottom: 30px;
  }
  #sec2 .col-pd {
    padding-left: 15px;
    padding-right: 15px;
  }
  #sec2 .card-body {
    padding: 20px;
    font-size: 16px;
  }
  #sec2 h3,
  #sec3 h3 {
    font-size: 26px;
  }
  #sec2 h4 {
    font-size: 22px;
  }
  #sec2 p {
    font-size: 16px;
  }
  #sec2 i {
    margin-bottom: 24px;
  }
  #sec2 .card {
    margin-bottom: 20px;
  }
  #sec2 .card .date {
    margin-right: 10px;
  }
  #sec3 .rolling-list ul li {
    padding: 15px 10px;
    width: 130px;
  }
}
