@font-face {
    font-family: 'title-font';
    src: url('/assets/fonts/brand-main.ttf') format('truetype');
}

@font-face {
    font-family: 'text-font';
    src: url('/assets/fonts/text-main.ttf') format('truetype');
}


:root {
    --bg: #ebebeb;
    --text: #000000;

    --blue: #5093c9;
    --image-filter: none;

    --progress-bg: #ebebeb;
    --progress-text: #000000;

    --box-shadow: rgba(0, 0, 0, 0.15);
    --menu-bg: #ffffff;
    --overlay: rgba(0, 0, 0, 0.9);
}

.dark-mode {
    --bg: #000000;
    --text: #ffffff;
    --image-filter: invert(1) hue-rotate(180deg);
    --box-shadow: rgba(255, 255, 255, 0.05);
    --menu-bg: #131313;
    --overlay: rgba(255, 255, 255, 0.9);
}

.opp-mode {
    background-color: var(--text);
    color: var(--bg);
}

.color-dark {
    color: #000000!important;
}

.color-light {
    color: #ebebeb!important;
}

.bg-dark {
    background-color: #000000!important;
}

.bg-light {
    background-color: #ebebeb!important;
}

body {
    background-color: var(--bg);
    color: var(--text);
    cursor: none;
    font-family: 'text-font';
    transition: background-color 0.3s, color 0.3s;
    overflow-x: hidden;
    font-size: 12px;
}


p {
    font-size: 12px;
}

h3 {
    margin: 0;
    padding: 0;
}

/* custom menu for right click */
.custom-menu {
    display: none;
    position: absolute;
    color: var(--text);
    z-index: 10000;
    background: var(--menu-bg);
    border: 1px solid var(--bg);
    border-radius: 6px;
    box-shadow: 0 4px 8px var(--box-shadow);
    padding: 8px;
    font-family: sans-serif;
    min-width: 120px;
}

.refresh-option {
    padding: 6px 10px;
    cursor: pointer;
}

/* mobile intro tutorial */
.tutorial-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--overlay);
    z-index: 9999;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.tooltip {
    position: fixed;
    background: var(--bg);
    color: var(--text);
    box-shadow: 0 0 10px var(--box-shadow);
    padding: 12px 16px;
    border-radius: 3px;
    font-size: 1rem;
    min-width: 90%;
    z-index: 10000;
    text-align: center;
}

.arrow {
    position: fixed;
    font-size: 2rem;
    z-index: 10001;
    animation: bounce 1s infinite;
    color: var(--bg);
}

.arrow.down {
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
}

.arrow.up {
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
}

.hand-pointer {
    position: fixed;
    font-size: 2rem;
    z-index: 10001;
    animation: bounce 1s infinite;
    color: var(--bg);
}

@keyframes bounce {

    0%,
    100% {
        transform: translate(-50%, 0);
    }

    50% {
        transform: translate(-50%, -10px);
    }
}

.hidden {
    display: none;
}

/* continue main code */

#bird {
    mix-blend-mode: difference;
    filter: invert(1);
    z-index: 10001;

}

#bird svg {
    fill: var(--progress-text);
    z-index: 10001;

}

/* Preloader Styles */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg);
    z-index: 99;
    display: flex;
    justify-content: center;
    align-items: center;
}

#preload-instructions {
    position: absolute;
    color: var(--text);
    bottom: 20px;
    left: 0;
    font-family: sans-serif;
    width: 100%;
    text-align: center;
    pointer-events: none;
}

.title-font {
    font-family: 'title-font' !important;
    font-weight: 400;
    font-size: 42px;
    margin: 0;
}

img {
    transition: filter 0.3s;
}

.slider {
    margin-top: 200px;
    height: calc(100vh - 110px);
}

.dot-cursor {
    position: fixed;
    width: 4px;
    height: 4px;
    background-color: var(--progress-text);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10001;
    mix-blend-mode: difference;
    filter: invert(1);
}

.logo {
    align-self: center;
}

.logo img {
    width: 40px;
}


