html{
    font-size: 1vw;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/static/font/Montserrat-Regular.ttf'  ) format('truetype');
  }

body{
    justify-content: space-between;
    min-height: 100vh;
    background-color: rgba(22, 22, 26, 1);
    font-family: 'Montserrat';
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 2rem;
    padding-bottom: 1.5rem;
}
.error{
    color: red;
    text-align: center;
}
.error:empty{
    display: none;
}
.hasDatepicker{
    cursor: pointer;
}
a{
    text-decoration: none;
}

.close-moddal-but{
    background-color: rgba(30, 30, 30, 1);
    transition: all 0.5s ease;
    cursor: pointer;
    text-align: center;
    padding: 0.4rem 1.5rem;
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    font-size: 0.8rem;
}

.close-moddal-but:hover{
     background-color: rgba(27, 27, 27, 1);
}

#startWord, #startWord2{
    display: none;
}
.gap0{
    gap: 0!important;
}
.gap5{
    gap: 0.25rem;
}
.gap10{
    gap: 0.5rem;
}
.gap15{
    gap: 0.75rem;
}
.gap20{
    gap: 1rem;
}
.gap30{
    gap: 1.5rem;
}
.img15{
    height: 0.75rem;
}
.img20{
    height: 1rem;
}
.img25{
    height: 1.3rem;
}
.img30{
    height: 1.5rem;
}
.img50{
    height: 2.5rem;
}
.green-text{
    color: rgba(75, 141, 51, 1);
}
.white-text{
    color: white;
}
.grey-text{
    color: rgba(255, 255, 255, 0.5);
}
.green-text{
    color:rgba(75, 141, 51, 1) ;
}

.hoverGrin:hover{
    color: rgba(75, 141, 51, 1);
}

.hoverGrin-stroke:hover path{
    stroke: rgba(75, 141, 51, 1);
}
.hoverGrin-fill:hover path{
    fill: rgba(75, 141, 51, 1);
}

.f07{
    font-size: 0.7rem;
}

.f08{
    font-size: 0.8rem;
}

.f12{
    font-size: 1.2rem;
}
.f2{
    font-size: 2rem;
    font-weight: 600;
}
.logo-container{
    width: 8rem;
    position: relative;
}
#addBalans .switchable_block_chapter{
    background-color: rgba(30, 30, 30, 0.5);
}
.logo{
    width: 8rem;
    transition: all 0.5s ease;
    position: absolute;
    transform: translate(-50%,-50%);
    top: 50%;
    left: 50%;
}
.logo:hover{
    width: 11rem;
}

.alv2{
    height: 3rem;
}

.button-green, .button-green2{
    transition: all 0.5s ease;
    cursor: pointer;
    text-align: center;
    padding: 0.4rem 1.5rem;
    color: white;
    text-decoration: none;
    background-color: rgba(75, 141, 51,  0.5);
    border-radius: 0.5rem;
    font-size: 0.8rem;
    justify-content: center;
}
.button-green2{
    padding: 0.2rem 1.7rem;
}

.button-green:hover, .button-green2:hover{
    background-color: rgba(75, 141, 51, 1);
}

.button-green:hover,  .button-green2:hover{
    box-shadow: 0px 0px 0.5rem 0px rgba(75, 141, 51, 1);

}

.input-container-balans{
    position: relative;
}

.input-container-balans input{
    padding-left: 2rem;
    width: 100%;
}

