*,
:after,
:before {
    box-sizing: border-box;
}
blockquote,
body,
dd,
dl,
figure,
h1,
h2,
h3,
h4,
p {
    margin: 0;
}
ol[role="list"],
ul[role="list"] {
    list-style: none;
}
html:focus-within {
    scroll-behavior: smooth;
}
body {
    text-rendering: optimizeSpeed;
    line-height: 1.5;
}
a:not([class]) {
    text-decoration-skip-ink: auto;
}
button,
input,
select,
textarea {
    font: inherit;
    -webkit-appearance: none;
}
* a {
    color: var(--theme-color);
    outline: none;
}
* ul, li {
    list-style: none;
    padding: 0;
    margin: 0;
}


/* CSS Variables & Theming ********************************/
:root {
    --color-mode: "light";
    --theme-color: #00bfa5;
    --page-bg-color: #F2F6F6;
    --page-bg-color-light: #ffffff;
    --text-color: #001710;
    --text-color-light: #ffffff;
    --text-muted: #4a5050;
    --text-muted-x: #888f8f;
    --text-muted-xx: #9da7a7;
    --shadow-large: 0 4px 8px 0px rgba(0,13,18,.06);
    --border-input-light: #dce2e2;
    --border-input-dark: #727777;
    --bg-btn-light: #c0caca;
    --img-filter: invert(0%);
    --scrollbar: #9da7a7;
    --switch-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(157, 167, 167)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-moon'%3E%3Cpath d='M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z'%3E%3C/path%3E%3C/svg%3E");
    --info-icon: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' class='h-6 w-6' fill='none' width='24' height='24' viewBox='0 0 24 24' stroke='rgb(157, 167, 167)'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z' /%3E%3C/svg%3E");
    --grid-icon: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' class='h-6 w-6' fill='none' width='24' height='24' viewBox='0 0 24 24' stroke='rgb(157, 167, 167)'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 6a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2H6a2 2 0 01-2-2V6zM14 6a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2h-2a2 2 0 01-2-2V6zM4 16a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2H6a2 2 0 01-2-2v-2zM14 16a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2h-2a2 2 0 01-2-2v-2z' /%3E%3C/svg%3E");

    }
    @media (prefers-color-scheme: dark) {
    :root {
      --color-mode: "dark";
    }
    :root:not([data-user-color-scheme]) {
        --color-mode: "dark";
        --theme-color: #00bfa5;
        --page-bg-color: #151a20;
        --text-color: #d5e2df;
        --page-bg-color-light: #212931;
        --shadow-large: 0 4px 8px 0px rgba(0, 0, 0, 0.1);
        --border-input-light: #0e1216;
        --border-input-dark: #445258;
        --text-muted: #848f9b;
        --text-muted-x: #6f7575;
        --text-muted-xx: #4a5663;
        --bg-btn-light: #3e4550;
        --img-filter:  invert(75%) brightness(160%);
        --scrollbar: #212931;
        --switch-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(74, 86, 99)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-sun'%3E%3Ccircle cx='12' cy='12' r='5'%3E%3C/circle%3E%3Cline x1='12' y1='1' x2='12' y2='3'%3E%3C/line%3E%3Cline x1='12' y1='21' x2='12' y2='23'%3E%3C/line%3E%3Cline x1='4.22' y1='4.22' x2='5.64' y2='5.64'%3E%3C/line%3E%3Cline x1='18.36' y1='18.36' x2='19.78' y2='19.78'%3E%3C/line%3E%3Cline x1='1' y1='12' x2='3' y2='12'%3E%3C/line%3E%3Cline x1='21' y1='12' x2='23' y2='12'%3E%3C/line%3E%3Cline x1='4.22' y1='19.78' x2='5.64' y2='18.36'%3E%3C/line%3E%3Cline x1='18.36' y1='5.64' x2='19.78' y2='4.22'%3E%3C/line%3E%3C/svg%3E");
        --info-icon: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' class='h-6 w-6' fill='none' width='24' height='24' viewBox='0 0 24 24' stroke='rgb(74, 86, 99)'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z' /%3E%3C/svg%3E");
        --grid-icon: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' class='h-6 w-6' fill='none' width='24' height='24' viewBox='0 0 24 24' stroke='rgb(74, 86, 99)'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 6a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2H6a2 2 0 01-2-2V6zM14 6a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2h-2a2 2 0 01-2-2V6zM4 16a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2H6a2 2 0 01-2-2v-2zM14 16a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2h-2a2 2 0 01-2-2v-2z' /%3E%3C/svg%3E");  
    }
    }
    [data-user-color-scheme="dark"] {
      --color-mode: "dark";
      --theme-color: #00bfa5;
      --page-bg-color: #151a20;
      --text-color: #d5e2df;
      --page-bg-color-light: #212931;
      --shadow-large: 0 4px 8px 0px rgba(0, 0, 0, 0.1);
      --border-input-light: #0e1216;
      --border-input-dark: #445258;
      --text-muted: #848f9b;
      --text-muted-x: #6f7575;
      --text-muted-xx: #4a5663;
      --bg-btn-light: #3e4550;
      --img-filter:  invert(75%) brightness(160%);
      --scrollbar: #212931;
      --switch-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(74, 86, 99)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-sun'%3E%3Ccircle cx='12' cy='12' r='5'%3E%3C/circle%3E%3Cline x1='12' y1='1' x2='12' y2='3'%3E%3C/line%3E%3Cline x1='12' y1='21' x2='12' y2='23'%3E%3C/line%3E%3Cline x1='4.22' y1='4.22' x2='5.64' y2='5.64'%3E%3C/line%3E%3Cline x1='18.36' y1='18.36' x2='19.78' y2='19.78'%3E%3C/line%3E%3Cline x1='1' y1='12' x2='3' y2='12'%3E%3C/line%3E%3Cline x1='21' y1='12' x2='23' y2='12'%3E%3C/line%3E%3Cline x1='4.22' y1='19.78' x2='5.64' y2='18.36'%3E%3C/line%3E%3Cline x1='18.36' y1='5.64' x2='19.78' y2='4.22'%3E%3C/line%3E%3C/svg%3E");
      --info-icon: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' class='h-6 w-6' fill='none' width='24' height='24' viewBox='0 0 24 24' stroke='rgb(74, 86, 99)'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z' /%3E%3C/svg%3E");
      --grid-icon: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' class='h-6 w-6' fill='none' width='24' height='24' viewBox='0 0 24 24' stroke='rgb(74, 86, 99)'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 6a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2H6a2 2 0 01-2-2V6zM14 6a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2h-2a2 2 0 01-2-2V6zM4 16a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2H6a2 2 0 01-2-2v-2zM14 16a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2h-2a2 2 0 01-2-2v-2z' /%3E%3C/svg%3E");  

    }


    
