html {
    scroll-behavior: smooth;
}

body {
    margin: 0px;
    background-color: #ffffff;
}

body,
div,
a {
    font-family: Helvetica, sans-serif;
    color: #460b00;
}

a {
    color: #460b00;
    text-decoration: none;
    cursor: pointer;

    &:hover {
        color: #d32300 !important;
    }
}

a[href^="tel"] {
    font-family: inherit;
    color: inherit;
    text-decoration: none;
    pointer-events: none;
}

section {
    display: flex;
    width: 100%;
    padding: 50px 0px;
    /* background-image: linear-gradient(180deg, transparent, rgba(251, 174, 119, 0.5)); */
    justify-content: center;
}

.section-content {
    width: 100%;
    max-width: 960px;
}

.white-section {
    background: unset;
    background-color: white;
}

.header-wrapper {
    position: fixed;
    display: grid;
    top: 0px;
    left: 0px;
    width: 100vw;
    background-color: #ffffff;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.1);
    z-index: 15;
}

.header-container {
    display: flex;
    margin: 20px 0px;
}

.header-logo {
    width: 36px;
    height: 36px;
    margin-top: 12px;
    margin-right: 50px;
}

.header-title {
    display: flex;
    align-items: center;

    div {
        font-size: 46px;
        font-weight: bold;
        color: #007b9a;
    }
}

.menu-container {
    display: flex;
    width: 100%;
    margin-bottom: 20px;
    gap: 20px;
    justify-content: center;
}

.sliding-menu {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background-color: #ffffff;
    display: none;
    z-index: 10;
}

.menu-container div,
.sliding-menu div {
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;

    &:hover {
        color: #007b9a !important;
    }
}

.sliding-menu div {
    font-size: 24px;
    text-align: center;
    line-height: 1.5em;
    padding: 20px 0px;
}

.menu-on {
    color: #007b9a !important;
}

.site-contents {
    width: 100%;
}

.home-title {
    font-family: 'Times New Roman', Times, Helvetica, sans-serif;
    font-size: 62px;
    text-align: center;
    padding: 20px 0px;
    max-width: 920px;
    border-bottom: 3px solid #2196f3;
}

.home-tagline {
    font-family: 'Times New Roman', Times, Helvetica, sans-serif;
    font-size: 32px;
    text-align: center;
    margin-top: 30px;
}

.special-notice {
    font-size: 32px;
    font-weight: bold;
    color: #ff0000;
    margin: 20px 0px;
    display: none;
}

.gatering-time-continer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.gatering-time {
    font-family: 'Playfair Display', Helvetica, sans-serif;
    font-size: 39px;
    font-weight: bold;
    color: #292929;
    text-align: center;

    div {
        font-family: inherit;
        font-size: 20px;
        color: inherit;
    }
}

.getering-time-blue {
    font-family: Impact, Helvetica, sans-serif;
    font-size: 37px;
    font-weight: bold;
    color: #00b9e8;
    text-align: center;
    margin-top: 30px;
}

.cpc-front-image {
    max-width: 520px;

    img {
        width: 100%;
    }
}

.cpc-front-image,
.pastor-image,
.family-church-contents {
    img {
        box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 10px;
    }
}

.service-title {
    font-family: 'Times New Roman', Times, Helvetica, sans-serif;
    font-size: 54px;
    text-align: center;
    padding: 20px 0px;
}

.events-title,
.mission-title,
.church-life-title {
    font-family: 'Vast Shadow', Helvetica, sans-serif;
    font-size: 54px;
    color: #292929;
    text-align: center;
}

.latest-video-container {
    width: 100%;
}

.youtube-video-frame {
    width: 100%;
    aspect-ratio: 16/9;
    box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 10px;
}

.watch-more {
    text-align: center;
    margin: 20px 0px;

    a {
        font-family: 'oswald', Helvetica, sans-serif;
        font-size: 26px;
    }
}

.event-item-gap {
    margin-top: 50px;
}

.event-title-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    justify-self: center;
    max-width: 635px;
    margin-top: 20px;
}

.event-item-title {
    flex-grow: 3;
    font-family: 'Marmelad', Helvetica, sans-serif;
    font-size: 36px;
    font-weight: bold;
    color: #00b9e8;
    text-align: center;
    margin-left: 10px;
}

.event-icon-wrapper {
    position: relative;
    width: 84px;
    min-width: 84px;
    height: 75px;
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;

    div {
        text-align: center;
    }
}

