@font-face {
    font-family: "Quicksand Regular";
    src: url("/assets/fonts/Quicksand-Regular.woff") format("woff");
}

@font-face {
    font-family: "Quicksand Bold";
    src: url("/assets/fonts/Quicksand-Bold.woff") format("woff");
}

@font-face {
    font-family: "Quicksand Light";
    src: url("/assets/fonts/Quicksand-Light.woff") format("woff");
}

@font-face {
    font-family: "Quicksand Medium";
    src: url("/assets/fonts/Quicksand-Medium.woff") format("woff");
}

@font-face {
    font-family: "Quicksand SemiBold";
    src: url("/assets/fonts/Quicksand-SemiBold.woff") format("woff");
}

@font-face {
    font-family: "UVNVan_B";
    src: url("/assets/fonts/UVNVan_B.woff") format("woff");
}

@font-face {
    font-family: "UVNVan_R";
    src: url("/assets/fonts/UVNVan_R.woff") format("woff");
}

@font-face {
    font-family: "NotoSans";
    src: url("/assets/fonts/NotoSans-Regular.woff2") format("woff2");
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

::-webkit-scrollbar {
    width: 10px;
    background-color: #ffff;
}

::-webkit-scrollbar-thumb {
    background-color: #34695d;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #2a554b;
}

:root {
    --plyr-color-main: #34695d;
    --plyr-captions-background: none;
    --plyr-control-icon-size: 14px;
    --plyr-control-spacing: 8px;
    --plyr-video-background: #3D3939;
    --plyr-badge-border-radius: 10px
}
.web_error_server {
    text-align: center;
    padding: 10px;
}
.web_functions {
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: fit-content;
    padding: 5px;
    z-index: 10;
    display: flex;
    gap: 5px;
    flex-direction: column;
}

.web_return_to_top, .web_setting {
    cursor: pointer;
    width: 40px;
    background-color: #34695d;
    aspect-ratio: 1/1;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: 0.3s ease;
}


.web_return_to_top::before, .web_setting::before {
    content: attr(data-tooltip);
    position: absolute;
    right: 110%;
    white-space: nowrap;
    padding: 5px 15px;
    border-radius: 999px;
    font-size: small;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    font-family: 'Quicksand Bold';
    color: white;
    background-color: #34695d;
}

.web_return_to_top:hover, .web_setting:hover {
    transform: scale(0.95);
    filter: brightness(0.9);
}

.web_return_to_top:hover::before, .web_setting:hover::before {
    transform: scale(0.95);
    opacity: 1;
    visibility: visible;
}
.web_setting_wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    user-select: none;
    z-index: 201;
}
.settings {
    background-color: #f1f1f1;
    padding: 10px;
    border-radius: 10px ;
    transform: translateY(-50%);
    transition: all 0.3s ease-in-out;
    max-width: 100%;
    min-width: 200px;
}
#setting_credits{
    font-size: small;
    font-weight: bold;
    margin: top 10px;
    padding: 10px;
    padding-bottom: 0;
    text-align: center;
}
body.dark .settings{
    background-color: #333333;
}
.web_setting_wrap.show {
    opacity: 1;
    visibility: visible;
}
.web_setting_wrap.show .settings {
    transform: translateY(-10%);
}
.setting_nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 5px 10px;
    font-family: 'Quicksand Bold';
    font-size: large;
}
.setting_close {
    display: flex;
    justify-self: center;
    align-items: center;
    padding: 5px 15px;
    background-color: #34695d;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}
.setting_close:hover {
    transform: scale(0.95);
}
.setting_close img {
    width: 20px;
}
.setting_func_wrap {
    padding: 10px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.setting_func_wrap label{
    flex: 2;
}
.setting_func_wrap select{
    flex: 1;
    padding: 5px 10px;
    font-family: 'Quicksand Regular';
    border-radius: 10px;
}
body {
    height: 100vh;
    font-family: 'Quicksand Regular';
}
body.dark {
    background-color: #181818;
    color: white;
}

.nav_right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.web_error_page {
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.web_error_icon {
    width: 30%;
}

.web_error_icon img {
    pointer-events: none;
    width: 100%;
}

.web_error_message {
    width: 70%;
    font-size: x-large;
    display: flex;
    justify-content: right;
}

.web_error_message_text {
    width: fit-content;
    padding: 10px;
}

.web_error_page_item {
    width: 40%;
    display: flex;
    align-items: center;
}

.web_loading {
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    opacity: 1;
    transition: 0.2s ease-in-out;
    visibility: visible;
}
body.dark .web_loading{
    background-color: #181818;
}
.web_loading.hidden {
    opacity: 0;
    visibility: hidden;
    animation: 0.2s web_fadeout linear;
}

.web_loading .loading {
    width: 120px;
    height: 120px;

    border: 25px solid rgb(180, 180, 180);
    border-top: 25px solid #34695d;
    border-radius: 50%;
    animation: web_spin 1.5s linear infinite;
}

@keyframes web_spin {
    0% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(90deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes web_fadeout {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}
.web_welcome {
    font-family: 'Quicksand Bold';
    padding: 5px 10px;
    user-select: none;
}

#web_navigation {
    background-color: black;
    color: white;
    display: flex;
    align-items: center;
    overflow-x: auto;
    position: relative;
    padding: 0 7px;
    user-select: none;
    transition: all 0.2s ease-in-out;
}

a {
    position: relative;
}

.web_nav::before {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    bottom: -63%;
    transform: translate(-50%);
    background-color: #34695d;
    color: white;
    padding: 5px 15px;
    border-radius: 999px;
    white-space: nowrap;
    font-size: small;
    font-family: 'Quicksand Bold';
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 10;
    transition: 0.2s ease-in-out;
}

.web_nav:hover::before {
    opacity: 1;
    visibility: visible;
}

.web_nav:hover {
    transform: scale(0.95);
}

.sidenav_gray_screen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    background-color: #000;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.web_sidenav::before {
    content: attr(data-tooltip);
    position: absolute;
    right: 111%;
    background-color: #34695d;
    text-decoration: none;
    color: white;
    white-space: nowrap;
    padding: 5px 15px;
    border-radius: 999px;
    font-size: small;
    font-family: 'Quicksand Bold';
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 10;
    transition: 0.2s ease-in-out;
}

.web_sidenav:hover::before {
    opacity: 1;
    visibility: visible;
}

.web_nav img {
    pointer-events: none;
}

#web_navigation a {
    padding: 5px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: white;
    font-size: smaller;
    font-family: 'Quicksand Bold';
    transition: 0.2s ease-in-out;
    margin: 5px;
    border-radius: 9999px;
    white-space: nowrap;
    position: relative;
    z-index: 1;
}

#web_navigation a:hover {
    background-color: #ffff;
    color: black;
    transform: scale(1.05);
}

#web_navigation a img {
    width: 15px;
    pointer-events: none;
}