html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: auto;
    font-family: system-ui, -apple-system, "Segoe UI", "Roboto", "Ubuntu", "Cantarell", "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 16px;
    scroll-behavior: smooth;
    transition: all 0.3s;
    scrollbar-width: thin;
    scrollbar-color: var(--scrollbar) var(--page-bg-color);
}
*::-webkit-scrollbar {
    width: 8px;
  }
  
  *::-webkit-scrollbar-track {
    background: var(--page-bg-color);
  }
  
  *::-webkit-scrollbar-thumb {
    background-color: var(--scrollbar);
    border-radius: 20px;
    border: none;
  }

body {
    background-color: var(--page-bg-color);
    color: var(--text-color);
    max-width: 800px;
    margin: auto;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 0 20px;
    transition: all 0.3s;
    min-height: 100vh;
}

.hidden {
    display: none !important;
}

.shown {
    display: block !important;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    height: auto;
    z-index: 1000;
}

header .header_wrp {
    max-width: 100%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
    padding: 0 20px;
}

header .logo a{
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    text-transform: none;
    margin-top: -8px;
}

header .logo a img{
    max-width: 40px;
    border-radius: 50%;
}

header .logo a p{
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 400;
}

header .logo a p span{
    color: var(--text-muted-xx);
}

header .logo a:hover{
    transition: all 0.3s;
}

header .header_wrp .controlls {
    display: flex;
    gap: 15px;
}

header .dashboard a{
    display: flex;
    height: 38px;
    width: 38px;
    background-image: var(--grid-icon);
    background-repeat: no-repeat;
    background-position: top 9px left 9px;
    background-size: 20px;
    margin-top: -9px;
    transition: all 0.3s;
    border-radius: 4px;
}


header .dashboard a:hover{
    background-color: var(--page-bg-color-light);
    transition: all 0.3s;
}

header .info a{
    display: flex;
    height: 38px;
    width: 38px;
    background-image: var(--info-icon);
    background-repeat: no-repeat;
    background-position: top 9px left 9px;
    background-size: 20px;
    margin-top: -9px;
    transition: all 0.3s;
    border-radius: 4px;
}

header .info a:hover{
    background-color: var(--page-bg-color-light);
    transition: all 0.3s;
}

header .setting {
    color: var(--text-muted-xx);
}

header .setting a{
    display: flex;
    height: 38px;
    width: 38px;
    background-image: var(--switch-icon);
    background-repeat: no-repeat;
    background-position: top 9px left 9px;
    background-size: 20px;
    margin-top: -9px;
    transition: all 0.3s;
    border-radius: 4px;
}

header .setting a:hover, .active{
    background-color: var(--page-bg-color-light);
    transition: all 0.3s;
}

@media only screen and (max-width: 660px) {
    header .header_wrp {
        background-color: var(--page-bg-color);
        padding: 18px 15px 6px 15px;
        margin-top: 0px;
        z-index: 1000;
    }

    header .header_wrp .controlls {
        gap: 10px;
    }

    header .setting .setting_list {
        border: 1px solid var(--text-muted-xx);
    }

    header .dashboard {
        margin-top: -1px;
    }

    header .logo a img{
        max-width: 32px;
        margin-top: 2px;
    }

    header .logo a p{
        display: none;
    }
}

.app_title {
    max-width: 720px;
    margin: auto;
    padding: 0 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 25px;
    margin-top: 170px;
}

