/* Fonts */
@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/BebasNeueCyrillic.ttf);
}

@font-face {
  font-family: 'Peralta';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/Peralta-Regular_FIX_by_KanycTa.ttf) ;
}

/* Generic Styles */
html, body {
  height: 100%;
  margin: 0;
  background: #222;
  font-family: 'Bebas Neue', sans-serif;
  color: white;
  overscroll-behavior: none;
}

.container {
  width: 100%;
  height: auto;
  min-height: 100vh;
  position: relative;
  z-index: 2;
}

#overlay {
  position: absolute;
  z-index: 3;
  background: black;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
  transition: all 300ms ease;
}

#container.has-overlay #overlay {
  opacity: 0.75;
  pointer-events: auto;
}

.inner {
  padding: 0px 80px 90px;
  max-width: 450px;
  margin: 0 auto;
  padding-top: 145px;
}

@media screen and (max-width: 610px) {
  .inner {
    padding: 30px 40px 90px;
    padding-top: 130px;
  }
}

.image-container {
  position: relative;
}

.game-screen {
  padding: 30px 0;
}

.game-screen input{
  text-transform: uppercase
}

hr {
  border-color: white;
  opacity: 0.2;
  margin-top: 20px;
}

.inner img {
  max-width: 100%;
  position: relative;
  padding: 30px 0 45px;
}

@media (max-width: 610px) {
  .inner img {
    padding-top: 15px;
  }
}

label {
  display: block;
  margin-bottom: 10px;
  font-size: 25px;
  color: #fcba19;
}

/* Video Overlay */
.video {
  position: fixed;
  background-size: cover;
  background-position: 50% 50%;
  height: 100%;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 1;
}

.video video {
  -webkit-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  -o-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -100;
}

/* Header Image */
.image-container h2 {
  font-size: 35px;
  position: absolute;
  bottom: 0px;
  margin-bottom: 0;
  padding-bottom: 0;
  width: 100%;
  text-align: center;
  opacity: 0.9;
}

@media screen and (max-width: 530px) {
  .image-container h2 {
    font-size: 6vw;
    position: absolute;
    bottom: 1.2vw;
  }
}

/* Inputs */
input,
textarea {
  display: block;
  width: 100%;
  border-radius: 5px;
  height: 50px;
  margin-bottom: 30px;
  box-sizing: border-box; /* add this */
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  border: solid 3px white;
  outline: none !important;
  line-height: 44px;
  padding-left: 15px;
  padding-right: 15px;
  font-size: 16px;
  -webkit-appearance: none;
}

textarea {
  height: 150px;
  line-height: 1;
  padding: 15px;
}

input:focus {
  border-color: #66afe9;
}

/* Buttons */
.btn {
  border-radius: 5px;
  height: 60px;
  background: rgb(173,6,53);
  background: radial-gradient(circle, rgba(166,0,2,1) 0%, rgba(101,0,1,1) 100%);
  border: solid 3px #f7f5ad;
  color: white;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 25px;
}

.btn:hover,
.btn:active {
  color: #fcba19;
  cursor: pointer;
  border: solid 3px #fdf8c5;
}

.btn-close {
  width: 50px;
  height: 50px;
  margin-left: 30px;
  position: absolute;
  top: -13px;
  right: 0;
  background: none;
  border: none;
  outline: none !important;
  outline-width: 0 !important;
  color: white;
  opacity: 0.5;
  font-size: 25px;
  cursor: pointer;
}

.btn-close:hover {
  opacity: 1;
}

.vote-btn {
  width: 100%;
  height: auto;
  line-height: 1.2;
  padding: 15px;
  margin-bottom: 15px;
}

.vote-btn.mod {
  background: white;
  border-color: white;
  color: black;
}

/* Alerts */
.alert {
  position: fixed !important;
  top: 0;
  width: 100%;
  font-size: 20px;
  padding: 20px;
  color: white;
  background: red;
  max-width: 100vw;
  position: relative;
  transform: translateY(-70px);
  transition: all 300ms ease;
  z-index: 5;
  opacity: 0;
}

.alert.active {
  transform: translateY(0);
  opacity: 1;
}