.event-icon-day-label-weekday,
.event-icon-day-label-weekend {
    font-size: 12px;
    font-weight: bold;
    padding: 6px 0px 5px 0px;
}

.event-icon-day-label-weekday {
    background-color: #ffcc00;
    color: #292929;
}

.event-icon-day-label-weekend {
    background-color: #d40000;
    color: #ffffff;
}

.event-icon-date-label {
    font-size: 32px;
    font-weight: bold;
    margin-top: 7px;
}

/* .event-icon-weekday,
.event-icon-weekend {
    width: 84px;
    min-width: 84px;
    height: 75px;
} */

/* .event-icon-weekday {
    background-image: url(images/event-date-weekday.png);
}

.event-icon-weekend {
    background-image: url(images/event-date-weekend.png);
} */

/* .event-icon-month-label-weekday,
.event-icon-month-label-weekend {
    font-size: 12px;
    font-weight: bold;
    margin-top: 8px;
    text-align: center;
}

.event-icon-month-label-weekday {
    color: #292929;
}

.event-icon-month-label-weekend {
    color: #ffffff;
} */

/* .event-icon-day-label {
    font-size: 32px;
    font-weight: bold;
    margin-top: 10px;
    text-align: center;
} */

.event-item-description {
    font-family: 'Marmelad', Helvetica, sans-serif;
    font-size: 28px;
    font-weight: bold;
    line-height: 1.5em;
    text-align: center;
    margin-top: 20px;
}

.event-poster {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;

    div {
        max-width: 635px;
    }
}

.event-poster-image {
    width: 100%;
    border: 3px double #ffffff;
    box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 10px;
}

.event-reg-form-text {
    text-align: center;
    margin: 20px 0px;

    a {
        background-color: rgba(255, 255, 255, 0.7);
        padding: 10px;
        border-radius: 10px;
    }
}

.about-title,
.family-church-title {
    font-family: 'oswald', Helvetica, sans-serif;
    font-size: 36px;
    text-align: center;
}

.about-title {
    font-weight: bold;
}

.family-church-title {
    margin: 10px 0px;
    transform: scale3d(1, 0.5, 1);
}

.pastor-intro-container {
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
    gap: 10px;
}

.pastor-image {
    text-align: center;
}

.pastor-intro {
    width: calc(100% - 260px);
    font-size: 18px;
    font-weight: bold;
    line-height: 1.5em;

    b {
        text-shadow: 0px 0px 1px #460b00;
    }

    div.heighted {
        display: inline;
        color: #d32300;
    }
}

.mission-description {
    font-family: 'Merienda', Helvetica, sans-serif;
    font-size: 19px;
    font-weight: bold;
    letter-spacing: 0.03em;
    line-height: 1.3em;
    color: #292929;
    text-align: center;
    margin-top: 30px;
}

.mission-list-header {
    font-family: 'Libre Baskerville', Helvetica, sans-serif;
    font-size: 25px;
    color: #292929;
    text-align: center;
    margin-top: 40px;
}

.mission-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 30px 0px;
}

.mission-item-container {
    width: 45%;
    padding: 8px;
    margin-bottom: 20px;
    background-color: rgba(255, 255, 255, 0.7);
}

.mission-ribbon-wrapper {
    display: inline-block;
    width: fit-content;
    height: 30px;
    overflow: hidden;
}

.mission-item-title {
    display: inline-block;
    width: fit-content;
    padding: 8px;
    font-size: 14px;
    font-weight: bold;
    color: #292929;
    background-color: #ffcc00;
}

.mission-ribbon-tail {
    display: inline-block;
    position: relative;
    width: 20px;
    height: 20px;
}

.mission-ribbon-tail-top,
.mission-ribbon-tail-bottom {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #ffcc00;
}

.mission-ribbon-tail-top {
    position: absolute;
    top: -10px;
    left: -10px;
    transform: rotate(45deg);
}

.mission-ribbon-tail-bottom {
    position: absolute;
    top: 19px;
    left: -10px;
    transform: rotate(135deg);
}

.mission-item-description {
    font-size: 16px;
    font-weight: normal;
    line-height: 1.5em;
}

.mission-notes {
    font-size: 21px;
    font-weight: bold;
    line-height: 1.8em;
    text-align: center;
}

.church-life-contents {
    margin-top: 30px;
}

.church-life-flex-row {
    display: flex;
    gap: 20px;
}