.logo a {
    text-decoration: none;
    color: var(--text);
    font-family: 'title-font';
    font-size: 21px;
    vertical-align: super;
    line-height: 0;
    padding: 0;
    margin: 0;
}

.logo-text {
    font-family: 'title-font';
    font-size: 21px;
    vertical-align: super;
    line-height: 0;
    padding: 0;
    margin: 0;
}

.logo-dark {
    align-self: center;
}

.logo-dark img {
    mix-blend-mode: difference;
    filter: invert(1);
    width: 40px;
}


.logo-dark a {
    text-decoration: none;
    color: var(--bg);
    font-family: 'title-font';
    font-size: 21px;
    vertical-align: super;
    line-height: 0;
    padding: 0;
    margin: 0;
}

.logo-text {
    font-family: 'title-font';
    font-size: 21px;
    vertical-align: super;
    line-height: 0;
    padding: 0;
    margin: 0;
}

.menu ul {
    display: flex;
    list-style: none;
}

.menu ul li {
    padding: 5px 10px;
}

.menu ul a {
    color: var(--text);
    background: linear-gradient(to right, var(--blue) 50%, var(--text) 50%);
    background-size: 200% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: background-position 1s ease;
}

.menu ul a:hover {
    background-position: 0 0;
}

.active a {
    color: var(--blue) !important;
    background: linear-gradient(to right, var(--text) 50%, var(--blue) 50%) !important;
    background-size: 200% 100% !important;
    background-position: 100% 0 !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    transition: background-position 1s ease !important;
}

.active a:hover {
    background-position: 0 0 !important;
}

/* #Menu Btn ================================================== */

.folio-btn {
    position: relative;
}

.folio-btn-item {
    position: absolute;
    top: -4px;
    right: 0;
    width: 25px;
    height: 25px;
}

.folio-btn-dot {
    float: left;
    width: 33.3%;
    height: 33.3%;
    position: relative;
}

.folio-btn-dot:before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 4px;
    height: 4px;
    margin: -2px 0 0 -2px;
    border-radius: 50%;
    transition: all 300ms linear;
    transform: scale(1.0);
}

.folio-btn-dot:before {
    background: var(--text);
}

.folio-btn:hover .folio-btn-dot:first-child:before,
.folio-btn:hover .folio-btn-dot:nth-child(3):before,
.folio-btn:hover .folio-btn-dot:nth-child(4):before,
.folio-btn:hover .folio-btn-dot:nth-child(8):before {
    transform: scale(1.8);
    opacity: 0.5;
}

/* Dark Mode Toggle ================================================== */

.darkmode-toggle-container {
    position: fixed;
    bottom: 30px;
    left: 40px;
    mix-blend-mode: difference;
    filter: invert(1);
}

.darkmode-toggle-label {
    width: 45px;
    height: 20px;
    position: relative;
    display: block;
    background: #242424;
    border-radius: 20px;
    box-shadow:
        inset 0px 1px 1.5px rgba(0, 0, 0, 0.4),
        inset 0px -1px 1.5px rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: 0.3s;
}

