/* =====================================================
   ROOT VARIABLES
===================================================== */
:root {
    /* COLORS */
    --Dark: #000000;
    --Light: #ffffff;
    --Yellow: #f9b54c;
    --Teal: #4d757f;
    --Mustard: #be7320;
    --Color_Para: #868484;

    /* ADDITIONAL COLORS */
    --LightGray: #f4f4f4;
    --DarkGray: #1a1a1a;

    /* FONTS */
    --Heading: Heading;
    --Paragraph: Paragraph;
    --Special_Text: Special_Text;
}

/* =====================================================
   BASE STYLES
===================================================== */
body {
    padding: 0;
    margin: 0;
    overflow-x: hidden;
    user-select: none;
    background: linear-gradient(90deg, var(--Dark), #0c0c0c) !important;
    color: var(--Light) !important;
    background-size: 100px !important;
}

/* Fonts */
@font-face {
    font-family: Nav;
    src: url(/Static/FONTS/Signika/static/Signika-Regular.ttf);
}

@font-face {
    font-family: Heading;
    src: url(/Static/FONTS/OpenSauceOne-ExtraBold.ttf);
}

@font-face {
    font-family: Paragraph;
    src: url(/Static/FONTS/MacsansRegular-VG2YV.otf);
}

@font-face {
    font-family: Special_Text;
    src: url(/Static/FONTS/Takota-7LRl.otf);
}

/* Scrollbar */
body::-webkit-scrollbar {
    width: 1vh;
}

body::-webkit-scrollbar-track {
    background: var(--Mustard);
}

body::-webkit-scrollbar-thumb {
    background: transparent;
    box-shadow: 0 0 0 100000vh var(--Dark);
    border-radius: 22px;
}

/* Main background */
.Main-background {
    backdrop-filter: blur(10px);
}

.Main {
    padding: 0 5%;
}

/* Global font for navbar/sidebar/forms */
.main-nav ul li,
.butt1-form,
.form-desc-right,
.dropdown-content a,
.recent-content ul li,
.sidebar-content li {
    font-family: Nav !important;
    font-weight: 700 !important;
}

/* Links */
a {
    text-decoration: none;
}

/* =====================================================
   LOGO
===================================================== */
.logo {
    width: 20%;
    display: flex;
    flex-flow: row;
    align-items: center;
    justify-content: center;
    padding-left: 20px;
    padding-right: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.logo-img {
    width: 100px;
}

/* =====================================================
   SIDEBAR
===================================================== */
.sidebar {
    display: none;
    visibility: hidden;
    z-index: 500 !important;
    position: fixed;
    top: 0;
    margin-left: -300px;
    width: 300px;
    height: 100vh;
    padding-top: 0;
    background-color: #F3F9FB;
    transition: all 0.1s;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--Mustard) var(--Dark);
}

.sidebar-button {
    display: none;
    visibility: hidden;
    width: 20%;
    text-align: center;
}

.sidebar-button-side,
.sidebar-button-color {
    padding: 5px 12px;
    font-size: x-large;
    cursor: pointer;
    border: none;
    background-color: transparent;
}

.sidebar-button-side {
    color: #000;
}

.sidebar-button-color {
    color: #fff;
}

.Sidebar_Open_Heading {
    color: #000;
    font-size: x-large;
    font-weight: 900;
    width: 50%;
    padding: 3%;
    padding-top: 0;
    font-family: var(--Heading);
    margin-top: 20px;
}

.Sidebar_Open_Heading_Span {
    color: var(--Mustard);
}

.top-icons {
    display: flex;
    flex-flow: row;
    padding: 0 10px;
}

.sidebar-content {
    margin-top: 30px;
}

.sidebar-content ul {
    padding: 0;
}

.sidebar-content li {
    color: black;
    list-style: none;
    line-height: 3.8rem;
    cursor: pointer;
    padding-left: 20px;
    font-size: 18px;
}

.sidebar-content li:hover {
    background-color: white;
    border-radius: 20px;
    border: 2px solid var(--Mustard);
}

.sidebar-content li i {
    width: 15%;
}

.main {
    display: flex;
    flex-flow: column;
    align-items: center;
    margin-top: 50px;
}

.sidebar-user {
    color: black;
    font-size: 22px;
    font-weight: bold;
    margin-top: 40px;
    margin-bottom: 10px;
}

.sidebar-email {
    color: black;
    font-size: 18px;
}

/* Sidebar Responsive */
@media only screen and (max-width: 900px) {
    .sidebar-button {
        display: unset;
        visibility: visible;
        align-self: center;
    }

    .main {
        margin-top: 10px;
    }

    .sidebar-user {
        margin-top: 10px;
        margin-bottom: 10px;
    }
}

@media only screen and (max-width: 400px) {
    .sidebar {
        overflow-y: auto;
    }
}

/* =====================================================
   NAVBAR
===================================================== */
.nav {
    position: fixed;
    display: flex;
    flex-flow: row;
    right: 0;
    left: 0;
    top: 0;
    z-index: 100;
    background-color: transparent;
}

.main-nav {
    width: 60%;
    display: flex;
    justify-content: center;
    height: fit-content;
}

.main-nav ul {
    padding-left: 0;
    background-color: var(--Dark);
    padding: 1.5% 1%;
    border-radius: 20px 5px 20px;
}

.main-nav ul li {
    display: inline-flex;
    list-style: none;
    padding: 12px 10px;
    color: var(--Light);
    font-weight: 500;
    font-size: x-large;
}

.main-nav ul li:hover {
    color: var(--Dark);
    background-color: var(--Mustard);
    cursor: pointer;
    border-radius: 20px 20px 20px;
}

/* Navbar Responsive */
@media only screen and (max-width: 1450px) {
    .main-nav ul li {
        font-size: larger;
    }

    .logo-img {
        width: 170px;
    }
}

@media only screen and (max-width: 1000px) {
    .main-nav {
        min-width: 80%;
    }
}

@media only screen and (max-width: 900px) {
    .main-nav {
        display: none;
        visibility: hidden;
    }
}

/* Right nav */
.right-nav {
    width: 15%;
    display: inherit;
    flex-flow: row-reverse;
    column-gap: 10px;
    padding: 16px 20px 16px 0;
    justify-content: end;
}

.magnifine,
.magnifine-SearchBar {
    background: transparent;
    color: var(--Light) !important;
    border: none;
    cursor: pointer;
    font-size: 1.5em;
}

.person {
    width: 40px;
    background-color: var(--Mustard);
    border: none;
    cursor: pointer;
}

/* Responsive Right Nav */
@media only screen and (max-width: 900px) {
    .right-nav {
        width: 45%;
    }

    .logo {
        width: 45%;
        padding-left: 0;
        justify-content: start;
    }
}

/* =====================================================
   SEARCH SLIDER
===================================================== */
.search-slider {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(12, 12, 12, 0.9));
    backdrop-filter: blur(20px);
    padding-bottom: 50px;
    position: fixed;
    width: 100%;
    z-index: 205;
    margin-left: 100%;
    transition: all 0.1s;
    top: 0;
    height: auto;
}

