    * {
        margin: 0;
        padding: 0;
    }
     * { -webkit-tap-highlight-color: transparent; }
    .game_header {
        display: flex;
        width: 100%;
        height: 70px;
        border-bottom: solid 1px rgb(141, 139, 139);
    }
    body {
        width: 100%;
        /*overflow: auto;*/
        /*position: fixed;*/
        /*overflow: hidden;*/
    }
  
    .joystick { 
        width: 90px;
        height: 58px;
        margin-top: 10px;
        margin-left: 20px;
        /*border: solid 1px red;*/
        background-image: url("/static/images/logo2_game.png");
        background-size: contain;
        text-align: center;
        background-repeat: no-repeat;
        transform: rotate(-10deg);
        transition: 2s;
       
    }
    .joystick:hover {
        transform: rotate(10deg);
    }
    .game_title {
        width: 80%;
        text-align: center;
        padding-top: 30px;
        color: black;
        /*border: solid 1px red;*/
        font-family: "Montserrat";
    }
    .game_iframe {
        padding-top: 190px;
        min-height: 57vh;
        text-align: center;
        justify-content: center;
        margin: auto;
        /*overflow: scroll;*/
        
    }
    #game_iframe {
        text-align: center;
        justify-content: center;
        border: none;
        margin: auto;
        
        
    }
    .game_fullscreen {
        width: 100%;
        height: auto;
        min-height: 91.8vh;
        background: white;
        
    }
    .game_game {
        padding-top: 25px;
        font-size: 18px;
        text-transform: uppercase;
        font-family: "Montserrat";
        
    }
    .game_game a {
        text-decoration: none;
        color: black;
        text-shadow: rgba(255, 255, 255, .1) -1px -1px 1px, rgba(0, 0, 0, .5) 1px 1px 1px;
    }
    
    
        .checkbox-wrapper {
        width: 10%;
        min-width: 4rem;
        height: auto;
        padding-top: 25px;
    }
    .checkbox-wrapper input[type="checkbox"] {
      visibility: hidden;
      display: none;
    }
  
    .checkbox-wrapper *,
    .checkbox-wrapper ::after,
    .checkbox-wrapper ::before {
      box-sizing: border-box;
    }
  
    /* The switch - the box around the slider */
    .checkbox-wrapper .switch {
      font-size: 15px;
      position: relative;
      display: inline-block;
      width: 3.5em;
      height: 2em;
    }
  
    /* Hide default HTML checkbox */
    .checkbox-wrapper .switch input {
      opacity: 0;
      width: 0;
      height: 0;
    }
  
    /* The slider */
    .checkbox-wrapper .slider {
      position: absolute;
      cursor: pointer;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: #fff;
      border: 1px solid #2a2a2b;
      transition: .4s;
      border-radius: 30px;
    }
  
    .checkbox-wrapper .slider:before {
      position: absolute;
      content: "";
      height: 1.4em;
      width: 1.4em;
      border-radius: 20px;
      left: 0.27em;
      bottom: 0.25em;
      background-color: #3d3e3e;
      transition: .4s;
    }
  
    .checkbox-wrapper input:checked + .slider {
      background-color: #242424;
      border: 1px solid #2b2b2b;
    }
  
    .checkbox-wrapper input:focus + .slider {
      box-shadow: 0 0 1px #007bff;
    }
  
    .checkbox-wrapper input:checked + .slider:before {
      transform: translateX(1.4em);
      background-color: #fff;
    }
        .game_fullscreen.light-theme {
          background: rgb(251, 247, 247);
        }
        .game_fullscreen.dark-theme {
          background: black;
        }
       .game_ah.dark-theme {
          color: white;
       }
       .game_title_h.dark-theme {
          color: white;
       }
       header.dark-theme {
        background: black;
       }
       header.light-theme {
        background: white;
       }
       #game_iframe {
           width: 800px;
           height: 600px;
           }
    @media screen and (max-width: 850px) {
        #game_iframe {
            width: 600px;
            height: 450px;
        }
    }
   @media screen and (max-width: 650px) {
        #game_iframe {
            width: 95%;
            height: 400px;
        }
    }    
    @media screen and (max-width: 465px) {
        #game_iframe {
            width: 95%;
            max-height: 300px;
            margin:auto;
            
        }
        .game_iframe {
            justify-content: center;
        }
        .joystick {
           width: 60px;
           margin-left: 5px;
           margin-top: 15px;
        }
        .game_game {
            font-size: 13px;
            padding-top: 25px;
        }
        .game_title {
            padding-top: 25px;
            overflow: hidden;
        }
    }
     @media screen and (max-width: 375px) {
        #game_iframe {
           width: 95%;
           max-height: 240px;
        }
         .game_title {
            padding-top: 25px;
            font-size: 12px;
        }
     }
    .ad {
    position: absolute;
    right: 30px;
    top: 10px;
    width: 150px;
    height: auto;
    text-align: center;
    color: #2b2b2b;
    border: 2px solid transparent;
    -moz-border-image: -moz-linear-gradient(top left, #DC2903 , #F4F955, #0625F9);
    -webkit-border-image: -webkit-linear-gradient(top left, #DC2903 , #F4F955, #0625F9);
    border-image: linear-gradient(to bottom right, #DC2903 , #F4F955, #0625F9);
    border-image-slice: 1;
    text-decoration: none;
    font-size: 13px;
    background: black;
    }
    .img_ad {
    width: 150px;
    height: 100px;
    margin: 0;
    padding: 0;
    } 
    .ad_text {
  position: absolute;
  top:70px;
  z-index: 5;
  color: white;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 12px;
  
}
.ad_title {
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
  color: #1d039c;
  background: white;
  
}
.ad_title p {
  padding-top: 5px;
  padding-bottom: 5px;
}
.close {
    color: #ffffff;
    font-size: 17px;
    position: absolute;
    top: 5px;
    right: 5px;
    width: 25px;
    height: 25px;
    z-index: 5;
    border-radius: 50%;
    border: none;
    background: inherit;
}
.ad_ad {
  position: relative;
  animation: showRight 1s;
  
}
@keyframes showRight {

from {right:-200px;}

to {right:0;}

}
/* Скрываем scrollbar для Chrome, Safari и Opera */
.body::-webkit-scrollbar {
  display: none;
}
 
/* Скрываем scrollbar для IE, Edge и Firefox */
.body {
  -ms-overflow-style: none;  /* IE и Edge */
  scrollbar-width: none;  /* Firefox */
}