/* Light mode */
/* :root {
    --globalRadius: 5px;
    --mainBackground: #ededed;
    --mainColor: #FFF;
    --mainColorHover: #DDD;
    --secondaryColor: #404040;
    --inputField: #F5F5F5;
    --secondTextColor: #C0C0C0;
    --sidebar: #DEEEFF;
} */

/* Dark mode */
/* @media (prefers-color-scheme: dark) {
    :root {
        --globalRadius: 5px;
        --mainBackground: #1e1e1e;
        --mainColor: #242424;
        --mainColorHover: #DDD;
        --secondaryColor: #FFF;
        --inputField: #2a2a2a;
        --secondTextColor: #444444;
        --sidebar: #1c1f20;
    }
} */


::-webkit-scrollbar {
    width: 5px;
    background: transparent;
    border-radius: var(--globalRadius);
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #525252;
    /* border-radius: 5px; */
}


/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #363636;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Lato', sans-serif;
}

html {
    height: 100%;
    width: 100%;
    color: var(--secondaryColor);
    line-height: 1.5;
    /* scroll-behavior: smooth; */
}

body {
    height: 100%;
    /* min-height: 90vh; */
    margin: 0;
    background-color: var(--mainBackground);
}

header {
    height: 80px;
    background-color: var(--mainColor);
    box-shadow: 0px 5px 10px -5px rgba(0, 0, 0, 0.15);
    -webkit-box-shadow: 0px 5px 10px -5px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0px 5px 10px -5px rgba(0, 0, 0, 0.15);
    display: flex;
    justify-content: flex-end;
    /* justify-content: space-around; */
    align-items: center;
    position: fixed;
    z-index: 99999;
    width: 100%;
}

/* nav {
    display: flex;
    align-items: center;
    margin-right: 5%;
} */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-width: 50%;
    /* position: relative; */
    margin-right: 5%;
}

footer {
    height: 80px;
    /* background-color: darkslategrey; */
    /* position:absolute; */
    /* bottom:0; */
    /* width:100%; */
    /* height: 200px; */

    /* display: none; */
}

a {
    color: #598DC5;
    transition: all 0.3s;
}

a:hover {
    color: #436A94;
}

#preloader {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 999999;
    width: 300vw;
    height: 300vh;
    background-color: var(--mainColor);
    object-fit: scale-down;
    animation-name: preloadAnim;
    animation-duration: 0.8s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    display: none;
}

@keyframes preloadAnim {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.header_logo {
    /* height: 50px; */
    position: absolute;
    left: 100px;
    transition: all 0.3s;
    /* align-self: flex-start; */
}

.header_logo img {
    height: 50px;
    transition: all 0.3s;
}

#login-container {
    width: 80%;
    height: 100%;
    display: flex;
    margin: 0 auto;
}

.login-box,
.register-box {
    width: 50%;
    height: 90%;
}

.login_splash {
    width: 50%;
    height: 90%;
}

.login_splash_img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: saturate(0);
    opacity: 75%;
}

.login-form {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    flex-direction: column;
    height: 100%;
}

.login-form .field-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px;
    background-color: var(--secondaryColor);
    border-radius: var(--globalRadius);
    color: var(--mainColor);
    width: 60%;
    text-align: center;
    /* transition: all 0.3s; */
}

#password_msg {
    /* white-space: pre; */
    transition: all 0.3s;
}

/* .login-form h1 {
    margin-top: 20px;
    white-space: pre;
} */

.inputForm {
    width: 100%;
    padding: 15px;
    font-size: 1.2em;
    border-radius: var(--globalRadius);
    border: none;
    outline: none;
    margin-top: 20px;
    transition: all 0.3s;
    background-color: #F7F7F7;
}

.inputForm:active {
    background-color: var(--mainColorHover);
}

#showPassword {
    margin: 10px;
}

.btn {
    background-color: #598DC5;
    border: none;
    padding: 15px 20px;
    border-radius: var(--globalRadius);
    text-decoration: none;
    /*=========== MASTER BUTTON CLASS ===========*/
    font-weight: 700;
    color: #FFF;
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0), 0 0px 0px rgba(0, 0, 0, 0);
    /* margin: 10px; */
    cursor: pointer !important;
    margin: 10px;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.btn:hover {
    transform: scale(0.95);
    background-color: #436A94;
}

.login-btn {

    font-size: 1.3em;
}

#register_btn {
    background-color: #FF8F44;
}

.registerForm-btn {
    color: #FF8F44;
}

.registerForm-btn:hover {
    color: #d3773a;
}

/* ======= HEADER ======== */

#search-form {
    display: flex;
    align-items: center;
    /* margin-right: 20%; */
}

.input_field {
    padding: 15px 20px;
    border-radius: var(--globalRadius);
    border: 0px solid transparent;
    outline: none;
    background-color: var(--inputField);
    font-weight: bold;
    color: var(--secondaryColor);
    width: 350px;
    transition: all 0.3s;
}

::placeholder {
    color: var(--secondTextColor);
    opacity: 1;
}

.search_btn {
    background-color: var(--secondTextColor);
    border-radius: var(--globalRadius);
    border: none;
    outline: none;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(-100%);
    color: #FFF;
    cursor: pointer;
    transition: all 0.3s;
}

.search_btn:hover {
    box-shadow: 0px 5px 10px -5px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0px 5px 10px -5px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 5px 10px -5px rgba(0, 0, 0, 0.2);
}



.login_box {
    display: flex;
    align-items: center;
}

.login_btn {
    font-weight: bold;
    text-decoration: none;
    margin-right: 20px;
}

.signup_btn {
    background-color: #FF8F44;
    display: block;
    white-space: nowrap;
}

.signup_btn:hover {
    background-color: #FF8F44;
    color: var(--mainColor);
}

/* Logged in user */

.create_btn {
    background-color: #FF8F44;
    /* width: 50px; */
    height: 50px;
    justify-self: flex-end;
    /* margin-right: 50px; */
}

.create_btn:hover {
    background-color: #d3773a;
    color: #FFF;
    /* transform: scale(1);
    box-shadow: 0px 5px 10px -5px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0px 5px 10px -5px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 5px 10px -5px rgba(0, 0, 0, 0.2); */
}

.create_btn .material-icons {
    margin-right: 10px;
}

.create_prompt {
    overflow: hidden;
    transition: all 0.3s;
    max-width: 150px !important;
}

.sidebar_collapsed .create_prompt {
    max-width: 0px !important;
}





.profile_container {
    position: relative;
}

.profile_box {
    display: flex;
    align-items: center;
    /* background-color: yellowgreen; */
    cursor: pointer;
    position: relative;
    z-index: 5;
    background-color: var(--mainColor);
    user-select: none;
    border-radius: var(--globalRadius);
    padding-right: 10px;
    transition: all 0.3s;
    /* opacity: 0; */
}

