@import url('https://fonts.googleapis.com/css2?family=Bai+Jamjuree:wght@400;500;600;700&display=swap');

:root {
    --color-body: #b6cbce;
    --color-heading: #eefbfd;
    --color-base: #172a14;
    --color-base2: #9a9679;
    --color-barand: #0ce538;
    --color-brand2: #36ef2c;
    --sidebar-width: 240px;
    --font-base: 'Bai jamjuree';
}


body {
    background-color: rgba(53, 105, 46, 0.84);
    color: var(--color-body);
    font-family: var(--font-base), sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--color-heading);
    font-weight: 700;
}

a {
    color: rgb(8, 238, 12);
    text-decoration: none;
    transition: all 0.4s ease;
}



img {
    width: 100%;
}

/* Navbar */

.full-height {
    min-height: 100vh;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 300px;
    border-bottom: #25093b;
}
.navbar {
    background-color: var(--color-base);
}

.offcanvas-body {
    background-color: var(--color-base);
}

.offcanvas-header {
    background-color: var(--color-base);
}

.navbar-nav,
.nav-item {
    color: aliceblue;
}

.navbar .nav-link {
    font-weight: 500;
    text-transform: uppercase;
    color: aliceblue;
    position: relative;
}

.navbar .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    background-color: #11ef08;
    transition: width 0.6s ease-in-out;
}

.navbar .nav-link:hover::after {
    width: 100%;
}

.navbar-nav .nav-item.active .nav-link {
    color: #08ee0c;
}
.name span {
    font-weight: bolder;
}

/* Navbar */
.footer {
    background-color: #172a14;
    color: #ffffff;
}

.footer p a {
    position: relative;
    text-decoration: none; /* Remove default underline */
}

.footer p a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 3px;
    background-color: #11ef08;
    transition: width 0.6s ease-in-out;
}

.footer p a:hover::after {
    width: 100%;
}
.text-line {

    position: relative;
    border: none;
    padding-bottom: 3px;
    border-top: 2px solid #f1de0d;
}

.footer i {
    color: #ffffff;
}


.footer .py-4 {
    padding: 0.5rem;
}



/********************* gallery_main ****************/
#gallery_main {
    background-image: url(../images/about_b.png);
    background-attachment: fixed;
    background-size: cover;
}

.about_main {
    height: 350px;
}

.container.d-flex.justify-content-center.align-items-center {
    height: 350px;
}

#resourcesContainer {
    background: rgba(44, 83, 239, 0.6);
    padding: 20px;
    border-radius: 20px 50px 20px 50px;
    width: auto;
}

#resourcesContainer h2 {
    /* Add any additional styles for the h2 element */
    color: #11ef08; /* For white text */
}

#gallery {
padding-top: 20px;
padding-bottom: 20px;
text-align: -webkit-center;
}
.gallery_1 {
 margin-bottom: 10px;
}
#gallery .ih-item.square {
width: 100%;
height: 100%;
}


.box img {
  cursor: pointer;
  width: 9em;
}

   .image-container {
        position: relative;
        display: inline-block;
        overflow: hidden;
    }

    .image-name {
        position: absolute;
        background-color: rgba(64, 72, 65, 0.29);
        color: #fff;
        font-size: 20px; /* Adjust the font size as needed */
        padding: 10px; /* Adjust the padding as needed */
        border-radius: 5px;
        left: 50%;
        transform: translateX(-50%);
        bottom: 10px; /* Adjust the distance from the bottom as needed */
        width: 100%;
        text-align: center;
        opacity: 0;
        transition: opacity 0.3s ease-in-out;
    }

    .image-container:hover .image-name {
        opacity: 1;
    }

    .image-container img {
        transition: transform 0.3s ease-in-out;
    }

    .image-container:hover img {
        transform: scale(1.1); /* Adjust the scale factor for desired zoom effect */
    }
