/* Media query for small screens (e.g., mobile devices) */
@media (max-width: 768px) {
    .main-container {
        flex-direction: column; /* Stack sections vertically on small screens */
        height: auto; /* Let the height adjust based on content */
    }

    .event-title h1{
        font-size: 7rem;
        margin: 10px;
    }

    .left-section,
    .right-section {
        width: 100%; /* Full width on small screens */
        height: auto; /* Let the height adjust based on content */
    }

    .right-section {
        order: -1; /* Move the right section to the top */
        height: 50vh; /* Adjust height for small screens */
    }
    .animated-text {
/*        position: relative; /* Reset positioning for small screens */
/*        top: auto;*/
/*        left: auto;*/
        transform: none;
        font-size: 3rem; /* Reduce font size for small screens */
        text-align: center; /* Center the text */
        margin: 20px 0; /* Add margin for spacing */
        z-index: 1; /* Ensure text is on top of the image */        
    }
    .line {
        font-size: 3rem; /* Reduce font size for small screens */
        margin: 1.5rem 0; /* Adjust spacing for small screens */
    }

    .wedding-sticker{
        position: absolute;
        z-index: 1; /* Ensure text is on top of the image */
        top: 77%;
        left: 30%;
        img {
          width:60%;
          height:50%;
        }
      }
      .wedding-text{
        left: 16%;
        top: 10%;
        position: absolute;
        font-family: "Cursive";
        font-size: 1.6rem;
        color: white;
      }

.information-label .date-info,
.information-label .venue-info {
    font-size: 1rem; /* Increase font size */
}
.carousel-wrapper {
    touch-action: pan-y;
}
    .carousel img {
        width: 100%;
        height: auto;
        max-height: 400px; /* Adjust as needed */
    }

    .image-nav {
    display: none;
    }
}
.carousel-next-button, .carousel-prev-button{
    font-size: 2rem;
    color: black;
    font-weight: bold;
}

@media (min-width: 769px) {
    .main-container {
        display: flex;
    }

    .right-section {
        position: sticky;
        top: 156px;
        height: calc(100vh - 56px);
    }
}