#web_navigation span {
    pointer-events: none;
}

.web_project_download {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 10px 10px 10px;
}
.web_codeframe_wrap {
    padding: 10px 10%;
}
.web_codeframe {
    display: flex;
    gap: 10px;
    flex-direction: column;
}
.codeframe_test {
    display: flex;
    justify-content: center;
    align-items: center;
}
.codeframe_test_link {
    text-decoration: none;
    color: white;
    background-color: #34695d;
    padding: 10px 30px;
    border-radius: 999px;
    font-family: 'Quicksand Bold';
}
.codeframe_content{
    flex: 1;
    border: 3px solid #34695d;
    padding: 20px 30px;
    border-radius: 10px;
    font-size: larger;
    pointer-events: none;
    transition: all 0.2s ease-in-out;
}
.codeframe_content pre {
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
#webnav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #34695d;
    width: 100%;
    z-index: 200;
    position: relative;
    user-select: none;
}

/*---------------------------*/
/* Khu vực cấu hình tìm kiếm */
/*---------------------------*/
.web_search_container {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    z-index: 10;
    transition: all 0.4s ease-in-out;
    opacity: 0;
    visibility: hidden;
}
.web_search_container.show{
    opacity: 1;
    visibility: visible;
}
.web_search {
    position: fixed;
    top: 10%;
    left: 5%;
    right: 5%;
    max-height: 80%;
    padding-bottom: 20px;
    overflow-y: auto;
    background-color: #f1f1f1;
    transform: translateY(-30%);
    user-select: none;
    transition: all 0.4s ease-in-out;
    opacity: 0;
    visibility: hidden
}
body.dark .web_search {
    background-color: #2c2c2c;
    color: white;
}
.web_search .result {
    padding: 10px;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.web_search .result .loading {
    width: 80px;
    height: 80px;
    border: 15px solid rgb(180, 180, 180);
    border-top: 15px solid #34695d;
    border-radius: 999px;
    animation: web_spin 2s linear infinite;
}

.web_search_wrap {
    width: 100%;
    padding: 0 10%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
    gap: 10px;
}

.web_search_item {
    display: block;
    text-decoration: none;
    color: black;
    padding: 15px 20px;
    width: 32%;
    border: 3px solid #34695d;
    border-radius: 10px;
    transition: all 0.2s ease-in-out;
}
body.dark .web_search_item{
    color: white;
}
.web_search_item:hover {
    background-color: #34695d;
    color: white;
    transform: scale(1.05);
}

.search_btn {
    position: relative;
    padding: 10px;
    margin-right: 10px;
    background-color: #34695d;
    border: none;
    cursor: pointer;
    border-radius: 999px;
    transition: all 0.2s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

.search_btn:hover {
    background-color: #2a554b;
    transform: scale(0.95);
}

.search_btn::before {
    content: attr(data-tooltip);
    position: absolute;
    white-space: nowrap;
    padding: 5px 15px;
    bottom: -95%;
    right: 5%;
    z-index: 20;
    font-size: small;
    font-family: 'Quicksand Bold';
    border-radius: 999px;
    background-color: #34695d;
    color: white;
    transition: all 0.2s ease;
    opacity: 0;
    visibility: hidden;
}

.search_btn:hover::before {
    opacity: 1;
    visibility: visible;
}


.form_search {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 10px;
    position: sticky;
    top: 0;
    background-color: #ffff;
    z-index: 1;
    transition: all 0.4s ease-in-out;
}
body.dark .form_search{
    background-color: #474747;
}
.form_search form {
    width: 100%;
    display: flex;
    align-items: center;

}

.form_search form input {
    width: 100%;
    height: 40px;
    padding: 0 15px;
    margin-right: 10px;
    border-radius: 999px;
    font-family: 'Quicksand Regular';
    border: 3px solid #34695d;
}

.close_search {
    width: 60px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #34695d;
    border-radius: 999px;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    position: relative;
}

.close_search:hover {
    background-color: #2a554b;
    transform: scale(0.95);
}

.close_search::before {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    bottom: -90%;
    transform: translateX(-50%);
    padding: 5px 15px;
    font-size: small;
    font-family: 'Quicksand Bold';
    background-color: #34695d;
    color: white;
    border-radius: 999px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
}

.close_search:hover::before {
    opacity: 1;
    visibility: visible;
}

.web_search_item_title {
    font-family: 'Quicksand Bold';
}

.web_search_item_type {
    font-size: small;
}

/*----------------------------*/
/*   Khu vực thanh side nav   */
/*----------------------------*/
.sidepages {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.sideclosenav {
    width: 70%;
    margin: 5px;
    aspect-ratio: 1/1;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.2s ease-in-out;
    border-radius: 50%;
    position: relative;
}

.web_menu_nav {
    display: none;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    height: 100%;
    aspect-ratio: 1/1;
    cursor: pointer;
    margin-right: 10px;
    transition: all 0.2s ease-in-out;
    position: relative;
}

.web_menu_nav:hover {
    background-color: #2a554b;
    transform: scale(0.95);
}

.web_menu_nav::before {
    content: attr(data-tooltip);
    position: absolute;
    left: 20%;
    bottom: -94%;
    z-index: 10;
    transform: translateX(-50%);
    padding: 5px 15px;
    font-size: small;
    font-family: 'Quicksand Bold';
    background-color: #34695d;
    color: white;
    border-radius: 999px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.web_menu_nav:hover::before {
    opacity: 1;
    visibility: visible;
}

.sidepages a {
    text-decoration: none;
    aspect-ratio: 1/1;
    border-radius: 50%;
}

.web_menu_nav img {
    margin: 10px;
}

.web_menu_nav:hover {
    background-color: #2a554b;
}

.sideclosenav:hover {
    background-color: #2a554b;
}

.sideinfonav {
    width: 100%;
    aspect-ratio: 1/1;
}

#sidenav {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #34695d;
    height: 100%;
    position: fixed;
    top: 0;
    right: -100%;
    z-index: 1000;
    opacity: 0;
    transition: 0.2s ease-in-out;
    visibility: hidden;
}

#sidenav.sideshow {
    right: 0;
    opacity: 1;
    visibility: visible;
}

#sidenav a {
    padding: 20px;
    transition: 0.2s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

#sidenav a:hover {
    background-color: #2a554b;
    transform: scale(0.95);
}

.web_iframe_wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    aspect-ratio: 20/9;
}

