@import url('https://fonts.googleapis.com/css2?family=Chiron+GoRound+TC:wght@200..900&display=swap');

@font-face {
    font-family: 'KNUTRUTHTTF';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2312-1@1.1/KNUTRUTHTTF.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'KCCChassam';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2302@1.0/KCCChassam.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'GmarketSansMedium';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SUITE';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2304-2@1.0/SUITE-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding:0;
}

/* "Global" ///////////////////////////*/
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex-grow: 1;
    text-align: center;
    font-family: 'Chiron GoRound TC', sans-serif;
}

section {
    margin: 5%;
    padding: 16px;
    font-family: 'Chiron GoRound TC', sans-serif;
    color: black; 
}

section h2 {
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 12px;
}

section p {
    font-size: 16px;
}

iframe {
    border-color: transparent;
    width: 560px;
    height: 315px;
}

li, a, button {
    font-family: 'Chiron GoRound TC', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: black; 
    text-decoration: none;   
}

footer {
    font-family: 'Chiron GoRound TC', sans-serif;
    font-weight: 500;
    font-size: 16px;
    padding: 16px;
    background-color: black;
    color: white;
    text-align: center;
}

button {
    padding: 9px 25px;
    background-color: rgba(182, 206, 180, 1);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease 0s;
}

button:hover {
    background-color: rgba(150, 167, 141, 0.8);
}



select{
    appearance: none;
}

option {
    border-color: transparent;
    border-radius: 5px;
    background-color: white;
    color: black;
    font-size: 16px;
}


/* IDs ///////////////////////////*/
#language-select{
    border-radius: 5px;
    padding: 3px;
    font-family: 'Chiron GoRound TC', sans-serif;
    text-align: center;
    border-color: transparent;
    background-color: #96A78D;
    color: #F0F0F0;
    font-size: 16px;
    font-weight: 500;
}

#calendar {
    height: 100%;
    width: 100%;
    border: 1px solid #000000;
    max-width: 1100px;
    max-height: 200px;
    margin: 40px auto;
    /* background-color: #ddf2d1; */
}

/* CLASSES ///////////////////////////*/
.about section{
    text-align: center;
    font-family: 'SUITE', sans-serif;
    width: fit-content;
}

.fc-toolbar-title {
    font-family: GMarketSansMedium;
    color: #3C5272;
    font-weight: bold;
    font-size: 1.5em;
}

.fc-col-header-cell a {
    font-family: GMarketSansMedium;
    color: #3C5272;
    font-weight: bold;
    font-size: 1.1em;
}

.fc-daygrid-event {
    font-family: GMarketSansMedium;
    word-wrap: break-word;
    text-align: center !important;
    font-size: 16px;
    padding: 5px;
    border-radius: 4px;
    color: #FFFFFF !important;
    border: none;
}

.cal-container {
    margin-top: 0;
    padding-top: 0;
}

.cal-container iframe{
    padding-top: 0;
    margin-top:0;
    border: none;
    width: 100%;
    height: 300px;
}

.bible-daily h3{
    text-align: left; 
    font-family: KNUTRUTHTTF;
}

.bible-daily p{
    text-align: left; 
    font-family: 'Chiron GoRound TC', sans-serif;
}

.service-times{
    margin: 0 auto;
    border: 1px solid black;
    border-collapse: collapse;
    width: 100%;
    max-width: 450px;
}

.service-times th, td{
    border: 1px solid black;
    padding: 8px;
}

.logo_txt{
    font-family: 'Chiron GoRound TC', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: black; 
    text-decoration: none;   
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 10%;
    background-color: #D9E9CF;
}

.nav_links {
    list-style: none;
}

.nav_links li {
    display: inline-block;
    padding: 0px 20px;
}

.nav_links li a {
    transition: all 0.3s ease 0s;
}

.nav_links li a:hover {
    color: #368f0a;
}

.hamburger, .navbar-m {
    display: none;
}

@media screen and (max-width: 1350px) {
    #language-select {
        font-size: 14px;
    }

    #calendar {
        max-height: 150px;
    }

    .fc-daygrid-event {
        font-size: 7px;
    }

    .fc-col-header-cell a {
        font-size: 7px;
    }

    .cal-body {
        font-size: 11px;
    }

    .online-vid{
        position: relative;
        padding-bottom: 56.25%;
        height: 0px;
        overflow: hidden;
        max-width: 100%;
    }

    .online-vid iframe{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .nav_links {
        display: none;
    }

    .cta-container {
        display: none;
    }

    .logo_txt {
        order: 1;
        font-size: 18px;
    }

    .hamburger {
        display: block;
        order: 2;
        font-size: 20px;
        padding: 5px 10px;
        border-radius: 5px;
    }

    .navbar-m {
        position: absolute;
        top: 106px;
        left: 0;
        width: 100%;
        background-color: #D9E9CF;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        z-index: 10;
        display: none;
        text-align: center;
    }

    .navbar-m li{
        display: block;
        padding: 10px 0;
    }

    .open {
        display: block;
    }

    .cta-container-m {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 15px;
    }

    section {
        margin: 20px;
        padding: 10px;
    }

}