.photobooth-container h1{
    font-size: 40px;
}

.photobooth-container {
    margin: 30px auto;
    text-align: center;
}

.photobooth-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 1rem;
}

.photobooth-description {
    font-size: 16px;
    line-height: 1.6;
    max-width: 1200px;
    margin-bottom: 20px;
    padding: 0 20px; 
    box-sizing: border-box;
    text-align: left;
    margin: 20px auto;
}

.slideshow-container {
    overflow: hidden;
    white-space: nowrap;
    margin-top: 40px;
}

.slideshow img {
    width: 300px;
    height: 400px;
    object-fit: contain;
}

.slideshow {
    display: inline-block;
}

.flip-card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, calc(33.33% - 20px)));
    justify-content: center;
    margin: 50px auto; 
    max-width:65%;
}

.flip-card {
    width: 100%; 
    max-width: 300px;
    height: 400px;
    perspective: 1000px;
    margin: 10px 5px; 
    justify-self: center;
}

.flip-card-inner {
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.5s;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    width: 100%;
    height: 100%;
    position: absolute;
    backface-visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.flip-card-front img{
    width: 100%; 
    height: 100%; 
    object-fit: cover;
}

.flip-card-back p {
    text-align: center; /* Center the text horizontally */
    margin: 20px;/* Adjust the margin as needed */
    color: white;
}

.flip-card-front {
    background-color: #e0e0e0;
}

.flip-card-back {
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.5)), url('images/card.png');
    transform: rotateY(180deg);
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

ul {
    list-style-type: none;
    padding: 0; 
}

li {
    margin-bottom: 20px; 
}

.package-container {
    margin: 50px auto;
}

@media screen and (max-width: 600px) {
    .photobooth-container h1{
        font-size: 25px;
    }
    
    .photobooth-description {
        font-size: 16px;
        line-height: 1.6;
        max-width: 80%;
        margin-bottom: 20px;
        padding: 0 20px; 
        box-sizing: border-box;
        text-align: left;
        margin: 20px auto;
    }
}

@media screen and (min-width: 601px) and (max-width: 1469px) {
    .photobooth-description {
        font-size: 16px;
        line-height: 1.6;
        max-width: 80%;
        margin-bottom: 20px;
        padding: 0 20px; 
        box-sizing: border-box;
        text-align: left;
        margin: 20px auto;
    }
    
    .flip-card-container {
        gap: 10px; 
        
    }
}