.alert-inner {
  position: relative;
  width: calc(100% - 40px);
}

.alert-left {
  width: calc(100% - 85px);
  display: inline-block;
  vertical-align: top;
}

.alert-right {
  display: inline-block;
  vertical-align: top;
}

/* Message Block */
.message {
  text-align: center;
}

.message h3 {
  font-size: 30px;
  font-family: 'Peralta', sans-serif;
}

/* Script Button */
.script-button {
  position: relative;
  bottom: 0;
  left: 0;
  background: none;
  width: 100%;
  padding: 0;
}

.script-button button {
  height: auto;
  font-size: 16px;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  color: rgba(255,255,255,0.8);
  text-anchor: center;
  padding-left: 30px;
  padding-right: 30px;
  width: 100%;
  padding-bottom: 40px;
  padding-top: 30px;
  outline: 0 !important;
  cursor: pointer !important;
}

.script-window,
.sfx-window,
.language-window {
  background: white;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  z-index: 4;
  height: 75vh;
  opacity: 0;
  transition: all ease 300ms;
  transform: translateY(100px);
  pointer-events: none;
}

.sfx-window,
.language-window {
  height: 50vh;
}

.script-window.visible,
.sfx-window.visible,
.language-window.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.script-window__header,
.sfx-window__header,
.language-window__header {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100vw - 60px);
  border-bottom: solid 1px #ddd;
  padding: 0 30px;
  height: 71px;
  background: #272727;
  border-top: solid 2px #fcf7ca;
  color: white;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 25px;
}

.script-window p,
.sfx-window p,
.language-window p {
  padding-bottom: 0;
  margin: 0;
  margin-bottom: 16px;
}

.script-window__body {
  margin-top: 71px;
  height: calc(100% - 211px);
  overflow: scroll;
  padding: 75px;
  font-family: 'Special Elite', cursive;
  font-size: 16px;
  color: rgba(0,0,0,0.76);
  background: url(../assets/img/paper-background.png) top center repeat;
  background-size: 500px 300px;
  background-attachment: scroll;
}

.sfx-window__body,
.language-window__body {
  margin-top: 71px;
  height: calc(100% - 71px);
  overflow: scroll;
  padding: 0px !important;
  font-size: 16px;
  color: rgba(0,0,0,0.76);
  background-size: 500px 300px;
  background-attachment: scroll;
}

@media screen and (max-width: 610px) {
  .script-window__body {
    height: calc(100% - 131px);
    padding: 30px;
  }

  .sfx-window__body,
  .language-window__body {
    height: calc(100% - 71px);
    padding: 30px;
  }
}

.script-window__body .character-name {
  text-transform: uppercase;
  padding-left: 12%;
  padding-right: 12%;
  text-align: center;
  margin-top: 24px;
  margin-bottom: 0;
}

.script-window__body .dialog {
  padding-left: 12%;
  padding-right: 12%;
}


#language-window__close-btn{
  cursor: pointer;
}

.script-window__header h3,
.sfx-window__header h3,
.language-window__header h3 {
  color: #fcba19;
  font-size: 25px;
  padding: 0;
  margin: 0;
  line-height: 25px;
  margin-top: 26px;
}

.script-window__header button,
.sfx-window__header button,
.language-window__header button {
  position: absolute;
  right: 0px;
  top: 5px;
  height: 60px;
  width: 60px;
  text-align: center;
  background: none;
  border: none;
  outline: 0 !important;
  box-shadow: none !important;
  font-size: 25px;
  color: white;
  opacity: 0.75;
}

.script-window__header button:hover,
.sfx-window__header button:hover,
.language-window__header button:hover {
  opacity: 1;
}

.script-window__wrapper {
  max-width: 600px;
  margin: 0 auto;
}

.sfx-window__wrapper,
.language-window__wrapper {
  max-width: 450px;
  margin: 0 auto;
  height: 100%;
  padding-bottom: 20px;
}

@media screen and (max-width: 610px) {
  .sfx-window__wrapper,
  .language-window__wrapper {
    max-width: 100%;
    margin: 0 auto;
  }
}

.dub-holder {
  position: relative;
}