.profile_box:hover {
    box-shadow: 0px 5px 10px -5px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0px 5px 10px -5px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 5px 10px -5px rgba(0, 0, 0, 0.2);
    /* background-color: #c0c0c0; */
}

.profile_pic {
    border-radius: var(--globalRadius);
    margin: 10px;
    height: 50px;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0),
            rgba(255, 255, 255, 0.5) 50%,
            rgba(255, 255, 255, 0) 80%),
        #efefef;
    background-repeat: repeat-y;
    object-fit: cover;
    background-position: -50px 0;
    animation: shine 1s infinite forwards;
}

@keyframes shine {
    to {
        background-position: 50px 0,
            /* move highlight to right */
            0 0;
    }
}

.profile_name {
    margin: 10px;
}

.down_arrow {
    transition: all 0.3s;
}


.profile_popup {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background-color: var(--mainColor);
    position: absolute;
    left: 50%;
    bottom: 0%;
    transform: translate(-50%, 100%);
    width: 100%;
    min-width: max-content;

    /* height: 120px; */
    list-style: none;
    border-radius: var(--globalRadius);
    box-shadow: 0px 5px 10px -5px rgba(0, 0, 0, 0.15);
    -webkit-box-shadow: 0px 5px 10px -5px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0px 5px 10px -5px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    /* cursor: pointer; */
    /* display: none; */
    /* height: 108px;  */
    max-height: 130px;
    transition: all 0.3s;
}

.profile_popup_hidden {
    bottom: 50%;
    max-height: 0px;
}

.profile_link {
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    color: var(--secondaryColor);
    padding: 15px;
    width: 100%;
    color: var(--secondaryColor);
    /* background-color: aqua; */
}

.profile_link:hover {
    background-color: var(--secondTextColor);
    color: var(--secondaryColor);
}

.profile_link span {
    margin-left: 15px;
}

/* ====== SIDEBAR ====== */

#sidebar {
    width: 15%;
    height: 100%;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    background-color: var(--mainColor);
    box-shadow: 5px 5px 10px -5px rgba(0, 0, 0, 0.15);
    -webkit-box-shadow: 5px 5px 10px -5px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 5px 5px 10px -5px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 50px;
    padding-top: 100px;
    user-select: none;
    overflow: hidden;
    transition: all 0.3s;
}

#sidebar .header_logo {
    left: 75px;
    top: 20px;
}

.close_siderbar {
    position: absolute;
    top: 20px;
    left: 20px;
    cursor: pointer;
    color: #436A94;
    padding: 3px;
    border-radius: var(--globalRadius);
    transition: all 0.3s;
    transform: scale(1.3) rotate(0deg);
}

.sidebar_menu {
    list-style: none;
    width: 100%;
}

.sidebar_items {
    padding: 10px 20px;
    margin: 15px 0;
    width: 100%;
    display: flex;
    align-items: center;
    color: var(--secondaryColor);
    text-decoration: none;
}

.sidebar_items:hover {
    color: #598DC5;
}

.sidebar_icons {
    margin-right: 10px;
}

.sidebar_items_selected {
    background-color: var(--sidebar);
    color: #598DC5;
    border-radius: var(--globalRadius) 0px 0px var(--globalRadius);
    border-right: 5px solid #598DC5;
}

.sidebar_items span {
    white-space: nowrap;
    width: 100%;
    transition: width 0.3s;
}

/* COLLAPSED SIDEBAR  */
.sidebar_collapsed {
    padding-left: 10px !important;
    width: 70px !important;
}

.sidebar_collapsed .sidebar_items {
    padding-left: 15px;
}

.sidebar_collapsed span {
    width: 0%;
    overflow: hidden;
}

.sidebar_collapsed .header_logo {
    left: 10px !important;
    top: 55px !important;
    transform: scale(0.8);
}

.sidebar_collapsed .close_siderbar {
    transform: scale(1.3) rotate(-180deg);

}

.close_siderbar:hover {
    background-color: var(--sidebar);
}






/* ============= HOME SECTION =========== */

.main_body {
    width: 85%;
    /* background-color: #436A94; */
    margin-left: 15%;
    /* padding: 30px; */
    position: relative;
    padding-top: 80px;
    transition: all 0.3s;
}

.main_content {
    padding: 30px;
    min-height: 80vh;
    position: relative;
}

.loading_bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 5px;
    width: 0%;
    background-color: #FF8F44;
    transition: all 0.5s;
}

/* ============ ACCOUNTS PAGE ========== */

.account_form {
    display: flex;
    flex-direction: column;
}

.account_pic {
    /* background-color: #F5F5F5 !important; */
    position: relative;
    background-position: center !important;
    background-size: cover;
    height: 100px;
    width: 100px;
    border-radius: var(--globalRadius);
    transition: all 0.2s;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.account_pic::before {
    z-index: -1;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: "";
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0),
            rgba(255, 255, 255, 0.5) 50%,
            rgba(255, 255, 255, 0) 80%),
        #efefef;
    background-repeat: repeat-y;
    background-position: -100px 0;
    animation: shine2 1s infinite forwards ease-in-out;
    background-size: cover !important;
}

@keyframes shine2 {
    to {
        background-position: 100px 0,
            /* move highlight to right */
            0 0;
    }
}

.account_pic .material-icons {
    z-index: 5;
    color: #FFF;
    box-shadow: 2px 5px 15px -5px rgba(0, 0, 0, 0.25);
    -webkit-box-shadow: 2px 5px 15px -5px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 2px 5px 15px -5px rgba(0, 0, 0, 0.25);
    pointer-events: none;
    transform: scale(1);
    opacity: 0;
    transition: all 0.15s;
}

.account_pic:hover .material-icons {
    opacity: 1;
    transform: scale(2);
}

.upload_prompt {
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    position: absolute;
}

.account_form .input_field {
    margin-top: 5px;
}

.account_form label {
    margin-top: 20px;
}



