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

:root {
    --header-height: 3rem;
    --nav-width: 68px;
    --first-color: #82348a;
    --first-color-light: #afa5d9;
    --white-color: #f7f6fb;
    --body-font: "Nunito", sans-serif;
    --normal-font-size: 1rem;
    --z-fixed: 100;
}

*,
::before,
::after {
    box-sizing: border-box;
}

.body {
    position: relative;
    /* margin: var(--header-height) 0 0 0; */
    padding: 0px;
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    transition: 0.5s;
}
.bx {
    font-family: boxicons !important;
    font-weight: 400;
    font-size: 1.4rem;
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    text-rendering: auto;
    display: inline-block;
    text-transform: none;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.none {
    display: none;
}
a {
    text-decoration: none;
}
.bg-content {
    background-color: #f8f9fa;
}

.header {
    width: 100%;
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    background-color: var(--white-color);
    z-index: var(--z-fixed);
    transition: 0.5s;
}

.header_toggle {
    color: var(--first-color);
    font-size: 2.5rem;
    cursor: pointer;
}

.header_img {
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
}

.header_img img {
    width: 40px;
}

.l-navbar {
    position: fixed;
    top: 0;
    left: -30%;
    width: var(--nav-width);
    height: calc(100% - 63.89px);
    background-color: var(--first-color);
    padding: 0.5rem 1rem 0 0;
    transition: 0.5s;
    z-index: var(--z-fixed);
}

.nav {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    justify-content: space-between;
}

.nav_logo,
.nav_link {
    display: grid;
    grid-template-columns: max-content max-content;
    align-items: center;
    column-gap: 1rem;
    padding: 0.5rem 0 0.5rem 1.5rem;
}

.nav_logo {
    margin-bottom: 2rem;
}

.nav_logo-icon {
    font-size: 1.25rem;
    color: var(--white-color);
}

.nav_logo-name {
    color: var(--white-color);
    font-weight: 700;
}

.nav_link {
    position: relative;
    color: var(--first-color-light);
    margin-bottom: 1.5rem;
    transition: 0.3s;
}

.nav_link:hover {
    color: var(--white-color);
}

.nav_icon {
    font-size: 1.25rem;
}

.ver {
    left: 0;
    width: calc(var(--nav-width) + 118px) !important;
}

.body-pd {
    padding-left: 0;
}
.body-pd2 {
    padding-left: calc(var(--nav-width) + 118px);
}

.active {
    color: var(--white-color);
}

.active::before {
    content: "";
    position: absolute;
    left: 0;
    width: 2px;
    height: 32px;
    background-color: var(--white-color);
}

.height-100 {
    padding: 68px 0 0 0;
    min-height: calc(100vh);
}
.ocultarsearch {
    display: none;
}

@media screen and (min-width: 768px) {
    .ocultarsearch {
        display: block;
    }
    .height-100 {
        padding: 64px 0;
        min-height: calc(100vh);
    }
    .body {
        padding-left: calc(var(--nav-width) + 0rem);
    }

    .header {
        height: calc(var(--header-height) + 1rem);
        padding: 0 2rem 0 calc(var(--nav-width) + 2rem);
    }

    .header_img {
        width: 40px;
        height: 40px;
    }

    .header_img img {
        width: 45px;
    }

    .l-navbar {
        left: 0;
        padding: 1rem 1rem 0 0;
    }

    .ver {
        width: calc(var(--nav-width) + 156px);
    }

    .body-pd {
        padding-left: calc(var(--nav-width) + 118px);
    }
    .body-pd2 {
        padding-left: calc(var(--nav-width) + 135px);
    }
}
/* /ridvideos */

.video-section {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 3rem 1rem;
    padding: 3rem 0;
    margin: 0 1.5rem;
    border-top: 4px solid #ccc;
}

.video-section:first-child {
    border-top: none;
}

.video-container {
    display: flex;
    flex-direction: column;
}

.thumbnail {
    position: relative;
    display: flex;
}

.thumbnail::before {
    content: attr(data-duration);
    position: absolute;
    background-color: rgba(0, 0, 0, 0.85);
    color: white;
    right: 5px;
    bottom: 5px;
    padding: 0.1em 0.3em;
    border-radius: 0.3em;
    font-size: 0.9rem;
}

.thumbnail-image,
.thumbnail-video {
    width: 100%;
    height: 100%;
    min-width: 250px;
    min-height: 150px;
    background-color: #aaa;
}

.video-bottom-section {
    display: flex;
    align-items: flex-start;
    margin-top: 1rem;
}

.channel-icon {
    margin-right: 0.75rem;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    background-color: #aaa;
}

.video-details {
    display: flex;
    flex-direction: column;
}

.video-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-decoration: none;
    color: black;
}

