#main-01 {
    position: relative;
    left: 25%;
    max-width: 50svw;
    background-color: #f9f9f9;
    border-radius: 12px;
    /* Softer rounded corners */
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.3);
    /* Enhanced shadow for depth */

}

.slide {
    /* To adjust the position of the slides vertically, change the top property value. It won't work if you do it in the .slide-text class. */
    position: relative;
    top: 10%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    /* When a slide has the .active class, its opacity is set to 1, making it fully visible. This is used to show the currently active slide. */
    opacity: 1;
}

.slide-text {
    position: absolute;
    right: 5%;
    left: 5%;
    z-index: 2;

    h1 {
        font-size: var(--font-size-xl);
        color: var(--clr-secondary);
    }

    p {
        font-size: var(--font-size-lg);
    }

}

.pagination {
    /* This positions the .pagination element absolutely within the .slider container. */
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
}

/* Style for pagination dots */
.pagination-dot {
    /* This sets the display property of each pagination dot to inline-block. It allows the dots to be displayed inline (next to each other) while 
    still being able to set width, height, and margins. Without it the pagination-dots would no appear. */
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: var(--clr-secondary);
    /* Default color for inactive dots */
    margin: 0 var(--spacing-sm);
    border-radius: 50%;
    /* Adjust spacing between dots */
    cursor: pointer;
}

.pagination-dot.active {
    background-color: var(--clr-accent);
    /* Color for active dot */
}

.custom-button {
    display: inline-block;
    padding: 0 20px;
    height: 50px;
    line-height: 50px;
    background-color: var(--clr-accent);
    color: black;
    /* text-decoration: none; */
    border-radius: 25px;
    font-family: Arial, sans-serif;
    /* font-size: 16px; */
    font-weight: var(--font-weight-bold);
    text-align: center;
    transition: background-color 0.3s ease;
    /* cursor: pointer; */
}

.custom-button:hover {
    /* cursor: pointer; */
    opacity: 0.8;
}

@container container-responsive-name (max-width: 1100px) {

    #main-01 {
        left: 5%;
        max-width: 90svw;
    }

    .slide-text {
        h1 {
            font-size: var(--font-size-lg);
        }

        p {
            font-size: var(--font-size-ba);
        }
    }

    .custom-button {
        margin-top: 5px;
    }
}