/* font and style */
h1, h2, h3, h4, a {
    font-family: "Unbounded", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

.header {
    color: #2F2629;
}

h2,
h3,
h4 {
    color: #2F2629;
}

h1{
    font-size: 2.5rem;
}

.logo h1{
    font-size: 7rem;
}

.overlay-text {
    font-family: "Unbounded", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
}

p,
ul,
li {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    color: #2F2629;
}

.highlight {
    color: #b91a22;
    /* background-color: #2F2629; */
    font-weight: 700;
}

/* end of font style */
body {
    margin: 0;
    margin-top: 0.5rem;
    background-color: #FFFDF1;
}

/* Logo */
.foto img {
    position: absolute;
    margin-top: 10px;
    margin-left: 10px;
    height: 2rem;
    width: 12rem;
}

/* Navigation Bar */
nav {
    /* background: #ffffff; */
    padding: 5px;
    padding-top: 0px;
    text-align: right;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

nav li {
    display: inline;
    text-align: center;
    margin: 0.1rem;
}

a {
    display: inline-block;
    font-weight: 700;
    width: 100px;
    text-decoration: none;
    color: #1A3A25;
    padding: 10px 20px;
    transition: all 0.7s ease-in;
}

a:hover {
    color: #fff;
    background: #1A3A25;
}

nav ul li a {
    border-radius: 25px;
    border: solid #1A3A25;
}

/* tablet size */
@media only screen and (min-width: 600px) and (max-width: 1024px) {
    body {
        margin: 0
    }

    .foto img {
        position: relative;
    }

    nav {
        text-align: center;
        transform: scale(0.8);
    }

    nav ul {
        padding-top: 4px;
        padding-bottom: 4px;
    }

    /* home page */
    div .col2 {
        padding: 2rem 0 2rem 0;
    }

    div .col3 {
        grid-column: 2/12;
        height: 15rem;
    }

    /* meetings page */
    div .col44 {
        grid-column: 2/12;
    }

    /* events page */
    div .subheading2 {
        padding: 2rem 0 2rem 0;
    }

    /* contacts page */
    .container2 {
        margin: 0 0.5rem 0 0.5rem;
    }
}

/* Phone Size Hamburger Menu (Media Query) */
@media only screen and (max-width: 600px) {
    .foto img {
        position: relative;
        /* Change to relative for better control */
        margin-left: 10px;
        /* Adjust margins as needed */
        margin-top: 5px;
        height: 1rem;
        width: 6rem;
        /* Slightly larger for visibility */
    }

    #nav-trigger {
        display: none;
    }

    .nav-trigger {
        position: absolute;
    }

    label[for="nav-trigger"] {
        position: fixed;
        right: 15px;
        top: 15px;
        z-index: 200;
        cursor: pointer;
        font-family: "Unbounded", sans-serif;
        font-size: 10pt;
        color: #2F2629;
    }

    .nav-trigger:checked+label {
        right: 215px;
        /* Adjust if needed */
    }

    .nav-trigger:checked~.navigation {
        right: 0;
    }

    nav ul {
        list-style-type: none;
        padding: 0;
        margin: 0;
        width: 200px;
        /* Width of the sidebar */
        height: 100%;
        position: fixed;
        /* Change to fixed to overlay */
        top: 0;
        right: -200px;
        /* Initially hide the sidebar */
        bottom: 0;
        z-index: 200;
        text-align: left;
        background-color: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
        box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.4s;
        /* Add transition for smooth effect */
    }

    .nav-trigger:checked~nav ul {
        right: 0;
        /* Show sidebar when checked */
    }

    nav li {
        margin: 10px 0;
        /* Space between buttons */
    }

    nav a {
        display: block;
        /* Make links block elements */
        width: 100%;
        /* Full width */
        padding: 10px 20px;
        color: #000;
        background: none;
        transition: all 0.7s;
        margin: 10px 0;
        box-sizing: border-box;
    }

    a:hover {
        color: #fff;
        background: #333;
    }

    p {
        font-size: 12px;
    }

    ul {
        font-size: 12px;
    }

    h2 {
        font-size: 18px;
    }

    h1 {
        font-size: 25px;
    }

    /* home page */
    div .col44 {
        grid-column: 2/12;
    }
    div .col44 img {
        height: 10rem;
    }

    div.gap12{
        height: 1.5rem;
    }

    div .col3 {
        grid-column: 2/12;
        height: 15rem;
    }

    div .image-container h1 {
        font-size: 65px;
        word-wrap: break-word;
        white-space: normal;
        line-height: 90%;
    }

    div .image-container .bawah {
        font-size: 16px;
        word-wrap: break-word;
        white-space: normal;
        top: 70%;
        text-align: left;
    }

    /* about page */
    div .people3 {
        grid-column: 2/10;
    }

    div .members {
        grid-column: 2/10;
    }

    div .text4 {
        grid-column: 2/10;
    }

    /* meetings */
    div .people_left {
        z-index: 50;
        grid-column: 1/11;
    }

    div .people_left img {
        border-left: 0px;
        border-top: solid 1px black;
    }

    div .text4_left {
        grid-column: 2/10;
    }

    /* events page */
    div .container {
        grid-column: 2/10;
    }

    /* national events */
    div .people {
        grid-column: 2/10;
    }

    /* contacts */

    div .header {
        grid-column: 3/11;
        z-index: 5;
    }
    div .container2 h2{
        text-align: center;
        font-size: 1.25rem;
        /* overflow-wrap: break-word; */
    }
    div .container2 p{
        text-align: center;
        font-size: 1rem;
        /* overflow-wrap: break-word; */
    }
    div.container2 {
        /* grid-column-end: span 8; */
        grid-column: 2/10;
    }
}

/* above 601 pixel device */
@media only screen and (min-width: 601px) {

    .nav-trigger .nav-trigger:checked,
    label {
        display: none;
    }

    #nav-trigger {
        display: none;
    }
}