.video-channel-name {
    margin-bottom: 0.1rem;
    text-decoration: none;
    transition: color 150ms;
}

.video-channel-name:hover {
    color: #111;
}

.video-channel-name,
.video-metadata {
    color: #555;
}

.video-section-title {
    grid-column: 1 / -1;
    margin: -0.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0.5rem;
}

.video-section-title-close {
    border: none;
    background: none;
    padding: 0;
    font-size: 2rem;
    color: #555;
    cursor: pointer;
}

.videos {
    padding: 0 0 5rem 0;
    background-color: #f9f9f9;
}

.categories {
    padding: 1rem;
    border-top: 1px solid #999;
    border-bottom: 1px solid #999;
}

.category-section {
    display: flex;

    overflow: auto;
}
.category-section::-webkit-scrollbar {
    -webkit-appearance: none;
}
.category-section::-webkit-scrollbar:horizontal {
    width: 10px;
}
.category-section::-webkit-scrollbar-button:increment,
.category-section::-webkit-scrollbar-button {
    display: none;
}
.category-section::-webkit-scrollbar:horizontal {
    height: 10px;
}

.category-sectionr::-webkit-scrollbar-thumb {
    background-color: #797979;
    border-radius: 20px;
    border: 2px solid #f1f2f3;
}

.category-section::-webkit-scrollbar-track {
    border-radius: 10px;
}

.category {
    margin-right: 1rem;
    word-wrap: none;
    white-space: nowrap;
    border: 1px solid #ccc;
    border-radius: 900px;
    background-color: #e7e7e7;
    padding: 0.5rem 1rem;
    font-size: small;
    cursor: pointer;
    transition: background-color 150ms;
}

.category:hover {
    background-color: #ddd;
}

.category.active {
    background-color: #606060;
    color: white;
    border-color: #eee;
}

.category:last-child {
    margin-right: 0;
}

.header2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.youtube-logo {
    height: 20px;
}

.menu-icons {
    display: grid;
    grid-template-columns: repeat(4, auto);
    align-items: center;
    gap: 1.5rem;
}

.menu-channel-icon {
    border-radius: 50%;
    width: 36px;
    height: 36px;
    background-color: #aaa;
}
.opacity-50 {
    opacity: 0.5;
}
@media screen and (min-width: 768px) {
    .categories {
        padding: 1rem;
        border-top: 1px solid #999;
        border-bottom: 1px solid #999;
    }
}

/* Reproductor de videos */
video {
    width: 100%;
}
.container-content {
    width: 100%;
    display: flex;
    margin: auto;
    padding: 2rem 1rem;
}
.cont-video {
    width: 75%;
}
.cont-list-video {
    width: auto;
}
.reaction-video {
    text-align: center;
    display: flex;
    justify-content: space-around;
    justify-content: center;
    align-items: center;
    align-content: center;
    padding: 2px 1rem;
}

.detail-video-reactions {
    border-bottom: 2px solid rgba(134, 134, 134, 0.438) !important;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
}
.detail-video-reactions,
.like,
.dislike,
.share,
.save {
    display: flex;
    flex-direction: column;
    font-size: 12px;
}

.bloqbtn {
    pointer-events: none;
}
.bloqbtnmsg {
    position: relative;
}
.bloqbtnmsg > .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    pointer-events: none;
    /* Position the tooltip */
    position: absolute;
    z-index: 1;
    left: -11px;
    top: 41px;
}

.bloqbtnmsg:hover .tooltiptext {
    visibility: visible;
}

@media screen and (min-width: 768px) {
    .container-content {
        width: 80%;
    }
    .detail-video-reactions {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
    .reaction-video {
        justify-content: flex-end;
    }
}

@media screen and (max-width: 768px) {
    .container-content {
        flex-direction: column;
    }
    .cont-video {
        width: 100%;
    }
    .cont-list-video {
        width: 100%;
    }
}

/* lista de video */
.video-container-mas {
    width: 100%;
    min-height: 115px;

    display: flex;
    padding: 0 0 0 1rem;
}
.thumbnail-image-mas {
    width: 168px;
    min-width: 160px;
    min-height: 90px;
    height: 90px;
    background-color: #aaa;
}

.video-bottom-mas {
    padding: 1rem;
}

.video-title-mas {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-decoration: none;
    color: black;
}
.publicidad {
    width: 312px;
    margin-left: 1rem;
    position: relative;
}
.publicidad img {
    width: 100%;
}
.close {
    float: right;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: 0.5;
    position: absolute;
    right: 16px;
    top: 8px;
}

@media screen and (max-width: 768px) {
    .video-container-mas {
        width: 100%;
        min-height: 100px;

        display: flex;
        padding: 0;
    }
    .publicidad {
        width: 100%;
        margin-left: 0rem;
    }
}
