body {
    font-family: 'Arial', sans-serif;
    color: #ffffff;
    background: url('night-sky.jpg') no-repeat center center fixed;
    background-size: cover;
    margin: 0;
    padding: 0;
}

#intro, #setup, #gallery, #contact {
    background: rgba(0, 0, 0, 0.6);
    padding: 50px;
    margin: 20px auto;
    max-width: 800px;
    border-radius: 10px;
    box-sizing: border-box; /* Ensure padding is included in the element's total width and height */
}

#intro h2, #setup h2, #gallery h2, #contact h2 {
    font-size: 1.7em;
    margin-bottom: 20px;
}

#intro p, #setup p, #gallery p, #contact p {
    line-height: 1.4;
    margin-bottom: 20px;
    font-size: 1.1em;
}

a {
    color: blue; /* Change the color to your desired color */
    /* You can also specify other styles such as font-size, font-family, etc. */
}

/* Styling for subheadings */
#setup h3 {
    font-size: 1.5em;
    margin-top: 30px;
    margin-bottom: 10px;
}

/* Styling for list items */
#setup ul {
    list-style-type: disc;
    padding-left: 20px;
}

#setup ul li {
    margin-bottom: 10px;
    font-size: 1.1em;
    line-height: 1.4;
}

#setup ul li strong {
    font-weight: bold;
}

header {
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    text-align: center;
}

header h1 {
    margin: 0;
    font-size: 2.5em;
}

nav ul {
    list-style-type: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.2em;
}

section {
    padding: 50px;
    background: rgba(0, 0, 0, 0.6);
    margin: 20px auto;
    max-width: 800px;
    border-radius: 10px;
}

h2 {
    font-size: 2em;
}

img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

footer {
    background: rgba(0, 0, 0, 0.7);
    text-align: center;
    padding: 20px;
    position: fixed;
    width: 100%;
    bottom: 0;
}

footer p {
    margin: 0;
}

/* Swiper Container */
.swiper-container {
    width: 100%;
    max-width: 800px;
    height: 500px;
    margin: 0 auto;
    position: relative;
    cursor: pointer;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide figure {
    display: inline-block; /* Make the figure an inline-block to center it */
    text-align: center; /* Center the caption under the image */
    margin: 0; /* Remove default margins */
}

.swiper-slide img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

figcaption {
    margin-top: 0px; /* Space between image and caption */
    font-size: 0.9em; /* Adjust font size as needed */
    color: #ffffff; /* Adjust color as needed */
    text-align: center; /* Ensure text within figcaption is centered */
}

/* Optional: Adjusting buttons and pagination */
.swiper-button-next,
.swiper-button-prev {
    color: #ffffff;
}

.swiper-pagination-bullet {
    background: #ffffff;
}

/* Responsive design */
@media (max-width: 768px) {
    #intro, #setup, #gallery, #blog, #contact {
        padding: 20px;
    }

    #intro h2, #setup h2, #gallery h2, #blog h2, #contact h2 {
        font-size: 1.5em;
    }

    #setup h3 {
        font-size: 1.3em;
    }

    #intro p, #setup p, #gallery p, #blog p, #contact p,
    #setup ul li {
        font-size: 1em;
    }
    .swiper-container {
        width: 100%;
        height: auto;
    }

    .swiper-slide img {
        width: 100%;
    }

    figcaption {
        font-size: 0.8em; /* Smaller font size on smaller screens */
    }
}

/* Ensure modal styles override other image styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 95%; /* Allow it to be up to 90% of the viewport */
    max-height: 95%; /* Allow it to be up to 90% of the viewport height */
    width: auto; /* Maintain aspect ratio */
    height: auto; /* Maintain aspect ratio */
}

/* Add Animation - Zoom in the Modal */
.modal-content {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* Specific container for first group of images */
.image-container {
    display: flex;
    justify-content: center;
    gap: 40px; /* Add space between images */
    margin: 0 auto;
}

.image-container img {
    max-width: 25%; /* Adjust the size as needed */
    height: auto;
    border-radius: 10px;
    cursor: pointer;
}

/* Specific container for second group of images */
.image-container-setup {
    display: flex;
    justify-content: center;  
    gap: 35px; /* Add space between images */      
    flex-wrap: wrap;
    margin: 0 auto;    
}

.image-container-setup img {
    max-width: 40%;
    height: auto;
    margin: 1px 0;
    cursor: pointer;
}

.hidden {
    display: none !important;
}
