/* -------------------------------------------------------------------------------------

Project Name:   Helixsun
Project URI:    https://helixsun.com
Author:         Retro Medya
Author URI:     https://retromedya.com
License:        The design and development rights of this website belong to Retro Medya.
                Unauthorized copying, distribution, or resale is strictly prohibited.
Version:        1.0

------------------------------------------------------------------------------------- */

@font-face {
    font-family: "Inter Tight";
    src: url("/assets/font/InterTight-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap
}

@font-face {
    font-family: "Inter Tight";
    src: url("/assets/font/InterTight-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap
}

@property --a {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg
}

@keyframes draw {
    to { stroke-dashoffset: 0 }
}

@keyframes rotating {
    0% { --a: 0deg }
    100% { --a: 360deg }
}

* {
    box-sizing: border-box;
    user-select: none;
    font-family: "Inter Tight", sans-serif;
    color: #f7f7f7;
    margin: 0
}

img {
    pointer-events: none
}

body {
    background: #f7f7f7;
}

.preloader {
    position: fixed;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #181818;
    width: 100%;
    height: 100%
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    transition: .5s
}

.preloader > svg {
    width: 350px;
    height: 70px
}

.preloader > svg > path {
    fill: none;
    stroke: #f7f7f7;
    stroke-width: 1px;
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    animation: draw 3s ease-in-out infinite alternate
}

.logo-container {
    position: fixed;
    top: 25px;
    left: 50%;
    transform: translateX(-50%)
}

.logo-container > img {
    width: 350px;
    max-width: 70vw
}

.intro-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%)
}

.menu-bar {
    position: fixed;
    top: 50%;
    left: 50px;
    transform: translateY(-50%)
}

main {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 68vh
}

main::before,
.intro-container::before,
.intro-container::after,
.menu-bar::before,
.menu-bar::after,
.config-panel::before,
.config-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50px;
    background: repeating-conic-gradient(from var(--a), #0f0, #ff0, #0ff, #f0f, #0ff);
    filter: blur(25px);
    animation: rotating 5s linear infinite
}

main::before {
    inset: 8% -25%;
    border-radius: 50%;
    opacity: .75;
    filter: blur(70px)
}

main::after {
    content: "";
    position: absolute;
    inset: 4% -8%;
    border-radius: 50%;
    background: repeating-conic-gradient(from var(--a), #0f0, #ff0, #0ff, #f0f, #0ff);
    filter: blur(35px);
    opacity: .55;
    animation: rotating 5s linear infinite reverse
}

main > img {
    position: relative;
    z-index: 1;
    height: 100%;
    filter: drop-shadow(0 15px 25px rgba(24, 24, 24, .35))
}

.config-panel::before,
.config-panel::after {
    border-radius: 10px
}

.intro-container > div {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    border-radius: 50px;
    background: #181818;
    padding: 50px;
    max-width: calc(100vw - 40px)
}

.intro-container > div > div {
    display: flex;
    gap: 50px
}

.intro-container > div > div > a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    border: 1px solid #f7f7f7;
    border-radius: 25px;
    width: 300px;
    padding: 50px;
    transition: .5s
}

.intro-container > div > div > a:hover {
    scale: 1.05
}

.intro-container > div > div > a > img {
    height: 220px
}

.intro-container > div > img {
    height: 260px
}

.intro-container > div > span,
.intro-container > div > div > a > span {
    font-size: 24px;
    letter-spacing: 1px
}

.intro-container > div > span:nth-of-type(2) {
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    max-width: 420px;
    margin-top: -25px
}

.intro-container > div > div > span {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    border: 1px solid #f7f7f7;
    border-radius: 10px;
    padding: 10px 25px;
    transition: .5s
}

.intro-container > div > div > span:hover,
.intro-container > div > div > span:last-of-type {
    color: #181818;
    background: #f7f7f7
}

.intro-container > div > div > span:last-of-type:hover {
    color: #f7f7f7;
    background: #181818
}

.menu-bar > div {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-radius: 50px;
    background: #181818;
    padding: 25px
}

.menu-bar > div > div {
    opacity: .5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: .5s
}

.menu-bar > div > div.active {
    opacity: 1
}

.menu-bar > div > div > img {
    width: 40px;
    scale: .8;
    transition: .5s
}