.dub-holder button {
  position: absolute;
  top: -47px;
  height: 45px;
  right: 0;
  background: none;
  border: none;
  padding: 0;
  line-height: 45px;
  text-align: right;
  color: white;
  font-weight: bold;
  outline: 0 !important;
  box-shadow: none !important;
  pointer-events: auto;
  opacity: 1;
  transition: all 300ms ease;
  cursor: pointer;
  font-size: 25px;
  font-family: 'Bebas Neue', sans-serif;
}

.dub-holder button:hover {
  color: #fcba19;
}

@media screen and (max-width: 375px) {
  .dub-holder button {
    top: -47px;
  }
}

.dub-holder button:focus,
.dub-holder button:active,
.dub-holder button:visited {
  color: white;
}

.dub-holder:focus-within {
  background: blue;
}

/*.dub-holder:focus-within button {*/
  /*opacity: 1;*/
  /*pointer-events: auto;*/
  /*cursor: pointer;*/
/*}*/

.dub-holder:focus-within button:hover {
  opacity: 0.75;
}

.sfx-list,
.language-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
  margin: 40px 0;
}

@media screen and (max-width: 610px) {
  .sfx-list,
  .language-list {
    margin: 10px 0;
  }
}

.sfx-list li,
.language-list li {
  width: 100%;
}

.sfx-list li .btn,
.language-list li .btn {
  width: 100%;
  color: rgba(0,0,0,0.76) !important;
  background: none;
  border: none !important;
  border-bottom: solid 1px #ddd !important;
  text-align: left;
  padding-left: 30px;
  outline: 0 !important;
  box-shadow: none !important;
}

.sfx-list li:last-of-type .btn,
.language-list li:last-of-type .btn {
  border-bottom: none !important;
}

.nav {
  position: fixed;
  top: 0;
  height: 70px;
  width: 100vw;
  background: rgba(0,0,0,0.95);
  border-bottom: solid 1px rgba(255,255,255,0.3);
  z-index: 3;
}

.nav img {
  height: 25px;
  padding-top: 23px;
  padding-left: 20px;
}

.nav .nav-container {
  max-width: 500px;
  position: relative;
  margin: 0 auto;
}

.nav-button {
  height: 70px;
  width: 70px;
  position: absolute;
  right: 20px;
  top: 0;
}

.nav-button button {
  background: none;
  border: none !important;
  outline: 0 !important;
  height: 70px;
  width: 70px;
  line-height: 70px;
  color: rgba(255,255,255,0.75);
  text-align: right;
  font-size: 25px;
}

.nav-button button:hover {
  color: white;
  cursor: pointer;
}

.nav-button .fa-bars {
  position: absolute;
  top: 23px;
  right: 7px;
  opacity: 1;
  transform: rotate(0deg);
  -webkit-transition: all 300ms;
     -moz-transition: all 300ms;
       -o-transition: all 300ms;
          transition: all 300ms;
}

.nav-button .fa-times {
  position: absolute;
  top: 23px;
  right: 7px;
  opacity: 0;
  transform: rotate(0deg);
  -webkit-transition: all 300ms;
     -moz-transition: all 300ms;
       -o-transition: all 300ms;
          transition: all 300ms;
}

.nav.open .fa-times {
  opacity: 1;
  transform: rotate(180deg);
}

.nav.open .fa-bars {
  opacity: 0;
  transform: rotate(180deg);
}

.nav-menu {
  position: fixed;
  top: 70px;
  width: 100vw;
  background: rgba(0,0,0,0.75);
  border-bottom: solid 1px rgba(255,255,255,0.15);
  z-index: 3;
  text-align: center;
  white-space: nowrap;
  max-height: 0;
  overflow: hidden;
  -webkit-transition: all 300ms;
     -moz-transition: all 300ms;
       -o-transition: all 300ms;
          transition: all 300ms;
}

.nav-menu.open {
  max-height: 650px;
  -webkit-transition: all 300ms;
     -moz-transition: all 300ms;
       -o-transition: all 300ms;
          transition: all 300ms;
}

.nav-menu ul {
  list-style-type: none;
  max-width: 320px;
  margin: 0 auto;
  padding-inline-start : 0;
  padding-top: 45px;
  padding-bottom: 20px;
}