.web_iframe {
    width: 80%;
    height: auto;
    aspect-ratio: 16/9;
    padding: 10px;
    border: 3px solid #34695d;
    margin: 10px;
    border-radius: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
}

.web_iframe iframe {
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

.web_iframe_loading_wrap {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border-radius: 25px;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: 0.5s ease-in-out;
}

.web_iframe_loading {
    width: 120px;
    height: auto;
    aspect-ratio: 1/1;
    border: 25px solid rgb(180, 180, 180);
    border-top: 25px solid #34695d;
    border-radius: 50%;
    animation: web_spin 2s linear infinite;
    visibility: visible;
}

.web_iframe_loading_wrap.hidden {
    opacity: 0;
    visibility: hidden;
    animation: 0.2s web_fadeout linear;
}

.web_project_folder_container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.web_project_folder_wrap {
    width: 80%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px;
    border-radius: 25px;
    position: relative;
    border: 3px solid #34695d;
    user-select: none;
}

.web_project_item {
    font-family: 'Quicksand SemiBold';
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    width: 100%;
    flex: 1 1 50%;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    color: black;
    border: 3px solid #34695d;
    transition: 0.15s ease-in-out;
    position: relative;
}
body.dark .web_project_item {
    color: white;
}
.web_project_item_title {
    width: 100%;
}

.web_project_item_img {
    pointer-events: none;
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    object-fit: contain;
}

.web_project_item_img img {
    width: 100%;
}

.web_project_item:hover {
    background-color: #34695d;
    color: white;
    transform: scale(1.02);
}

.web_logo {
    display: inline-flex;
    align-content: center;
    margin: 5px 10px 5px 10px;
}

.web_logo img {
    pointer-events: none;
}

.web_audio_wrap {
    padding: 10px 10%;
}

#web_footer {
    position: sticky;
    top: 100%;
    background-color: #386e61;
    width: 100%;
    padding: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: auto;
    color: white;
    user-select: none;
}

