@import url('https://fonts.googleapis.com/css2?family=Golos+Text:wght@400..900&display=swap');
@import url('stylesheet.css');

/*font-family: "Golos Text", sans-serif;*/
/*font-family: 'Amazon Ember';*/

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

button {
    border: none;
    cursor: pointer;
    background-color: transparent;
}

a {
    text-decoration: none;
}

/**/

.body {
    background-color: #050505;
}

.content {
    display: flex;
    min-height: 100vh;
    max-width: 1440px;
    margin: 0 auto;
}

.loaderWrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #050505;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1001;
}

.loader {
    transform: rotateZ(45deg);
    perspective: 1000px;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    color: #7CFF3F;
}

.loader:before,
.loader:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: inherit;
    height: inherit;
    border-radius: 50%;
    transform: rotateX(70deg);
    animation: 1s spin linear infinite;
}
.loader:after {
    color: #FF3D00;
    transform: rotateY(70deg);
    animation-delay: .4s;
}

@keyframes rotate {
    0% {
        transform: translate(-50%, -50%) rotateZ(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotateZ(360deg);
    }
}

@keyframes rotateccw {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(-360deg);
    }
}

@keyframes spin {
    0%,
    100% {
        box-shadow: .2em 0px 0 0px currentcolor;
    }
    12% {
        box-shadow: .2em .2em 0 0 currentcolor;
    }
    25% {
        box-shadow: 0 .2em 0 0px currentcolor;
    }
    37% {
        box-shadow: -.2em .2em 0 0 currentcolor;
    }
    50% {
        box-shadow: -.2em 0 0 0 currentcolor;
    }
    62% {
        box-shadow: -.2em -.2em 0 0 currentcolor;
    }
    75% {
        box-shadow: 0px -.2em 0 0 currentcolor;
    }
    87% {
        box-shadow: .2em -.2em 0 0 currentcolor;
    }
}


/**/

.content .aside {
    padding: 0 8px;
    border-right: 1px solid #1F1F1F;
}

.content .aside .logo {
    padding: 16px 5px 32px;
}

.content .aside .logo img {
    width: 38px;
    height: 38px;
}

/**/

.nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    grid-row-gap: 16px;
}

.nav .link {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 48px;
    width: 48px;
    border: 1px solid transparent;
    border-radius: 50%;
    transition: 0.3s;
}

.nav .link:hover {
    border: 1px solid #999999;
}

.nav .link.active {
    border: 1px solid #2DCAFF40;
}

/**/

.content .bside {
    width: calc(100% - 64px);
}

.header {
    display: flex;
    justify-content: space-between;
    grid-column-gap: 32px;
    padding: 17px 16px;
    border-bottom: 1px solid #1F1F1F;
}

/**/

.header .lside {
    display: flex;
    grid-column-gap: 32px;
}

.profile {
    display: flex;
    align-items: center;
}

.profile .arrow {
    margin-right: 4px;
}

.profile .arrow img {
    height: 16px;
    width: 16px;
}

.profile .image {
    height: 36px;
    width: 36px;
    border-radius: 50%;
    background-color: #FFFFFF;
    margin-right: 8px;
}

.profile .text .name {
    font-family: "Golos Text", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    color: #FFFFFF;
}

.profile .text .number {
    font-family: "Golos Text", sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    color: #999999;
    margin-top: 4px;
}

.profile .line {
    width: 1px;
    height: 15px;
    background-color: #595959;
    margin: 0 16px;
}

.profile .bell {
    height: 16px;
    width: 16px;
}

/**/

.headerBalance .label,
.headerSuccess .label {
    font-family: "Golos Text", sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 24px;
    color: #999999;
}

.headerBalance .value,
.headerSuccess .value {
    font-family: "Golos Text", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    color: #FFFFFF;
}

/**/

.header .rside .border {
    padding: 1px;
    border-radius: 6px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(0, 0, 0, 0.5) 100%);
    overflow: hidden;
}

.header .rside label {
    display: flex;
    align-items: center;
    grid-column-gap: 12px;
    background-color: #191919;
    border-radius: 6px;
    padding: 8px 12px;
}

.header .rside input {
    font-family: "Golos Text", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    color: #999999;
    background-color: transparent;
    border: none;
    outline: none;
}

/**/

.main {
    display: flex;
    grid-column-gap: 8px;
    padding: 8px;
}

.main .chart {
    max-width: 1000px;
    width: 100%;
}

.main .topChart {
    display: flex;
    justify-content: space-between;
    grid-column-gap: 20px;
}

.main .chartWrapper {
    position: relative;
}