.nav-menu .menu-btn {
  width: 320px;
  max-width: 100%;
  display: block;
  border-radius: 5px;
  border: solid 3px white;
  margin-bottom: 10px;
  height: 60px;
  line-height: 55px;
  text-align: center;
  font-size: 22px;
  font-weight: bold;
  font-family: 'Bebas Neue', sans-serif;
  box-sizing: border-box;
  text-decoration: none;
  color: white;
}

.nav-menu .menu-btn i,svg {
  margin-right: 10px;
  display: inline;
  color: white;
  font-size: 25px;
  height: 25px;
  position: relative;
  top: 2px;
}

.twitch-btn {
  background: rgba(145,71,255,1);
  color: white;
  cursor: pointer;
}

.modbutton {
  background: rgb(14, 22, 125);
  color: white;
  cursor: pointer;
}

.faq-btn {
  background: rgb(173,6,53);
  color: white;
}

.discord-btn{
  background: #7289da
}

.discord-btn i,svg {
  position: relative;
  left: 2px;
}

.facebook-btn {
  background: #4267B2;
}

.twitter-btn {
  background: #1DA1F2;
}

.youtube-btn {
  background: #FF0000;
}

.tt-btn {
  background: #fe2c55;
  color: white;
}

.tt-btn svg {
  height: 23px;
  position: relative;
  top: 4px;
  margin: 0 auto;
  color: white;
}

.discord-btn svg {
  height: 23px;
  position: relative;
  top: 5px;
}

.instagram-btn {
  background: #5B51D8;
}
.vk-btn {
  background: #0077FF;
}
.telegram-btn {
  background: #0088cc;
}

.fa-twitch {
  position: relative;
  top: 1px;
}

.nav-menu li.social {
  width: 72px;
  display: inline-block;
  vertical-align: top;
  margin-right: 8px;
}

.nav-manu li.social:last-of-type {
  margin-right: 0;
}

.nav-menu li.social i,svg {
  margin-right: 0;
  color: white;
}

.nav-menu li.social a i,svg {
  color: white !important;
}

.nav-menu small {
  display: block;
  width: 100%;
  text-align: center;
  margin-bottom: 45px;
}

input[type="text"]:disabled {
  background-color: white;
  cursor: not-allowed;
}

#languageButton, #languageButtonDub {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  outline: 0 !important;
  font-size: 16px;
  color: white;
  cursor: pointer;
  line-height: 50px;
  opacity: 0.87;
}

.language-list button.lang-btn i,svg {
  display: none;
  opacity: 0;
}

.language-list button.lang-btn {
  height: auto;
  padding: 15px 0;
}

.language-list button.lang-btn.selected i,svg {
  display: inline-block;
  opacity: 1;
  margin-right: 8px;
  color: rgb(173,6,53);
}

.generic-font {
  font-family: system-ui,-apple-system,BlinkMacSystemFont,Helvetica Neue,Helvetica,Arial,sans-serif;
}

.generic-font h3 {
  font-family: system-ui,-apple-system,BlinkMacSystemFont,Helvetica Neue,Helvetica,Arial,sans-serif;
}

.access-heading {
  font-family: 'Bebas Neue', sans-serif !important;
  font-size: 20px;
  display: block;
  margin-bottom: 0;
}

.access-code {
  margin: 0 auto;
  margin-top: 15px;
  background: white;
  width: auto;
  display: inline-block;
  padding: 30px;
  border-radius: 10px;
  color: black;
  font-size: 25px;
  margin-bottom: 0px;
  font-family: auto;
}

#channel {
  display: block;
}