.webpages {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
}

.webpages a {
    text-decoration: none;
    display: inline-flex;
    padding: 15px 20px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    height: 100%;
    width: auto;
    cursor: pointer;
    transition: 0.2s ease-in-out;
    background-color: #34695d;
}

.webpages a:hover {
    background-color: #2a554b;
}

.web_banner {
    border-left: 5px solid #34695d;
    background-color: #f1f1f1;
    margin: 10px 10%;
    padding: 10px 35px;
    color: #34695d;
    font-family: 'Quicksand Bold';
    font-size: 1.1em;
    display: flex;
    align-items: center;
    gap: 10px;
    user-select: none;
    border-top-right-radius: 999px;
    border-bottom-right-radius: 999px;
    flex-wrap: wrap;
}
body.dark .web_banner {
    background-color: #333333;
    color: white;
}
.web_banner a {
    display: block;
    text-decoration: none;
    color: black;
    background-color: white;
    padding: 5px 20px;
    border-radius: 20px;
    transition: 0.2s ease-in-out;
    border: 1px solid #34695d;
}

.web_banner a:hover {
    transform: scale(1.05);
    color: rgb(117, 117, 117);
}

.web_maxim {
    padding: 20px 30px;
    text-align: center;
    font-family: "NotoSans";
    user-select: none;
}

.web_image {
    width: 100%;
    padding: 10px 10%;
}

