    .card-flip > div {
        backface-visibility: hidden;
        transition: transform 300ms;
        transition-timing-function: linear;
        margin: 0;
        display: flex;
    }
    
    .card-front {
        transform: rotateY(0deg);
    }
    
    .card-back {
        transform: rotateY(180deg);
        position: absolute;
        top: 0;
    }
    
    .card-flip:hover .card-front {
        transform: rotateY(-180deg);
    }
        
    .card-flip:hover .card-back {
        transform: rotateY(0deg);
    }

    .ag-card-body {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;

        padding: 53x 0;
    }
    .ag-courses_item {
        -ms-flex-preferred-size: calc(33.33333% - 30px);
        flex-basis: calc(33.33333% - 30px);

        margin: 0 15px 30px;

        overflow: hidden;

        border-radius: 28px;
    }
    .ag-courses-item_link {
        display: block;
        padding: 30px 20px;
        background-color: #ffffff;

        overflow: hidden;

        position: relative;
    }
    .ag-courses-item_link:hover,
    .ag-courses-item_link:hover .ag-courses-item_date {
        text-decoration: none;
        color: #FFF;
    }
    .ag-courses-item_link:hover .ag-courses-item_bg {
        -webkit-transform: scale(10);
        -ms-transform: scale(10);
        transform: scale(10);
    }
    .ag-courses-item_title {
        min-height: 87px;
        margin: 0 0 25px;
        overflow: hidden;
        font-weight: bold;
        font-size: 30px;
        color: #4ca4b4;
        z-index: 2;
        position: relative;
    }
    .ag-courses-item_date-box {
        font-size: 18px;
        color: #FFF;

        z-index: 2;
        position: relative;
    }
    .ag-courses-item_bg {
        height: 128px;
        width: 128px;
        background-color: #f2cc8f;

        z-index: 1;
        position: absolute;
        top: -75px;
        right: -75px;

        border-radius: 50%;

        -webkit-transition: all .5s ease;
        -o-transition: all .5s ease;
        transition: all .5s ease;
    }
    .ag-courses_item:nth-child(2n) .ag-courses-item_bg {
        background-color:  #f2cc8f;
    }

    @media only screen and (max-width: 979px) {
        .ag-courses_item {
        -ms-flex-preferred-size: calc(50% - 30px);
        flex-basis: calc(50% - 30px);
        }
        .ag-courses-item_title {
        font-size: 24px;
        }
    }

    @media only screen and (max-width: 767px) {
        .ag-format-container {
        width: 96%;
        }

    }
    @media only screen and (max-width: 639px) {
        .ag-courses_item {
        -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
        }
        
        .ag-courses_item{
        min-height: 10px; /* Change the min-height value as needed */
    }

        .ag-courses-item_link {
        padding: 22px 40px;
        }
        .fun-text{
        font-size: 10px;
        color: #000301;
        }
    }

    .playlist-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 25px;
    }

    .preview-video {
        width: 100%; /* Adjust width as needed */
        height: 480px; /* Adjust height as needed */
        border: 1px solid #ccc;
        margin-bottom: 10px;
    }

    .video-list {
        display: flex;
        overflow-x: auto;
        max-width: 100%;
        padding: 10px;
        -ms-overflow-style: none;  /* IE and Edge */
        scrollbar-width: none;  /* Firefox */
    }

    .video-list::-webkit-scrollbar {
        display: none;  /* Hide scrollbar in Chrome, Safari, and Opera */
    }

    .video-item {
        margin-right: 10px;
        cursor: pointer;
        transition: transform 0.2s;
    }

    .video-item:hover {
        transform: scale(1.1);
    }

    .video-item img {
        width: 192px; /* Adjust width as needed */
        height: 108px; /* Adjust height as needed */
        border: 1px solid #ccc;
        border-radius: 4px;
    }

    .hidden {
        display: none;
    }

    .word-search-grid {
        display: inline-block;
        border-collapse: collapse;
    }
    .word-search-cell {
        width: 36px;
        height: 36px;
        border: 2px solid #000; /* Add border */
        text-align: center;
        cursor: pointer;
        user-select: none;
    }
    .selected-word {
        background-color: yellow;
    }

    .correct-word {
        background-color: lightgreen;
    }

    .correct-word-list {
        color: lightseagreen;
    }
