/* Resetting default margin and padding */
body,
h1,
h2,
p,
ul,
li {
    margin: 0;
    padding: 0;
}

/* Setting up basic styles */
body {
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    margin: 0;
}

.long-cang-regular {
    font-family: "Long Cang", cursive;
    font-weight: 400;
    font-style: normal;
}


header {
    position: fixed;
    top: 0;
    width: 100vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px;
    background-color: #fff;
    /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); */
}

.icon {
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.icon img {
    width: 7vh;
    height: 7vh;
    margin: 10px;
}

.icon:hover {
    opacity: 0.7;
}

.icon {
    opacity: 0.90;
}


.icon-left {
    margin-right: auto;
}

.icon-right {
    margin-left: auto;
}

.content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100vh);
    /* Adjust for the height of top-nav */
    overflow: hidden;

    /* Prevent image overflow */
}

.content img {
    max-width: 30vw;
    max-height: auto;
}

.content-about {
    display: flex;
    justify-content: center;
    align-items: center;


    height: 100vh;
    padding: 0 30vw;
    box-sizing: border-box;
    font-family: "Long Cang", cursive;
    font-weight: 300;
    font-style: normal;
    font-size: 1.6em;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.205);
}


.content-about p {
    text-align: left;
}

.content-about p span {
    margin: auto;
    /* This will center the span horizontally */
    display: block;
    /* Ensures the span takes up full width */
    text-align: center;
    /* Centers the text within the span */
}



/* image grid */

/* Add this CSS for the image gallery */
.gallery {
    margin-top: calc(7vh);
    /* Adjust based on your header height */
    padding: 10px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(calc((100vw - 40px) / 4), 1fr));
    grid-auto-rows: auto;
    /* Automatically adjust row height based on content */
    grid-gap: 0px 10px;
    margin: 0;
    /* Adjust the margin between images */
}

.grid-item img {
    width: 100%;
    height: auto;
    margin-bottom: 6px;

}

.grid-item {
    margin: 0;
    padding: 0;
}


/* Media query for smaller screens */
@media screen and (max-width: 768px) {
    .icon img {
        width: 7vh;
        /* Increase size for smaller screens */
        height: 7vh;
    }

    .content img {
        max-width: 75vw;
    }


    .content-about {

        /* Set the height to occupy the full viewport height */
        padding: 0 10vw;
        font-size: 1.3em;
        text-align: left;
        /* Add padding to the left and right sides */

    }

    .grid {
        grid-template-columns: repeat(auto-fill, minmax(calc((100vw - 40px)), 1fr));
    }

}