.web_audio {
    margin: 10px auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.web_video {
    width: 100%;
    padding: 10px 10%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.web_video video {
    aspect-ratio: 16/9;
}

.web_heading {
    padding: 30px;
    text-align: center;
}

.web_main_banner {
    padding: 40px 10px;
    text-align: center;
    font-family: 'Quicksand Bold';
    font-size: x-large;
}

.web_main_status {
    text-align: center;
}

.web_intro_info {
    padding: 20px 10%;
    text-align: center;
}

.web_intro_cont_wrap {
    padding: 10px 10%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.web_intro_cont_wrap a {
    text-decoration: none;
    color: black;
    border: 1px solid #34695d;
    padding: 10px 15px;
    border-radius: 9999px;
    transition: 0.2s ease-in-out;
    display: block;
}

.web_intro_cont_wrap a:hover {
    background-color: #34695d;
    color: white;
    transform: scale(1.05);
    font-family: 'Quicksand Bold';
}

.web_intro_cont_em_item {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 10px;
    flex-wrap: wrap;
    overflow-x: auto;
}
body.dark .web_intro_cont_em_item a {
    color: white;
    font-weight: bold;
}
.web_wrap {
    padding: 10px 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    user-select: none;
}

.web_wrap .web_choose_option {
    text-decoration: none;
    color: black;
    font-family: 'Quicksand Bold';
    border: 3px solid #34695d;
    transition: 0.2s ease-in-out;
    padding: 20px 30px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 9999px;
}

.web_choose_option:hover {
    transform: scale(1.05);
}
body.dark .web_choose_option{
    color: white;
}
.web_wrap a:hover {
    background-color: #2a554b;
    color: white;
}

.web_card_wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    padding: 10px 10%;
    user-select: none;
}

.web_card_wrap_item {
    display: flex;
    justify-content: center;
    gap: 10px;
    width: 100%;
    flex-wrap: wrap;

}


.web_card_link {
    display: block;
    text-decoration: none;
    width: 100%;
    color: black;
    height: 100%;
    padding: 10px;
    transition: 0.3s ease;
}

.web_card {
    width: 19%;
    transition: 0.3s ease;
    background-color: #f1f1f1;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    border: 1px solid #f1f1f1;
    margin-bottom: 10px;
}
body.dark .web_card, body.dark .web_card_title {
    background-color: #474747;
    border: none;
    color: white;
}
.web_card:hover {
    background-color: #808080;
    transform: scale(1.05);
}

.web_card_title {
    padding: 10px 15px 20px 15px;
    font-family: 'Quicksand SemiBold';
    text-decoration: none;
    color: black;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    min-height: 25%;
    max-height: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%);
    transition: all 0.3s ease;
    background-color: #f1f1f1;
    border-radius: 10px;
}

.web_card:hover .web_card_title {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.web_card:hover .web_img {
    filter: brightness(0.8);
}

.web_card_title:hover::before {
    max-height: 100%;
    opacity: 1;
    visibility: visible;
}

.web_img {
    aspect-ratio: 4/6;
    object-fit: cover;
    border-radius: 10px;
    width: 100%;
    pointer-events: none;
    background-color: #65636300;
    transition: all 0.3s ease;
}

.web_img.mul_video_img {
    aspect-ratio: 16/9;
    object-fit: contain;
    background-color: #3d3939;
    display: flex;
    justify-content: center;
    align-items: center;
}

.web_img.mul_video_img>img {
    width: 100%;
    background-color: #3d3939;
    border-radius: 10px;
    aspect-ratio: 16/9;
    object-fit: contain
}

.web_card.mul_video_id {
    width: 24%;
    border-radius: 10px;
}

.web_card_title_sub {
    font-family: 'Quicksand Regular';
    font-size: smaller;
}

.web_card_link.mul_video_link {
    transition: 0.2s ease-in-out;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
}

.web_card_link.mul_video_link:hover {
    background-color: #7a7a7a;
    border-radius: 10px;
}
body.dark .web_card_link.mul_video_link:hover {
    background-color: #313131;
}
.web_card_link.mul_video_link .web_img.mul_video_img {
    background-color: #000000;
}

.web_ani_main {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.web_ani_info_wrap {
    padding: 10px 10%;
    width: 100%;
}

.web_ani_info_wrap_item {
    display: flex;
    justify-content: center;
    flex-direction: row;
    width: 100%;
    gap: 20px;
}

.web_ani_info_img {
    width: 25%;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s ease-in-out;
}

.web_ani_info_img img {
    user-select: none;
    width: 100%;
    border-radius: 10px;
    pointer-events: none;
}

.web_ani_info_img:hover {
    filter: brightness(0.9);
}

.web_ani_info_text {
    width: 75%;
    pointer-events: none;
}

.web_ani_watch_and_music {
    display: flex;
    padding: 10px 10%;
    width: 100%;
}

.web_ani_watch {
    flex: 1;
}

.web_ani_watch_title, .web_ani_music_title {
    padding: 10px 30px;
    border-left: 5px solid #34695d;
    background-color: #f1f1f1;
    color: #34695d;
    font-family: 'Quicksand Bold';
    width: fit-content;
    font-size: 1.1em;
    user-select: none;
    border-top-right-radius: 999px;
    border-bottom-right-radius: 999px;
    transition: all 0.2s ease-in-out;
}
body.dark .web_ani_watch_title, body.dark .web_ani_music_title{
    background-color: #474747;
    color: white;
}
.web_ani_music {
    flex: 1;
}


.web_ani_link_cr_wrap {
    width: 100%;
    overflow-x: auto;
    flex-wrap: wrap;
}

.web_ani_info_text_head {
    font-family: 'Quicksand Bold';
    padding: 10px 0;
    width: 100%;
    text-align: center;
    font-size: large;
}

.web_ani_info_text_para {
    font-family: 'Quicksand SemiBold';
    padding: 10px;
    text-align: justify;
    line-height: 1.7;
    margin-bottom: 10px;
    width: 100%;
}

.web_ani_link_cr {
    display: flex;
    align-items: center;
    width: 100%;
    overflow-x: auto;
    gap: 10px;
    padding: 10px;
    flex-wrap: wrap;
    user-select: none;
}

.web_ani_link_cr_text {
    pointer-events: none;
}

.web_ani_link_cr a {
    text-decoration: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    border-radius: 9999px;
    color: black;
    border: 3px solid #34695d;
    font-family: 'Quicksand SemiBold';
}

.web_ani_sound_iframe {
    padding: 10px 0;
}

.web_ani_link_cr a {
    transition: 0.2s ease-in-out;
}

.web_ani_link_cr a:hover {
    transform: scale(1.1);
}

/*
    -------------------------------
    Khu vực cấu hình biểu tượng nút
    -------------------------------
*/
.gsga {
    background-color: white;
    color: black;
}
.ani_one_vn {
    background-color: white;
    color: white;
    transition: 0.2s ease-in-out;
    border: 3px solid #30c9bc !important;
}

.iq {
    background-color: white;
    color: black;
    transition: all 0.2 ease-in-out;
    border: 3px solid #2BE175 !important;
}

.iq:hover {
    background-color: #2BE175;
    color: white;
}

.itsanime {
    background-color: white;
    color: black;
}

.muse_vn {
    background-color: white;
    color: white;
    border: 3px solid #ba3b38 !important;

    transition: 0.2s ease-in-out;
}
.tropics {
    background-color: white;
    color: black;
    border: 3px solid #7BC2BF !important;
}
.vieon {
    background-color: white;
    color: black;
    transition: 0.2s ease-in-out;
    border: 3px solid #00FE01 !important;
}

.vieon:hover {
    background-color: #00FE01;
    color: white;
}

.fptplay {
    background-color: white;
    color: black;
    transition: 0.2s ease-in-out;
    border: 3px solid #f26f21 !important;
}

.fptplay:hover {
    background-color: #f26f21;
    color: white;
}

.tv360 {
    background-color: white;
    color: black;
    transition: 0.2s ease-in-out;
    border: 3px solid #db2332 !important;
}

.tv360:hover {
    background-color: #db2332;
    color: white;
}

.muse_vn:hover {
    color: white;
    background-color: #ba3b38;
    border: 3px solid #ba3b38;
}

.ani_one_vn:hover {
    background-color: #30c9bc;
    color: white;
    border: 3px solid #30c9bc;
}
.ani_one_asia {
    background-color: white;
    color: white;
    border: 3px solid black !important;
}
.bilibili {
    background-color: white;
    color: black;
    transition: 0.2s ease-in-out;
    border: 3px solid #1f87e2 !important;
}

.bilibili:hover {
    background-color: #1f87e2;
    color: white;
}

.netflix {
    background-color: white;
    color: black;
    transition: 0.2s ease-in-out;
    border: 3px solid black !important;
}

.netflix:hover {
    background-color: black;
    color: white;
}

#onedrive,
.onedrive {
    border: 3px solid #0064b9 !important;
    transition: 0.2s ease-in-out;
}
.hlouis_fs {
    background-color: white;
    color: black;
}
#onedrive:hover,
.onedrive:hover {
    background-color: #0064b9;
    color: white;
}
#facebook{
    border: 3px solid #0866ff !important;

}
#facebook:hover {
    background: #0866ff;
    transition: 0.2s ease-in-out;
}
#youtube{
    border: 3px solid #ff0000 !important;

}
#youtube:hover {
    background: #ff0000;
    transition: 0.2s ease-in-out;
}
#instagram{
    border: 3px solid #fd9348 !important;
}
#instagram:hover {
    background: #fd9348;
    transition: 0.2s ease-in-out;
}
#github{
    border: 3px solid #8d8f92 !important;
}
#github:hover {
    background: #8d8f92;
    transition: 0.2s ease-in-out;
}
#ggdrive {
    border: 3px solid #2185fc !important;

}
#ggdrive:hover {
    background: #2185fc;
    transition: 0.2s ease-in-out;
}
#terabox{
    border: 3px solid #4051ff !important;
}
#terabox:hover {
    background: #4051ff;
    transition: 0.2s ease-in-out;
}