.dark_mode_label {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.switch {
    display: inline-flex;
    margin: 0 10px;
    align-items: center;
}

.switch input[type=checkbox] {
    height: 0;
    width: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.switch input[type=checkbox]:checked+label {
    background: #ff8f44;
    transition: all 0.3s;
}

.switch input[type=checkbox]:checked+label::after {
    left: calc(100% - 4px);
    transform: translateX(-100%);
}

.switch label {
    cursor: pointer;
    width: 48px;
    height: 24px;
    background: var(--secondTextColor);
    display: block;
    border-radius: 24px;
    position: relative;
    margin: 0;
    transition: all 0.3s;
}

.switch label::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 16px;
    height: 16px;
    background: #FFF;
    border-radius: 16px;
    transition: 0.3s;
}

.edit_account_btn {
    width: 100px;
    background-color: #FF8F44;
    margin: 0;
    margin-top: 30px;
}

.edit_account_btn:hover {
    background-color: #d3773a;
}

.readonly_field {
    background-color: transparent;
    padding: 10px 20px;
    border-bottom: 1px solid var(--secondaryColor);
}

.account_password {
    display: flex;
    flex-direction: column;
    max-height: 0px;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s;
}

.font_slider_container {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
}

.font_slider_container p {
    margin-bottom: 10px;
}

.font_size_status {
    text-transform: capitalize;
    font-weight: 600;
}

.font_slider {
    width: 100px !important;
}

input[type=range].slider {
    width: 100%;
    margin: 8.5px 0;
    background-color: transparent;
    -webkit-appearance: none;
}

input[type=range].slider:focus {
    outline: none;
}

input[type=range].slider::-webkit-slider-runnable-track {
    background: #c0c0c0;
    border: 0;
    width: 100%;
    height: 8px;
    cursor: pointer;
}

input[type=range].slider::-webkit-slider-thumb {
    margin-top: -8.5px;
    width: 12px;
    height: 25px;
    background: rgba(255, 143, 68, 0.93);
    border: 0;
    border-radius: 2px;
    cursor: pointer;
    -webkit-appearance: none;
}

input[type=range].slider:focus::-webkit-slider-runnable-track {
    background: #cdcdcd;
}

input[type=range].slider::-moz-range-track {
    background: #c0c0c0;
    border: 0;
    width: 100%;
    height: 8px;
    cursor: pointer;
}

input[type=range].slider::-moz-range-thumb {
    width: 12px;
    height: 25px;
    background: rgba(255, 143, 68, 0.93);
    border: 0;
    border-radius: 2px;
    cursor: pointer;
}

input[type=range].slider::-ms-track {
    background: transparent;
    border-color: transparent;
    border-width: 8.5px 0;
    color: transparent;
    width: 100%;
    height: 8px;
    cursor: pointer;
}

input[type=range].slider::-ms-fill-lower {
    background: #b3b3b3;
    border: 0;
}

input[type=range].slider::-ms-fill-upper {
    background: #c0c0c0;
    border: 0;
}

input[type=range].slider::-ms-thumb {
    width: 12px;
    height: 25px;
    background: rgba(255, 143, 68, 0.93);
    border: 0;
    border-radius: 2px;
    cursor: pointer;
    margin-top: 0px;
    /*Needed to keep the Edge thumb centred*/
}

input[type=range].slider:focus::-ms-fill-lower {
    background: #c0c0c0;
}

input[type=range].slider:focus::-ms-fill-upper {
    background: #cdcdcd;
}

@supports (-ms-ime-align:auto) {

    /* Pre-Chromium Edge only styles, selector taken from hhttps://stackoverflow.com/a/32202953/7077589 */
    input[type=range].slider {
        margin: 0;
        /*Edge starts the margin from the thumb, not the track as other browsers do*/
    }
}

.status_message {
    height: 26px;
    margin-top: 20px;
    opacity: 0;
    transition: all 0.3s;
}


/* ========== PROJECTS ========== */
.video_cards {
    background-color: transparent;
    border-radius: var(--globalRadius);
    padding: 10px;
    /* margin: 10px; */
    text-decoration: none;
    color: var(--secondaryColor);
    position: relative;
    display: inline-block;
    box-shadow: 2px 5px 15px -5px rgba(0, 0, 0, 0.25);
    -webkit-box-shadow: 2px 5px 15px -5px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 2px 5px 15px -5px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    /* max-height: 260px; */
    line-height: 1em;
    transition: all 0.3s;
}

.video_cards:hover {
    /* outline: black; */
    background-color: var(--mainColor);
}

.thumbnail-box {
    display: inline-block;
    width: 100%;
    /* height: 75%; */
    overflow: hidden;
    /* margin-bottom: 10px; */
    /* border-radius: var(--globalRadius) var(--globalRadius) 0 0; */
    /* border-radius: var(--globalRadius); */
}

.thumbnail {
    display: inline-block;
    width: 100%;
    height: 75%;
    /* margin: -11% 0; */
    aspect-ratio: 16.2/9;
    object-fit: cover;
    border-radius: var(--globalRadius);
}

.video_link {
    padding-bottom: 50px;
}

#projects-container .video_link {
    padding-bottom: 0px !important;
}

#projects-container h3 {
    margin-bottom: 5px;
}

.video_cards a {
    text-decoration: none;
    color: var(--secondaryColor);
    display: block;
}

.video_cards p {
    color: var(--thirdTextColor);
}

.video_cards h4 {
    margin: 10px 0;
}

.published_projects_container,
#dashboard-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(345px, 0fr));
    grid-gap: 10px;
    /* justify-content: space-between; */
}

#dashboard-container {
    /* justify-content: center; */
}

.unpublished_projects_container {
    margin-bottom: 40px;
    position: relative;
}

.unpublished_projects_container::after {
    content: "";
    width: 100%;
    height: 2px;
    background-color: var(--thirdTextColor);
    opacity: 0.1;
    margin-top: 20px;
    position: absolute;
    bottom: -15px;
}

.no_projects_container>* {
    max-width: max-content;
    margin: 0;
    margin-top: 10px;
}

.no_projects_container .signup_btn {
    margin-top: 20px;
}

/* .published_projects_container{
    display: flex;
    flex-wrap: wrap;
} */

#projects-container .video_cards,
#dashboard-container .video_cards {
    /* width: 24%; */
    box-shadow: none;
    /* margin-right: 1%; */
}

.video_author {
    display: flex !important;
    align-items: center;
    /* margin-top: 5px; */
    text-decoration: none;
    color: var(--secondaryColor);
    /* min-width: 100%; */
    /* width: ; */
    max-width: 100%;
    transition: all 0.3s;
}

.author_image {
    /* width: 40px; */
    height: 100%;
    border-radius: var(--globalRadius);
    margin-right: 10px;
}

.video_author>div {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.video_info_container {
    display: flex !important;
    max-height: 40px;
    max-width: max-content;
    max-width: 100%;
    margin-top: -50px;
    transition: all 0.3s;
    overflow: hidden;
}

.video_info_container * {
    transition: all 0.3s !important;
}

.video_info_container:hover {
    /* border-radius: 50px !important; */
}

.video_info_container:hover * {
    background-color: var(--inputField);
}


.author_username {
    margin-bottom: 5px;
}

.video_details {
    display: flex;
    position: relative;
}

.video_info h2 {
    position: relative;
}

.visibility_icon {
    color: var(--thirdTextColor);
    position: absolute;
    bottom: 15px;
    right: 15px;
}

.share_btn {
    cursor: pointer;
    color: var(--thirdTextColor);
}

.share_container {
    position: absolute;
    right: 15px;
    /* transform: translateY(-100%); */
}

.share_container .share_social_container,
.video_cards .share_social_container {
    position: absolute;
    display: flex;
    right: 0;
    background-color: var(--secondTextColor);
    padding: 0px;
    z-index: 50;
    border-radius: var(--globalRadius);
    top: 0;
    margin: 0;
    max-height: 0px;
    max-width: 0px;
    overflow: hidden;
    transition: all 0.3s;
}

.video_cards .share_social_container {
    /* top: 109px; */
    right: auto;
    left: 50%;
    max-width: 100%;
    max-height: 100%;
    transform: translateX(60%);
    /* max-width: 200px; */
    height: 100%;
    width: 100%;
    justify-content: center;
    background-color: var(--mainColor);
}

.projectoptions_share:hover .share_social_container {
    transform: translateX(-50%);
    /* max-height: 80px; */
    padding: 0 !important;
    /* max-width: 200px; */
    background-color: var(--secondTextColor);
}

.share_container .share_social_container_expanded {
    max-width: 200px;
    max-height: 80px;
    padding: 10px 20px;
}








#dashboard-container .visibility_icon {
    display: none;
}