.menu-bar > div > div.active > img {
    scale: 1
}

.menu-bar > div > div > span {
    font-size: 12px;
    letter-spacing: 1px
}

.config-panel {
    position: fixed;
    top: 50%;
    right: -30%;
    transform: translateY(-50%);
    width: 24%;
    transition: .5s
}

.config-panel.active {
    right: 25px
}

.config-panel > div {
    position: relative;
    z-index: 1;
    display: none;
    border-radius: 10px;
    background: #181818;
    padding: 25px
}

.config-panel > div.active {
    display: flex;
    flex-direction: column;
    gap: 25px
}

.config-panel > div > div:first-of-type {
    display: flex;
    align-items: center;
    gap: 10px
}

.config-panel > div > div:first-of-type > img {
    width: 30px
}

.config-panel > div > div:first-of-type > span:first-of-type {
    font-size: 24px;
    letter-spacing: 1px
}

.config-panel > div > div:first-of-type > span:last-of-type {
    font-size: 12px;
    letter-spacing: 1px;
    opacity: .6;
    margin-left: auto
}

.config-panel > div > div:last-of-type {
    display: flex;
    flex-direction: column;
    gap: 25px
}

.config-panel > div > div:last-of-type > div {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.config-panel > div > div:last-of-type > div > span:first-of-type {
    font-size: 14px;
    letter-spacing: 1px;
    opacity: .7
}

[data-type="chips"] > div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px
}

[data-type="chips"] > div > span {
    font-size: 14px;
    letter-spacing: 1px;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    border: 1px solid #f7f7f7;
    border-radius: 10px;
    padding: 10px 25px;
    transition: .5s
}

[data-type="chips"] > div > span:hover,
[data-type="chips"] > div > span.active {
    font-weight: 600;
    color: #181818;
    background: #f7f7f7
}

[data-type="stages"] > div {
    display: flex;
    flex-direction: column;
    gap: 10px
}

[data-type="stages"] > div > div {
    opacity: .5;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: .5s
}

[data-type="stages"] > div > div.active {
    opacity: 1
}

[data-type="stages"] > div > div > span {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #f7f7f7;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    transition: .5s
}

[data-type="stages"] > div > div.active > span {
    color: #181818;
    background: #f7f7f7
}

[data-type="stages"] > div > div > input[type="range"] {
    flex: 1;
    min-width: 0;
    accent-color: #f7f7f7;
    cursor: pointer
}

[data-type="stages"] > div > div > input[type="number"] {
    -moz-appearance: textfield;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    border: 1px solid #f7f7f7;
    border-radius: 10px;
    background: none;
    outline: none;
    width: 85px;
    padding: 8px
}

[data-type="stages"] > div > div > input[type="number"]::-webkit-inner-spin-button,
[data-type="stages"] > div > div > input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0
}

.config-panel [data-type] > span:not(:first-of-type) {
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 1px;
    opacity: .6
}

[data-type="info"] {
    flex-direction: row !important;
    justify-content: space-between;
    gap: 25px !important
}

[data-type="info"] > span {
    font-size: 14px;
    letter-spacing: 1px
}

.config-panel [data-type="info"] > span:last-of-type {
    font-size: 14px;
    font-weight: 600;
    opacity: 1
}

[data-type="action"] > span {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    text-align: center;
    cursor: pointer;
    border: 1px solid #f7f7f7;
    border-radius: 10px;
    padding: 10px 25px;
    opacity: 1 !important;
    transition: .5s
}

[data-type="action"] > span:hover {
    color: #181818;
    background: #f7f7f7
}

main > span {
    position: absolute;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translate(-50%, -50%);
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid #f7f7f7;
    border-radius: 50%;
    background: #181818;
    width: 26px;
    height: 26px;
    transition: .5s
}

main > span:hover,
main > span.active {
    color: #181818;
    background: #f7f7f7;
    border-color: #181818;
    scale: 1.2
}

main:not(.keys) > span {
    display: none
}

.config-panel > div > div:last-of-type {
    max-height: calc(100vh - 260px);
    overflow-y: auto;
    padding-right: 5px;
    scrollbar-width: thin;
    scrollbar-color: #f7f7f7 transparent
}

[data-type="list"] > div {
    display: flex;
    flex-direction: column;
    gap: 8px
}