.main .chartWrapper .win {
    font-family: "Golos Text", sans-serif;
    font-weight: 600;
    font-size: 40px;
    line-height: 44px;
    color: #0FEDBE;
    top: -15px;
    right: 30px;
    position: absolute;
    display: none;
}

/**/

.currency {
    padding: 12px 24px;
}

.main .topChart .addition {
    display: none;
    padding: 12px 24px;
}

.currency .label {
    font-family: 'Amazon Ember';
    font-weight: 800;
    font-size: 20px;
    line-height: 24px;
    color: #FFFFFF;
    text-transform: uppercase;
}

.currency .values {
    display: flex;
    align-items: center;
    grid-column-gap: 8px;
    margin-top: 12px;
}

.currency .values .current {
    font-family: "Golos Text", sans-serif;
    font-weight: 600;
    font-size: 40px;
    line-height: 44px;
    color: #0FEDBE;
}

.currency .values .extra p {
    font-family: "Golos Text", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    color: #0FEDBE;
}

.currency .values .extra p:nth-child(2) {
    margin-top: 4px;
}

/**/

.panel {
    max-width: 350px;
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
}

.panel .top {
    padding: 16px 24px;
    background-color: #1F1F1F;
}

.panel .top p {
    font-family: "Golos Text", sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: #FFFFFF;
}

.panel .tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.panel .tabs .tab {
    font-family: "Golos Text", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    color: #999999;
    text-align: center;
    width: 100%;
    padding: 16px;
    border-bottom: 1px solid #999999;
    cursor: not-allowed;
}

.panel .tabs .tab.active {
    color: #0FEDBE;
    background: linear-gradient(180deg, rgba(9, 135, 108, 0.1) 32.15%, rgba(15, 237, 190, 0.25) 100%);
    border-bottom: 2px solid #0FEDBE;
    cursor: pointer;
}

.toggleSwitch {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 20px;
}

.toggleSwitch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    border-radius: 34px;
    transition: 0.3s;
    border: 2px solid #000;
}

.slider::before {
    content: "";
    position: absolute;
    height: 12px;
    width: 12px;
    left: 4px;
    bottom: 2px;
    background-color: #000;
    border-radius: 50%;
    transition: 0.3s;
}

input:checked + .slider {
    background-color: #00bcd4;
    border-color: #00bcd4;
}

input:checked + .slider::before {
    transform: translateX(14px);
}

.switchers {
    padding: 16px 24px;
    border-bottom: 1px dashed #1F1F1F;
}

.switchers .switcher {
    display: flex;
    align-items: center;
    grid-column-gap: 8px;
}

.switchers .switcher .text {
    font-family: "Golos Text", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 18px;
    color: #FFFFFF;
}

.switchers .switcher:nth-child(2) {
    margin-top: 16px;
}

/**/

.panel .bottom {
    padding: 16px 24px;
}

.panel .bottom .grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 8px;
    grid-row-gap: 8px;
}

.panel .bottom .grid .label {
    font-family: "Golos Text", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    color: #999999;
}

.panel .bottom .grid .value {
    font-family: "Golos Text", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    color: #FFFFFF;
    text-align: right;
}

.panel .bottom .buttonWrapper {
    margin-top: 16px;
}

.panel .bottom .buttonWrapper .button {
    font-family: "Golos Text", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 18px;
    color: #050505;
    background-color: #0FEDBE;
    border-radius: 4px;
    padding: 11px;
    width: 100%;
    transition: 0.3s;
}

.panel .bottom .buttonWrapper .button:hover {
    transform: scale(1.05);
}

/**/

.statistics {
    width: 100%;
    padding: 8px;
}

.statistics .table {
    max-width: 1000px;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    background-color: #1F1F1F;
    padding: 0 20px 20px;
}

.statistics .table tr:nth-child(n+3) {
    display: none;
}

.statistics .table tr:nth-child(1) th {
    padding: 22px;
    border-bottom: 1px solid #050505;
}

.statistics .table th,
.statistics .table td {
    font-family: "Golos Text", sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 20px;
    color: #FFFFFF;
    text-align: left;
}

.statistics .table td {
    padding: 11px 22px;
}

.statistics .table .empty td {
    text-align: center;
    padding: 16px;
    opacity: 0.3;
}

.statistics .table .sell {
    color: #3FD5FF;
}

.statistics .table .buy,
.statistics .table .success {
    color: #7CFF3F;
}

/**/

.mobildeHeader {
    display: none;
    justify-content: space-between;
    align-items: center;
    padding: 24px 26px 20px;
}

.mobildeHeader .logo img {
    height: 38px;
    width: 38px;
    border-radius: 50%;
}

