@import "./fonts.css";

body,
.main-content {
    overflow: -moz-scrollbars-none;
    overflow: hidden;
}

body::-webkit-scrollbar,
.main-content::-webkit-scrollbar {
    display: none;
}


:root {
    --white: #fff;
    --black: #000;
    --transparent: #0000;
    --primary: #3AC7D4;
    --warning: #D45E3A;
    --success: #3AD451;
    --line-color: rgba(255, 255, 255, 0.1);
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #000;
}

a {
    text-decoration: none !important;
}

ul {
    list-style: none;
    padding-left: 0 !important;
}

:focus {
    outline: 0;
    box-shadow: none !important;
}

.row>* {
    padding-right: 12px;
    padding-left: 12px;
}

::selection {
    color: var(--white);
    background-color: var(--primary);
}

::placeholder {
    color: rgba(255, 255, 255, 0.2) !important;
}


/* =================== Animation Start =================== */
.line-animation {
    max-width: 817px;
    min-width: 817px;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 0;
}

.line-animation .center {
    display: flex;
    gap: 30px;
}

.line-animation .line {
    width: 1px;
    background-color: var(--line-color);
}

.bgAnimation.active .line {
    animation: lineFill 1.5s ease-in-out forwards;
    -webkit-animation: lineFill 1.5s ease-in-out forwards;
}

@keyframes lineFill {
    0% {
        height: 0;
    }

    100% {
        height: 100vh;
    }
}

.arrow-effect {
    opacity: 0.1;
    position: fixed;
    top: 100%;
    left: 50%;
    width: fit-content;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
}

.bgAnimation.active .arrow-effect {
    animation: moveUp 1s ease-in-out 1.5s forwards;
    -webkit-animation: moveUp 1s ease-in-out 1.5s forwards;
}

@keyframes moveUp {
    0% {
        top: 100%;
    }

    100% {
        top: -129px;
    }
}

.glow-circle {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    opacity: 0.06;
    background: var(--primary);
    filter: blur(80px);
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    -webkit-filter: blur(80px);
}

.bgAnimation.active .glow-circle {
    animation: scaleGlow 1s ease-in-out 2.5s forwards;
    -webkit-animation: scaleGlow 1s ease-in-out 2.5s forwards;
}

@keyframes scaleGlow {
    0% {
        width: 0;
        height: 0;
    }

    100% {
        width: 700px;
        height: 700px;
    }
}

/* =================== Animation Start =================== */