.video_info .visibility_icon {
    top: 0;
    margin-top: 0;
    cursor: default;
}















.upload_day {
    position: relative;
}

.upload_day::after {
    content: "";
    width: 5px;
    height: 5px;
    background-color: var(--thirdTextColor);
    border-radius: 50px;
    position: absolute;
    right: -18px;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* .video_cards *{
    border: 1px solid red;
} */

.view_count {
    margin-left: 25px;
}






.edit_btn {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: var(--inputField);
    /* padding: 5px; */
    width: 40px;
    height: 40px;
    border-radius: 50px;
    display: flex !important;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.3s;
    z-index: 51;
}

.edit_btn:hover {
    transform: scale(1.1);
    /* background-color: var(--secondTextColor); */
}

.edit_btn * {
    /* color: #FFF; */
    color: var(--secondaryColor);
}

.video_cards:hover .edit_btn,
.video_cards:hover .edit_btn {
    opacity: 1;
}

.edit_btn:active {
    opacity: 1;
}

#projects-container .more_options_container,
#dashboard-container .more_options_container {
    top: -10px;
    right: 10px;
}

.more_options_container {
    position: absolute;
    background-color: var(--mainColor);
    border-radius: var(--globalRadius);
    right: 30px;
    z-index: 50;
    /* width: 200px; */
    top: 40%;
    overflow: hidden;
    max-height: 0px;
    /* max-width: 0px; */
    box-shadow: 2px 5px 15px -5px rgba(0, 0, 0, 0.25);
    -webkit-box-shadow: 2px 5px 15px -5px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 2px 5px 15px -5px rgba(0, 0, 0, 0.25);
    white-space: nowrap;
    /* opacity: 0; */
    transition: all 0.2s ease-in-out;
}

.collapse_bar .more_options_container_expanded {
    top: 100%;
}

#projects-container .more_options_container_expanded,
#dashboard-container .more_options_container_expanded {
    top: 10px;
    /* max-height: 170px; */
}

.publish_btn,
.save_btn,
.settings_btn {
    display: flex;
    position: absolute;
    right: 95px;
    top: 0%;
    /* transform: translate(-50%, -50%); */
    border: none;
    outline: none;
    z-index: 51;
}

.publish_btn {
    width: 130px;
}

.save_btn {
    right: 240px;
}

.publish_btn:hover,
.save_btn:hover {
    background-color: #4d7caf;
}

.settings_btn {
    right: 20px;
    background-color: transparent;
    /* position: relative; */
    color: var(--secondaryColor);
}

.settings_btn:hover {
    background-color: var(--sidebar);
    color: #4d7caf;
    transform: scale(1);
}

.more_options_container_expanded {
    top: 100%;
    max-height: 230px;
}

.more_options {
    color: var(--secondaryColor);
    padding: 15px 20px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: var(--globalRadius);
    display: flex !important;
    align-items: center;
    position: relative;
}

.more_options:hover {
    background-color: var(--secondTextColor);
    color: var(--secondaryColor);
}

.more_options .material-icons {
    margin-right: 5px;
}

.options_watch:hover {
    color: var(--playerTheme);
}

.options_import {
    position: relative;
}

#importJSON {
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: pointer;
    opacity: 0;
}

#importJSON * {
    cursor: pointer;
}

::-webkit-file-upload-button {
    cursor: pointer;
}

/* IE11 (if it doesn't work, try maybe also on the parent/wrapper) */
input[type=file] {
    cursor: pointer;
}

.options_delete,
.options_delete:hover,
.projectoptions_delete,
.projectoptions_delete:hover {
    color: #f85959;
}

.projectoptions_edit {
    color: var(--mainColor)
}



.save_msg {
    position: absolute;
    white-space: nowrap;
    right: 320px;
    width: 120px;
    padding: 20px 0;
    text-align: right;
    overflow: hidden;
    top: 5px;
    /* border: 2px solid red; */
    transition: all 0.3s;
}

.save_msg_closed {
    width: 0px;
}

.project_loader {
    position: absolute;
    top: 50%;
    right: 60px;
    width: 20px;
    animation-name: preloadAnim;
    animation-duration: 0.8s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}






/* ======== EDIT PAGE ======== */

/* =========== CREATE SECTION ========== */
.create_container {
    /* padding-top: 20px; */
    padding-top: 120px;
    transition: all 0.3s;
    /* height: 2000px; */
}

.steps_bar {
    text-align: center;
    position: relative;
}

.steps_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 350px;
    margin: 0 auto;
    overflow: hidden;
    max-height: 100px;
    transition: all 0.3s;
}

/* .steps_container *{
    transition: all 0.3s;
} */

.steps_number {
    background-color: var(--secondTextColor);
    border-radius: 50px;
    /* padding: 15px; */
    width: 45px;
    height: 45px;
    color: #FFF;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    position: relative;
    transition: all 0.3s;
}

.steps_number_active .steps_number {
    background-color: #598DC5;
}

.steps_number::before {
    content: "";
    width: 110px;
    height: 3px;
    background-color: var(--secondTextColor);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translate(-100%, -10%);
    z-index: -1;
    transition: all 0.3s;
}

.steps_number:last-child:before {
    display: none;
    background-color: #000;
}

.steps_number_active .steps_number::before {
    background-color: #598DC5;
}

.upload_container {
    display: flex;
    width: 70%;
    margin: 0 auto;
}

.upload_container>* {
    width: 50%;
}

.upload_splash_box {
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    align-items: center;
}

.upload_splash_box img {
    mix-blend-mode: luminosity;
    width: 70%;
}

.upload_field_box {
    padding: 50px;
    position: relative;
}

.upload_field_box .submit_btn {
    /* bottom: -30px;
    left: 40px; */
    position: relative;
    margin: 20px 0;
}

.upload_field_box .submit_btn:hover {
    color: #FFF;
}

.upload_input_field {
    background-color: var(--mainColor);
    /* margin-right: 20px; */
}

.upload_field_box .upload_input_field {
    border: 1px solid transparent;
}

.upload_input_field:last-child {
    margin-bottom: 50px;
}

.field_text {
    display: flex;
    align-items: center;
    margin-top: 20px;
    position: relative;
}

