
*{
    margin: 0;
    padding: 0;
}



/* Slider container */
.slider {
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
}

/* Slides container */
.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

/* Individual slide styling */
.slide {
    min-width: 100%;
    box-sizing: border-box;
    position: relative; /* Needed for overlay positioning */
}

/* Image styling */
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay styling */
.overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    padding: 20px;
    border-radius: 10px; /* Rounded corners for better appearance */
    background: rgba(24, 23, 23, 0.5);
    width: 80%; /* Adjust as needed */
}

/* Heading and paragraph styling inside the overlay */
.overlay h2 {
    margin: 0;
    font-size: 2em;
}
#main
{
    font-size: 100px;
}
.overlay p {
    margin: 10px 0 0;
    font-size: 1.2em;
}

/* Navigation arrows styling */
.prev, .next {
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 3px;
}

.prev {
    left: 10px; /* Adjust spacing from the left */
}

.next {
    right: 10px; /* Adjust spacing from the right */
}

/* Ensure that navigation arrows are visible above the overlay */
.prev, .next {
    z-index: 2;
}

#about {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
    text-align: center; 
}

#aboutWhole {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

#aboutbody {
    max-width: 800px; 
    margin: 0 auto; 
    padding: 20px; 
}

.abouthead {
    font-size: 2em; 
    margin-bottom: 20px;
}

.abouttext p {
    font-size: 1.2em; 
    line-height: 1.6; 
}
.wrapper
{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px; 
}

.image
{
    width: 350px;
    position: relative;
}
.image>img{
    width: 100%;
    display: block;
}
.image {
    position: relative;
    width: calc(30% - 20px); /* Adjust based on desired number of items per row */
}

.image img {
    width: 100%;
    height: 250px; /* Maintain aspect ratio */
    display: block;
}
#places
{
    padding: 20px;
    margin: 5px 10px;
    display: flex;
    flex-direction: column;
    text-align: center;
}
#places>h1{
    font-size: 2em;
    margin-bottom: 20px;
}
.content {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: 0.6s;
}
.image:hover .content {
    opacity: 1;
}

.content h1 {
    font-size: 24px; /* Adjust font size */
    color: yellow;
    margin-bottom: 10px;
}

.content p {
    font-size: 16px; /* Adjust font size */
    color: #fff;
}

.content > * {
    transform: translateY(25px);
    transition: transform 0.6s;
}

.content:hover > * {
    transform: translateY(0px);
}
h1{
    color: rgb(8, 94, 8);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .image {
        width: calc(33.33% - 20px);
    }
}

@media (max-width: 992px) {
    .image {
        width: calc(50% - 20px);
    }
    .hideonmobile
    {
        display: none;
    }
    #main{
        font-size: 50px;
    }
}

@media (max-width: 768px) {
    .image {
        width: 100%;
    }

}
button
{
    border: none;
    font-size: larger;
    background-color:transparent;
}

