#large9 { 
    width: 150px;
    height: 200px;
    position: absolute;
    right: 10px;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    background-color: rgb(255, 222, 201);
    text-align: center;
}

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

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

.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;
    border: 1px solid rgb(254, 181, 181);
    background-color: rgb(254, 181, 181);
    color: rgb(255, 255, 255);
    text-align: center;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.5s ease;
    transform: scale(1.0);
    box-shadow: 3px 3px 3px #8d8b8b;
}

.button-link:hover {
    background-color: rgb(255, 165, 165);
    border: 1px solid rgb(255, 165, 165);
    box-shadow: 4px 4px 4px rgb(0, 0, 0);
}

.textboxone {
    background-color: rgb(255, 255, 255);
    padding: 50px 50px;
    border: 1px solid #ffffff;
    border-radius: 10px;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.5s ease;
    transform: scale(1.0);
}

.textboxone:hover {
    border-color: #ffffff;
    box-shadow: 8px 8px 8px rgb(0, 0, 0);
    background-color: rgb(255, 255, 255);
}

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

.content {
    display: flex;
    align-items: center;
    margin: 20px;
}

.text-box {
    flex: 1;
    padding: 20px;
}

img {
    max-width: 200px;
    border-radius: 8px;
}

.hover-heading {
    font-size: 2em;
    color: #ffffff;
    text-align: center;
    transition: all 0.5s ease;
    box-shadow: 4px 4px 4px #b4b4b4da;
}

.hover-heading:hover {
    color: #ffffff;
    box-shadow: 4px 4px 4px #000000;
    transform: scale(1.0);
}