.app_title h1{
    font-size: 27px;
    font-weight: 400;
}

.app_title p{
    font-size: 18px;
}

.app_title h1 span{
    color: #c62628;
    font-weight: 600;
}

.main_wrap {
    width: 100%;
    margin: auto;
}

.visible {
    display: block !important;
}

.hidden {
    display: none !important;
}


.video-wrap {
    background-color: #000;
    max-width: 800px;
    height: 360px;
    margin: auto;
    border-radius: 10px 10px 0 0;
    background-image: url(../img/bg.png);
    background-size: cover;
}

.video-wrap .banner {
    text-align: center;
    color: #fff;
    padding: 80px 20px 20px 20px;
    max-width: 550px;
    margin: auto;
}

.video-wrap .banner h1{
    font-size: 42px;
    font-weight: 600;
}

.video-wrap .banner img {
    max-width: 70px;
    margin-right: -95px;
}

.video-wrap .banner h1 i{
    text-decoration: line-through;
    font-style: normal;
}

video {
    max-width: 800px;
    height: auto;
    margin: auto;
    display: none;
    border-radius: 10px 10px 0 0;
}

.controls {
    max-width: 800px;
    margin: auto;
    background-color: var(--page-bg-color-light);
    padding: 18px;
    border-radius: 0 0 10px 10px;
    box-shadow: var(--shadow-large);
}

.controls_wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.controls_wrap_btns {
    display: flex;
    justify-content: space-between !important;
    align-items: center;
    gap: 15px;
}

#start {
    height: 45px;
    width: 45px;
    border-radius: 50%;
    background-color:#c62628;
    border: 2px solid #c62628;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

#start::after {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 2px solid var(--text-muted-xx);
    border-radius: 50%;
}

#stop {
    height: 45px;
    width: 45px;
    border-radius: 50%;
    background-color: transparent;
    border: 2px solid transparent;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Crect width='20' height='20' rx='4' fill='%23c62628'/%3E%3C/svg%3E");
    background-position: center center;
    background-repeat: no-repeat;
    display: none;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

#stop::after {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border: 2px solid var(--text-muted-xx);
    border-radius: 50%;
}

#download {
    height: 45px;
    width: 160px;
    background-color: #0066ff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cg transform='translate(-2 -2)'%3E%3Cpath d='M21,15v4a2,2,0,0,1-2,2H5a2,2,0,0,1-2-2V15' fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'/%3E%3Cpath d='M7,10l5,5,5-5' fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'/%3E%3Cline y1='12' transform='translate(12 3)' fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center center;
    border: 1px solid #287eff;
    border-radius: 6px;
    display: none;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0px 12px 24px -12px rgb(0, 0, 0, 0.3);
}

#reset {
    height: 45px;
    width: 45px;
    border-radius: 50%;
    background-color: #FFD500;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18.111' height='18.069' viewBox='0 0 18.111 18.069'%3E%3Cpath d='M4,4V9h.582m15.356,2A8,8,0,0,0,4.582,9m0,0H9M20,20V15h-.581m0,0A8,8,0,0,1,4.062,13m15.357,2H15' transform='translate(-2.944 -2.964)' fill='none' stroke='%23212931' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center center;
    display: none;
    cursor: pointer;
    transition: all 0.3s;
}

#start:hover, #stop:hover {
    transform: scale(1.1);
    transition: all 0.3s;
}

#download:hover{
    transform: scale(1.04);
    transition: all 0.3s;
}

#reset:hover {
    transform: rotate(-45deg);
    transition: all 0.3s;
}


.app_info {
    max-width: 720px;
    margin: 40px auto 60px auto;
    padding: 0 15px
}

.app_info h3 {
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 7px;
    margin-top: 25px;
    color: var(--text-muted)
}

.app_info p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 13px;
    text-align: left
}

.toast_msg {
    position: fixed;
    height: 60px;
    width: 220px;
    top: 40px;
    font-size: 17px;
    text-align: center;
    background-color: var(--page-bg-color-light);
    border-radius: 30px;
    box-shadow: 0px 12px 24px -12px rgb(0, 0, 0, 0.3);
    color: var(--text-color);
    padding: 17px;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s 2s, opacity 2s linear;
    transition: all 0.3s;
}

.active {
    visibility: visible;
    opacity: 1;
    animation-name: slidein;
    animation-duration: 1s;
}

@keyframes slidein {
    0%   {top: -100px;}
    100%  {top: 40px;}
}

.theme-switcher {
    display: none;
    visibility: hidden;
}

.not_supported {
    text-align: center;
    max-width: 400px;
    margin: auto;
    font-size: 18px;
    color: var(--text-muted-xx);
    display: none;
}

footer {
    max-width: 720px;
    margin: 30px auto 45px auto;
    padding: 0 15px;
}

footer p {
    font-size: 12px;
    color: var(--text-muted-xx);
}

footer a {
    color: var(--text-muted);
    text-decoration: none;
    color: var(--text-muted-xx);
}

footer a:hover {
    text-decoration: underline;
}