.thumbnailPreview {
    display: inline-block;
    height: 50px;
    margin-left: 20px;
    border-radius: var(--globalRadius);
    object-fit: cover;
}

.submit_btn {
    background-color: #FF8F44;
    position: absolute;
    bottom: 0;

    /* display: none; */
}

.submit_btn:hover {
    background-color: #d3773a;
    color: var(--mainColor);
}

.edit_page .main_content {
    padding-top: 0;
}

.edit_page .steps_bar {
    text-align: center;
    /* position: relative; */
    position: fixed;
    /* height: 0; */
    width: 93.5%;
    /* overflow: hidden; */
    margin: 0 auto;
    /* max-height: 100px; */
    max-height: 70px !important;
    /* min-height: 100px; */
    transition: all 0.3s;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
}

.edit_page .steps_container {
    padding-top: 20px;
    left: 50%;
    /* transform: translateX(-50%); */
}

.collapse_bar {
    /* max-height: 0px !important; */
    position: fixed !important;
    padding: 15px;
    /* backdrop-filter: blur(5px) brightness(100%) contrast(80%); */
    /* backdrop-filter: blur(5px); */
    /* opacity: 0.9; */
    /* top: 77px; */
    /* background-color: var(--mainColor);  */
    /* opacity: 0.9; */
    width: 100% !important;
    max-height: 70px !important;
    /* min-height: 70px !important; */
    left: 0;
    right: 0;
    box-shadow: 2px 5px 15px -5px rgba(0, 0, 0, 0.25);
    -webkit-box-shadow: 2px 5px 15px -5px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 2px 5px 15px -5px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(5px);
}

.collapse_bar::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    /* border: 2px solid red; */
    top: 0;
    left: 0;
    /* z-index: 9998; */
    background-color: var(--mainColor);
    opacity: 0.9;
}

/* .collapse_bar .publish_btn {
    right: 110px;
}

.collapse_bar .save_btn {
    right: 240px;
}

.collapse_bar .save_msg {
    right: 360px;
} */

.collapse_bar .steps_container {
    margin-top: -23px;
    opacity: 0;
    transform: translateY(-60%);
    /* opacity: 1; */
    /* margin-top: -120px; */
    /* max-height: 0px;
    padding-top: 0px; */
}

.steps_container span {
    transition: all 0.3s;
}

.collapse_bar .steps_container span {
    opacity: 0;
}

.edit_container {
    display: flex;
    width: 90%;
    margin: 0 auto;
    justify-content: space-between;
    justify-content: center;
    position: relative;
    /* height: 2000px; */
}

.projects_box {
    background-color: var(--mainColor);
    width: 22%;
    display: flex;
    /* justify-content: center; */
    flex-direction: column;
    align-items: center;
    border-radius: var(--globalRadius);
    padding: 20px;
    padding-top: 20px;
    margin-right: 50px;
    max-height: 80vh;
    overflow: auto;
    overflow-x: hidden;
    position: sticky;
    left: 0%;
    top: 17%;
    transition: all 0.3s;
}

.projects_box_expanded {
    width: 50%;
}

#projects_box_title {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.vid_counter {
    /* position: absolute;
    bottom: -80%;
    right: 0; */
    font-size: 0.7em;
    margin-top: 5px;
    text-align: center;
}

.projects_box_toolbar {
    background-color: var(--mainColor);
    width: calc(100% + 50px);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    position: sticky;
    z-index: 1;
    top: -20px;
    border-radius: var(--globalRadius);
    box-shadow: 2px 10px 7px -5px rgb(0 0 0 / 15%);
    -webkit-box-shadow: 2px 10px 7px -5px rgb(0 0 0 / 15%);
    -moz-box-shadow: 2px 10px 7px -5px rgb(0 0 0 / 15%);
}

.toolbar_btns_container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 10px;
    width: 100%;
    min-height: 50px;
}

.toolbar_btns {
    cursor: pointer;
    user-select: none;
    transition: all 0.3s;
}

.toolbar_btns:hover {
    cursor: pointer;
    color: #598dc5 !important;
}

.toolbar_btns_active {
    color: #598dc5;
}

.add_videos_btn {
    position: relative;
    display: flex;
    align-items: center;
}

.add_video_icon {
    transition: all 0.3s;
}

.add_videos_btn_hidden {
    display: none !important;
}

.add_video_container {
    display: flex;
    overflow: hidden;
    max-width: 0px;
    transition: all 0.3s;
}

.add_video_container_expanded .add_video_container {
    max-width: 360px;
}

.add_video_container_expanded .add_video_icon {
    transform: rotate(-45deg);
}


.list_style a {
    display: flex;
    align-items: center;
}

.list_style .thumbnail-box {
    min-width: 60px;
    max-width: 60px;
    margin: 0px;
    margin-right: 10px;
}

.list_style .thumbnail {
    /* width: 60px; */
}

.toolbar_search {
    display: flex;
    width: 90%;
}

.toolbar_search .input_field {
    min-width: 100%;
}

.repo_vid_icons {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    user-select: none;
    transition: all 0.3s;
    padding: 5px;
}

.repo_vid_icons:hover {
    cursor: pointer;
    color: #598dc5;
    cursor: pointer;
    color: #598dc5;
    background-color: var(--sidebar);
    border-radius: var(--globalRadius);
}

.repo_vid_icons_hidden {
    display: none !important;
}

.replace_vid {
    right: 60px;
}

.replace_video_container {
    display: flex;
    overflow: hidden;
    width: calc(100% - 100px);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s;
}

.replace_video_input {
    width: 100%;
}

.projects_box_expanded .video_cards h4 {
    width: 70%;
}

.publish_form .publish_form_row,
.publish_form .publish_form_btn,
.publish_form .control {
    transition: all 0.3s;
}

.success_form .publish_form_row,
.success_form .publish_form_btn,
.success_form .control {
    transform: scaleY(0);
}

.success_form .publish_form_btn:hover {
    background-color: #d3773a;
    transform: scaleY(0) !important;
}

.success_message_container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 80%;
    transition-delay: 0.20s !important;
    transition: all 0.3s;
}

.success_message_container .material-icons {
    transform: scale(3);
    margin-bottom: 30px;
}

.success_icon {
    user-select: none;
}

.success_form .success_message_container {
    transform: translate(-50%, -50%) scale(1);
}

.copy_link_container {
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 20px;
}

.copy_link_container .input_field {
    margin-left: 10px;
    padding-right: 50px;
    text-overflow: ellipsis;
}

.copy_link_container .copy_link_btn {
    cursor: pointer;
    transform: scale(1) translateY(-50%);
    position: absolute;
    right: 7px;
    top: 50%;
    user-select: none;
    padding: 5px;
    z-index: 10;
    transition: all 0.3s;
}

.copy_link_container .copy_link_btn:hover {
    cursor: pointer;
    color: #598dc5;
    background-color: var(--sidebar);
    border-radius: var(--globalRadius);
}