.mobildeHeader .currency {
    display: flex;
    justify-content: center;
    align-items: center;
    grid-column-gap: 4px;
}

.mobildeHeader .currency p {
    font-family: "Golos Text", sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #FFFFFF;
    text-transform: uppercase;
}

.mobildeHeader .currency img {
    height: 16px;
    width: 16px;
}

/**/

.modal {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #050505B2;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 1000;
}

.modal .wrapper {
    padding: 0 20px;
}

.modal .container {
    background: #161616CC;
    max-width: 361px;
    padding: 24px;
}

.modal h2 {
    font-family: "Golos Text", sans-serif;
    font-weight: 900;
    font-size: 23px;
    color: #FFFFFF;
    text-align: center;
}

.modal .text {
    display: none;
    font-family: "Golos Text", sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #FFFFFF;
    text-align: center;
    margin-top: 16px;
}

.modal .text span {
    color: #7CFF3F;
}

.modal form {
    display: flex;
    flex-direction: column;
    grid-row-gap: 16px;
    margin-top: 16px;
}

.modal input {
    font-family: "Golos Text", sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #848484;
    padding: 4px 12px;
    width: 100%;
    border-radius: 8px;
    background-color: transparent;
    border: 1px solid #858585;
    outline: none;
}

.modal .button,
.buttonSend {
    font-family: "Golos Text", sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #FFFFFF;
    padding: 4px 12px;
    border-radius: 16px;
    background: linear-gradient(0deg, rgba(198, 216, 248, 0.1), rgba(198, 216, 248, 0.1)),
        radial-gradient(58.24% 134.23% at 33.81% 109.38%, rgba(11, 66, 219, 0.405) 0%, rgba(10, 68, 228, 0) 95.37%) /* warning: gradient uses a rotation that is not supported by CSS and may not behave as expected */,
        radial-gradient(82.79% 104.69% at 20.17% -22.66%, rgba(29, 82, 160, 0.5) 0%, rgba(29, 82, 160, 0.09) 100%) /* warning: gradient uses a rotation that is not supported by CSS and may not behave as expected */,
        radial-gradient(105.11% 170.6% at 105.11% -15.62%, rgba(35, 72, 176, 0.15) 19.66%, rgba(20, 61, 210, 0.018) 71.06%) /* warning: gradient uses a rotation that is not supported by CSS and may not behave as expected */,
        radial-gradient(110.23% 82.81% at 50% 17.19%, rgba(255, 255, 255, 0.098) 0%, rgba(255, 255, 255, 0.038) 100%);
    box-shadow: 0px 10px 30px 0px #2951AECC,
        0px 5px 20px 0px #62A1E033,
        -5px -5px 20px 0px #7588DE66,
        0px 0px 10px 0px #FFFFFF80 inset;
    width: fit-content;
    margin: 0 auto;
    display: flex;
}

.modal .close {
    position: absolute;
    top: 50px;
    right: 50px;
}

.modal .close img {
    height: 28px;
    width: 28px;
}

@media screen and (max-width: 1024px) {
    .main {
        flex-direction: column;
        grid-row-gap: 8px;
    }
}

@media screen and (max-width: 895px) {
    .header,
    .content .aside,
    .panel .top,
    .panel .tabs,
    .panel .bottom .grid {
        display: none;
    }

    .content .bside {
        width: 100%;
    }

    .mobildeHeader {
        display: flex;
    }

    .panel {
        display: flex;
        flex-direction: column-reverse;
        margin: 0 auto;
    }

    .switchers {
        border-bottom: none;
    }

    .panel .bottom .buttonWrapper {
        margin-top: 0;
    }

    .main .topChart .addition {
        display: block;
    }
}

@media screen and (max-width: 768px) {
    #chart {
        height: 358px;
    }

    .statistics .table th:nth-child(3),
    .statistics .table th:nth-child(4) {
        display: none;
    }

    .statistics .table td:nth-child(3),
    .statistics .table td:nth-child(4) {
        display: none;
    }
}

@media screen and (max-width: 525px) {
    .statistics .table th, .statistics .table td {
        font-size: 16px;
    }

    .panel {
        max-width: none;
    }

    /**/

    .modal .close {
        position: absolute;
        top: 20px;
        right: 20px;
    }

    .modal .close img {
        height: 18px;
        width: 18px;
    }
}

@media screen and (max-width: 425px) {
    .statistics .table tr:nth-child(1) th {
        padding: 22px 12px;
    }

    .statistics .table td {
        padding: 11px 12px;
    }

    .currency, .addition {
        padding: 12px 0px;
    }

    .main .chartWrapper .win {
        font-size: 28px;
    }
}

