/* styles.css */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.carousel-container {
    display: flex;
    align-items: center;
    position: relative; /* Ensures the buttons position relative to the carousel */
    margin: auto;
    max-width: 90%; /* Adjust width as needed */
    overflow: hidden; /* Prevents the buttons from moving outside the container */
}

.carousel {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 10px; /* Space between images */
    flex-grow: 1; /* Allow the carousel to take up the remaining space */
}

.carousel-prev, .carousel-next {
    position: absolute; /* Positions the buttons relative to the parent container */
    top: 50%;
    transform: translateY(-50%);
    background-color: rgb(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    z-index: 1000;
    font-size: 18px;
    border-radius: 50%;
}

.carousel-prev {
    left: 0; /* Position button at the left of the carousel */
}

.carousel-next {
    right: 0; /* Position button at the right of the carousel */
}

.carousel-prev:hover, .carousel-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.carousel img {
    height: 150px;
    border-radius: 5px;
    object-fit: cover;
    flex-shrink: 0; /* Prevent images from shrinking */
}

/* Popup container */
.popup {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Black background with opacity */
    z-index: 1000;
    text-align: center;
}

.popup-content {
    margin-top: 10%;
    max-width: 60%;
    max-height: 50%;
    border: 2px solid white;
    box-shadow: 0 0 10px white;
}

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

.close:hover {
    color: red;
    transition: color 0.2s;
}

.caption {
    color: white;
    font-size: 16px;
    margin-top: 10px;
}

.button-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: rgb(1, 131, 40);
    color: rgb(255, 255, 255);
    text-align: center;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

.button-link:hover {
    background-color: rgb(0, 114, 34);
}

.textboxone {
    background-color: rgba(255, 255, 255, 0.737);
    padding: 50px 50px;
    border-radius: 10px;
}

body {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    text-align: center;
    background-image: url(large1.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}

h1 {
    color: rgb(255, 255, 255);
    background-color: rgb(1, 131, 40);
    padding: 20px 20px;
    border-radius: 5px;
    text-align: center;
}

p {
    color: #000000;
    text-align: center;
}

@media screen and (max-width: 600px) {
    .popup-content {
        max-width: 95%;
        max-height: 95%;
    }
}