.copy_msg {
    position: absolute;
    right: -10px;
    transform: translateX(-100%);
    /* max-width: 0px; */
    white-space: nowrap;
    overflow: hidden;
    z-index: -1;
    transition: all 0.3s;
}

.copy_msg_expanded {
    /* max-width: 150px; */
    transform: translateX(100%);
}

.share_social_container {
    margin-top: 15px;
    display: flex;
}

.share_btns {
    text-decoration: none;
    margin: 5px;
    display: flex !important;
    justify-content: center;
    align-items: center;
}

.share_btns svg {
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50px;
    transition: all 0.3s;
}

.share_btns svg:hover {
    transform: scale(0.90);
}

.share_whatsapp {
    fill: #25D366;
}

.share_twitter {
    fill: #1DA1F2;
}

.share_email {
    fill: var(--secondTextColor)
}










.edit_projects {
    display: flex;
    flex-direction: column;
    background-color: var(--mainColor);
    width: 75%;
    border-radius: var(--globalRadius);
    padding: 20px;
    padding-top: 0px;
    transition: all 0.3s;
    overflow: hidden;
}

.edit_projects_collapsed {
    padding: 0px;
    width: 0%;
}

.edit_container .projects_box .video_cards {
    cursor: grab;
    transition: none;
    min-width: 100%;
    max-width: 100%;
    /* overflow: hidden; */
    position: relative;
    margin-top: 10px;
}

.edit_container .projects_box .video_cards:hover {
    color: var(--secondaryColor);
    background-color: transparent;
    cursor: grab !important;
}

.edit_container .projects_box .video_cards:active {
    cursor: grabbing;
}

/* .edit_container .projects_box .video_cards h4{
    text-overflow: ellipsis;
    word-break: break-all;
} */

.block_video .video_cards {
    cursor: auto;
}

.edit_projects .thumbnail-box {
    min-height: 172px;
}

.edit_projects .video_cards {
    margin: 10px 0px;
}

.parent_indicator {
    position: absolute;
    top: 10px;
}

.pi_dot {
    font-weight: 600;
    display: flex;
    align-items: center;
}

.starter_dot .material-icons {
    color: #FF9D5C;
    margin-right: 5px;
}

.project_blocks {
    /* border: 2px solid red; */
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 20px;
    padding-top: 40px;
    margin: 20px 0;
    position: relative;
    /* margin: 20px; */
    background-color: var(--mainColor);
    border-radius: var(--globalRadius);
    box-shadow: 2px 5px 15px -5px rgba(0, 0, 0, 0.25);
    -webkit-box-shadow: 2px 5px 15px -5px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 2px 5px 15px -5px rgba(0, 0, 0, 0.25);
}

.block_video {
    /* border: 2px solid blue; */
    width: 70%;
    position: relative;
    display: flex;
    align-items: flex-start;
    /* flex-direction: column; */
}

.block_box {
    user-select: none;
}

.block_video .video_cards_container {
    width: 70%;
}

.input_container {
    width: 70%;
}

.block_questions {
    /* border: 2px solid blue; */
    width: 40%;
    position: relative;
    /* border: 2px solid red; */
}

.block_questions_container {
    display: flex;
}

.video_cards_container {
    position: relative;
}

.project_blocks .video_cards {
    width: 90%;
}

.edit_projects .input_field {
    width: 90%;
    margin: 10px 0px;
    text-overflow: ellipsis;
    padding-right: 35px;
}

.question_field {
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 93%;
    cursor: default;
    top: 0px;
    left: 0;
    padding-right: 85%;

    opacity: 0;
    /* opacity: 0.5;
    color: red;
    background-color: red; */
    /* border: 5px solid red */
}

.dropbtn_container {
    position: relative;
    /* width: 80%; */
}

.dropbtn_container .material-icons {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 13%;
    z-index: 15;
    pointer-events: none;
    transition: all 0.2s;
}

.droparrow {
    transform: translateY(-50%) rotate(180deg) !important;
}

.dropbtn {
    caret-color: transparent;
    z-index: 5;
    cursor: pointer;
    position: relative;
}

.dropdown_content {
    border-radius: var(--globalRadius);
    display: flex;
    flex-direction: column;
    position: absolute;
    background-color: var(--mainColor);
    width: 350px;
    overflow: auto;
    max-height: 0px;
    box-shadow: 2px 5px 15px -5px rgba(0, 0, 0, 0.25);
    -webkit-box-shadow: 2px 5px 15px -5px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 2px 5px 15px -5px rgba(0, 0, 0, 0.25);
    z-index: 20;
    transition: all 0.2s;
    /* z-index: 1000; */
}

.dropdown_content div {
    border-radius: var(--globalRadius);
    color: var(--secondaryColor);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    cursor: pointer;
    transition: all 0.2s;
}

.dropdown_option:hover {
    background-color: var(--secondTextColor);
}

.dropped {
    max-height: 250px;
}

/* ===== EDIT PAGE PUBLISH FORM ===== */

.publish_form {
    display: flex;
    flex-direction: column;
    width: 40%;
    min-width: 780px;
    position: fixed;
    top: 25%;
    right: -50%;
    background-color: var(--mainColor);
    /* background-color: red; */
    border-radius: var(--globalRadius);
    padding: 20px;
    transform: translateX(50%);
    z-index: 100;
    overflow: hidden;
    transition: all 0.3s;
}

.publish_form .upload_input_field {
    margin-top: 5px;
    margin-bottom: 10px;
    background-color: var(--inputField);
}

.view_form .create_container {
    transform: translateX(-100%);

}

.view_form .publish_form {
    right: 50%;
}

.publish_btn {
    white-space: nowrap;
}

.publish_btn .material-icons {
    transition: all 0.2s;
}

.publish_btn_active .material-icons {
    transform: rotate(-90deg);
}

.publish_form_row {
    display: flex;
    /* flex-direction: row-reverse; */
    justify-content: space-between;
}

.publish_form_row>div {
    width: 49%;
}

.publish_form textarea {
    resize: vertical;
    height: 97px;
    max-height: 300px;
    border-radius: var(--globalRadius);
}

.thumbnail_upload {
    position: relative;
    height: 100%;
    margin-bottom: 0;
    border-radius: var(--globalRadius);
}

.thumbnail_upload .thumbnail {
    border-radius: var(--globalRadius);
}

.thumbnail_input {
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: pointer;
    left: 0;
    top: 0;
    opacity: 0;
}

.thumbnail_upload .material-icons {
    z-index: 5;
    color: #FFF;
    pointer-events: none;
    transform: scale(0.2) translate(-25%, -25%);
    transform-origin: center;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transition: all 0.15s;
}

.thumbnail_upload:hover .material-icons {
    opacity: 1;
    transform: scale(1.3) translate(-25%, -25%);
    /* background-color: var(--sidebar); */
    background-color: var(--mainColor);
    color: var(--thirdTextColor);
    padding: 5px;
    border-radius: var(--globalRadius);
    /* color: #598dc5; */
}

