* {
    margin: 0;
    padding: 0;
    font-family: Verdana;
}

body {
    background: black;
}

/* хром, сафари */
body::-webkit-scrollbar { width: 0; }

html {scroll-behavior: smooth;}
/* ie 10+ */
body { -ms-overflow-style: none; overflow-x:hidden; scroll-behavior: smooth;}

/* фф (свойство больше не работает, других способов тоже нет)*/
body { overflow: -moz-scrollbars-none; overflow-x:hidden;}

body {
    background: black;
}

header {
    width: 100%;
    display: flex;
    position:fixed;
    justify-content: space-around;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 100;
}

.menu-link {
    padding: 20px;
    color:white;
    text-decoration: none;
    transition: .2s;
}

.menu-link:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transition: .2s;
}

.start {
    height: 100vh;
    overflow: hidden;
    background: black;
}

.video {
    position: relative;
    z-index: 1;
    padding-bottom: 56.25%;
}

.video.darked:after {
    content: "";
    display: block; 
    width: 100%;
    height: 100%;

    background-color: rgba(0,0,0,.6);

    position:absolute;
    top: -7%;
    left: 0;
    z-index: 2,
}

.video.very-darked:after {
    content: "";
    display: block; 
    width: 100%;
    height: 100%;

    background-color: rgba(0,0,0,.8);

    position:absolute;
    top: -7%;
    left: 0;
    z-index: 2,
}

.video-media {
    width: 100%;
    height: auto;

    position:absolute;
    left: 0;
    top: -7%;
}

.text {
    width: 100%;
    /* height: 100%; */

    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    color: white;
}

.text-container {
    max-width: 100%;
    margin: 0 auto;
}

.text-container.in-block {
    margin-top:200px;
    width:70%;
    margin: 0 auto;
}

.main-header {
    font-size: 80px;
    font-weight: bold;
    text-align: center;
    margin-top: 17%;
}

.end-header {
    font-size: 80px;
    font-weight: bold;
    text-align: center;
    
}

.download {
    text-align:center;
    margin-top: 10%;
}

.download-app {
    position: relative;
    display: inline-block;
    width: 220px;
    height: 50px;
    color:white;
    padding: 15px 40px;
    text-decoration:none;
    font-weight:bold;
    font-size: 17px;
    background: #b854ff;
    border-radius: 30px;
    box-sizing: border-box;
    background: linear-gradient(90deg, #b854ff);
    background-size: 400%;
    border-radius: 30px;
    z-index: 1;
  }
   
.download-app:hover {
    animation: animate 8s linear infinite;
  }
   
  @keyframes animate {
    0% {
      background-position: 0%;
    }
    100% {
      background-position: 400%;
    }
  }
   
  .download-app:before {
    content: "";
    position: absolute;
    top: -5px;
    right: -5px;
    bottom: -5px;
    left: -5px;
    z-index: -1;
    background: linear-gradient(90deg, #ffffff, #000000);
    background-size: 400%;
    border-radius: 40px;
    opacity: 0;
    transition: .5s;
  }
   
  .download-app:hover:before {
    filter: blur(20px);
    opacity: 1;
    animation: animate 8s linear infinite;
  }

.block {
    position: relative;
}

.block-background canvas {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.paragraph {
    color:white;
    font-size: 18px;
    text-align:left;
    margin-bottom: 30px;
}

.paragraph.big {
    font-size: 30px;
}

.left {
    text-align:left;
}

.right {
    text-align:right;
}

.center {
    text-align:center;
}

.heading {
    color: white;
    margin-bottom: 50px;
    font-size: 45px;
    font-weight:bold;
}

.mid-heading {
    color: white;
    margin-bottom: 50px;
    font-size: 35px;
    font-weight:bold;
}

.image {
    max-width: 30%;
    max-height: auto;
    z-index: -1;
}

.block-content { 
    margin-top:200px;
    width:70%;
    margin: 0 auto;
}

.slider-container {
    width: 250px;
}

.slider-container.absolute {
    position:absolute;
    top:20px;
    right:20px;
}

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 25px;
    background: black;
    border: 1px solid grey;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
  }
  
  .slider:hover {
    opacity: 1;
  }
  
  .slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    background: #b854ff;
    cursor: pointer;
  }
  
  .slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    background: #b854ff;
    cursor: pointer;
  }

label {
    color:white;
}

.interactive {
    text-align:center;
}

.controls {
    display:flex;
    justify-content: center;
}
.card {
    width: 100%;
    display:flex;
}

.card > .info {
    padding-right: 10px;
    width:40%;
}

.card > .card-content {
    padding-left:10px;
    width: 60%;
}


.controls > .slider-container {
    margin-left:5px;
    margin-right:5px;
}

.button {
    padding: 10px 20px;
    background:black;
    border: 1px solid #b854ff;
    border-radius: 5px;
    color:white;
    transition: .3s;
}

.button:hover {
    cursor: pointer;
    background: #b854ff;
    transition: .3s;
}

.button.active {
    background: #b854ff;  
}

.background-image {
    position:absolute;
    max-width:30%;
    height: auto;
    top:120px;
    right: 10%;
    z-index:-1;
    filter: opacity(30%);
}

.image.right {
    float: right;
}

.image.left {
    float: left;
}

.background-image.right {
    right: 10%;
}

.background-image.left {
    left: 10%;
}

.end {
    height:500px;
}

.gen-button {
    width: 100%;
    display: flex;
    justify-content: center;
}

.intext-link {
    color: white;
    text-decoration:underline;
}

.games-hrefs {
    display:flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.sliding-button {
    text-decoration: none;
    color: white;
    display: inline-block;
    position: relative;
    padding: 15px 30px;
    border: 1px solid;
    border-image: linear-gradient(180deg, #dd00ed, #9d09ff, #4000d5);
    border-image-slice: 1;
    margin: 10px 20px;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    overflow: hidden;
    letter-spacing: 2px;
    transition: .8s cubic-bezier(.165, .84, .44, 1);
  }
  .sliding-button:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 0;
    width: 100%;
    z-index: -1;
    color: white;
    background: linear-gradient(180deg, #dd00ed, #9d09ff, #4000d5);
    transition: .8s cubic-bezier(.165, .84, .44, 1);
  }
  .sliding-button:hover {
    background: rgba(255, 255, 255, 0);
  }
  .sliding-button:hover:before {
    bottom: 0%;
    top: auto;
    height: 100%;
  }

@media screen and (max-width: 1300px) {
    .start {
        zoom: 90%;
    }
}

@media screen and (max-width: 1100px) {
    .start {
        zoom: 80%;
    }
}

@media screen and (max-width: 940px) {
    .start {
        zoom: 70%;
    }
}

@media screen and (max-width: 820px) {
    .start {
        zoom: 50%;
    }
}

@media screen and (max-width: 640px) {
    .block-start {
        zoom: 50%;
    }
}