.category-filterCustom {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    margin: 0 0 2rem 0;
}

.courses-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.courses-grid-mobile {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

/* Cards Moviles */
.card {
    overflow: visible;
    width: 100%;
    height: 416px;
}

.content {
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 300ms;
    box-shadow: 0px 0px 10px 1px #000000ee;
    border-radius: 5px;
}

.front,
.back {
    background-color: #151515;
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 5px;
    overflow: hidden;
}

.back-content {
    position: absolute;
    width: 98.5%;
    height: 99%;
    background-color: #003973;
    border-radius: 5px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    object-fit: cover;
    /* gap: 1rem; */
}

.back-content img {
    width: 99.7%;
    height: 23.61625rem;
    border-radius: 5px;
}

.back {
    width: 100%;
    height: 100%;
    justify-content: center;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.back::before {
    position: absolute;
    content: " ";
    display: block;
    width: 160px;
    height: 160%;
    background: linear-gradient(90deg,
            transparent,
            #06a566,
            #06a566,
            #06a566,
            #06a566,
            transparent);
    animation: rotation_481 5000ms infinite linear;
    /* animation-play-state: paused; */
}



.card:hover .content {
    transform: rotateY(180deg);
}

@keyframes rotation_481 {
    0% {
        transform: rotateZ(0deg);
    }

    0% {
        transform: rotateZ(360deg);
    }
}

.front {
    transform: rotateY(180deg);
    color: white;
}

.front .front-content {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #003973;
}

.front-content .badge {
    background-color: #00000055;
    padding: 2px 10px;
    border-radius: 10px;
    backdrop-filter: blur(2px);
    width: fit-content;
}

.description {
    box-shadow: 0px 0px 10px 5px #00000088;
    width: 100%;
    height: 100%;
    padding: 10px;
    background-color: #00000099;
    backdrop-filter: blur(5px);
    border-radius: 5px;
    z-index: 10;
}

.description-front {
    position: relative;
}
/* .description-front div.title strong {
    
} */

.title {
    font-size: 18px;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0 0.5rem;
}

.title p {
    width: 100%;
    margin-bottom: 0;
}

.card-body p {
    font-size: 15px;
    margin-top: 0.5rem;
    margin-bottom: 0;
}

.card-body p strong {
    font-size: 15px;
}

.card-footer {
    color: #ffffff88;
    margin-top: 5px;
    font-size: 8px;
}

.front .img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: #06a566;
    position: relative;
    filter: blur(15px);
    animation: floating 2600ms infinite linear;
    z-index: 2;
}

.circle-second {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: #06a566;
    position: relative;
    top: 260px;
    left: 200px;
    filter: blur(15px);
    animation: floating 2600ms infinite linear;
    z-index: 2;
}

#fh5co-course div div.content-grid-mobile div div div div.back div button {
    position: absolute;
    z-index: 999;
    top: 5px;
    right: 5px;
    background: transparent;
    border: none;
    border-radius: 50%;
    padding: 5px;
}

#fh5co-course div div.content-grid-mobile div div div div.back div button svg{
    width: 50px;
    height: 50px;
}

#bottom {
    background-color: #a219ce;
    position: relative;
    left: 50px;
    top: -70px;
    width: 150px;
    height: 150px;
    animation-delay: -800ms;
    z-index: 2;
}

#right {
    background-color: #58faeb;
    left: 160px;
    top: -80px;
    width: 30px;
    height: 30px;
    animation-delay: -1800ms;
    z-index: 2;
}

#right-second {
    background-color: #58faeb;
    left: 60px;
    top: 220px;
    width: 30px;
    height: 30px;
    animation-delay: -1800ms;
    z-index: 2;
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(10px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Cards Moviles */
.course.custom-course {
    height: 26rem;
}

.custHidden {
    display: none;
}

.containerForm-custom {
    width: 100%;
}

.rowForm-custom {
    display: flex !important;
    flex-direction: row;
    width: 100%;
}

.custom-headerPrinCourses {
    background-image: url(../images/courses11.jpg);
    object-fit: cover;
}

.row-custom {
    margin: 0;
}

.custom-title {
    text-align: center;
    /* display: flex; */
}

.slides {
    width: 100% !important;
    height: auto !important;
}

.flexslider ul.slides {
    padding: 0;
}



.category-filterCustom::-webkit-scrollbar {
    height: 5px;
    /* border-radius: 50% !important; */
}

.category-filterCustom::-webkit-scrollbar-thumb {
    background-color: rgba(0, 57, 115, 0.5);
    border-radius: 20px;
}

.category-filterCustom::-webkit-scrollbar-track {
    background-color: transparent;
    border-radius: 20px;
}

.category-filterCustom::-webkit-scrollbar-corner {
    background-color: transparent;
}

/* Meia Queries */
/* Media Queries Monitores */
@media screen and (min-width: 1024px) {

    /* Navbar */
    html,
    body {
        width: 100%;
    }

    .mobile-navbar {
        display: none !important;
    }

    .nav-custom {
        display: block !important;
    }
    .content-grid {
        margin-bottom: 3rem;
    }
    .content-grid-mobile {
        display: none;
    }
}

/* Media Queries Tablets */
@media screen and (min-width: 768px) and (max-width: 1023px) {

    /* Navbar */
    html,
    body {
        width: 100%;
    }

    div.top,
    .nav-custom {
        display: none !important;
    }

    .mobile-navbar {
        top: 0;
    }

    .content-grid {
        display: none;
    }

    .content-grid-mobile {
        display: block;
        margin-bottom: 3rem;
    }
    
    .custom-animateBox {
        margin-top: -2rem;
    }

    .category-filterCustom {
        gap: 1rem;
    }
    
    .courses-grid-mobile {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

}

/* Media Queries Moviles */
@media (max-width: 767px) {

    /* Navbar */
    html,
    body {
        width: 100%;
    }

    .top,
    .nav-custom {
        display: none !important;
    }

    .mobile-navbar {
        top: 0;
    }

    .content-grid {
        display: none;
    }
    .content-grid-mobile {
        display: block;
        margin-bottom: 2rem;
    }
    .custom-animateBox {
        margin-top: -2rem;
    }

    .category-filterCustom {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(9, 1fr);
        gap: 1rem;
        overflow-x: auto;
    }

    /* Card */
    .front .img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .front .img .circle {
        width: 90px;
        height: 90px;
        border-radius: 50%;
        background-color: #ffbb66;
        position: relative;
        filter: blur(15px);
        animation: floating 2600ms infinite linear;
    }

    #bottom {
        background-color: #ff8866;
        left: 50px;
        top: 0px;
        width: 150px;
        height: 150px;
        animation-delay: -800ms;
    }

    #right {
        background-color: #ff2233;
        left: 160px;
        top: -80px;
        width: 30px;
        height: 30px;
        animation-delay: -1800ms;
    }

    @keyframes floating {
        0% {
            transform: translateY(0px);
        }

        50% {
            transform: translateY(10px);
        }

        100% {
            transform: translateY(0px);
        }
    }

    .courses-grid-mobile {
        grid-template-columns: repeat(1, 1fr);
    }
    .card {
        height: 27.5rem;
    }
}