#onedrive:hover {
    background: #0064b9;
    transition: 0.2s ease-in-out;
}
#linuxholic{
    border: 3px solid #609926 !important;
}
#linuxholic:hover {
    background: #609926;
    transition: 0.2s ease-in-out;
}

.yt {
    color: black;
    background-color: white;
    transition: all 0.2s ease-in-out;
    border: #FF0000 2px solid !important;
}

.yt:hover {
    color: white;
    background-color: #FF0000;
}

.web_choose_wrap {
    padding: 10px;
}

.web_choose_option_mini {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    user-select: none;
}

.web_choose_option_mini_link {
    text-decoration: none;
    background-color: #34695d;
    color: white;
    padding: 7px 20px;
    width: auto;
    border-radius: 9999px;
    transition: 0.2s ease-in-out;
    text-align: center;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}


.web_choose_option_mini_link:hover {
    background-color: #2a554b;
    transform: scale(1.05);
}

.web_vid_container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    position: relative;
}

.web_vid_player_container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
}

.web_vid_main_video {
    width: 82%;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.web_vid_play {
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 16/9;
    position: relative;
    border: 3px solid #34695d;
    padding: 10px;
    border-radius: 15px;
}

.web_vid_main_info {
    border: 3px solid #34695d;
    padding: 5px 25px;
    border-radius: 15px;
    margin: 10px 0;
    display: flex;
    transition: all 0.2s ease-in-out;
}

.vid_main_info {
    flex: 1;
    padding: 0 10px 10px 0;
    border-right: 3px solid #34695d;
}

.web_vid_main_date {
    padding: 4px 15px 4px 15px;

    font-size: small;
    font-family: 'Quicksand SemiBold';
    color: #5c5c5c;
    border-radius: 999px;
    border: 2px solid #34695d;
    width: fit-content;
    pointer-events: none;
}
body.dark .web_vid_main_date {
    color: white;
}
.vid_main_title {
    font-family: 'Quicksand Bold';
    padding: 10px 0;
    font-size: larger;
    border-radius: 10px;
    pointer-events: none;
}

.vid_main_description {
    flex: 1;
    padding: 10px 10px 10px 20px;
    border-radius: 10px;
    position: relative;
}
.vid_main_description a {
    padding: 4px 20px;
    border-radius: 20px;
    border: 1px solid #34695d;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: black;
    transition: 0.2s ease-in-out;
    width: fit-content;
    margin-left: 10px;
    text-align: left;
    font-size: small;
}

.vid_main_description a img {
    position: relative;
    width: 20px;
}

.vid_main_description a:hover {
    transform: scale(1.1);
}

.web_vid_player {
    width: 100%;
    aspect-ratio: 16/9;
    position: relative;
}

.web_vid_watermark {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    font-family: 'NotoSans';
}

.web_vid_watermark_logo {
    position: absolute;
    width: 4%;
    height: auto;
    bottom: 5%;
    right: 9%;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.web_vid_watermark_logo img {
    width: 100%;
    opacity: 0.5;
}

.web_watermark_sub {
    position: absolute;
    top: 5%;
    left: 8%;
    pointer-events: none;
    color: #ffff;
    font-family: 'NotoSans', inherit;
    font-weight: bold;
    text-shadow: 0 0 3px rgb(50, 50, 50);
    pointer-events: none;
    display: block !important;
    visibility: visible !important;
}

.web_game_container {
    width: 100%;
    padding: 10px 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.game_player {
    width: 100%;
    aspect-ratio: 16/9;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

ruffle-player {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

.web_vid_watermark_none {
    position: absolute;
    width: 4%;
    height: auto;
    bottom: 6%;
    right: 9%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-js {
    width: 100%;
    font-family: 'Quicksand Bold' !important;
    position: relative !important;
}

.video-js.vjs-controls-disabled .vjs-text-track-display,
.video-js.vjs-user-inactive.vjs-playing .vjs-text-track-display {
    margin: 2vw 0 !important;
}

.vjs-text-track-display {
    margin: 2vw 0 !important;
}

.vjs-text-track-cue div {
    font-family: 'Quicksand Bold' !important;
    background-color: transparent !important;
    text-shadow:
        -1px 0 #000,
        1px 0 #000,
        0 -1px #000,
        0 1px #000;
    line-height: 1.4 !important;
}

.video-js .vjs-text-track-display {
    padding: 30px !important;
}

.plyr {
    width: 100%;
}

.plyr__captions {
    font-family: 'Quicksand Bold';
    text-shadow:
        4px 4px 10px #000,
        -4px -4px 10px #000,
        4px -4px 10px #000,
        -4px 4px 10px #000;
}

.plyr .plyr__menu__container {
    overflow-y: auto !important;
}

.plyr .plyr__menu__container::-webkit-scrollbar {
    width: 5px;
    background-color: #34695d;
}

@media(max-width: 1440px) {
    .web_card.mul_video_id {
        width: 32%;
    }
    .web_card {
        width: 24%;
    }
}

@media(max-width: 1024px) {
    .web_card {
        width: 32%;
    }

    .web_ani_info_wrap {
        padding: 10px 20px;
    }

    .web_ani_info_img {
        width: 50%;
    }

    .web_card.mul_video_id {
        width: 24%;
    }

    .web_card.mul_video_id {
        width: 32%;
    }

    .web_search_item {
        width: 48%;
    }
    .web_ani_watch_and_music {
        padding: 10px 20px;
    }
    .web_card.mul_video_id {
        width: 49%;
    }
}

@media(max-width: 650px) {
    .web_ani_info_wrap_item {
        flex-direction: column;
        padding: 10px 5%;
    }

    .web_ani_info_img {
        width: 100%;
        padding: 10px 10%;
    }

    .web_ani_info_text {
        width: 100%;
    }

    .web_banner {
        margin: 10px 20px;
    }

    .web_card {
        width: 48%;
    }

    .web_project_folder_wrap {
        width: 100%;
        padding: 10px;
    }

    .web_error_page_item {
        width: 70%;
    }

    .web_error_message {
        font-size: large;
    }

    .web_card.mul_video_id {
        width: 49%;
    }

    .web_ani_watch_and_music {
        flex-direction: column;
        flex-wrap: wrap;
        padding: 10px;
    }

    .web_ani_watch {
        padding-bottom: 10px;
    }

    .web_ani_watch_title, .web_ani_music_title {
        width: 100%;
        margin: 10px auto;
    }

    .web_ani_link_cr {
        justify-content: center;
    }
    .web_codeframe_wrap {
        padding: 10px 20px;
    }
    .web_iframe_wrap {
        width: 100%;
        padding: 0 10px;
        height: auto;
    }

    .web_iframe {
        width: 100%;
        padding: 10px;
        border-radius: 20px;
        height: calc(70vh - 60px)
    }

    .web_iframe iframe {
        border-radius: 20px;
    }

    .web_vid_main_video {
        flex-direction: column;
        width: 100%;
    }

    .web_vid_container {
        padding: 0;
    }

    .plyr {
        border-radius: 0;
    }

    .web_vid_play {
        width: 100%;
        border: none;
        padding: 0;
    }

    .web_vid_main_info {
        flex-direction: column;
        flex-wrap: wrap;
    }

    .vid_main_info {
        width: 100%;
        padding: 0 10px;
        border-right: none;
    }

    .vid_main_title {
        border: none;
        margin-bottom: 0;
    }

    .web_vid_main_date {
        border-left: none;
        border-right: none;
        width: 100%;
        border-radius: 0;
        padding-left: 10px;
        padding-right: 10px;
    }

    .vid_main_description {
        border: none;
        width: 100%;
        padding-left: 10px;
    }

    .web_vid_main_info {
        width: 100%;
        padding: 0 5px;
        margin: 0 auto;
        border: none;
    }

    .web_vid_player_container {
        width: 100%;
    }

    .game_player {
        width: 100%;
    }

    .web_game_container {
        padding: 0;
    }

    .web_image {
        padding: 10px;
    }

    .web_video {
        padding: 10px;
    }

    .web_video video {
        width: 100%;
    }

    .web_maxim {
        padding: 20px 10px;
    }

    .web_ani_sound_iframe {
        padding: 10px;
    }

    .web_choose_option {
        width: 100%;
    }

    .webpages {
        display: none;
    }

    .web_menu_nav {
        display: flex;
    }

    .web_search_wrap {
        padding: 10px;
    }

    .web_search_item {
        width: 100%;
    }

    .web_wrap {
        padding: 10px 20px;
    }
}


@media(max-width: 550px) {
    .web_card {
        width: 100%;
    }

    .web_ani_info_text {
        width: 100%;
    }


    .web_ani_sound_iframe {
        padding: 10px;
    }

    .web_ani_info_wrap_item {
        padding: 0;
    }

    .web_choose_option_mini {
        flex-wrap: wrap;
    }

    .web_choose_option_mini_link {
        width: 100%;
    }

    .web_ani_info_wrap {
        padding: 5%;
    }

    .web_card.mul_video_id {
        width: 100%;
    }

}

@media(max-width: 320px) {
    .web_card_wrap_item {
        width: 95%;
    }
}

@media (hover: none) {
    .web_card_title {
        padding: 10px 10px 20px 10px;
        position: relative;
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    .web_setting:hover::before {
        display: none;
    }
    .web_card:hover .web_card_title {
        background-color: #6A6A6A;
        color: white;
    }

    .web_return_to_top:hover::before, .web_setting.web_nav:hover::before {
        opacity: 0;
        visibility: hidden;
    }

    .web_menu_nav:hover::before {
        opacity: 0;
        visibility: hidden;
    }

    .search_btn:hover::before {
        opacity: 0;
        visibility: hidden;
    }

    .web_sidenav:hover::before {
        opacity: 0;
        visibility: hidden;
    }
}