[data-type="list"] > div > div {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    border: 1px solid #f7f7f7;
    border-radius: 10px;
    padding: 8px 15px;
    transition: .5s
}

[data-type="list"] > div > div:hover,
[data-type="list"] > div > div.active {
    color: #181818;
    background: #f7f7f7
}

[data-type="list"] > div > div > span {
    font-size: 14px;
    letter-spacing: 1px
}

[data-type="list"] > div > div:hover > span,
[data-type="list"] > div > div.active > span {
    color: #181818
}

[data-type="list"] > div > div > span:first-of-type {
    font-weight: 600;
    white-space: nowrap
}

[data-type="list"] > div > div > span:nth-of-type(2) {
    flex: 1;
    text-align: right;
    opacity: .7
}

[data-type="list"] > div > div > span:nth-of-type(n+3) {
    flex: none;
    width: 20px;
    text-align: center;
    opacity: .7
}

[data-type="list"] > span:last-of-type:not(:first-of-type) {
    font-size: 12px;
    letter-spacing: 1px;
    opacity: .6
}

[data-type="edit"] > input,
[data-type="chips"] > input {
    font-size: 14px;
    letter-spacing: 1px;
    border: 1px solid #f7f7f7;
    border-radius: 10px;
    background: none;
    outline: none;
    padding: 10px 15px
}

[data-type="chips"] > input[type="number"] {
    width: 120px
}

[data-type="range"] > div {
    display: flex;
    align-items: center;
    gap: 15px
}

[data-type="range"] > div > input {
    flex: 1;
    min-width: 0;
    accent-color: #f7f7f7;
    cursor: pointer
}

[data-type="range"] > div > span {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    min-width: 50px;
    text-align: right
}

.status-panel {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 25px;
    border-radius: 50px;
    background: #181818;
    padding: 15px 25px
}

.status-panel > span {
    font-size: 14px;
    letter-spacing: 1px
}

.status-panel > span:first-of-type::before {
    content: "";
    display: inline-block;
    border-radius: 50%;
    background: #0f0;
    width: 8px;
    height: 8px;
    margin-right: 10px
}

.status-panel > span:nth-of-type(2) {
    opacity: .8
}

.status-panel > span:last-of-type {
    cursor: pointer;
    opacity: .6;
    transition: .5s
}

.status-panel > span:last-of-type:hover {
    opacity: 1
}

.alert-panel > div {
    display: flex;
    flex-direction: column;
    gap: 25px;
    cursor: default;
    border-radius: 10px;
    background: #181818;
    box-shadow: 0 0 10px #f7f7f7;
    padding: 25px
}

.alert-panel {
    position: fixed;
    inset: 0;
    z-index: 3;
    display: none;
    justify-content: center;
    align-items: center;
    background: rgba(24, 24, 24, .5)
}

.alert-panel.active {
    display: flex
}

.alert-panel > div {
    width: 400px;
    max-width: 90%
}

.alert-panel > div > span:first-of-type {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 1px
}

.alert-panel > div > span:nth-of-type(2) {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 1px
}

.alert-panel > div > div {
    display: flex;
    gap: 10px
}

.alert-panel > div > div > span {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    text-align: center;
    cursor: pointer;
    border: 1px solid #f7f7f7;
    border-radius: 10px;
    padding: 10px 25px;
    transition: .5s
}

.alert-panel > div > div > span:hover,
.alert-panel > div > div > span:last-of-type {
    color: #181818;
    background: #f7f7f7
}

.alert-panel > div > div > span:last-of-type:hover {
    color: #f7f7f7;
    background: #181818
}

.none {
    display: none !important
}

@media (max-width: 1600px) {
    .logo-container > img {
        width: 200px
    }

    .menu-bar > div > div > img,
    .config-panel > div > div:first-of-type > img {
        width: 25px
    }

    .config-panel {
        right: -35%;
        width: 30%
    }

    .intro-container > div > span,
    .intro-container > div > div > a > span,
    .config-panel > div > div:first-of-type > span:first-of-type {
        font-size: 18px
    }

    .intro-container > div > div > a > img {
        height: 160px
    }

    .intro-container > div > img {
        height: 200px
    }

    .intro-container > div > div > a {
        width: 240px;
        padding: 35px
    }

    [data-type="chips"] > div > span {
        font-size: 12px
    }
}