.darkmode-toggle-label:after {
    content: "";
    width: 18px;
    height: 18px;
    position: absolute;
    top: 1px;
    left: 1px;
    background: linear-gradient(180deg, #777, #3a3a3a);
    border-radius: 18px;
    box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
}

.darkmode-toggle-label svg {
    position: absolute;
    width: 12px;
    top: 4px;
    z-index: 100;
}

.darkmode-toggle-label svg.sun {
    left: 4px;
    fill: #fff;
    transition: 0.3s;
}

.darkmode-toggle-label svg.moon {
    left: 29px;
    fill: #fff;
    transition: 0.3s;
}

.darkmode-toggle {
    width: 0;
    height: 0;
    visibility: hidden;
}

.darkmode-toggle:checked+.darkmode-toggle-label {}

.darkmode-toggle:checked+.darkmode-toggle-label:after {
    left: 43px;
    transform: translateX(-100%);
}

.darkmode-toggle:active+.darkmode-toggle-label:after {
    width: 26px;
}

/* Search ================================================== */

.search-container {
    position: relative;
}

.search-box {
    position: absolute;
    top: -5px;
    right: 42px;
    transition: width 0.6s, border-radius 0.6s, background 0.6s, box-shadow 0.6s;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    background: var(--bg);
}

.search-box+label .search-icon {
    color: var(--text);
}

.search-box:hover {
    color: var(--text);
    background: var(--text);
    box-shadow: 0 0 0 2px var(--text);
}

.search-box:hover+label .searchicon {
    color: var(--bg);
    fill: var(--bg);
}

.search-box:focus {
    transition: width 0.6s cubic-bezier(0, 1.22, 0.66, 1.39), border-radius 0.6s, background 0.6s;
    border: none;
    outline: none;
    box-shadow: none;
    padding-left: 15px;
    cursor: text;
    width: 200px;
    border-radius: auto;
    background: var(--text);
    color: var(--bg);
}

.search-box:focus+label .searchicon {
    color: var(--bg);
    fill: var(--bg);
}

.search-box:not(:focus) {
    text-indent: -5000px;
}

#search-submit {
    position: relative;
    left: -5000px;
}

.search-icon {
    position: relative;
    color: var(--bg);
    cursor: pointer;
}

.searchicon {
    position: relative;
    top: 5px;
    left: 10px;
    fill: var(--text);
    cursor: pointer;
    width: 20px;
}

/* Progress ================================================== */

.progress-wrap {
    position: fixed;
    right: 50px;
    bottom: 50px;
    height: 46px;
    width: 46px;
    cursor: pointer;
    display: block;
    border-radius: 50px;
    box-shadow: inset 0 0 0 2px var(--progress-text);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear;
    mix-blend-mode: difference;
    filter: invert(1);

}

.progress-wrap.active-progress {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.progress-wrap::after {
    position: absolute;
    font-family: 'unicons';
    content: '\e84b';
    text-align: center;
    line-height: 46px;
    font-size: 24px;
    color: var(--progress-text);
    left: 0;
    top: 0;
    height: 46px;
    width: 46px;
    cursor: pointer;
    display: block;
    z-index: 1;
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}

.progress-wrap:hover::after {
    opacity: 0;
}

.progress-wrap:hover::before {
    opacity: 1;
}

.progress-wrap svg path {
    fill: none;
}

.progress-wrap svg.progress-circle path {
    stroke: var(--progress-text);
    stroke-width: 4;
    box-sizing: border-box;
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}

body .progress-wrap {
    box-shadow: inset 0 0 0 2px var(--progress-bg);
}

body .progress-wrap::after {
    color: var(--progress-text);
}

body .progress-wrap svg.progress-circle path {
    stroke: var(--progress-text);
}


#tsparticles {
    width: 400px;
    height: 400px;
}

.place-content-center {
    place-items: center !important;
}

.footer-menu {
    list-style: none;
    padding: 10px 40px;
}

.footer-menu li p {
    font-size: 12px;
}


.social-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.social-menu li {
    padding-right: 15px;
}

.social-menu a {
    color: var(--bg);
}

.copywrite p {
    font-size: 12px;
}

/* app menu */
.app-menu {
    height: 90vh;
    width: 96vw;
    background-color: var(--text);
    color: var(--bg);
    position: absolute;
    top: 8vh;
    right: 2vw;
    z-index: 10000;
}

.app-menu ul {
    margin: 50px;
    list-style: none;
    text-align: start;
}
.app-menu ul li {
    padding: 5px;
    margin: 5px!important;
}
.app-menu ul li .active{
    color: #000000!important;
}
.app-menu ul li a{
    margin: 0;
    padding: 0;
    text-decoration: none;
    color: var(--bg);
    font-size: 36px;
    font-family: text-font;
    font-weight: 900;
    letter-spacing: 2px;
}

@media screen and (max-width: 650px) {
    .slider {
        margin-top: 80px;
    }

    .title-font {
        font-size: 26px;
    }
}