.publish_form_btn {
    background-color: #FF8F44;
    width: 118px;
    margin-left: 0;
}

.publish_form_btn:hover {
    background-color: #d3773a;
}

/* RADIO BUTTON CSS */
.control {
    font-family: arial;
    display: block;
    position: relative;
    padding-left: 30px;
    margin-bottom: 5px;
    padding-top: 5px;
    cursor: pointer;
    font-size: 16px;
}

.control input {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

.control_indicator {
    position: absolute;
    top: 5px;
    left: 0;
    height: 20px;
    width: 20px;
    background: #dddddd;
    border: 0px solid #000000;
    /* border-radius: undefinedpx; */
}

.control:hover input~.control_indicator,
.control input:focus~.control_indicator {
    background: #cccccc;
}

.control input:checked~.control_indicator {
    background: #ff8f44;
}

.control:hover input:not([disabled]):checked~.control_indicator,
.control input:checked:focus~.control_indicator {
    background: #ff8f44;
}

.control input:disabled~.control_indicator {
    background: #e6e6e6;
    opacity: 0.6;
    pointer-events: none;
}

.control_indicator:after {
    box-sizing: unset;
    content: '';
    position: absolute;
    display: none;
}

.control input:checked~.control_indicator:after {
    display: block;
}

.control-radio .control_indicator {
    border-radius: 50%;
}

.control-radio .control_indicator:after {
    left: 7px;
    top: 7px;
    height: 6px;
    width: 6px;
    border-radius: 50%;
    background: #ffffff;
    transition: background 250ms;
}

.control-radio input:disabled~.control_indicator:after {
    background: #7b7b7b;
}

.control-radio .control_indicator::before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 4.5rem;
    height: 4.5rem;
    margin-left: -1.3rem;
    margin-top: -1.3rem;
    background: #ff8f44;
    border-radius: 3rem;
    opacity: 0.6;
    z-index: 99999;
    transform: scale(0);
}

@keyframes s-ripple {
    0% {
        opacity: 0;
        transform: scale(0);
    }

    20% {
        transform: scale(1);
    }

    100% {
        opacity: 0.01;
        transform: scale(1);
    }
}

@keyframes s-ripple-dup {
    0% {
        transform: scale(0);
    }

    30% {
        transform: scale(1);
    }

    60% {
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(1);
    }
}

.control-radio input+.control_indicator::before {
    animation: s-ripple 450ms ease-out;
}

.control-radio input:checked+.control_indicator::before {
    animation-name: s-ripple-dup;
}

/* ======= WATCH PAGE / VIDEO PAGE ======= */
#watch_body {
    /* overflow-y: hidden; */
}

#watch_body .main_content {
    display: flex;
    justify-content: space-around;
    /* flex-direction: column; */
}

#watch_body #dashboard-container {
    width: 20%;
    /* grid-template-columns: none; */
}

.video_container .author_image {
    width: 50px;
    height: 50px;
    margin-right: 10px;
}

#watch_body #dashboard-container .video_cards {
    width: 100%;
    margin: 5px;
}

#watch_body #dashboard-container .video_cards:first-child {
    margin-top: -10px;
}

.video_container {
    width: 75%;
}

.project_data {
    position: absolute;
}

#my-video {
    /* max-height: 80vh !important;
    max-width: 75vw; */
    border-radius: var(--globalRadius);
    /* transform: scale(0.7) translate(-21%, -20%); */
    z-index: 0;
    position: relative;
    overflow: hidden;
    margin-bottom: 10px;
}

#my-video video {
    transform: scale(1.01) !important;
}

.video_info {
    color: var(--thirdTextColor)
}

.video_info>* {
    margin: 15px 0;
    color: var(--secondaryColor);
}

.video_info>p {
    margin: 10px 0;
    white-space: pre-wrap;
}

.video_info .video_author:hover {
    color: var(--thirdTextColor);
}

.main_vid_description {
    padding-right: 20%;
    position: relative;
    padding-top: 20px;
    margin-top: 20px !important;
}

.main_vid_description::before {
    content: "";
    width: 100%;
    height: 1px;
    background-color: var(--thirdTextColor);
    opacity: 0.1;
    position: absolute;
    top: 0;
}

.video_info .video_author {
    /* margin-left: 35px; */
    max-width: max-content;
}

.video_debug_btn {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2147483647;
}

.video-js .vjs-big-play-button {
    top: 50% !important;
    left: 50% !important;
    width: 2em !important;
    transform: translate(-50%, -50%) !important;
}

.vjs-modal-dialog-content {
    padding: 0 !important;
}

.vjs-modal-dialog {
    transition: all 0.3s !important;
}

/* disable modal close btn */
.vjs-close-button,
.vjs-picture-in-picture-control {
    display: none !important;
}

/* VIDEO CONTROLS CONTAINER */
.vjs-control-bar {
    justify-content: space-between;
    bottom: -1px !important;
    background-image: linear-gradient(0deg, rgb(0 0 0 / 50%), transparent) !important;
    padding: 20px !important;
    transition: all 0.3s !important;
    /* overflow: hidden !important; */
    max-height: 70px !important;
}

.vjs-user-inactive .vjs-control-bar {
    bottom: -50px !important;
}

.vjs-paused .vjs-control-bar {
    bottom: -1px !important;
}

.vjs-control-bar>* {
    flex: none !important;
}

.video-js .vjs-fullscreen-control {
    width: 50px !important;
    flex: none !important;
    font-size: 20px;
}

/* Hover icons */
.video-js .vjs-fullscreen-control,
.video-js .vjs-play-control,
.video-js .vjs-volume-panel {
    transition: all 0.3s;
}

.vjs-theme-city .vjs-volume-level::before {
    transition: all 0.3s;
}

/* .video-js .vjs-fullscreen-control:hover,
.video-js .vjs-play-control:hover {
    color: var(--playerTheme) !important;
} */
.vjs-theme-city .vjs-play-control {
    position: absolute !important;
    left: 20px !important;
}

/* VIDEO VOLUME SLIDER */
.video-js .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-hover,
.video-js .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-slider-active,
.video-js .vjs-volume-panel.vjs-volume-panel-horizontal {
    width: 50px !important;
    position: absolute;
    left: 220px;
}

/* Hover volume color */
/* .vjs-theme-city .vjs-volume-level:hover::before {
    border-bottom-color: var(--playerTheme);
} */

/* VIDEO TIME */
.vjs-theme-city .vjs-remaining-time {
    flex: none;
    width: 100px;
    margin-left: 20px !important;
    display: none !important;
}

.vjs-theme-city .vjs-current-time,
.vjs-theme-city .vjs-duration {
    display: flex !important;
    font-size: 16px !important;
}

.video-js .vjs-time-control {
    position: absolute;
    left: 60px;
}

.vjs-theme-city .vjs-duration {
    position: absolute !important;
    left: 145px !important;
}