.crosssearch {
    margin-top: 10px;
    padding: 10px;
    border-radius: 20px;
    cursor: pointer;
    color: var(--Light);
    font-family: var(--Heading);
    font-size: 1.5em !important;
}

.search-slider-content {
    display: flex;
    flex-flow: row;
    justify-content: center;
    align-items: center;
    padding-bottom: 30px;
    width: 100%;
}

.search-slider-bar {
    width: 65%;
    border: none;
    outline: none;
    text-align: left;
    background-color: var(--LightGray);
    border-radius: 10px;
    line-height: 3rem;
    font-size: 1.5em;
    padding-left: 1%;
    font-family: var(--Heading);
}

.cross-searchbox {
    display: flex;
    justify-content: end;
    padding: 0 5%;
}

.searching-content {
    display: flex;
}

.recent-search {
    margin: 0 auto;
    text-align: center;
}

.recent-heading {
    font-size: 1.7em;
    font-weight: bold;
    font-family: var(--Heading);
}

.recent-content ul li {
    list-style: none;
    line-height: 1.8rem;
    font-family: var(--Paragraph);
}

.Search-Form {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 2%;
}

/* Search slider responsive */
@media only screen and (max-width: 900px) {
    .search-slider-bar {
        font-size: 1em;
    }

    .recent-heading {
        font-size: 1.2em;
    }

    .recent-content ul li {
        font-size: 1em;
    }

    .crosssearch {
        font-size: 1.2em !important;
    }
}

/* =====================================================
   ADDITIONAL COMPONENTS (Buttons, Cards, Forms)
===================================================== */
.button,
.butt1,
.titleuser,
.avatar,
.carduserview {
    font-family: var(--Paragraph);
}

.button {
    border: none;
    outline: 0;
    display: inline-block;
    padding: 8px;
    text-align: center;
    cursor: pointer;
    width: 100%;
    font-size: 18px;
    color: var(--Light);
}

.butt1 {
    background-image: linear-gradient(to right, #000, #385E72);
    transition: opacity 0.4s;
    border: 2px;
    padding: 12px 35px;
    font-size: 20px;
    color: white;
    margin-right: 10px;
    border-radius: 30px;
}

.button:hover,
.titleuser:hover {
    opacity: 0.7;
}

.avatar {
    vertical-align: middle;
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

/* =====================================================
   MEDIA QUERIES - GLOBAL
===================================================== */
@media only screen and (max-width: 965px) {
    .small-ball {
        width: 100% !important;
        height: 100% !important;
        left: -30px;
    }
}