/* Grid and Cell Styles */
.grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-gap: 10px;
    margin-top: -10px;
}

.cell {
    /* background-color: #FFFDF1; */
    height: 100px;
}

.logo {
    font-size: 4.5vw;
    white-space: nowrap;
    text-align: center;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.bawah {
    font-size: 3vw;
    white-space: nowrap;
    text-align: center;
    transform: translate(-50%, -50%);
    top: 70%;
    left: 50%;
}

.image-container {
    width: 100%;
}


div .overlay-text .bawah2 {
    width: 100%;
    box-sizing: border-box;
    place-content: center;
}

.bawah2 p {
    color: #FFFDF1;
    width: 80%;
    margin-left: 10%;
    margin-top: 15%;
    /* position: absolute; */
}

.cell {
    z-index: 2;
}

.col1 {
    grid-column-end: span 3;
    height: auto;
    /* background-color: #fff; */
}

.col2 {
    grid-column-end: span 6;
    height: auto;
    /* background-color: #fff; */
}

.col2 p {
    text-align: center;
}

.col3 {
    grid-column-end: span 4;
    height: auto;
    /* background-color: white; */
    border: solid, black, 1px;
    text-align: center;
}

.col3 p {
    margin: 2rem;
}

/* ABOUT PAGE */
.header {
    /* grid-column-end: span 12; */
    grid-column: 2/12;
    height: auto;
    /* background-color: #ffffff; */
    text-align: center;
}

.header h1 {
    margin-top: 1.5rem;
}

.gap3 {
    grid-column-end: span 3;
    height: auto;
    /* background-color: #ffffff; */
    text-align: center;
}

.col4 {
    grid-column-end: span 6;
    height: auto;
    /* background-color: #ffffff; */
    text-align: center;
    padding-bottom: 2rem;
}

.people3 img {
    max-width: 100%;
    width: 100%;
    height: 100%;
    border: solid 1px #B5CE6F;
    object-fit: cover;
}

.people3 {
    grid-column: 2/5;
    text-align: center;
    height: 10rem;
}

.members {
    grid-column: 2/10;
    margin-bottom: 0;
    text-align: left
}

h2.members{
    color: #FFFDF1;
}

/* .rectangle.background{
    background-image: url('img/banner_2.jpg');
    background-size: cover;
    background-position: center;
} */

.gap1 {
    grid-column-end: span 1;
}

.box {
    grid-column-end: span 10;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-gap: 10px;
    height: 18rem;
    border: 1px solid black;
}

.box.top {
    border-bottom: none;
}

.box.bottom {
    border-top: none
}

div.pics {
    grid-column: 2/6;
    width: 100%;
    display: grid;
}

.rsp {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.pics img {
    height: 10rem;
    width: 100%;

}

.subheading {
    box-sizing: border-box;
    grid-column: 2/12;
    text-align: left;
    margin-top: 1.5rem;
    margin-bottom: -2rem;
}

.text {
    grid-column: 6/12
        /* margin-left: 0.5rem; */
}

.bottom {
    margin-top: -10px
}

.cell.gap3 {
    /* grid-column: 1/13 */
    background-color: none;
}

.gap10 {
    grid-column-end: span 10;
    height: 2rem;
}

.gap12 {
    grid-column-end: span 12;
    height: 3rem;
}

.gap12_2 {
    grid-column-end: span 12;
    height: 2px;
}
.gap12_3 {
    grid-column-end: span 12;
    height: 10px;
}

/* events */

.main {
    grid-column: 1/13;
    height: auto;
    /* background-color: white; */
}

.rsp {
    max-width: 100%;
    border: solid, black, 1px;
}

.main img {
    width: 100%;
    /* Forces image to span full width of container */
    height: auto;
    object-fit: cover;
}

.subheading2 {
    height: auto;
    text-align: center;
    /* background-color: white; */
    grid-column: 3/11;
}

.container {
    grid-column-end: span 3;
    text-align: center;
}

.gap1 {
    grid-column-end: span 1;
}

.gap2 {
    grid-column-end: span 2;
}

.people img {
    max-width: 100%;
    width: 100%;
    height: auto;
    border: solid, 1px #2F2629;
}

.container a {
    border: solid #2F2629 1px;
    margin: 1rem;
    width: auto;
    border-radius: 25px;
}


.rectangle {
    border: solid black 1px;
    grid-column: 2/12;
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    grid-gap: 10px;
    box-sizing: border-box;
}

.footer {
    grid-column-end: span 12;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-gap: 10px;
    box-sizing: border-box;
    height: 10rem;
    background-color: #1A3A25;
}

.footer p {
    grid-column: 2/10;
    color: #B5CE6F;
}

.container2 {
    grid-column-end: span 2;
    text-align: center;
    /* background-color: white; */
    height: auto;
    white-space: normal;
}

/* National events */

.col44 {
    grid-column-end: span 4;
    /* background-color: white; */
    display: grid;
    position: relative;
}

.rsp {
    max-width: 100%;
    border: solid, #2F2629, 1px;
}

.col44 img {
    width: 100%;
    /* Forces image to span full width of container */
    height: 15rem;
}


h2 {
    text-align: center;
    grid-column-end: span 10;
}

.gap2 {
    grid-column-end: span 2;
    /* background-color: white; */
    height: auto;
}

.people {
    grid-column-end: span 2;
    text-align: center;
}

.container a {
    border: solid black 1px;
    margin: 1rem;
    width: auto;
}

.text4 {
    grid-column-end: span 4;
}

.text4 ul li{
    color: #FFFDF1;
}

/* meetings */
.members_left {
    grid-column: 2/8;
    text-align: left;
}

.text4_left {
    grid-column: 2/7;
    text-align: left;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.people_left {
    grid-column: 8/11;
    height: auto;
}

.people_left img {
    max-width: 100%;
    height: 100%;
    width: 100%;
    box-sizing: content-box;
    border-left: solid 1px black;
    box-sizing: border-box;
    object-fit: cover;
}