.vjs-theme-city .vjs-duration::after {
    content: "/";
    position: absolute;
    left: -5px;
    transform: translateX(50%);
}

.video-js .vjs-fullscreen-control {
    position: absolute !important;
    right: 20px !important;
}

/* VIDEO SEEKER AND PROGRESS BAR */

.vjs-play-progress {
    background-color: var(--playerTheme) !important;
}

.vjs-play-progress::after {
    transition: all 0.3s;
    content: "";
    border-radius: 50px;
    background-color: var(--playerTheme);
    width: 20px;
    height: 20px;
    right: 0;
    top: 0;
    position: absolute;
    transform: translate(50%, -35%) scale(0);
    /* transform: translate(50%, -50%) scale(1); */
}

.vjs-control-bar:hover .vjs-play-progress::after {
    transform: translate(50%, -35%) scale(1);

}

.video-js .vjs-load-progress div {
    background: rgb(221 221 221 / 50%) !important;
}

.video-js .vjs-progress-holder {
    height: 4px !important;
    margin-top: -6px !important;
}

.vjs-control-bar:hover .vjs-progress-holder {
    height: 8px !important;
    margin-top: -8px !important;
}

.vjs-theme-city .vjs-progress-control {
    width: 95% !important;
    margin: auto !important;
}

/* .vjs-user-inactive .vjs-play-progress::after {
    transform: translate(50%, -50%) scale(0);
}

.vjs-paused .vjs-play-progress::after {
    transform: translate(50%, -50%) scale(1);
} */



/* ===== INTERACTIVE VIDEO SECTION (MODAL POPUP) ========= */


.modal {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    /* border: 5px solid red; */
    /* Blur might be too resource intensive for some users... */
    /* backdrop-filter: blur(5px); */
}

.modal_content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--mainBackground);
    padding: 20px;
    border-radius: var(--globalRadius);
    max-width: 800px;
    min-width: 400px;
}

.modal_content h1 {
    color: var(--secondaryColor);
}

.video_options_container {
    display: flex;
}

.video_options {
    background: var(--playerTheme);
    border-radius: var(--globalRadius);
    padding: 1em;
    cursor: pointer;
    margin: 10px;
    color: #FFF;
    text-decoration: none;
    font-size: 1.5em;
    transition: all 0.3s;
}

.video_options:hover {
    color: #FFF;
    transform: scale(0.95);
}

.video_end {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* transform: scale(1.5); */
    background-color: var(--mainBackground);
    padding: 20px 60px;
    border-radius: var(--globalRadius);
    color: var(--secondaryColor);
}

.video_end .copy_link_container>* {
    z-index: 1;
}

.video_end .copy_msg {
    z-index: 0;
}

/* ======= HELP PAGE ========= */

.help_container {
    width: 50%;
    padding: 20px;
    padding-bottom: 50px;
    background-color: var(--mainColor);
    border-radius: var(--globalRadius);
}

.help_video {
    /* width: 50%; */
}

.help_video video {
    border-radius: var(--globalRadius);
}

.help_container ol {
    padding-left: 1em;
}

.help_container ol li {
    padding-left: 0.5em;

}

.help_container ol>li::marker {
    content: counter(list-item) ")";
}




@media only screen and (max-width: 1000px) {
    /* header {
        height: 60px;
    } */


    .main_content {
        padding: 10px;
    }

    #sidebar {
        width: 70%;
        padding-left: 25px;
        display: flex !important;
        overflow: visible;
        height: 100vh;
    }

    .sidebar_collapsed {
        /* height: 0px !important; */
        width: 0px !important;
        padding: 0 !important;
        padding-top: 100px !important;
        box-shadow: none !important;
        -webkit-box-shadow: none !important;
        -moz-box-shadow: none !important;
    }

    .sidebar_menu {
        transition: all 0.3s;
        overflow: hidden;
    }

    .sidebar_collapsed .sidebar_menu {
        /* transform: translateX(-120%); */
        transition: all 0.3s;
        width: 0px !important;
    }

    .sidebar_collapsed .header_logo {
        left: -50px !important;
        opacity: 0;
    }

    .create_btn {
        display: none;
    }

    .login_btn {
        margin-right: 0;
        margin-left: 10px;
        display: none;
    }

    #login-container {
        width: 90%;
        flex-direction: column;
    }

    .login_splash {
        display: none;
    }

    .login-box,
    .register-box {
        width: 100%;
        height: 100%;
    }

    .login-form .field-box {
        width: 100%;
    }





    .steps_bar {
        margin-top: 20px;
    }

    .upload_container,
    .upload_field_box {
        width: 100%;
    }

    .upload_splash_box {
        display: none;
    }




    #projects-container h3 {
        padding: 10px 5px;
        font-size: 1.25em;
        margin-bottom: 10px;
        /* border-bottom:10px solid var(--mainColor); */
    }

    .main_body {
        width: 100% !important;
        margin-left: 0 !important;
    }

    .main_content {
        padding: 0;
    }

    .account_pic,
    .account_form,
    .no_projects_container {
        margin: 10px;
    }

    .video_cards {
        padding: 0;
    }

    .thumbnail {
        border-radius: 0;
    }

    .video_cards h4,
    .video_cards .video_info_container {
        padding: 0 10px;
    }

    .video_cards:hover,
    .video_info_container:hover * {
        background-color: transparent;
    }

    .published_projects_container .video_details {
        padding: 0 10px;
    }

    .visibility_icon {
        margin-top: 20px;
    }

    .account_form .input_field {
        width: 100%;
    }

    #search-form {
        width: 100%;
        margin-left: 15%;
        justify-content: flex-end;
        position: relative;
    }

    .search_input {
        /* width: 170px; */
        width: 100%;
    }

    .search_btn {
        transform: none;
        /* margin-left: -100%; */
        position: absolute;
    }

    .profile_name {
        display: none;
    }

    #watch_body .main_content {
        flex-direction: column;
    }

    #my-video {
        border-radius: 0;
    }

    .video_container {
        width: 100%;
    }

    #watch_body #dashboard-container {
        width: 100%;
    }

    #watch_body #dashboard-container .video_cards {
        margin: 0;
    }

    #watch_body #dashboard-container .video_cards:first-child {
        margin-top: 20px;
    }

    .video_info {
        padding: 10px;
        padding-bottom: 20px;
        border-bottom: 5px solid var(--secondTextColor);
    }

    .video_info h2 {
        margin-top: 0;
    }

    .published_projects_container,
    #dashboard-container {
        grid-template-columns: repeat(auto-fit, minmax(100%, 0fr));
        column-gap: 0;
        row-gap: 30px;
        overflow: hidden;
    }

    .modal {
        font-size: 0.75em !important;
    }

    .video_options_container * {
        font-size: 1.75em;
    }

    .modal_content {
        max-width: 95%;
    }

    .modal .input_field {
        width: 100%;
    }

    .help_container {
        width: 95%;
        margin: 20px auto;
    }
}