@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap");

* {
    outline: none;
    box-sizing: border-box;
}

html {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
}

:root {
    --body-font: "Inter", sans-serif;
    --theme-bg: #1f1d2b;
    --body-color: #808191;
    --button-bg: #353340;
    --border-color: rgb(128 129 145 / 24%);
    --video-bg: #252936;
    --delay: 0s;
}

body {
    font-family: var(--body-font);
    color: var(--body-color);
    background-image: url("img/Fondo.jpeg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-blend-mode: color-dodge;
    padding: 1em 2em;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

body::before {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
    content: "";
}

p {
    text-align: justify;
}

.container {
    background-color: var(--theme-bg);
    height: 95vh;
    max-width: 1300px;
    display: flex;
    overflow: hidden;
    width: 100%;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 500;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    position: relative;
}

.sidebar {
    height: inherit;
    min-height: 100%;
    position: absolute;
    top: 0;
    transition: margin-left 0.3s ease-in-out, width 0.3s ease-in-out;
    width: 20%;
    padding: 30px;
}

.logo_simple {
    display: block;
    font-size: 1.25rem;
    line-height: 1.5;
    transition: width 0.3s ease-in-out;
    white-space: nowrap;
}

.side-wrapper {
    height: calc(100% - (3.5rem + 1px));
    overflow-x: none;
    overflow-y: initial;
    padding-bottom: 0;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    padding-top: 0;
    -ms-overflow-style: -ms-autohiding-scrollbar;
    scrollbar-width: thin;
    scrollbar-color: #a9a9a9 transparent;
}

.side-title {
    border-bottom: 1px solid #4f5962;
    border-top: 1px solid #4f5962;
    margin-bottom: 20px;
    padding: 10px;
}

.side-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    height: 80%;
}

.side-menu a {
    color: #fff;
    font-weight: 600;
    display: flex;
    align-items: center;
    text-decoration: none;
}

svg {
    width: 45px;
    padding: 7px;
    border-radius: 10px;
    background-color: var(--button-bg);
    flex-shrink: 0;
    margin-right: 16px;
}

.sidebar-link:hover,
.sidebar-link.is-active {
    color: #fff;
    font-weight: 600;
    font-size: 18px;
}

.sidebar-link:hover:nth-child(2n+1) svg,
.sidebar-link.is-active:nth-child(2n+1) svg {
    background: #ff7551;
}

.sidebar-link:hover:nth-child(2n) svg,
.sidebar-link.is-active:nth-child(2n) svg {
    background: #32a7e2;
}

.sidebar-link:hover:nth-child(2n+3) svg,
.sidebar-link.is-active:nth-child(2n+3) svg {
    background: #6c5ecf;
}

.wrapper {
    height: inherit;
    min-height: 100%;
    position: absolute;
    top: 0;
    transition: margin-left 0.3s ease-in-out, width 0.3s ease-in-out;
    width: 80%;
    margin-left: 20%;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.header {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding: 5px;
    border-bottom: 1px solid var(--border-color);
}

.main-container {
    /*display: flex;*/
    flex-direction: column;
    padding: 0 30px 30px;
    flex-grow: 1;
    overflow: auto;
    overflow-x: hidden;
}

.user-settings {
    display: flex;
    align-items: center;
    padding-left: 20px;
    flex-shrink: 0;
    margin-left: auto;
}

.main-header {
    font-size: 30px;
    color: #fff;
    font-weight: 700;
    padding-top: 20px;
    padding-bottom: 20px;
    position: sticky;
    top: 0;
    left: 0;
    background: linear-gradient(to bottom, #1f1d2b 0%, #1f1d2b 78%, rgba(31, 29, 43, 0) 100%);
    z-index: 9;
}

.anim {
    --delay: 0s;
}

.main-blogs {
    display: flex;
    align-items: center;
}

.contenedor1 {
    background-image: url("./img/FondoC1.jpeg");
    width: 65%;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.contenedor2 {
    background-image: url("./img/FondoC2.jpeg");
    width: 35%;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.contenedor1,
.contenedor2 {
    border-radius: 20px;
    border: 1px solid rgb(0 0 0 / 30%);
    height: 300px;
    text-align: center;
    box-shadow: 10px 10px 10px 10px rgb(0 0 0 / 30%);
}

.box-progress-bar {
    width: 100%;
    height: 5px;
    border-radius: 6px;
    overflow: hidden;
    background-color: #fff;
    margin: 8px 0;
}

.box-progress {
    display: block;
    height: 5px;
    border-radius: 6px;
}

.box-progress-percentage {
    text-align: right;
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 16px;
}

.small-header {
    font-size: 24px;
    font-weight: 500;
    color: #fff;
    margin: 30px 0 20px;
}

.videos {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(4, 1fr);
    grid-column-gap: 20px;
    grid-row-gap: 20px;
}

.video {
    position: relative;
    background-color: var(--video-bg);
    border-radius: 20px;
    overflow: hidden;
    transition: 0.4s;
}

.video-wrapper {
    position: relative;
}

video {
    max-width: 100%;
    width: 100%;
    border-radius: 20px 20px 0 0;
    display: block;
    transition: 0.4s;
}

.video-by {
    transition: 0.3s;
    padding: 20px 20px 0px;
    text-align: center;
    /*display: inline-flex;
    position: relative;*/
}

.video-name {
    color: #fff;
    font-size: 13px;
    line-height: 1.3em;
    padding: 12px;
    overflow: hidden;
    background-color: var(--video-bg);
    z-index: 8;
    position: relative;
    text-align: center;
    /*display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;*/
}

.video-view {
    font-size: 12px;
    padding: 12px 20px 20px;
    background-color: var(--video-bg);
    position: relative;
}

::-webkit-scrollbar {
    width: 6px;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(21, 20, 26, 0.63);
    border-radius: 10px;
}

.slide-container {
    overflow-x: auto;
}

.slide {
    width: 100%;
    height: auto;
    margin: auto;
    overflow: hidden;
}

.slide .slide-track {
    display: flex;
    animation: scroll 40s linear infinite;
    -webkit-animation: scroll 40s linear infinite;
    width: calc(200px * 12);
}

.slide .slide {
    width: 200px;
}

.slide .slide img {
    width: 100%;
}

@keyframes scroll {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

    100% {
        -webkit-transform: translateX(calc(-200px * 6));
        transform: translateX(calc(-200px * 6));
    }
}

/*SLIDER PRINCIPAL*/
.slider {
    margin: 0 auto;
    /*max-width: 940px;*/
}

.slider_viewer {
    height: 340px;
    overflow: hidden;
    position: relative;
    border-radius: 20px;
}

.slider_group {
    height: 100%;
    position: relative;
    width: 100%;
}

.slide_part {
    display: none;
    height: 100%;
    position: absolute;
    width: 100%;
}

.slide_part .img_slide {
    width: 100%;
    padding-left: 70px;
    padding-right: 70px;
}

.slide_part:first-child {
    display: block;
}

.slide_part:nth-of-type(1) {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.slide_part:nth-of-type(2) {
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.slide_part:nth-of-type(3) {
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.slide_part:nth-of-type(4) {
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

a.slider_btn {
    color: #474544;
    font-size: 42px;
    margin: 0 0.175em;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

.slider_btn.active,
.slider_btn:hover {
    color: #428CC6;
    cursor: pointer;
}

.directional_nav {
    margin: 0 auto;
    position: relative;
    top: -180px;
}

.previous_btn {
    bottom: 0;
    left: 0px;
    margin: auto;
    position: absolute;
    top: 0;
}

.next_btn {
    bottom: 0;
    margin: auto;
    position: absolute;
    right: 0px;
    top: 0;
}

.previous_btn,
.next_btn {
    cursor: pointer;
    height: 65px;
    /*opacity: 0.5;*/
    -webkit-transition: opacity 0.4s ease-in-out;
    -moz-transition: opacity 0.4s ease-in-out;
    -ms-transition: opacity 0.4s ease-in-out;
    -o-transition: opacity 0.4s ease-in-out;
    transition: opacity 0.4s ease-in-out;
    /*width: 65px;*/
}

.previous_btn:hover,
.next_btn:hover {
    opacity: 1;
}

@media only screen and (max-width: 767px) {
    .previous_btn {
        left: 0px;
    }

    .next_btn {
        right: 0px;
    }
}

/*SLIDER PRINCIPAL*/

@media (max-width: 1224px) {
    .sidebar {
        margin-left: -250px;
        background-color: var(--theme-bg);
        z-index: 10;
    }

    .sidebar-active {
        margin-left: 0px;
        height: inherit;
        min-height: 100%;
        position: absolute;
        top: 0;
        transition: margin-left 0.3s ease-in-out, width 0.3s ease-in-out;
        width: 250px;
        padding: 30px;
        background-color: var(--theme-bg);
        z-index: 10;
        box-shadow: 0 14px 28px rgba(18, 35, 62, 1), 0 10px 10px rgba(18, 35, 62, 1) !important;
    }

    .wrapper {
        margin-left: 0;
        width: 100%;
    }
}

@media (max-width: 900px) {
    .main-blogs {
        flex-direction: column;
    }

    .contenedor1,
    .contenedor2 {
        width: 70% !important;
        margin-bottom: 5px;
        margin-left: 0px !important;
    }

    .videos {
        display: flex;
    }

    .video {
        margin-bottom: 10px;
    }
}

@media (max-width: 700px) {
    body {
        padding: 0 !important;
        height: 100vh;
    }

    .container {
        max-width: 100%;
        height: 100%;
        border-radius: 0px;
        overflow: auto;
    }

    .contenedor1,
    .contenedor2 {
        width: 100% !important;
        margin-bottom: 5px;
        margin-left: 0px !important;
    }

    .videos {
        display: block;
    }

    .video {
        margin-bottom: 10px;
    }

    .slider_viewer {
        height: 290px;
    }

    .slide_part .img_slide {
        padding-left: 0px;
        padding-right: 0px;
    }

    .directional_nav {
        top: 0px;
    }
}