#gallery {
    position: relative;
    background-image: url("../asset/gallery/bg.png");
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#galBlur {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    backdrop-filter: blur(3px);
    background-color: rgba(0, 0, 0, 0.48);
}

#galMain {
    position: relative;
    z-index: 2;
    /* Optional: add padding or styling as needed */
    display: flex;
    flex-direction: column;
    gap: 5vh;
}
#galHead{
    width: 100vw;
    height: 10vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.galBody{
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5vw;
}
.galButton{
    width: 20vw;
    height: 15vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
#galHead h3{
    font-size: 1.2rem;
    color: #fffffe;
    text-align: center;
    letter-spacing: 0.2rem;
    border-bottom: red 1px solid;
    padding: 0.3rem;
}
#galHead h3 span{
    font-weight: normal;
}
#subGal1Home{
    background-image: url("../asset/gallery/subgal5.jpg");
    background-position: center;   
    background-repeat: no-repeat;
    background-size: cover;
}
#subGal2Home{
    background-image: url("../asset/gallery/subgal6.jpg");
    background-position: center;   
    background-repeat: no-repeat;
    background-size: cover;
}
#subGal3Home{
    background-image: url("../asset/gallery/subgal4.jpg");
    background-position: center;   
    background-repeat: no-repeat;
    background-size: cover;
}
#subGal4Home{
    background-image: url("../asset/gallery/subgal3.jpg");
    background-position: center;   
    background-repeat: no-repeat;
    background-size: cover;
}
#subGal5Home{
    background-image: url("../asset/gallery/subgal2.jpg");
    background-position: center;   
    background-repeat: no-repeat;
    background-size: cover;
}
#subGal6Home{
    background-image: url("../asset/gallery/subgal1.jpg");
    background-position: center;   
    background-repeat: no-repeat;
    background-size: cover;
}
.galBody a{
    width: 20vw;
    height: 20vw;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #fffffe;
}
.subGalHome{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: end;
}
.subGalHome p{
    width: 100%;
    height: 12%;
    background-color: rgba(0, 0, 0, 0.48);
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(3px);
    margin: 0;
    font-size: 1rem;
    transition: 0.3s;
}
.galBody a:hover .subGalHome p{
    width: 100%;
    height: 100%;
    backdrop-filter: blur(3px);
    margin: 0;
    font-size: 1.5rem;
    transition: 0.3s;
}
.galButton a{
    width: 15vw;
    height: 7vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #fffffe;
    border-radius: 25px;
    background-color: #000001;
    font-size: 0.8rem;
    transition: 0.3s;
}
.galButton a:hover{
    transform: scale(1.2);
    transition: 0.3s;
}
@media (max-width:600px) {
    .subGalHome p{
        width: 100%;
        height: 12%;
        background-color: rgba(0, 0, 0, 0.48);
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        backdrop-filter: blur(3px);
        margin: 0;
        font-size: 0.5rem;
        transition: 0.3s;
    }
    .galBody a:hover .subGalHome p{
        width: 100%;
        height: 100%;
        backdrop-filter: blur(3px);
        margin: 0;
        font-size: 1rem;
        transition: 0.3s;
    }
}
