/* heading font: written by `npm run heading-font` — do not edit by hand */
/* heading font characters: 공교년는동련배복선심약언예움음의적중체포하회훈희 */
@font-face {
    font-family: 'SeoulHangangM';
    src: url('/static/fonts/SeoulHangangM.8480908392.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
/* heading font: end */

/* Main_Intro */
/* intro-first */
.slide {
    opacity: 0;
    display: none;
    -webkit-transition: opacity 1s ease-in;
    transition: opacity 1s ease-in;
}

/* The first slide needs no script to be seen (slider.js takes over from it). */
.slide:first-child {
    opacity: 1;
    display: block;
}

.intro-background {
    height: 880px;
    background: url(/static/images/landing/intro_image00.png) no-repeat center center;
    background-size: cover;
    margin-bottom: 30px;
}

.intro {
    height: 880px;
    margin-bottom: 30px;
    background: url(/static/images/landing/intro_image01_new.1536.jpg) no-repeat center center;
    background-size: cover;
}

/* intro-second */
.intro-second {
    height: 880px;
    margin-bottom: 30px;
    background: url(/static/images/landing/intro_image02_new.1536.jpg) no-repeat center center;
    background-size: cover;
}

/* intro-third */
.intro-third {
    height: 880px;
    margin-bottom: 30px;
    background: url(/static/images/landing/intro_image03.1536.jpg) no-repeat center center;
    background-size: cover;
}

/* intro-fourth */
.intro-fourth {
    height: 880px;
    margin-bottom: 30px;
    background: url(/static/images/landing/intro_image04.1536.jpg) no-repeat center center;
    background-size: cover;
}

/* intro-fifth */
.intro-fifth {
    height: 880px;
    margin-bottom: 30px;
    background: url(/static/images/landing/intro_image05.1536.jpg) no-repeat center center;
    background-size: cover;
}

/* intro-sixth */
.intro-sixth {
    height: 880px;
    margin-bottom: 30px;
    background: url(/static/images/landing/intro_image06_new.1536.jpg) no-repeat center center;
    background-size: cover;
}

/* intro-seventh */
.intro-seventh {
    height: 880px;
    margin-bottom: 30px;
    background: url(/static/images/landing/intro_image07_new.1536.jpg) no-repeat center center;
    background-size: cover;
}

.slide-indicator {
    z-index: 50;
    font-size: 14px;
    transform: translateY(-800%);
}

.slide-indicator button {
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
}

.slide-indicator i {
    padding: 0 4px;
    color: var(--latte);
}

.slide-indicator i.active {
    color: #ffffff;
}

.intro-shortcut {
    position: absolute;
    top: 770px;
    left: 58%;
    display: flex;
    z-index: 50;
    animation-name: floating-effect;
    animation-duration: 1.2s;
}

.intro-shortcut .shortcut-item {
    display: inline-block;
    width: 120px;
    height: 120px;
    border: 3px solid var(--foam-latte);
    margin-left: 5px;
    border-radius: 10px;
    color: var(--deep-latte);
    background-color: var(--creamy-white);
    text-align: center;
    box-shadow: 1px 1px 10px rgba(128, 128, 128, 0.336);
    opacity: 90%;
    transition: 0.35s;
}

.intro-shortcut .shortcut-item:hover {
    transform: translateY(-7%);
    opacity: 100%;
    box-shadow: 1px 10px 10px rgba(128, 128, 128, 0.24);
}

.intro-shortcut .shortcut-item:hover > i {
    color: var(--deep-latte);
}

.intro-shortcut .shortcut-item i, .intro-shortcut .shortcut-item h4 {
    transform: translateY(40%);
    transition: 0.35s;
}

.intro-shortcut .shortcut-item i {
    font-size: 45px;
    color: var(--latte);
}

.intro-shortcut .shortcut-item h4 {
    font-family: var(--secondary-kr);
    padding-top: 20px
}

/* Section_Sermon */
.sermons {
    padding-top: 100px;
}

.sermon-summary .heading h1 {
    font-weight: 600;
    position: relative;
}

.sermon-summary .heading h1:after {
    content:'Sermon';
    font-family: var(--decor-font);
    color: var(--latte);
    display: inline-block;
    transform: translate(-20px,20px);
    font-size: 40px;
    position: absolute;
    opacity: 30%;
}

.sermon-summary hr {
    width: 50px;
    height: 2px;
    border: none;
    background-color: var(--red-wine);
    margin: 40px auto;
}

.sermon-summary .sermon-contents {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.sermon-contents i {
    position: absolute;
    top: 50%;
    font-size: 26px;
    display: none;
    transform: translateY(-50%);
}

.sermon-contents i.fa-solid.fa-chevron-left {
    left: 0;
}

.sermon-contents i.fa-solid.fa-chevron-right {
    right: 0;
}

.sermons img {
    width: 100%;
    height: auto;
}

/* Section_News */
section.news {
    background-color: var(--creamy-white);
    padding-top: 100px;
}

.news-summary .heading h1 {
    font-weight: 600;
    position: relative;
}

.news-summary .heading h1:after {
    content:'Greetings';
    font-family: var(--decor-font);
    color: var(--latte);
    display: inline-block;
    transform: translate(-20px,20px);
    font-size: 40px;
    position: absolute;
    opacity: 30%;
}

.news-summary hr {
    width: 50px;
    height: 2px;
    border: none;
    background-color: var(--red-wine);
    margin: 40px auto;
}

.news-contents {
    display: flex;
}

.news-contents .news-sum table {
    width: 590px;
    border-collapse: collapse;
    table-layout: fixed;
}

.news-contents .news-sum .btn-view {
    margin-right: 100px;
}

.news-contents .news-sum table tr {
    height: 60px;
    border-bottom: 1px solid var(--deep-latte);
}

.news-contents .news-sum table tr:first-child {
    border-top: 1px solid var(--deep-latte);
}

.news-contents .news-sum table tr td:first-child {
    text-align: left;
    font-size: 20px;
    padding-left: 10px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    width: 75%;
}

.news-contents .news-sum table tr td:first-child:hover {
    color: var(--red-wine);
}

.news-contents .news-sum table tr td:last-child {
    text-align: right;
    color: var(--deep-latte);
    padding-right: 10px;
    width: 25%;
}

.news-contents .news-sum button.btn-viewmore {
    margin-top: 30px;
}

.news-contents .news-cards {
    width: 590px;
    margin-left: 100px;
}

.news-cards .newscard-item {
    display: inline-block;
    width: 100%;
    /* height: 80px; */
    border: 1px solid var(--latte);
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    border-radius: 10px;
    background-color: white;
    border: 1px solid var(--latte);
    box-shadow: 1px 1px 5px rgba(128, 128, 128, 0.304);
    padding: 25px 30px;
    align-items: center;
    transition: 0.35s;
}

.news-cards .newscard-item:last-child {
    margin-bottom: 0;
}

.news-cards .newscard-item .item-title {
    display: flex;
    align-items: center;
}

.item-title i {
    width: 30px;
    font-size: 28px;
    transform: translateY(5%)
}

.item-title.first i {
    color: var(--red-wine);
}

.item-title.second i {
    color: var(--olive);
}

.item-title.third i.fa-solid.fa-children {
    color: var(--mustard);
}

.item-title.third i.fa-brands.fa-instagram {
    background: linear-gradient( 180deg, #6228d7,#ee2a7b,#f9ce34);
    background-clip: text;
    -webkit-background-clip: text;
    color: rgb(0 0 0 / 20%);
    padding-left: 8px;
    font-size: 20px;
    transform: translateY(-20%);
}

.item-title.fourth i {
    color: var(--navy-blue);
}

.item-title h3 {
    margin: 0;
    padding-left: 20px;
}

.news-cards .newscard-item span {
    color: var(--red-wine);
}

.news-cards .newscard-item span em {
    font-style: normal;
}

.newscard-item:hover {
    transform: translateY(-5%);
    box-shadow: 1px 7px 10px rgba(128, 128, 128, 0.205);
    border: 1px solid var(--red-wine);
}

.newscard-item:hover span {
    color: var(--youtube-red);
}

/* Section_Groupcare */
section.groupcare {
    background-color: var(--white);
    padding-top: 100px;
}

.groupcare .heading h1 {
    font-weight: 600;
    position: relative;
}

.groupcare .heading h1:after {
    content:'Groupcare';
    font-family: var(--decor-font);
    color: var(--latte);
    display: inline-block;
    transform: translate(-20px,20px);
    font-size: 40px;
    position: absolute;
    opacity: 30%;
}

.groupcare hr {
    width: 50px;
    height: 2px;
    border: none;
    background-color: var(--red-wine);
    margin: 40px auto;
}

.groupcare-background {
    position: relative;
}

.groupcare-background .bg-top {
    width: 82%;
    height: 130px;
    background: linear-gradient(180deg, #DFD8CF, transparent);
    position: absolute;
    z-index: -1;
    border-radius: 0 80px 0 0;
    top: 105px;
    opacity: 60%;
}

.groupcare-background .bg-letter {
    font-family: var(--background-font);
    color: var(--foam-latte);
    font-size: 230px;
    opacity: 25%;
    position: absolute;
    letter-spacing: -15px;
    z-index: -1;
}

.groupcare-background .bg-letter.jubilee {
    top: 320px;
}

.groupcare-background .bg-letter.church {
    top: 500px;
    right: 0;
}

.groupcare-contents {
    display: flex;
    margin-bottom: 150px;
}

.cards-internal {
    display: flex;
}

.cards-internal a {
    margin-right: 20px;
}

.cards-internal .leftcard {
    width: 200px;
    height: 300px;
    position: relative;
    overflow: hidden;
    margin-top: 20px;
    box-shadow: 1px 1px 5px rgba(128, 128, 128, 0.646);
    transition: 0.35s;
}

.cards-internal .leftcard:hover {
    transform: translateY(-5%);
    box-shadow: 1px 10px 10px rgba(128, 128, 128, 0.26);
    filter: brightness(120%);
}

.cards-internal .leftcard:before {
    content: '';
    width: inherit;
    height: inherit;
    background: linear-gradient(180deg, #333333, transparent);
    position: absolute;
    top: 0;
    left: 0;
}

.cards-internal h2 {
    color: white;
    position: relative;
    font-family: var(--secondary-kr);
}

/* The six card pictures are far down the page. The script at the top of the
   section (home.ts) marks it until it is near the viewport, and the pictures are
   not fetched before that. Without scripts nothing is marked. */
section.groupcare.pictures-later .cards-internal .leftcard,
section.groupcare.pictures-later .cards-external .rightcard {
    background-image: none;
}

.cards-internal .leftcard.igm {
    background: url(/static/images/landing/groupcare_image01.1000.jpg) no-repeat center center;
    background-size: cover;
    border-radius: 40px 0 0 40px;
    position: relative;
}

.cards-internal .leftcard.igm h2 {
    position: absolute;
    bottom: 5%;
    right: 10%;
}

.cards-internal .leftcard.youngadults {
    background: url(/static/images/landing/groupcare_image02.1000.jpg) no-repeat center center;
    background-size: cover;
    position: relative;
    margin-top: 35px;
}

.cards-internal .leftcard.youngadults h2 {
    position: absolute;
    top: 50%;
    left: 15%;
    transform: translate(0,-50%)
}

.cards-internal .leftcard.adults{
    background: url(/static/images/landing/groupcare_image03.1000.jpg) no-repeat center center;
    background-size: cover;
    position: relative;
    margin-top: 50px;
}

.cards-internal .leftcard.adults h2 {
    position: absolute;
    width:100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    line-height: 1.5;
}

.cards-internal .leftcard.disciples {
    background: url(/static/images/landing/groupcare_image04.1000.jpg) no-repeat right -200px center;
    background-size: cover;
    border-radius: 0 40px 40px 0;
    margin-top: 65px;
}

.cards-internal .leftcard.disciples h2 {
    position: absolute;
    width: 100%;
    bottom: 45%;
    right: 10%;
    text-align: right;
    line-height: 1.5;
}

.cards-external {
    margin-left: 20px;
    margin-top: 20px;
}

.cards-external h4 {
    font-weight: 500;
    color: var(--deep-latte);
    text-align: left;
}

.cards-external .rightcard {
    width: 360px;
    height: 130px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 1px 1px 5px rgba(128, 128, 128, 0.646);
    transition: 0.35s;
}

.cards-external .rightcard:hover {
    transform: translateY(-5%);
    box-shadow: 1px 10px 10px rgba(128, 128, 128, 0.26);
    filter: brightness(120%);
}

.cards-external .rightcard:before {
    content: '';
    width: inherit;
    height: inherit;
    background: linear-gradient(180deg, #333333, transparent);
    position: absolute;
    top: 0;
    left: 0;
}

.cards-external h2 {
    color: white;
    position: relative;
    font-family: var(--secondary-kr);
}

.cards-external .korean-school {
    background: url(/static/images/landing/groupcare_image05.1000.jpg) no-repeat center center;
    background-size: cover;
    border-radius: 40px 0 0 0;
}

.cards-external .korean-school h2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-40%);
}

.cards-external .digital-library {
    background: url(/static/images/landing/groupcare_image06.1000.jpg) no-repeat center center;
    background-size: cover;
    border-radius: 0 0 40px 0;
}

.cards-external .digital-library h2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-40%);
}

/* Section_Scripture */
.scripture {
    background: url(/static/images/landing/scripture-bg.jpg) no-repeat top center;
    background-size: cover;
    height: 260px;
}

.scripture-inner {
    position: relative;
    height: inherit;
}

.scripture-contents {
    position: absolute;
    top: 20%;
    right: 0;
    text-align: right;
    animation-name: slide-from-right;
    animation-duration: 2s;
}

.scripture-contents i {
    display: block;
    text-align: center;
    font-size: 50px;
    color: white;
    margin-bottom: 20px;
    opacity: 70%;
}

.scripture-contents p {
    color: var(--latte);
    font-weight: 600;
    font-family: var(--secondary-kr);
    margin-top: 5px;
}

.scripture-contents p span {
    font-weight: 400;
}

/* The slider's text (was banner.css) */

html { scroll-behavior: smooth; }

* {
    font-family: var(--primary-kr);
}

.intro-background {
    text-align: center;
}

.intro-inner {
    display: flex;
    justify-content: center;
}

.intro-slider {
    color: white;
    position: absolute;
    top: 275px;
}

.slider-heading p {
    font-size: 70px;
    color: var(--white);
    font-family: var(--intro-title);
    letter-spacing: -3px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.806);
}

.slider-heading p b {
    font-size: 60px;
    color: var(--foam-latte);
    font-weight: normal;
    font-family: var(--intro-title);
    letter-spacing: -3px;
}

.slider-heading p em {
    font-style: normal;
    color: var(--foam-latte);
    font-family: var(--intro-title);
    letter-spacing: -3px;
}

.slider-desc p, .slider-desc p span {
    font-family: var(--tertiary-kr);
    font-size: 28px;
    line-height: 1.2;
}

@media(max-width:768px) {

  /* Section spacing (these sat with the shared section rules) */
  section.sermons {
    padding-top: 0;
  }

  section.news, section.groupcare {
    padding-top: 50px;
  }

  /* ###Landing-Page### */

  /* Main_Intro */
  /* intro-common */
  .intro, .intro-second, .intro-third, .intro-fourth, .intro-fifth, .intro-sixth, .intro-seventh, .intro-background {
    height: 750px;
    margin-bottom: 300px;
  }
  .intro .intro-slider, .intro-second .intro-slider, .intro-third .intro-slider, .intro-fourth .intro-slider, .intro-fifth .intro-slider, .intro-sixth .intro-slider, .intro-seventh .intro-slider {
    text-align: center;
    left: 0;
    top: 210px;
    width: 100%;
  }
  .slider-heading p {
    margin-bottom: 70px;
    font-size: 55px;
  }
  .slider-heading p b {
    font-size: 45px;
  }
  .slider-desc {
    margin: 15px;
  }
  .slider-desc p, .slider-desc p span {
    margin-top: 15px;
    margin-bottom: 0;
    font-size: 20px;
  }
  .slider-desc p span {
    display: block;
  }

  /* .intro .slider-desc p:nth-child(2), .intro .slider-desc p:nth-child(3), .intro-second .slider-desc p:nth-child(2), .intro-second .slider-desc p:nth-child(3), .intro-third .slider-desc p:nth-child(2), .intro-third .slider-desc p:nth-child(3),.intro-fifth .slider-desc p:nth-child(2), .intro-fifth .slider-desc p:nth-child(3), .intro-sixth .slider-desc p:nth-child(2), .intro-sixth .slider-desc p:nth-child(3) {
    display: inline-block;
    width: 100%;
  } */
  /* .intro .slider-desc p:nth-child(2), .intro .slider-desc p:nth-child(3), .intro-second .slider-desc p:nth-child(3), .intro-third .slider-desc p:nth-child(3), .intro-fourth .slider-desc p:nth-child(3), .intro-fifth .slider-desc p:nth-child(3), .intro-sixth .slider-desc p:nth-child(3), .intro-seventh .slider-desc p:nth-child(3), .intro-seventh .slider-desc p:nth-child(2) {
    padding-left: 0;
  } */
  /* .intro .slider-desc p, .intro .slider-desc span, .intro-second .slider-desc p, .intro-second .slider-desc span, .intro-third .slider-desc p, .intro-third .slider-desc span, .intro-fourth .slider-desc p, .intro-fourth .slider-desc span, .intro-fifth .slider-desc p, .intro-fifth .slider-desc span, .intro-sixth .slider-desc p, .intro-sixth .slider-desc span, .intro-seventh .slider-desc p, .intro-seventh .slider-desc span {
    font-weight: 300;
  } */
  /* intro-second&third&fourth&fifth */
  /* .intro-second .slider-desc p:first-child, .intro-third .slider-desc p:first-child, .intro-fourth .slider-desc p:first-child, .intro-fifth .slider-desc p:first-child, .intro-sixth .slider-desc p:first-child {
    margin-left: 0;
  } */
  /* .intro-fourth .slider-desc p:nth-child(2), .intro-fourth .slider-desc p:nth-child(3), .intro-fifth .slider-desc p:nth-child(2), .intro-fifth .slider-desc p:nth-child(1), .intro-seventh .slider-desc p:nth-child(3), .intro-sixth .slider-desc p:first-child em {
    line-height: 2;
  } */
  /* .intro-fifth .slider-desc p:first-child em, .intro-sixth .slider-desc p:first-child em, .intro-seventh .slider-desc p:first-child em, .intro-fourth .slider-desc p:nth-child(2) em {
    display: block;
  } */
  /* .intro-seventh .slider-desc p:nth-child(2)  {
    margin-top: 0;
  } */
  /* .intro-sixth .slider-desc p:nth-child(2),.intro-fifth .slider-desc p:nth-child(2), .intro-fourth .slider-desc p:nth-child(2) {
    margin-top: 8px;
  } */
  /* .intro-seventh .slider-desc p {
    line-height: 2;
  } */
  
  .slide-indicator {
    top: 670px;
    justify-content: center;
    left: 0;
    text-align: center; 
  }
  .intro-shortcut {
    top: 740px;
    left: 0;
    justify-content: center;
    flex-wrap: wrap;
  }
  .intro-shortcut .mobile-shortcut-bg {
    width: 100%;
    height: 240px;
    background-color: var(--foam-latte);
    position: absolute;
    /* opacity: 50%; */
  }
  .intro-shortcut .shortcut-item {
    width: 160px;
    height: 140px;
    margin: 10px;
    margin-top: -25px;
    margin-bottom: 35px;
  }
  .intro-shortcut .shortcut-item i {
    font-size: 50px;
  }
  .intro-shortcut .shortcut-item h4 {
    font-size: 24px;
  }

  /* Section_Sermon */
  .sermon-summary .heading h1:after {
    opacity: 0;
  }
  .sermon-summary .sermon-contents {
    justify-content: center;
  }
  .sermon-contents i {
    display: block;
  }
  .sermon-summary .sermon-contents a.sermon-card{
    display: none;
    opacity: 0;
    width: 280px;
    transition: opacity 0.3s ease-in;   
  }
  .sermon-contents a.sermon-card.selected {
    display: block;
  }
  .sermon-summary .btn-viewmore {
    margin-top: 30px;
  }

  /* Section_News */
  .news-summary .heading h1:after {
    opacity: 0;
  }
  .news-contents {
    flex-direction: column;
  }
  .news-contents .news-sum table {
    width: 100%;
    margin-right: 0;
  }
  .news-contents .news-cards {
    width: 100%;
    margin-bottom: 50px;
    margin-left: 0;
  }
  .item-title i {
    font-size: 24px;
    transform: translateY(5%)
  }
  .item-title h3 {
    font-size: 20px;
    margin: 0;
    padding-left: 15px;
  }
  .news-cards .newscard-item {
    padding: 25px 20px;
  }

  /* Section_Groupcare */
  .groupcare .heading h1:after {
    display: none;
  }
  .groupcare-background .bg-top {
    height: 700px;
  }
  .groupcare-background .bg-letter.jubilee {
    display: none;
  }
  .groupcare-background .bg-letter.church {
    display: none;
  }
  .groupcare-contents {
    margin-bottom: 50px;
    flex-direction: column;
  }
  .cards-internal {
    flex-wrap: wrap;
  }
  .cards-internal .leftcard{
    width: 46%;
    height: 250px;
  }
  .cards-internal .leftcard:before{
    width: 100%;
  }
  .cards-internal .leftcard.youngadults, .cards-internal .leftcard.disciples {
    margin-right: 0;
  }
  .cards-internal h2, .cards-external h2 {
    font-size: 24px;
  }
  .cards-internal .leftcard.adults {
    margin-top: 10px;
  }
  .cards-internal .leftcard.disciples {
    margin-top: 25px;
  }
  .cards-external h4 {
    text-align: center;
    margin-bottom: 15px;
  }
  .cards-external {
    margin-top: 30px;
    margin-left: 0;
  }
  .cards-external .rightcard {
    width: 100%;
  }

  /* Section_Scripture */
  .scripture-contents {
    padding-right: 15px;
    top: 15%;
    text-align: center;
    left: 2%;
  }
  .scripture-contents p {
    font-size: 13px;
    letter-spacing: -1.2px;
  }

}