.church-life-row-gap {
    margin-top: 20px;
}

.church-life-image-label {
    font-family: 'oswald', Helvetica, sans-serif;
    font-size: 14px;
    color: #ffffff;
    position: relative;
    top: -4px;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 2px 5px;
}

.church-life-image-wrap img {
    width: 100%;
}

.family-church-contents {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.family-church-contents {
    div {
        width: 30%;

        img {
            width: 100%;
        }
    }
}

.more-container {
    font-family: 'Marmelad', Helvetica, sans-serif;
    font-size: 28px;
    font-weight: bold;
    color: #d32300;
    text-align: center;
    line-height: 1.5em;
}

.footer {
    text-align: center;
    line-height: 1.5em;
    padding-bottom: 20px;
}

.contact-info {
    font-size: 20px;
    text-align: center;
    line-height: 1.5em;
    margin: 30px 0px;

    div {
        font-family: 'oswald', Helvetica, sans-serif;
    }
}

.contact-address-container,
.contact-email-container,
.social-media-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.contact-email {
    cursor: pointer;

    &:hover {
        color: #d32300 !important;
    }
}

.social-media-header {
    font-size: 16px;
    margin-top: 20px;
}

.social-media-container {
    margin: 20px 0px;

    img {
        width: 36px;
        height: 36px;
        cursor: pointer;
    }
}

.social-media-banner {
    margin: 20px 10px;

    img {
        max-width: 90%;
        background-color: #ffffff;
        margin: 15px 0px;
        cursor: pointer;
    }
}

.copyright-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 20px;
}

.copyright {
    font-family: 'oswald', Helvetica, sans-serif;
    font-size: 16px;
    white-space: nowrap;
}

.back-to-top {
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 50px;
    height: 50px;
    z-index: 5;
    display: none;
    cursor: pointer;
}

.menu-burger {
    position: fixed;
    top: 10px;
    right: 10px;
    display: none;
    z-index: 20;
    cursor: pointer;
}

.bar1,
.bar2,
.bar3 {
    width: 35px;
    height: 5px;
    background-color: #460b00;
    margin: 6px 0px;
    transition: 0.2s;
}

.change .bar1 {
    transform: translate(0, 11px) rotate(-45deg);
}

.change .bar2 {
    opacity: 0;
}

.change .bar3 {
    transform: translate(0, -11px) rotate(45deg);
}

.sliding {
    display: block;
    transition: top 0.2s;
}

.display {
    display: block;
}

.no-display {
    display: none;
}

.no-padding {
    padding: 0px !important;
}

.w-25p {
    width: 25%;
}

.w-75p {
    width: 75%;
}

@media all and (max-width: 460px) {

    .events-title,
    .mission-title,
    .church-life-title {
        font-size: 46px;
    }

    .more-container {
        font-size: 24px;
    }
}

@media all and (max-width: 490px) {
    .header-wrapper {
        justify-content: start;
        padding-left: 10px;
    }

    .header-title {
        flex-direction: column;
        align-items: unset;

        div {
            width: fit-content;
        }
    }

    .menu-container {
        display: none;
    }

    .menu-burger {
        display: inline-block;
    }
}

@media all and (max-width: 600px) {
    .header-title div {
        font-size: 24px;
    }

    .header-container {
        margin: 5px 0px;
    }

    .header-logo {
        width: 24px;
        height: 24px;
        margin: 2px 10px 0px 0px;
    }

    .menu-container {
        gap: 10px;

        div {
            font-size: 16px;
        }
    }

    .event-poster div {
        width: 95%;
    }

    .pastor-image,
    .pastor-intro {
        width: 100%;
    }

    .church-life-flex-row {
        gap: 10px;
    }

    .church-life-row-gap {
        margin-top: 10px;
    }

    .church-life-image-label {
        font-size: 10px;
        top: -4px;
        padding: 2px 5px;
    }

    .mission-item-container {
        width: 80%;
    }
}

@media all and (max-width: 768px) and (min-width: 599px) {
    .header-title div {
        font-size: 36px;
    }

    .header-container {
        margin: 5px 0px;
    }

    .header-logo {
        width: 30px;
        height: 30px;
        margin: 7px 20px 0px 0px;
    }

    .event-poster div {
        width: 95%;
    }

    .pastor-image,
    .pastor-intro {
        width: 100%;
    }
}

@media all and (max-width: 960px) {
    .section-content {
        padding: 0px 10px;
    }
}