@font-face {
    font-family: bold;
    src: url(helvetica_bold.otf);
   }
   @font-face {
    font-family: med;
    src: url(helvetica_regular.otf);
   }
   @font-face {
    font-family: light;
    src: url(helvetica_light.otf);
   }

   /* Анимации */

   @keyframes leftlabelshowbutt {
    from{
        opacity: 0;
    }
    to{
        opacity: 1;
    }
   }

   @keyframes progressbar {
    from{
        left:0%;
    }
    to{
        left:8%;
    }
   }

   @keyframes leftlabelshow {
    from{
        transform: translateX(-100%);
    }
    to{
        transform: translateX(0%);
    }
   }

   @keyframes titleshow {
    from{
        transform: translateY(-100%);
        opacity: 0;
    }
    to{
        transform: translateY(0%);
        opacity: 1;
    }
   }
   @keyframes titleshowscale {
    from{
        transform: scale(0%);
    }
    to{
        transform: scale(100%);
    }
   }


   h5{
    font-weight: 300;
    translate: background-color .3s ease;
   }
   h1{
    font-weight: 300;
    translate: background-color .3s ease;
   }
   h2{
    font-weight: 300;
    translate: background-color .3s ease;
   }
   h3{
    font-weight: 300;
    translate: background-color .3s ease;
   }
   h4{
    font-weight: 300;
    translate: background-color .3s ease;
   }
   h6{
    font-weight: 300;
    translate: background-color .3s ease;
   }
   header{
    background-color: #4254F4;
    display: flex;
    padding: 10px 10px 10px 10px;
    position: fixed;
    width: 100%;
    height: 90px;
    align-items: center;
    justify-content: space-between;
    align-content: center;
    flex-wrap: wrap;
    z-index: 100;
   }
   body{
    /* background-color: #ffffff; */
    padding: 0;
    margin: 0;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transition: background-color .3s ease;
   }
   .logo{
    width:120%;
    transform: translateY(4%);
   }
   .buttonsleft{
    height: 100%;
    margin: 110px 0 0 0;
    padding: 0;
    background-color: #394ae8;
    display: flex;
    flex-direction: column;
    position: fixed;
    width: 8%;
    transform: translateX(-100%);
    animation: leftlabelshow .5s ease;
    animation-fill-mode: forwards;
   }
   .leftbutton{
    background-color: #394ae8;
    margin: 0;
    padding: 10px;
    transition: background-color .3s ease-out;
   }
   .leftbutton:hover{
    background-color: #4457fd;
   }
   .leftbutton img{
    transform: scale(90%);
    transition: transform .3s ease;
   }
   .leftbutton img:hover{
    transform: scale(100%);
    cursor: pointer;
   }

   .leftbutton:nth-child(1){
    opacity: 0;
    animation: leftlabelshowbutt 1s ease .2s;
    animation-fill-mode: forwards;
   }
   .leftbutton:nth-child(2){
    opacity: 0;
    animation: leftlabelshowbutt 1s ease .3s;
    animation-fill-mode: forwards;
   }
   .leftbutton:nth-child(3){
    opacity: 0;
    animation: leftlabelshowbutt 1s ease .4s;
    animation-fill-mode: forwards;
   }
   .leftbutton:nth-child(4){
    opacity: 0;
    animation: leftlabelshowbutt 1s ease .5s;
    animation-fill-mode: forwards;
   }

   .sitecontent{
    display: flex;
   }
   .content{
    margin-left: 8%;
    margin-top: 110px;
    width: 92%;
    height: 100%;
    padding-top: 100px;
    align-items: center;
    text-align: center;
   }
   .content2{
    margin-left: 8%;
    margin-top: 110px;
    width: 92%;
    height: 100%;
    padding-top: 200px;
    align-items: center;
    text-align: center;
   }
   .content3{
    margin-left: 8%;
    margin-top: 110px;
    width: 92%;
    height: 100%;
    padding-top: 100px;
    align-items: center;
    text-align: center;
   }
   .content2 footer{
    margin-top: 500px;
   }
   .content3 footer{
    margin-top: 400px;
   }
   .gamecontent{
    margin-left: 8%;
    margin-top: 110px;
    width: 92%;
    height: 100%;
    align-items: center;
    text-align: center;
   }
   .title{
    font-family: bold;
    margin-bottom: 55px;
   }
   .titlegamecard{
    font-family: bold;
    width: 400px;
    color: #0e167d;
    background-color: rgb(236, 236, 236);
    font-size: 110%;
    margin: 0;
    text-align: left;
    padding-left: 10px;
    padding-bottom: 6px;
   }
   .titlestatus{
    font-family: bold;
    margin: 1px;
    margin-left: 2px;
    margin-right: 2px;
   }
   .title4{
    margin-top: 55px;
    font-family: bold;
    margin-bottom: 55px;
   }
   .title2{
    font-family: bold;
   }
   .title3{
    font-family: light;
    margin-top: 10px;
   }
   .sub-title{
    font-family: med;
    margin-bottom: 55px;
   }
   .lib-title{
    font-family: med;
    margin-bottom:0;
   }
   .lib-title2{
    font-family: med;
    margin-top:0;
    margin-bottom: 35px;
   }
   .text{
    font-family: light;
   }
   .headerbutton{
    margin-right: 60px;
    margin-left: 10px;
    border: none;
    background: none;
    transform: scale(210%);
    color: #fff;
    transition: transform .3s ease;
    opacity: 0;
    animation: leftlabelshowbutt 1s ease .4s;
    animation-fill-mode: forwards;
   }
   .headerbutton:hover{
    transform: scale(250%);
    cursor: pointer;
   }
   .headerlink{
    margin-right: 15px;
    color: #fff;
    font-family: bold;
    font-size: 110%;
    text-decoration: none;
    transition: font-size .3s ease;
   }
   .headerlink{
    opacity: 0;
    animation: leftlabelshowbutt 1s ease .2s;
    animation-fill-mode: forwards;
    transform: scale(110%);
   }
   .headerlink:hover{
    transform: scale(119%);
   }
   .headerlink:nth-child(2){
    opacity: 0;
    animation: leftlabelshowbutt 1s ease .3s;
    animation-fill-mode: forwards;
   }
   .headerlink:nth-child(3){
    opacity: 0;
    animation: leftlabelshowbutt 1s ease .4s;
    animation-fill-mode: forwards;
   }
   .progress-bar{
    position: fixed;
    top: 110px;
    left: 8%;
    right: 0;
    height: 9px;
    background-color: #394ae8;
    z-index: 100;
    transform-origin: left center;
    transform: scaleX(0);
    animation: progressbar .5s ease;
    /* transition: transform .1s ease; */
  }

  .content .title{
    transform: translateY(-100%);
    opacity: 0;
    animation: titleshow 1s ease .1s;
    animation-fill-mode: forwards;
  }
  .content3 .title{
    transform: translateY(-100%);
    opacity: 0;
    animation: titleshow 1s ease .1s;
    animation-fill-mode: forwards;
  }
  .buttoninfo{
    font-family: bold;
    padding-top: 12px;
    padding-bottom: 15px;
    padding-right: 55px;
    padding-left: 55px;
    background-color: #4254F4;
    border-radius: 10px;
    color: #fff;
    margin-left: 10px;
    margin-right: 10px;
    transform: translateY(0);
    box-shadow: 0 12px 0px #3140c5;
    transition: all .3s ease;
    width: 135%;
    text-decoration: none;
   }
   .buttoninfo:hover{
    box-shadow: 0 8px 0px #3140c5;
    cursor: pointer;
    transform: translateY(4px);
   }
  .content .buttoninfo{
    transform: translateY(-100%);
    opacity: 0;
    animation: titleshow .5s ease .2s;
    animation-fill-mode: forwards;
  }
  .content .buttoninfo:nth-last-child(2){
    transform: translateY(-100%);
    opacity: 0;
    animation: titleshow .5s ease .3s;
    animation-fill-mode: forwards;
  }
  .content .buttoninfo:nth-last-child(1){
    transform: translateY(-100%);
    opacity: 0;
    animation: titleshow .5s ease .4s;
    animation-fill-mode: forwards;
  }
  .logo-title{
    width: 35%;
    margin-bottom: 55px;
    transform: scale(0);
    animation: titleshowscale 1s ease .2s;
    animation-fill-mode: forwards;
  }
  .buttonsntitle{
    display: flex;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
  }
  footer{
    background-color: #3140c5;
    font-family: light;
    color: #fff;
    padding: 10px;
    opacity: 0;
    animation: leftlabelshowbutt 1s ease 1s;
    animation-fill-mode: forwards;
    margin-top: 120px;
  }
  .newstitle{
    margin-top: 45px;
    background-color: #3140c5;
    font-family: bold;
    color: #fff;
    padding: 25px;
    font-size: 150%;
    opacity: 0;
    animation: leftlabelshowbutt 1s ease .5s;
    animation-fill-mode: forwards;
  }
  .newstitle2{
    margin-top: 85px;
    background-color: #3140c5;
    font-family: bold;
    color: #fff;
    padding: 25px;
    font-size: 150%;
    text-align: left;
    opacity: 0;
    border-top-right-radius: 25px;
    border-top-left-radius: 25px;
    animation: leftlabelshowbutt 1s ease .5s;
    animation-fill-mode: forwards;
  }
  .gametitle{
    margin-top: 0;
    background-color: #3140c5;
    font-family: bold;
    color: #fff;
    padding: 5px;
    padding-left: 25px;
    padding-right: 25px;
    font-size: 135%;
    text-align: left;
    opacity: 0;
    display: flex;
    align-content: center;
    justify-content: space-between;
    animation: leftlabelshowbutt 1s ease .4s;
    animation-fill-mode: forwards;
    align-items: center;
  }
  .imagenew1{
    opacity: 0;
    animation: leftlabelshowbutt 1s ease .7s;
    animation-fill-mode: forwards;
    border-radius: 20px;
    border: 8px solid #ffffff;
    transition: transform .3s ease, border-radius .3s ease;
    margin-left: 15px;
    margin-right: 15px;
  }
  .imagenew1:hover{
    transform: scale(110%);
    border-radius: 30px;
  }
  .news{
    background-color: rgba(0, 0, 0, 0.077);
    padding-bottom: 24px;
    opacity: 0;
    animation: leftlabelshowbutt 1s ease .7s;
    animation-fill-mode: forwards;
  }
  .news2{
    background-color: rgba(0, 0, 0, 0.192);
    padding-bottom: 24px;
    opacity: 0;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 25px;
    animation: leftlabelshowbutt 1s ease .7s;
    animation-fill-mode: forwards;
  }
  .games{
    background-color: rgba(0, 0, 0, 0.073);
    padding-bottom: 24px;
    opacity: 0;
    animation: leftlabelshowbutt 1s ease 1s;
    animation-fill-mode: forwards;
  }
  .gameimage1{
    opacity: 0;
    animation: leftlabelshowbutt 1s ease .7s;
    animation-fill-mode: forwards;
    border-radius: 20px;
    border: 8px solid #ffffff;
    margin-left: 10px;
    margin-right: 10px;
    width: 20%;
    transition: transform .3s ease, border-radius .3s ease;
  }
  .gameimage1:hover{
    transform: scale(110%);
    border-radius: 30px;
  }


  .parallax-backgroundpp9 {
    background-image: url('../image/pp9.png');
    background-size: cover;
    background-position: center;
    top: 110px;
    left: 100px;
    width: 100%;
    height: 500px; /* Увеличиваем высоту фона для создания эффекта параллакса */
    z-index: -1;
    opacity: 0;
    animation: leftlabelshowbutt 1s ease .3s;
    animation-fill-mode: forwards;
}

