:root {
    --bg-custom: #002A7C;
}

body {
    background-color: rgb(4, 20, 53);
    background-image: url('https://dev.euvoupassarnaoab.com.br/portal-aluno/assets/images/bg-home.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    /* position: fixed; */
}

header.header {
    width: 100%;
    padding: 0 20px;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 1),
            /* Preto opaco */
            rgba(80, 80, 80, 0)
            /* Branco transparente */
        );
    position: fixed;
    top: 0;
    display: flex;
    height: 80px;
    align-items: center;
    z-index: 999;
}

.header .btn-menu {
    color: #fff;
    font-size: 24px;
    margin-right: 20px;
}

.header .logo {
    position: absolute;
    right: 20px;
}

.header .logo img {
    width: 100px;
}

.select-course {
    display: flex;
    position: relative;
    background-color: #fff;
    width: 70px;
    border-radius: 20px;
    padding: 3px 10px;
    cursor: pointer;
}

.select-course .icon {
    color: rgb(0, 42, 124);
    font-size: 18px;
}

.select-course span.seta {
    position: absolute;
    right: 10px;
    font-size: 18px;
}

.option-menu {
    position: absolute;
    cursor: default;
    top: 70px;
    left: 70px;
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    width: 350px;
    z-index: 999;
}

.option-menu p i {
    color: rgb(0, 42, 124) !important;
}

.option-menu p a {
    color: #333;
    font-weight: 600;
    text-decoration: none;
}

.option-menu .close {
    position: absolute;
    right: 10px;
    top: 0px;
}

.option-menu .close a {
    font-size: 24px;
    text-decoration: none;
    color: #333;
}

.navmenu {
    position: fixed;
    top: 80px;
    left: -250px;
    width: 250px;
    height: 100%;
    background-color: #fff;
    z-index: 998;
    transition: 0.7s;
}

.navmenu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.navmenu ul li {
    border-bottom: 2px solid #ddd;
}

.navmenu ul li a {
    display: flex;
    color: rgb(0, 42, 124);
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    padding: 20px 15px;
}



.navmenu.active-menu {
    left: 0;
}

.backdrop-menu {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 989;
    display: none;
}

.main-content-sate {
    margin-top: 40px;
    width: 84%;
    margin-left: 8%;
    margin-bottom: 8%;
}

@media(max-width: 992px) {
    .main-content-sate {
        margin-top: 40px;
        width: 100%;
        margin-left: 0%;
        margin-bottom: 0%;
    }
}

/* template da pagina do curso */
.carousel-container {
    position: relative;
    width: 80%;
    margin: auto;
    display: flex;
    align-items: center;
}

@media(min-width: 992px) {
    .carousel-container {
        width: 95%;
    }
}

.carousel {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 15px;
    padding: 20px 0;
}

.carousel::-webkit-scrollbar {
    display: none;
}

.card2 {
    cursor: pointer;
    background: #fff;
    border-radius: 10px;
    min-width: 250px;
    max-width: 250px;
    overflow: hidden;
    position: relative;
    flex: 0 0 auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.card2 img {
    width: 100%;
    max-height: 350px;
    display: block;
    object-fit: cover;
}

@media(max-width: 768px) {
    .card2 {
        min-width: 140px;
        max-width: 140px;
    }
    
    .card-info {
        /* display: none; */
    }
}

.card-info {
    padding: 10px;
    position: relative;
    background-color: #fff;
}

.card-info h3 {
    margin: 0;
    font-size: 16px;
}

.card-info p {
    margin: 2px 0;
    font-size: 14px;
    color: #333;
}

.card-info span {
    font-size: 12px;
    color: #0056b3;
}

.card-info a {
    text-decoration: none;
    color: #0056b3;
}

.play-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: #0056b3;
    border: none;
    color: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    /* padding: 10px; */
    cursor: pointer;
    z-index: 2;
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

.prev {
    left: -50px;
}

.next {
    right: -50px;
}

.prev:hover,
.next:hover {
    background: rgba(0, 0, 0, 0.8);
}

.banner-video {
    width: 100%;
    background-color: #ccc;
    margin-top: 80px;
    border-radius: 16px;
}

.banner-video .desktop {
    width: 100%;
    object-fit: cover;
    background-position: center;
    border-radius: 16px;
    display: none;
}

.banner-video .mobile {
    width: 100%;
    object-fit: cover;
    background-position: center;
    border-radius: 16px;
    display: block;
}

@media(min-width: 768px) {
    .banner-video .desktop {
        display: block;
    }

    .banner-video .mobile {
        display: none;
    }
}


.mr2 {
    margin-right: 10px;
}


/* player de video */

.video-container {
    position: relative;
    margin-top: 0px;
    width: 100%;
    height: 90vh;
    overflow: hidden;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Gradiente escuro para destacar o texto */
.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 30%, rgba(0, 0, 0, 0) 70%);
}