/* =================== Header Start =================== */
.header {
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header .header-menu {
    position: relative;
}

.header .header-menu.open .menu-container {
    width: 500px;
    height: 500px;
}

.header .menu-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-radius: 19px;
    -webkit-border-radius: 19px;
    -moz-border-radius: 19px;
    -ms-border-radius: 19px;
    -o-border-radius: 19px;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.header .menu {
    width: 117px;
    padding: 6px 15px;
    text-transform: uppercase;
    color: var(--white);
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(25px);
    border-radius: 50px;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    -ms-border-radius: 50px;
    -o-border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    border: 1px solid var(--transparent);
    z-index: 1;
    position: relative;
}

.header .menu:hover {
    color: var(--primary);
}

.header .menu:hover span {
    background-color: var(--primary);
}

.header .menu span {
    width: 24px;
    height: 2px;
    background-color: var(--white);
    border-radius: 10px;
    display: block;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.header .menu .burger-menu {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* =================== Header End =================== */

/* =================== Main Content Start =================== */
.main-content {
    padding: 40px 0;
    min-height: calc(100dvh - 74px);
    height: calc(100dvh - 74px);
    max-height: calc(100dvh - 74px);
    width: 100VW;
    display: grid;
    align-items: center;
    overflow: auto;
    position: relative;
    z-index: 9;
}

.main-content .banner-container {
    width: 100%;
    max-width: calc(1770px + 40px);
    padding: 0 20px;
    margin: 0 auto 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.main-calculator {
    max-width: 800px;
    width: 100%;
}

.main-calculator .card {
    border-radius: 20px;
    border: 2px solid rgba(58, 199, 212, 0.50);
    background: rgba(58, 199, 212, 0.10);
    box-shadow: 0px 4px 44px 0px rgba(58, 199, 212, 0.15);
    backdrop-filter: blur(25px);
}

.main-calculator .card.main-card {
    margin-bottom: 70px;
}

.main-calculator .card .card-body {
    padding: 24px;
}

.form-check .form-check-input {
    float: unset;
}

.cust-switch {
    padding-left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.cust-switch p {
    margin-bottom: 0;
    color: var(--white);
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.form-check-input {
    width: 58px;
    min-width: 58px;
    height: 26px;
    border: 0;
}

.form-switch .form-check-input {
    margin-left: unset;
    border-radius: 50px;
    background: rgba(58, 199, 212, 0.20);
    box-shadow: 0px 6px 8px 3px rgba(0, 0, 0, 0.10) inset;
    border: 0;
    position: relative;
}

.form-switch .form-check-input::before {
    width: 18px;
    height: 18px;
    border-radius: 50px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 4px;
    background-color: white;
    content: "";
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    -ms-border-radius: 50px;
    -o-border-radius: 50px;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
}

.form-check-input:checked {
    background: #3AC7D4;
    border-radius: 50px;
    box-shadow: 0px 6px 8px 3px rgba(0, 0, 0, 0.10) inset;
    position: relative;
}

.form-check-input:checked::before {
    width: 18px;
    height: 18px;
    border-radius: 50px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: auto;
    right: 4px !important;
    background-color: white;
    content: "";
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    -ms-border-radius: 50px;
    -o-border-radius: 50px;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
}


.form-label {
    color: var(--white);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.form-control {
    border-radius: 8px;
    border: 2px solid rgba(58, 199, 212, 0.15);
    background: rgba(58, 199, 212, 0.10);
    box-shadow: 0px 4px 19px 0px rgba(0, 0, 0, 0.65) inset;
    backdrop-filter: blur(25px);

    color: var(--white);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    height: 46px;
    padding-right: 45px !important;
}

.form-control:focus,
.form-control:active {
    border-radius: 8px;
    border: 2px solid rgba(58, 199, 212, 1);
    background: rgba(58, 199, 212, 0.2);
    box-shadow: 0px 4px 19px 0px rgba(0, 0, 0, 0.20) inset !important;
    backdrop-filter: blur(25px);
    color: var(--white);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.px-badge {
    position: absolute;
    bottom: 9px;
    right: 9px;
    border-radius: 4px;
    background: #3AC7D4;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.24);
    color: var(--black);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    width: 28px;
    height: 28px;
    display: flex;
    justify-content: center;
    user-select: none;
}

.form-group {
    position: relative;
}

.btn.btn-primary {
    width: fit-content;
    border-radius: 6px;
    background: #3AC7D4;
    padding: 8px 24px;
    color: var(--black);
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    -ms-border-radius: 6px;
    -o-border-radius: 6px;
    border: 1px solid var(--primary);
}

.btn.btn-primary:hover {
    color: var(--primary);
    border: 1px solid var(--primary);
    background-color: rgba(58, 199, 212, 0.2);
}

.result-card .title * {
    text-align: center;
    color: var(--white);
    font-size: 36px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin-bottom: 24px;
}

#result {
    color: var(--primary);
    text-align: center;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

#result .comment {
    opacity: 0.5;
}


.main-details {
    max-width: 760px;
}

.main-details h1 {
    color: var(--primary);
    font-size: 50px;
    font-style: normal;
    font-weight: 700;
    line-height: 62px;
    margin-bottom: 40px;
}

.main-details .disc * {
    color: var(--white);
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 40px;
}

.main-details .disc span {
    color: var(--primary);
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.main-details li {
    padding-left: 40px;
    position: relative;
    color: var(--white);
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 16px;
}

.main-details li img {
    position: absolute;
    top: 0;
    left: 0;
}

.main-details li span {
    color: var(--primary);
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

/* =================== Main Content End =================== */


.main-content .message {
    margin-right: 24px;
}

.main-content .message * {
    color: #FFF;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: end;
}

.main-content .message a {
    color: var(--primary);
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-decoration-line: underline !important;
    text-decoration-style: solid !important;
    text-decoration-skip-ink: none !important;
    text-decoration-thickness: auto !important;
    text-underline-offset: auto !important;
    text-underline-position: from-font !important;
    -moz-text-decoration-line: underline !important;
    -moz-text-decoration-style: solid !important;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.main-content .message a:hover {
    color: var(--white);
}


.main-content .message img {
    animation: pulse 1.2s infinite;
    -webkit-animation: pulse 1.2s infinite;
}

@keyframes pulse {
    10% {
        transform: scale(1.3)
    }

    20% {
        transform: scale(1)
    }

    30% {
        transform: scale(1.3)
    }
}





/* Footer */
.footer {
    border-top: 1px solid var(--primary);
    width: 100%;
    max-width: calc(1770px + 40px);
    padding: 50px 20px 0;
    margin: 40px auto 0px;
}

.footer .tagline * {
    margin-top: 30px;
    color: var(--white);
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    max-width: 240px;
}

.footer .tagline a {
    color: var(--primary);
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.footer .tagline a:hover {
    color: var(--warning);
}

.footer .title * {
    color: var(--white);
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: uppercase;
}

.footer .title * {
    color: var(--primary);
    font-size: 22px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.footer .menu * {
    color: var(--white);
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    margin-bottom: 6px;
    /* opacity: 0.8; */
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.footer .menu *:hover {
    color: var(--primary);
    opacity: 1;
}




/* Filter.html Start */

.form-control:disabled {
    background-color: unset !important;
    opacity: 0.4;
    cursor: not-allowed;
}

input[type="color"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    background: none;
    border-radius: 8px;
    width: 80px;
    height: auto;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid rgba(58, 199, 212, 0.15);
    padding: 4px;
    box-shadow: 0 0 0 2px #0000;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
}

/* Chrome / Safari */
input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 0;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
}

input[type="color"]::-webkit-color-swatch {
    border: none;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
}

/* Firefox */
input[type="color"]::-moz-color-swatch {
    border: none;
    border-radius: 8px;
      -webkit-border-radius: 8px;
      -moz-border-radius: 8px;
      -ms-border-radius: 8px;
      -o-border-radius: 8px;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
}

.filter-result .filter-title {
    color: var(--white);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.filter-result .pixel {
    display: inline-block;
    background-color: var(--primary);
    min-width: 50px;
    min-height: 50px;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
}

.filter-result .copyable {
    font-size: 18px;
    color: var(--white);
}

.filter-result code {
    color: var(--primary);
    font-weight: 700;
}

.filter-result b {
    color: var(--white);
    font-weight: 400;
    font-size: 16px;
}

.filter-result .copy {
    font-size: 13px;
    margin-left: 8px;
    opacity: 0.6;
    cursor: pointer;
}

.filter-result .copy:hover {
    opacity: 0.8;
}

.filter-result .loss b {
    color: var(--warning);
}

.filter-result .pos {
    background-color: var(--success);
    color: var(--black);
    display: none;
    font-size: 12px;
    padding: 2px 4px;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
}

.filter-result .pos.copied {
    background-color: var(--success);
    color: var(--black);
    display: inline-block;
    font-size: 12px;
    padding: 2px 4px;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
}

.filter-result .copyable:has(.pos.copied) .copy {
    display: none;
}
/* Filter.html End */