.input-container-balans .balans-coins-icon{
    height: 1rem;
    left: 59%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.input-container-balans .balans-rub-icon{
    height: 1rem;
    left: 3%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}


.input-container-balans .balans-arrow-icon{
    height: 1.5rem;
    left: 49%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

#balans-take-number{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left:66%;
}




.avatar-block{
    border-radius: 1rem;
    padding: 0.4rem;
    background-color: rgba(255, 255, 255, 0);
    transition: all 0.6s ease;
    cursor: pointer;
    display: flex;
    gap: 0.7rem;
    align-items: center;
}

.avatar-block:hover{
    background-color: rgba(255, 255, 255, 0.2);
}

.avatar{
    background-color: rgba(247, 127, 160, 1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem;
    color: white;
    font-size: 0.9rem;
    width: 2.5rem;
    height: 2.5rem;
}

.profil-menu{
    border-radius: 1rem;
    padding: 1rem;
    background-color: rgba(37, 37, 37, 1);
    border: 0.1rem solid rgba(255, 255, 255, 0.1);
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    position: absolute;
    right: 0;
    top: 120%;
    min-width: 14rem;
    z-index: 5;
    color: white ;
}

.profil-menu a{
    color: white;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.profil-menu a:hover{
    opacity: 1;
}

.exit{
    display: flex;
    gap: 0.4rem;
    align-items: center;
    color: white;
    transition: all 0.5s ease;
    text-decoration: none;
    opacity: 0.5;
}


.exit:hover{
    opacity: 1;
}

.modal-photo-img{
    width: 100%;
    border-radius: 1rem;
}

.block{
    border-radius: 0.7rem;
    padding: 0.5rem 1rem;
    background-color: rgba(37, 37, 37, 0.5);
    border: 0.1rem solid rgba(255, 255, 255, 0.1)
}

.mini-block{
    border-radius: 0.5rem;
    padding: 0.3rem 0.7rem;
    background-color: rgba(67, 67, 67, 0.25);
    cursor: pointer;
    transition: all 0.5s ease;
}

.mini-block:hover{
    background-color: rgba(67, 67, 67, 0.5);
}
.header{
    margin-bottom: 2rem;
}

.padL-1{
    padding-left: 1rem;
}

.padR-1{
    padding-right: 1rem;
}
.nav-button{
    padding: 0.5rem 0.8rem;
    cursor: pointer;
    border-radius: 0.6rem;
    transition: all 0.5s ease;
}

.nav-button:hover{
    background-color: rgba(37, 37, 37, 0.5);
}
.nav-button.active{
    background-color: rgba(75, 141, 51, 0.5);
}
.white-line{
    width: 100%;
    background-color: rgba(255, 255, 255, 0.5);
    height: 0.1rem;
}
.switchable_block{
    display: none;
    flex-direction: column;
    gap:0.25rem;
    border: 0.1rem solid rgba(255, 255, 255, 0.1);
    background: rgba(37, 37, 37, 0.5);
    padding: 0.5rem;
    border-radius: 0.8rem;
}
.switchable_block.active{
    display: flex;
}
.switchable_block_chapter{
    background: rgba(37, 37, 37, 0.5);
    border-radius: 0.8rem;
    padding: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.cursor-pointer{
    cursor: pointer;
}

input{
    border: 0.1rem solid  rgba(163, 163, 163, 0.5);
    border-radius: 0.5rem;
    padding: 0.4rem 0.7rem;
    color: white;
    outline: none;
    background-color: rgba(163, 163, 163, 0);
    transition: all 0.5s ease;
}
input:hover{
    border-color: rgba(75, 141, 51, 1);
}
.del-block{
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    padding: 1rem 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.help-container{
    position: relative;
    cursor: pointer;
}
.help{
    display: none;
    position: absolute;
    top: 125%;
    left: 0%;
    border: 0.1rem solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1rem;
    width: 15rem;
    font-size: 0.64rem;
    background-color: rgba(37, 37, 37, 0.7);
    backdrop-filter: blur(1rem);
    z-index: 3;
}
.help-container:hover .help{
    display: inline;
}

select{
    color: rgba(255, 255, 255, 1);
    font-size: 0.8rem;
    border: 0.1rem solid  rgba(163, 163, 163, 0.5);
    background-color: rgba(163, 163, 163, 0);
    border-radius: 0.3rem;
    outline: none;
    padding: 0.4rem;
}
option{
    background-color: rgba(33, 33, 34, 1);
    border-radius: 0.3rem;
    color: rgba(255, 255, 255, 1);
}

.flex-1{
    flex: 1;
}
.flex-2{
    flex: 2;
}

.radio-group {
  display: inline-flex;
  background: rgba(67, 67, 67, 0.25);
  border-radius: 1rem;
  overflow: hidden;
  border: 0.1rem solid #444;
  font-size: 0.7rem;
}

.radio-line-custom{
    background-color: rgba(67, 67, 67, 0.5);
    border-radius: 1rem;
    height: 0.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}
.radio-line-custom input[type="radio"] {
    display: none;
}

.radio-line-custom label{
    position: relative;
    width: 0.5rem;
}

.radio-line-custom .line-active{
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    height: 0.7rem;
    background-color: rgba(75, 141, 51, 1);
    width: 1%;    
    transition: all 0.3s ease;
}


.alv{
    min-height: 3rem;
    display: flex;
    justify-content: center;
    z-index: 0!important;
}
.alv svg{
    width: 100%;
    z-index: 3;
    position: relative;
}

.alv a{
    position: relative;
    border-radius: 0.2rem;
}

.alv a::before{
    content: "";
    position: absolute;
    border-radius: 0.5rem;
    width: 100%;
    height: 80%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background:purple;
    transition: all 1s ease;
    filter: blur(2.5rem);
    opacity: 0;
    z-index: 0;
}



.alv a:hover rect {
    animation: alvirityDev 3s linear infinite;
    transform-origin: center;
}

.alv a:hover:before {
    animation: alvirityDev2 3s linear infinite;
}



@keyframes alvirityDev {
        0% {
            transform: scale(1);
        }
        50%{
            transform: scale(1.3);
            
        }

        100% {
            transform:scale(1);
        }
}

@keyframes alvirityDev2 {
    0% {
        opacity: 0.5;
        width: 100%;
        height: 80%;
    }
    50%{
        opacity: 0.7;
        width: 120%;
        height: 100%;
        
    }

    100% {
        opacity: 0.5;
        width: 100%;
        height: 80%;
    }
}



.radio-line-custom label::after {
    content: " ";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0rem;
    white: white;
    background-color: rgba(75, 141, 51, 0.5);
    border: 0.4rem solid rgba(255, 255, 255, 1);
    border-radius: 50%;
    cursor: pointer;
    user-select: none;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    transition: all 0.4s ease;
}

.radio-line-custom input[type="radio"]:hover + label::after{
    padding: 0.2rem;
}
.radio-line-custom input[type="radio"]:checked + label::after {
    padding: 0.3rem;
    border-width: 0.4rem;
}


.radio-group input[type="radio"] {
    display: none;
}


.radio-group label {
  padding: 0.5rem 1rem;
  color: white;
  cursor: pointer;
  user-select: none;
  transition: all 0.4s ease;
  border-left: 0.1rem solid #444;
  display: flex;
  align-items: center;
  justify-content: center;
  text-wrap: nowrap;
}

.radio-group label:first-of-type {
  border-left: none;
}
.radio-group input[type="radio"]:hover + label{
    background-color: rgba(67, 67, 67, 0.5);
}
.radio-group input[type="radio"]:checked + label {
  background-color: rgba(75, 141, 51, 1);
}

.percent-input{
    font-size: 0.7rem;
    width: 2.5rem;
    padding: 0.3rem;
}

.percent-ap{
    position: absolute;
    right: 0.25rem;
    top: 50%;
    transform: translateY(-50%);
}

.slider-range, .slider-range-one-number  {
  appearance: none;
  height: 0.5rem;
  background: rgba(67, 67, 67, 1);
  border-radius: 0.4rem;
  outline: none;
    padding: 0rem;
}
.slider-range-one-number{
    height: 0.75rem;
}
.range-container{
    position: relative;
}


.slider-range-span{
    position: absolute;
    top: calc(100% + 0.5rem);
    text-wrap: nowrap;
    transform: translateX(-50%);
}

.ui-slider-handle{
    appearance: none;
    width: 1.1rem;
    height: 1.1rem;
    background-color: rgba(75, 141, 51, 1)!important;
    border: 0.3rem solid rgba(255, 255, 255, 1)!important;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0px 0.06rem 0.2rem 0px rgba(0, 0, 0, 0.25);
    z-index: 1;
    outline: none;
    top: 50%!important;
    transform: translateY(-50%);
}

.ui-slider-range{
    background-color: rgba(75, 141, 51, 1);
}

.modal-lg-custom{
    --bs-modal-width: 30rem;
}

.modal-xl-custom{
    --bs-modal-width: 60rem;
}

.modal-content{
    background: rgba(37, 37, 37, 1);
    border-radius: 1rem;
    padding: 1rem;
}

.exit-modal{
    position: absolute;
    top: 1.1rem;
    right: 1rem;
}

.exit-modal svg{
    height: 1rem;
    width: 1rem;
}

#addCoinsSite{
    background-color: rgba(33, 33, 34, 1);
    border: 0.1rem solid  rgba(163, 163, 163, 0.5);
    font-size: 0.8rem;
    width: 100%;
}
.iconAddCoins{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 4rem;
}

  .switch {
      position: relative;
      display: inline-block;
      width: 60px;
      height: 34px;
    }

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

    .slider {
        height: 1.5rem;
      position: absolute;
      cursor: pointer;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: #555;
      transition: 0.4s;
      border-radius: 1.5rem;
    }

    .slider:before {
      position: absolute;
      content: "";
      height: 1.5rem;
      width: 1.5rem;
      left: 0;
      background-color: white;
      transition: 0.4s;
      border-radius: 50%;
    }

    input:checked + .slider {
      background-color: rgba(75, 141, 51, 1);
    }

    input:checked + .slider:before {
        left: 100%;
        transform: translateX(-100%);
    }
    .data-range, .fit-content{
        width: fit-content;
    }

    .data-range input{
        border: none;
        width: 5.3rem;
    }
    .data-range input:hover{
        color: rgba(75, 141, 51, 1);
    }
    .ui-datepicker-title  select{
        color: black;
    }
    .contact, .contact2, .contact3{
    text-decoration: none;
    font-size: 0.8rem;
    color: white;
}
.contact img, .contact2 img, .contact3 img{
    filter: grayscale(100%);
    height: 1.7rem;
}
.contact:hover img, .contact2:hover img, .contact3:hover img{
    filter: grayscale(0%);
}
.contact:hover{
    color: #2F9456;
}
.contact2:hover{
    color: #2AABEE;
}
.contact3:hover{
    color: #C6B206;
}
#bottom-info{
        background-color: rgba(37, 37, 37, 0.5);
    border: 0.1rem solid rgba(255, 255, 255, 0.1);
    border-radius: 0.3rem;
    padding: 1.1rem;
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.loader{
    display: none;
}

  .spinner {
    width: 2rem;
    height: 2rem;
    border: 0.4rem solid #ccc;
    border-top: 0.4rem solid #1e88e5;
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }

  @keyframes spin {
    100% { transform: rotate(360deg); }
  }

  
.background1{
    background-color: rgba(18, 255, 227, 0.2);
    width: 19rem;
    height: 7.5rem;
    filter: blur(7rem);
    border-radius: 50%;
    position: absolute;
    top: 6rem;
    left: 20rem;
     z-index: -1;
}
.background2{
    background-color:rgba(184, 255, 18, 0.2);
    width: 11rem;
    height: 7.5rem;
    filter: blur(7rem);
    border-radius: 50%;
    position: absolute;
    top: 5rem;
    left: 70rem;
     z-index: -1;
}
.background3{
    background-color: rgba(255, 18, 231, 0.2);
    width: 5rem;
    height: 7rem;
    filter: blur(3rem);
    border-radius: 50%;
    position: absolute;
    top: 55vh;
    left: 14.5rem;
     z-index: -1;
}
.background4{
    background-color:rgba(16, 41, 228, 0.2);
    width: 14rem;
    height: 12rem;
    filter: blur(3rem);
    border-radius: 50%;
    position: absolute;
    top: 40vh;
    right: 10rem;
     z-index: -1;
}
.background5{
    background-color: rgba(181, 133, 200, 0.2);
    width: 50rem;
    height: 30rem;
    transform: rotate(25deg);
    filter: blur(3rem);
    border-radius: 50%;
    position: absolute;
    top: -25rem;
    left: -10rem;
     z-index: -1;
}
.background6{
    background-color:rgba(133, 148, 200, 0.2);
    width: 14rem;
    height: 25rem;
    filter: blur(3rem);
    border-radius: 50%;
    position: absolute;
    top: 0vh;
    right: 0rem;
     z-index: -1;
}

.background7{
    background-color:rgba(133, 148, 200, 0.2);
    width: 14rem;
    height: 20rem;
    filter: blur(3rem);
    border-radius: 50%;
    position: absolute;
    top: 70vh;
    right: 40rem;
    z-index: -1;
}
.background8{
    background-color:rgba(75, 141, 51, 0.5);
    width: 50vh;
    height: 50vh;
    filter: blur(7rem);
    border-radius: 50%;
    position: absolute;
    top: 30vh;
    left: 25rem;
    z-index: -1;
}


.history-list-block{
    display: none;
}

.info-moder{
    background-color: rgba(30, 30, 30, 1);
    cursor: pointer;
}

.info-moder-help{
    display: none;
}
.custom-checkbox{
  border: 0.1rem solid rgba(240, 240, 240, 1);
  border-radius: 0.25rem;
  height: 1rem;
  width: 1rem;
  cursor: pointer;
  display: inline-block;
}
.custom-checkbox.checked{
  background-color: rgba(240, 240, 240, 1);
  position: relative;
}
.custom-checkbox.checked::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0.75rem;
    height: 0.75rem;
    transform: translate(-50%, -50%);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12' /%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.custom-checkbox-container{
  display: flex;
  gap: 0.25rem;
  align-items: center;
  cursor: pointer;
  border-bottom: none;
}

@media (max-width:991px){
    html{
        font-size: 4vw;
    }
    body{
        overflow-x: hidden;
        width: 100vw;
    }
    
    .alv{
        min-height: 2rem;
    }
    .login-container .button-green{
        font-size: 1rem;
        padding: 1rem;
    }
    .login-container h1{
        font-size: 1.25rem;
    }

    .login-container .f08, #bottom-info .f07{
        font-size: 0.95rem;
    }
    #bottom-info div{
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    #bottom-info a{
        font-size: 1.1rem;
    }
    #bottom-info img{
        height: 2rem;
    }
    .background2 {
        background-color: rgba(184, 255, 18, 0.2);
        width: 11rem;
        height: 7.5rem;
        filter: blur(4rem);
        border-radius: 50%;
        position: absolute;
        top: 46rem;
        right: 15rem;
        z-index: -1;
    }
    .background7{
        right: 0;
    }
    .background5 {
        background-color: rgba(181, 133, 200, 0.2);
        width: 20rem;
        height: 30rem;
        transform: rotate(25deg);
        filter: blur(3rem);
        border-radius: 50%;
        position: absolute;
        top: -3rem;
        left: -3rem;
        z-index: -1;
    }
    .background2{
        top: 50vh;;
        right: 90vw;
    }
    .background1{
        left: 5rem;
    }
    .background2 {
        top: 60vh;
        right: auto;
        left: 0%;
    }

   .button-green2{
    width: 100%;
   }
    .nav-domain{
        position: fixed;
        bottom: 0;
        left: 0;
        width:100%;
        z-index: 5;
        gap: 0.25rem;
        padding: 0.3rem;
        background-color: rgba(37, 37, 37, 0.9);
    }
    .nav-domain img{
        height: 1.5rem;
    }
    .nav-button {
        flex-direction: column;
        flex: 1;
        font-size: 0.8rem;
        text-align: center;
        padding: 0.25rem;
        line-height: 1rem;
    }
    .nav-button.active{
        background-color: rgba(75, 141, 51, 1);
    }

    .data-range {
        width: 100%;
        justify-content: center;
        font-size: 1rem;
    }
    .data-range input {
        width: 7rem;
    }
    .data-range img{
        height: 1.5rem;
    }

    #container-list-position, #history-list-container{
        overflow-x: scroll;
    }
    #container-list-position > *{
        width: 125vw;
    }
     #history-list-container > *{
        width: 130vw;
    }
    #container-list-position div, #history-list-container div{
        gap: 1rem;
    }

    .radio-group{
        width: 100%;
    }
    .radio-group label{
        flex: 1;
    }

    .url-transitionsSearch input{
        min-width: auto;
        width: auto;
        flex: 1;
        max-width: 27%;
    }

    .switchable_block[data-open="history"]:not(.data-range){
        background-color: rgba(0, 0, 0, 0);
        padding: none;
        border: none;
        gap: 1rem;
    }
    .switchable_block[data-open="history"] .f07{
        font-size: 0.8rem;
    }
    .switchable_block[data-open="history"]  .img15{
        height: 1rem;
    }

    

    .url-transitions input{
        min-width: auto;
        width: auto;
        max-width: 41%;
    }

    .profil-menu{
        position: fixed;
        height: 100vh;
        width: 100vw;
        top: 0;
        left: 0;
        background-color: rgba(37, 37, 37, 0.7);
        padding-top: 7rem;
        gap: 1.6rem;
        color: white;
        z-index: 10;
         backdrop-filter: blur(10px);               /* размытие заднего фона */
  -webkit-backdrop-filter: blur(10px); 
    }
    .profil-menu a{
         font-size: 1.25rem;
         color: white;
    }
    .profil-menu a img{
        height: 1.5rem;
    }

    .profil-menu .button-green{
        text-align: center;
        font-size: 1rem;
        justify-content: center;
    }

    .profil-menu .exit{
        position: absolute;
        bottom: 2rem;
        opacity: 1;
    }

    .exit-menu-profil{
        top: 1rem;
        right: 1rem;
        height: 1.5rem;
        position: absolute;
    }

    .img20{
        height: 1.5rem;
    }

}