.parallax-backgroundplod{
    background-image: url('../image/plod.png');
    background-size: cover;
    background-position: center;
    top: 110px;
    left: 100px;
    width: 100%;
    height: 500px; /* Увеличиваем высоту фона для создания эффекта параллакса */
    z-index: -1;
    opacity: 0;
    animation: leftlabelshowbutt 1s ease .3s;
    animation-fill-mode: forwards;  
}
.parallax-backgroundteeko{
    background-image: url('../image/footbg.png');
    background-size: cover;
    background-position: center;
    top: 110px;
    left: 100px;
    width: 100%;
    height: 500px; /* Увеличиваем высоту фона для создания эффекта параллакса */
    z-index: -1;
    opacity: 0;
    animation: leftlabelshowbutt 1s ease .3s;
    animation-fill-mode: forwards;  
}
.parallax-backgroundlib{
    background-image: url('../image/lib.png');
    background-size: cover;
    background-position: center;
    top: -100px;
    left: 100px;
    width: 100%;
    height: 500px; /* Увеличиваем высоту фона для создания эффекта параллакса */
    z-index: -1;
    opacity: 0;
    animation: leftlabelshowbutt 1s ease .3s;
    animation-fill-mode: forwards;  
}
.parallax-backgroundlib2{
    background-image: url('../image/lib2.png');
    background-size: cover;
    background-position: center;
    top: -100px;
    left: 100px;
    width: 100%;
    height: 500px; /* Увеличиваем высоту фона для создания эффекта параллакса */
    z-index: -1;
    opacity: 0;
    animation: leftlabelshowbutt 1s ease .3s;
    animation-fill-mode: forwards;  
}