.channel-name {
  font-family: 'Bebas Neue', sans-serif !important;
  font-size: 20px;
  display: block;
  margin-bottom: 0;
  color: #FCBA19;
  font-size: 30px;
  margin: 5px 0 30px;
}
.fancy{
  line-height:0.5;
  text-align:center;
  font-size:20px;
  display:block;
  margin:25px 0;
  opacity:0.87
}
.fancy span{
  display:inline-block;
  position:relative
}
.fancy span:after,.fancy span:before{
  content:"";
  position:absolute;
  height:4px;
  border-bottom:1px solid rgba(255,255,255,0.5);
  top:0;
  width:600px
}
.fancy span:before{
  right:100%;
  margin-right:15px
}
.fancy span:after{
  left:100%;
  margin-left:15px
}
.cutter{
  width:100%;
  overflow:hidden
}
.btn-full{
  width:100%;
  height:auto;
  line-height:1.2;
  padding:15px;
  margin-bottom:15px
}
.btn-full:hover{
  color:white;
  background:#f26a12;
  border-color:#f26a12
}
.approve-reject{
  white-space:nowrap;
  width:100%
}
.approve-reject .left{
  display:inline-block;
  vertical-align:top;
  width:50%;
  padding-right:5px;
  font-size:0
}
.approve-reject .left .btn{
  width:100%;
  font-size:25px
}
@media (max-width:450px){
  .approve-reject .left .btn{
    font-size:20px
  }
}
.approve-reject .right{
  display:inline-block;
  vertical-align:top;
  width:50%;
  padding-left:5px;
  font-size:0
}
.approve-reject .right .btn{
  width:100%;
  font-size:25px
}
@media (max-width:450px){
  .approve-reject .right .btn{
    font-size:20px
  }
}
.mod-list{
  margin-top:25px;
  padding-top:25px;
  border-top:solid 1px rgba(255,255,255,0.3)
}
.mod-list .vote-btn{
  max-width:calc(100% - 23px)
}
.mod-list .approve-reject{
  margin-bottom:35px
}
.btn-red{
  background:#E83C10;
  border-color:#E83C10
}
.btn-red:hover{
  background:#d0360e;
  border-color:#d0360e
}
.btn-green{
  background:#50bc3b;
  border-color:#50bc3b
}
.btn-green:hover{
  background:#48a935;
  border-color:#48a935
}
.mod-list-waiting{
  margin-top:25px;
  padding-top:25px;
  border-top:solid 1px rgba(255,255,255,0.3);
  text-align:center
}
.mod-list-waiting i,.mod-list-waiting svg{
  font-size:30px;
  margin-bottom:15px
}
.mod-list-waiting span{
  display:block;
  font-size:25px
}

.ad {
  margin-top: 30px;
}

.ad a {
  display: inline-block;
  border-radius:  10px;
  overflow: hidden;
}

.ad a img {
  padding:  0;
  min-width:  100%;
  max-width:  100%;
}

.rank-btn{
  position:relative;
  width:auto!important
}
.rank-btn .badge{
  position: absolute;
  right: 15px;
  top: 16px;
  color: #ddd;
  background: white;
  height: 50px;
  width: 50px;
  border-radius: 50px;
  line-height: 45px;
  text-align: center;
}
.rank-btn .badge i,.rank-btn .badge svg{
  color:#555!important;
  opacity:0.5;
  margin-right:  0;
  position: relative;
  left: 0px;
  top: 5px;
}
.rank-btn .fa-award-simple {
  top: 7px !important;
}
.rank-btn .badge.second,.rank-btn .badge.third{
  top:21px
}
.rank-btn .badge.second i,.rank-btn .badge.second svg,.rank-btn .badge.third i,.rank-btn .badge.third svg{
  font-size:35px!important;
  opacity:1
}
.rank-btn .badge.first{
  opacity:1!important
}
.rank-btn .badge.first i,.rank-btn .badge.first svg{
  color:#f26a12!important;
  opacity:1
}
.rank-btn .badge.second i,.rank-btn .badge.second svg{
  color:#68747f!important
}
.rank-btn .badge.third i,.rank-btn .badge.third svg{
  color:#943e25!important
}
.rank-btn .right{
  font-size:18px;
  color:#f26a12
}

.username {
  opacity: 0.5;
}

footer {
  background: #111;
  color: rgba(255, 255, 255, 0.87);
  padding: 25px 0 25px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;

  width: 100%;
  position: fixed;
  bottom: 0;
  
  & p {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, Helvetica Neue, Helvetica, Arial, sans-serif;
    font-size: 14px;
    margin: 0;
  }
  & a {
    color: rgba(255, 255, 255, 0.87);
    display: inline-block;
  }
}