 /* Style the tab */
 .tab {
    overflow: hidden;
    border: 2px solid #ccc;
    background-color: #224b45;
    color: white;
}

/* Style the buttons that are used to open the tab content */
.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    color: white;
    font-weight: 500;


}
.tabhead{
    font-size: 24px;
    font-weight: 700;
}
/* Change background color of buttons on hover */
.tab button:hover {
    background-color: #d4a669;
    color: #224b45;
}

/* Create an active/current tablink class */
.tab button.active {
    background-color:#cb7400;
    color: white;
    font-weight: 600;
}

/* Style the tab content */
.tabcontent {
    display: none;
    padding: 6px 12px;
    /* border: 1px solid #224b45; */
    border-top: none;
}

.tabcontent {
    animation: fadeEffect 1s;
    /* Fading effect takes 1 second */
}

/* Go from zero to full opacity */
@keyframes fadeEffect {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.tabgallery {
    scroll-behavior: smooth;
    scrollbar-color: rgba(0, 0, 0, 0.8);
    /* background-color: rgba(0, 0, 0, 0.8); */
    /* max-height: 80vh; */
    align-items: center;
}

.tabgallery img {
    padding: 10px;
    align-self: center;
    max-width: 30%;
}

.clickable-image {
    /* max-width: 100%; */
    cursor: pointer;
    transition: transform 0.2s;
}

.clickable-image:hover {
    transform: scale(1.01);
    cursor: crosshair;
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
}

.close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
}

/* For tablets and mobile devices */
@media (max-width: 768px) {
    .tab button {
        padding: 10px 12px;
        font-size: 14px;
    }

    .tabgallery {
        flex-direction: column;
        align-items: center;
    }

    .tabgallery img {
        padding: 15px;
        align-self: center;
        max-width: 50%;
    }
}

/* For small mobile devices */
@media (max-width: 480px) {
    .tab button {
        padding: 8px 10px;
        font-size: 12px;
    }

    .tabgallery img {
        padding: 15px;
        align-self: center;
        max-width: 100%;
    }

    .close {
        top: 10px;
        right: 10px;
        font-size: 24px;
    }
}