.pencil{
    overflow: hidden;
    width: 100%;
    height: 500px;
}
.pencillib{
    overflow: hidden;
    width: 100%;
    height: 500px;
}

.packgame1{
background-color: rgba(0, 0, 0, 0.065);
width: 90%;
height: 200px;
margin-left: auto;
margin-right: auto;
border-radius: 25px;
margin-bottom: 20px;
display: flex;
justify-content: space-between;
align-items: center;
padding-left: 45px;
padding-right: 45px;
}
.packgame2{
    background-color: rgba(0, 0, 0, 0.02);
    width: 90%;
    height: 200px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 25px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 45px;
    padding-right: 45px;
}
.gamelogo1{
    width: 30%;
}
.gametext1{
    width: 60%;
}
.packgame1 h3{
    margin-top: 0;
    margin-bottom: 0;
    text-align: right;
}
.packgame2 h3{
    margin-top: 0;
    margin-bottom: 0;
    text-align: right;
}
.readygame{
    background-color: rgba(97, 97, 97, 0.065);
    margin-left: auto;
    margin-right: auto;
    border-radius: 25px;
    margin-bottom: 20px;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    padding-left: 45px;
    padding-right: 45px;
    padding-top:10px;
    padding-bottom: 19px;
    width: 25%;
    }
    .gamelogo2{
        width: 40%;
    }
    .gamecircle1{
        width: 6%;
        filter: hue-rotate(-50deg);
    }
    .gamecircle2{
        width: 6%;
    }
    .gamecircle3{
        width: 6%;
        filter: hue-rotate(-110deg);
    }

    .animwhiip{
        transform: translateY(-100%);
        opacity: 0;
        animation: titleshow 1s ease;
        animation-fill-mode: forwards;
    }
    .animop{
        opacity: 0;
        animation: leftlabelshowbutt 1s ease;
        animation-fill-mode: forwards;
    }
    .ande1{
        animation-delay: .1s;
    }
    .ande2{
        animation-delay: .2s;
    }
    .ande3{
        animation-delay: .3s;
    }
    .ande4{
        animation-delay: .4s;
    }
    .ande5{
        animation-delay: .5s;
    }
    .ande6{
        animation-delay: .6s;
    }
    .ande7{
        animation-delay: .7s;
    }
    .ande8{
        animation-delay: .8s;
    }
    .ande9{
        animation-delay: .9s;
    }
    .ande10{
        animation-delay: 1s;
    }
    .ande12{
        animation-delay: 1.2s;
    }
    .ande14{
        animation-delay: 1.4s;
    }

    .gamecard {
    display: block;
    background: rgb(236, 236, 236);
    border: 4px solid rgb(236, 236, 236);
    border-radius: 14px;
    box-shadow: 0 5px 0 0 var(--shadows);
    overflow: hidden;
    width: 400px;
    transform: translateY(0);
    }
    .gamecardico{
        width: 400px;
        background-color: #000;
    }
    .gamecards{
        display: flex;
        gap: 10px;
        width: 100%;
        justify-content: center;
        margin-bottom: 55px;
        flex-wrap: wrap;
    }
    a{
        text-decoration: none;
    }
    .gc{
        transform: translateY(0);
        transition: transform .3s ease, box-shadow .3s ease;
    }
    .gc:hover{
        transform: translateY(-5px);
        box-shadow: 0 5px 0px #0000003b;
        cursor: pointer;
    
    }
    .download{
        width: 200px;
        padding-left: 20px;
        height: 40px;
        padding-right: 20px;
        background-color: #5664e0;
        display: flex;
        color: #fff;
        border-radius: 10px;
        flex-wrap: wrap;
        align-content: center;
        padding-bottom: 7px;
        text-align: center;
        justify-content: center;
        transition: transform .3s ease, box-shadow .3s ease;
    }
    .download:hover{
        cursor: pointer;
        transform: translateY(-5px);
        box-shadow: 0 5px 0px #0000003b;
    }

    .ai{
        display: none; 
        justify-content: space-between; 
        align-items: center; 
        padding-left:10px; 
        padding-right:10px; 
        background-color: #ffffff; 
        border-radius: 10px; 
        box-shadow: 0px 5px 0px rgba(0, 0, 0, 0.25);
        z-index: 99;
        position: fixed;
        left: 9%;
        top: calc(90px + 4.6%);
    }
    .avaai{
        width:50px; 
        height:50px; 
        border-radius: 5px; 
        background-color: #ffffff; 
        -drag: none;
        user-select: none;
        -moz-user-select: none;
        -webkit-user-drag: none;
        -webkit-user-select: none;
        -ms-user-select: none;
    }
    .nameai{
        background-color: #ffffff; 
        padding-top: 10px; 
        padding-bottom: 10px; 
        margin-left:10px; 
        margin-top:10px; 
        margin-bottom:10px;
        font-family: light;
    }
    .logoutbutton{
        margin-top: 5px;
    }
    .error-alert{
        display: none;
    top: 50%;
    left: 50%;
    width: calc(100% - 60px);
    max-width: 350px;
    padding: 25px;
    background: #FFF;
    border-radius: 20px;
    box-shadow: 0 8px rgba(51, 51, 51, 0.429);
    transform: translate(-50%, -50%);
    position: fixed;
    z-index: 101;
    text-align: center;
    }
    .okbutton{
    cursor: pointer;
    padding-top: 8px;
    padding-bottom: 12px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    border: none;
    margin-top: 20px;
    border-radius: 12px;
    font-size: 22px;
    display: block;
    background-color: #4254F4;
        font-family: bold;
    color: #fff;
    line-height: 1.5;
    text-transform: uppercase;
    box-shadow: 0 5px rgba(51, 51, 51, 0.429);
    transition: color .5s, background-position .5s, box-shadow .5s;
    }
    .titlealert{
        font-size: 22px;
        margin:0;
        font-family: bold;
    }
    .sub-titlealert{
        margin:0;
        font-family: med;
        font-size: 16px;
        margin-top: 5px;
    }
    .bgalert{
        display: none;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.42);
        position: fixed;
        z-index: 100;
    }



    
    .quest {
    display: none;
    font-family: med;
    font-size: 130%;
    background-color: rgba(255, 255, 255, 0.266);
    border-radius: 25px;
    margin: 5px;
    padding: 5px;
    }
    .quest a{
        color: #7d8aff;
    }
    
    .i1[type=checkbox]:checked ~ .q1 {
        display: block;
      }
    .i2[type=checkbox]:checked ~ .q2 {
        display: block;
      }
      .i3[type=checkbox]:checked ~ .q3 {
        display: block;
      }
    .i4[type=checkbox]:checked ~ .q4 {
        display: block;
      }
      .i5[type=checkbox]:checked ~ .q5 {
        display: block;
      }
    .i6[type=checkbox]:checked ~ .q6 {
        display: block;
      }
      .i7[type=checkbox]:checked ~ .q7 {
        display: block;
      }
    .i8[type=checkbox]:checked ~ .q8 {
        display: block;
      }
      .i8[type=checkbox]:checked ~ .q8 {
        display: block;
      }
    .i8[type=checkbox]:checked ~ .q8 {
        display: block;
      }


    input[type=checkbox]{
    position: absolute;
    opacity: 0;
    }
    label { 
    -webkit-appearance: push-button;
    -moz-appearance: button; 
    display: inline-block;
    margin: 60px 0 10px 0;
    cursor: pointer;
    font-family: bold;
    font-size: 130%;
    }
    .questdiv{
        width: 280px;
        border-radius: 25px;
        background-color: rgba(0, 0, 0, 0.151);
        padding: 5px;
        margin-bottom: 10px;

    }
    label{
        margin: 5px;
        -webkit-touch-callout: none;-webkit-user-select: none;-khtml-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;
    }
    .chvoflex{
        display: flex;
        gap: 10px;
        margin-left: auto;
        margin-right: auto;
        flex-wrap: wrap;
        justify-content: center;
        align-items: flex-start;
        width: 90%;
    }

    .scrollindicator{
        width: 92%;
        height: 8px;
        position: fixed;
        z-index: 20;
        top: 110px;
        left: 8%;
        animation: leftlabelshow .5s ease;
        animation-fill-mode: forwards;
    }
    .scrollindicatorin{
        height: 10px;
        background: #394ae8;
        width: 0%;
    }