/* Texto e botões sobrepostos */
.content {
    position: absolute;
    bottom: 50px;
    left: 5%;
    z-index: 2;
    max-width: 600px;
}

.conten-section-videos {
    min-width: 90%;
    max-width: 90%;
    margin-left: 5%;
    margin-right: 5%;
    margin-top: -30px;
}

.content h1 {
    font-size: 3rem;
    margin: 0;
    color: #ccc;
}

.content p {
    font-size: 1.2rem;
    max-width: 500px;
    color: #ccc;
}

@media(max-width: 992px) {
    .content h1 {
        font-size: 1.3rem;
    }

    .content p {
        font-size: 1rem;
    }
}



.buttons {
    margin-top: 15px;
}

.buttons button {
    background: white;
    color: black;
    border: none;
    padding: 12px 20px;
    font-size: 1rem;
    margin-right: 10px;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
}

.buttons button:nth-child(2) {
    background: rgba(109, 109, 110, 0.7);
    color: white;
}

.player-video-sate {
    width: 100%;
}

.player-video-sate iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
}

.player-container {
    position: relative;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #007bff;
    background: black;
}

#player {
    width: 100%;
    height: 100%;
}

/* Botão Play central */
.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 4px solid #007bff;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
}

.play-overlay:hover {
    background: rgba(255, 255, 255, 0.4);
}

.play-overlay::before {
    content: "▶";
    font-size: 50px;
    color: #007bff;
    margin-left: 5px;
}

/* Controles inferiores */
.controls {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 123, 255, 0.9);
    padding: 5px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 20px;
} */

button:hover {
    /* color: #dceeff; */
}

/* Barra de progresso */
.progress {
    flex: 1;
    appearance: none;
    height: 5px;
    background: white;
    cursor: pointer;
    border-radius: 5px;
}

.progress::-webkit-slider-thumb {
    appearance: none;
    width: 14px;
    height: 14px;
    background: #007bff;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid white;
}

/* Tempo */
.time {
    color: white;
    font-size: 14px;
    min-width: 100px;
    text-align: center;
}

.content-aulas {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px 0px;
    border-radius: 12px;
}

.content-aulas .aulas-header {
    padding: 0 20px;
}

.content-aulas h4 {
    font-size: 22px;
    color: rgb(0, 42, 124)
}

.content-aulas .lesson-block {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    position: relative;
}

.content-aulas .lesson-block .check-lesson {
    width: 20px;
    height: 20px;
    border-radius: 12px;
    margin-right: 15px;
    position: absolute;
    right: 0;
}

.content-aulas .lesson-block a {
    text-decoration: none;
    font-size: 14px;
    color: #333;
}

.lesson-block.active {
    background-color: #94c2f3;
}

.block-material a {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    padding: 10px 0;
    margin: 0 20px;
    text-decoration: none;
}

.icon-pdf {
    display: block;
    padding: 6px 20px;
    background-color: rgb(0, 42, 124);
    color: #fff !important;
    font-weight: bold;
    font-size: 18px;
    border-radius: 12px;
    margin-right: 15px;
}

.block-material span {
    font-size: 18px;
    color: #555;
    font-weight: 600;
}

.btn-custom {
    background-color: #002A7C;
    color: #fff;
}

.btn-custom:hover,
.btn-custom:active,
.btn-custom:focus {
    background-color: #051b47;
    color: #fff;
}

.btn-custom2 {
    background-color: #bbd9ff !important;
    color: #002A7C !important;
}

.block-planner {
    display: flex;
    position: relative;
    background-color: #fff;
    border-radius: 12px;
    padding: 0px 12px;
    align-items: center;
    min-height: 80px;
    flex-wrap: nowrap;
}

.block-planner .block-planner-body .desc {
    font-size: 18px;
    color: #002A7C;
}

.block-planner .block-planner-body .icon {
    position: absolute;
    right: 10px;
    top: 30px;
    color: #002A7C;
}

.block-post {
    width: 100%;
    background-color: rgb(198, 211, 236);
    padding: 30px 0;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    cursor: pointer;
}

.block-post .icon {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    background-color: var(--bg-custom);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 30px;
    font-size: 24px;
}

.block-post .description {
    max-width: calc(100% - 160px);
}

.block-post .description h3 {
    color: rgb(29, 98, 219);
}

.block-publication {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.block-publication .icon {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    background-color: rgb(198, 211, 236);
    color: rgb(29, 98, 219);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 10px;
    font-size: 48px;
}

.block-publication .description {
    max-width: calc(100% - 160px);
}

.block-publication .description h3 {
    color: #333;
    font-weight: 400;
    margin: 0;
    font-size: 24px;
}

.block-publication .description p {
    margin: 0;
}

.block-det {
    background-color: #eee;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 16px 16px 0 16px;
}

.pagination {
    --bs-pagination-active-bg: var(--bg-custom);
    --bs-pagination-active-border-color: var(--bg-custom);
    --bs-pagination-hover-color: var(--bg-custom);
    --bs-pagination-color: var(--bg-custom);
}