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




.range-slider-container {

    position: absolute;
    height: 120px;
    left: 50%;
    z-index: 10;
    transform: translate(-50%, -50%);
    top: 97%;
    display: flex;
    flex: 1;
    justify-content: center;
    align-items: center;
    cursor: pointer;


}

.LessonSwiper {
   margin-left: 1em;
    padding-top: 1.5em;
    gap: 1em;
    display: flex;
    flex-direction: row;
    padding-left: 20px;
    flex-basis: 100%;
    flex-wrap: wrap;
    justify-content: top;
    align-items: left;
    height: auto;

}

.swiper-container {
    width: 48%;
    max-width: 800px;
    max-height: 100vh;
    margin-right: 1em;
    flex-wrap: wrap;
    height: 60vh;
    position: relative;
    border-radius: 0.5em;
    border: 3px solid #333;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    background-color: #ecf0f1;
    /* border: 4px outset #3498db;*/
    /* Border around the swiper container */
    overflow: hidden;
    /* Ensure no overflow */
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: top;
}

.swiper-slide img {
    width: 100%;
    height: auto;

}

.swiper-button-next,
.swiper-button-prev {
    color: transparent;
    /* Hide default arrow */
    width: 20px;
    height: 20px;
    position: absolute;
    top: 50%;
    /* Center vertically */
    transform: translateY(-50%);
    z-index: 10;
    /* Ensure buttons are above other elements */
}

.swiper-button-next {
    right: 10px;
    /* Position to the right */
}

.swiper-button-prev {
    left: 10px;
    /* Position to the left */
}

.central-forward-button {
    position: absolute;
    width: 120px;
    height: 120px;
    left: 50%;
    z-index: 10;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 50%;
    top: 75%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.swiper-button-next::after,
.swiper-button-prev::after,
.central-forward-button::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
}

.swiper-button-next::after {
    border-width: 8px 0 8px 16px;
    border-color: transparent transparent transparent rgb(0, 0, 0);
}

.swiper-button-prev::after {
    border-width: 8px 16px 8px 0;
    border-color: transparent rgb(0, 0, 0) transparent transparent;
}

.central-forward-button::after {
    border-width: 24px 0 24px 48px;
    border-color: transparent transparent transparent black;
}

.audio-button {
    position: absolute;
    font-size: 2em;
    z-index: 10;
    top: 10px;
    right: 10px;
    background: white;
    border: 2px solid black;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.explanation {
overflow: auto;
    width: 48%;
    padding: 1em;
    max-width: 800px;
    max-height: 100vh;
    margin-right: 1em;
    flex-wrap: wrap;
    height: 60vh;
    position: relative;
    border-radius: 0.5em;
    border: 3px solid #333;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    background-color: #ecf0f1;
    /* border: 4px outset #3498db;*/
    /* Border around the swiper container */
    font-size: 18px;
}

.explanation a {
    color: #005CC8;
    text-decoration: underline;
}

@media (max-width: 1440px) {
    .swiper-container {
        flex: 1;
    }


  

}


@media (max-width: 1199px) {




  
}

@media (max-width: 1024px) {

    .LessonSwiper {
        flex-direction: column;
    }

    .swiper-container {
        width: 90%;
    }

    .explanation {
        width: 90%;
    }


}


@media (max-width: 959px) {}

@media (max-width: 880px) {



   


    @media (max-width: 767px) {

        .explanation {
            max-width: 600px;
        }



    }

    @media (max-width:650px) {



     

    }

    @media (max-width:585px) {


   


    }

    @media (max-width: 539px) {



        .central-forward-button {
            width: 60px;
            height: 60px;
        }

        .central-forward-button::after {
            border-width: 12px 0 12px 24px;
        }
    }

    @media (max-width: 479px) {
        .swiper-container {

            width: 100%;


        }

        .swiper-slide img {
            width: auto;
        }

        .swiper-button-next,
        .swiper-button-prev {
            top: 70%;
        }

        .explanation {
            width: 100%;
           
        }

        .left {
            display: none;

        }



    }
}