@font-face {
    font-family: thicker-black;
    src: url(../fonts/Thicker\ Black.otf);
}

body {
    background-color: #000;
    background-size: cover;
    text-align: center;
    width:100%;
}

body.chase{
    background-image: url("../img/chase-background.jpg");
}

body.rubble{
    background-image: url("../img/rubble-background.jpg");
}

body.marshall{
    background-image: url("../img/marshall-background.jpg");
}

body.rocky{
    background-image: url("../img/rocky-background.jpg");
}

body.skye{
    background-image: url("../img/skye-background.jpg");
}

body.zuma{
    background-image: url("../img/zuma-background.jpg");
}

body.legal-chase{
    background-image: url("../img/chase-background.jpg");
}

body.legal-rubble{
    background-image: url("../img/rubble-background.jpg");
}

body.legal-marshall{
    background-image: url("../img/marshall-background.jpg");
}

body.legal-rocky{
    background-image: url("../img/rocky-background.jpg");
}

body.legal-skye{
    background-image: url("../img/skye-background.jpg");
}

body.legal-zuma{
    background-image: url("../img/zuma-background.jpg");
}

body.legal-coming-soon, body.legal-select-character, body.select-character, body.register{
    background-image: url("../img/selector-background.jpg");
}

body.select-character .container, body.coming-soon .container,  body.register .container{
    background-image: url("../img/selector-background.jpg");
}

body.scan-qr .scan-container{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../img/scan-background.jpg");
    background-size: cover;
}

body.scan-qr .scan-container img{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin:auto;
    width: 90%;
}

body.register .container .form{
    position:absolute;
    width: 90%;
    height: fit-content;
    left:0;
    right:0;
    top:0;
    bottom:0;
    margin:auto;
}

body.register .container .form .titulo{
    text-align: center;
}

body.register .container .form .field .label{
    position:relative;
}

body.register .container .form .field .label img{
    width: 100px;
    position:absolute;
    left:0px;
    right: 0px;
    margin:auto;
    top:-10px;
}

body.register .container .form .field img.continue{
    width: 150px;
    position:absolute;
    left:0px;
    right: 0px;
    margin:auto;
    cursor:pointer;
}

body.register .container .form .field .input{
    position:relative;
    width: 60%;
    max-width: 300px;
    background-color: rgba(0,0,0,0);
    background-image: url(../img/input.png);
    background-size: 100% 100%;
    border: 0;
    height: 20px;
    padding: 15px 15px 21px 15px;
    text-align: center;
    margin-top:15px;
    margin: auto;
}

.error-container{
    position: absolute;
    width: 100%;
    height: 100%;
    left:0;
    top:0;
    background: rgba(0,0,0,.5);
}

.error{
    box-shadow: 5px 4px 5px 0px rgba(0,0,0,0.75);
    -webkit-box-shadow: 5px 4px 5px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 5px 4px 5px 0px rgba(0,0,0,0.75);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    left: 0;
    bottom: 0;
    margin: auto;
    width: 90%;
    height: 200px;
    background: white;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    color:#333;
    border-radius: 15px;
}

.error .title{
    font-size:25px;
    padding:15px;
}

.error .message{
    padding: 5px 20px;
    font-size:15px;
}

.error img.continue{
    width: 50%;
    max-width: 200px;
    cursor:pointer;
}

.appearance-none {
    -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  appearance: none;
}

body.register .container .form .field .input input{
    background: none;
    border:0;
    width: 90%;
    height: 100%;
    color:black;
    font-family: Arial, Helvetica, sans-serif;
    -webkit-user-select:text;
    text-align: center;
}

body.register .container .form .field .input select{
    background: none;
    border:0;
    width: 90%;
    height: 100%;
    color:black;
    font-family: Arial, Helvetica, sans-serif;
    -webkit-user-select:text;
    text-align: center;
}


input:focus, .input select{
    outline: none;
}

input:-internal-autofill-selected{
    background: none;
}

body.register .container .form .field{
    text-align: center;
}


img.registrate{
    position:absolute;
    left:0;
    right:0;
    top:-70px;
    margin:auto;
    width: 70%;
    max-width: 300px;
    z-index: -1;
}

.character-loading, .character-loading img.shadow{
    width:100%;
    height: 100%;
}

.container .cover{
    position:absolute;
    top:0;
    left: 0;
    width:100%;
    height: 100%;
    display:none;
    background: none;
}

.character-loading img.shadow{
    top:0px;
    left:0px;
    position:absolute;
}

.character-loading img.characters{
    max-width: 500px;
    width: 100%;
    margin: auto;
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
}

.character-selection {
    display: none;
    position: absolute;
    top:0px;
    left:0px;
    width:100%;
    height: 100%;
}

.character-selection img.text{
    max-width: 600px;
    width: 100%;
    position: absolute;
    top: 0px;
    left: 0;
    right: 0;
    margin: auto;
}

.characters-container{
    position:absolute;
    width: 80%;
    height: 50%;
    margin: auto;
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
}

.cookies-configuration{
    position: absolute;
    display: flex;
    flex-direction: row;
    top:0;
    left:0;
    right: 0;
    bottom:0;
    margin:auto;
    width:80%;
    height: 70%;
    background:#fff;
    border-radius: 15px;
    display:none;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    padding: 35px 15px;
}

.cookies-configuration .content{
    max-height: 90%;
    overflow-y: auto;
}

.cookies-configuration .content div{
    margin-top: 15px;
}

.cookies-configuration .title{
    font-weight: bold;
}

.cookies-configuration .left{
    text-align: left;
}

.cookies-configuration .small-text{
    font-size:12px;
}

.cookies-configuration img{
    left:0;
    right: 0;
    margin: auto;
    width:100px;
    position: absolute;
    bottom:15px;
}

.cookies-configuration label{
    float:right;
}


.character-container.left img.character, .character-container.left img.selected{
    margin-left: 5px;
}

.character-container.right img.character, .character-container.right img.selected{
    margin-left: -5px;
}

.character-container.top img.character, .character-container.top img.selected{
    margin-bottom: -15px;
}

.character-container.bottom img.character, .character-container.bottom img.selected{
    margin-top: -15px;
}

.characters-container .character-container{
    position:relative;
    display:inline-block;
    width:calc(50% - 10px);
}

.character-container img{
    width: 100%;
}

.character-container img.selected{
    opacity: 0;
    position:absolute;
    left:0px;
    top:0px;
    width: 100%;
    z-index: -1;
    transition: all .5s;
}

.character-container:hover > img.selected{
    opacity: 1;
}


body.coming-soon, body.coming-soon .container, body.not-available, .container{
    background-image: url("../img/selector-background.jpg");
}

body.not-available .container img{
    position: absolute;
    width: 85%;
    left:0;
    top:0;
    right:0;
    bottom:0;
    margin:auto;
    max-width: 400px;
}

img.soon-characters{
    position:absolute;
    z-index: -1;
    width:100%;
    left:0;
    top:0;
    right: 0;
    bottom: 0;
    margin:auto;
    max-width: 400px;
}

table {
    border-spacing: 0px;
    border-collapse: separate;
}

table td{
    border:1px solid #777;
    margin:0;
    padding:15px;
}

.legal {
    position:absolute;
    width:80%;
    left:10%;
    background: #fff;
    top:5%;
    height:90%;
    border-radius: 15px;
    box-shadow: 10px 10px 5px rgba(0,0,0,.3);
}

.legal .text{
    font-family: Arial, Helvetica, san-serif;
    width:90%;
    height: calc(100% - 80px);
    top:5%;
    position:absolute;
    overflow-y: auto;
    color:#000;
    padding: 0% 5%;
    background:#f7f7f7;
}

.legal .text p{
    text-align: left;
    font-size: 12px;
}

.legal .text h3{
    text-align: left;
    font-size:17px;
}

.legal .text h2{
    font-size: 20px;
}

.legal img{
    position:absolute;
    bottom:10px;
    width:100px;
    left:calc(50% - 50px);
}


.footer{
    position:absolute;
    bottom:7px;
    left:0px;
    text-align: left;
    width:100%;
    font-size: 12px;
    color: #fff;
    font-family: Arial, Helvetica, san-serif;
    font-weight: 300;
}



.footer a {
    margin: 0px 5px;
    color: #fff;
}

.footer a:first-child {
    margin: 0px 5px 0px 18px;
    color: #fff;
}

.footer span{
    float:right;
    margin-right: 15px;
}

.footer a:visited{
    color: #fff;
}

.cookies{
    transition: all 1s;
    width:calc(80% - 40px);
    left:10%;
    height:50vw;
    position:absolute;
    bottom:-800px;
    font-weight:normal;
    background: #fff;
    border-radius: 15px 15px 0px 0px;
    padding:20px;
}

.cookies .text{
    width:100%;
}

.cookies div{
    font-size: 10px;
    font-family: Arial, Helvetica, sans-serif;
    color:#2f3a7e;
    font-weight: 600;
    text-decoration: underline;
}

.cookies.pt{
    height:40vw;
}

.cookies .aceptar{
    margin-top:15px;
    width:50%;
    transition: all 0.5s;
}

.cookies .aceptar:hover{
    width:51%;
}

#landing {
    display:none;
    position:absolute;
    top:0px;
    left:0px;
    width:100%;
    height:100%;
}

.container{
    width:100%;
    height: 100%;
    position:fixed;
    top:0px;
    left:0px;
    background-size: cover;
    background-position: center;
}

body.chase .container{
    background-image: url('../img/chase-background.jpg');
}

body.rubble .container{
    background-image: url('../img/rubble-background.jpg');
}

body.marshall .container{
    background-image: url('../img/marshall-background.jpg');
}

body.rocky .container{
    background-image: url('../img/rocky-background.jpg');
}

body.skye .container{
    background-image: url('../img/skye-background.jpg');
}

body.zuma .container{
    background-image: url('../img/zuma-background.jpg');
}

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
      -webkit-user-select: none; /* Safari */
       -khtml-user-select: none; /* Konqueror HTML */
         -moz-user-select: none; /* Old versions of Firefox */
          -ms-user-select: none; /* Internet Explorer/Edge */
              user-select: none; /* Non-prefixed version, currently
                                    supported by Chrome, Edge, Opera and Firefox */
  }

.loading {
    position:absolute;
    display:block;
    left: 0px;
    top:0px;
    width:100%;
    height:100%;
}

body.chase .container .loading{
    background:#0f0d1d;
}

body.rubble .container .loading{
    background:#221905;
}

body.skye .container .loading{
    background:#22051d;
}

body.zuma .container .loading{
    background:#220d05;
}

body.rocky .container .loading{
    background:#081509;
}

body.marshall .container .loading{
    background:#220d05;
}

.loading img{
    width:auto;
    height: auto;
    max-height: 100%;
    max-width: 100%;
}

.character-loading .progress{
    position:absolute;
    bottom:15%;
    font-family: thicker-black;
    font-size:35px;
    font-weight: 100;
    color:#fff;
    width:100%;
    text-align:center;
}

.loading .progress{
    position:absolute;
    top:120vw;
    font-family: thicker-black;
    font-size:35px;
    font-weight: 100;
    color:#fff;
    width:100%;
    text-align:center;
}

.white-light{
    position:absolute;
    width:100%;
    left:0px;
    top:200px;
}

.header{
    left:0px;
    top:0px;
    position:absolute;
    width:100%;
}

.header-shadow{
    left:0px;
    top:0px;
    position:absolute;
    width:100%;
    mix-blend-mode: darken;
}

.header-shadow-bottom{
    left:0px;
    bottom:0px;
    position:absolute;
    width:100%;
}

img.chase, img.rubble, img.rocky, img.marshall, img.skye, img.zuma{
    position:absolute;
    width:90%;
    top:10px;
    left:5%;
}

.play{
    transition: all 0.5s;
    position:absolute;
    bottom:15vw;
    left:calc(50% - 27.5vw);
    width:55vw;
}

.play:hover{
    left:calc(50% - 29vw);
    width:58vw;
    opacity: 0.8;
}

.sound{
    transition: all 0.5s;
    position:absolute;
    top:2%;
    right:5%;
    width:7%;
    cursor:pointer;
    z-index: 10;
}

.sound:hover{
    opacity: .7;
}

.sound.on{
    display: block;
}

.sound.off{
    display:none;
}

@media screen and (max-width: 361px){
    .footer{
        font-size:10px;
    }


    .loading img{
        width: 85%;
    }

    .loading .progress{
        top:110vw
    }

    .characters-container{
        width: 80%;
        height: 50%;
    }

    .character-selection img.text{
        width: 80%;
    }


    .play{
        bottom:6vw;
    }


    img.chase, img.rubble, img.rocky, img.marshall, img.skye, img.zuma{
        top:3%;
        width:90%;
        left:0;
        right: 0;
        margin:auto;
    }

}

@media screen and (max-width: 361px) and (max-height: 540px) {

    img.soon-characters{
        width: 90%;
    }


    .footer{
        font-size:10px;
    }


    img.chase, img.rubble, img.rocky, img.marshall, img.skye, img.zuma{
        top:3%;
        width:80%;
        left:0;
        right: 0;
        margin:auto;
    }

}

@media screen and (max-width: 361px) and (max-height: 520px) {

    .characters-container{
        width: 75%;
        height: 50%;
    }

    .footer{
        font-size:10px;
    }


    img.chase, img.rubble, img.rocky, img.marshall, img.skye, img.zuma{
        top:3%;
        width:75%;
        left:0;
        right: 0;
        margin:auto;
    }

}

@media screen and (min-width: 320px) and (max-width: 857px) and (orientation: landscape) {
  /* html {
    transform: rotate(-90deg);
    transform-origin: left top;
    width: 100vh;
    overflow-x: hidden;
    position: absolute;
    top: 100%;
    left: 0;
  } */
}


@media screen and (min-width: 900px) {

    .characters-container{
        width: 80%;
        height: 50%;
    }

    .container{
        width:480px;
        height: 960px;
        top:calc(50vh - 480px);
        left:calc(50vw - 240px);
    }

    .loading .progress{
        position:absolute;
        top:600px;
    }

    .play{
        bottom:50px;
        left:calc(50% - 100px);
        width:200px;
    }

    .play:hover{
        left:calc(50% - 125px);
        width:250px;
    }
  }

  @media screen and (min-height: 750px) and (max-width: 1024px) {

    .characters-container{
        width: 60%;
        height: 45%;
    }

    img.chase, img.rubble, img.rocky, img.marshall, img.skye, img.zuma {
        width:70%;
        left:calc(50% - 35%);
        top:4vh;
    }

    .play{
        bottom:50px;
        left:calc(50% - 125px);
        width:250px;
    }

    .play:hover{
        left:calc(50% - 140px);
        width:280px;
    }

  }

  @media screen and (min-height: 1023px) and (min-width: 750px) {
    .loading .progress{
        top: 70%;
    }
  }

  @media screen and (min-height: 750px) and (min-width: 1023px) {

    .loading .progress{
        top: 70%;
    }

    .characters-container{
        width: 80%;
        height: 50%;
    }

    .cookies{
        height:300px;
    }

    .cookies.pt{
        height:200px;
    }

    img.chase, img.rubble, img.rocky, img.marshall, img.skye, img.zuma {
        width:100%;
        left:0px;
    }

    .play{
        bottom:50px;
        left:calc(50% - 150px);
        width:300px;
    }

    .play:hover{
        left:calc(50% - 175px);
        width:350px;
    }

  }

  @media screen and (min-height: 750px) and (max-height: 850px) and (min-width: 350px) and (max-width: 420px)  {
    .characters-container{
        width: 80%;
        height: 50%;
    }

    img.chase, img.rubble, img.rocky, img.marshall, img.skye, img.zuma {
        width:100%;
        left:0px;
    }
  }

  @media screen and (min-width: 500px) and (max-width: 600px) and (min-height: 500px) and (max-height: 800px)  {

    .loading .progress{
        top: 70%;
    }

    .play{
        bottom:50px;
        left:calc(50% - 125px);
        width:250px;
    }

    .play:hover{
        left:calc(50% - 140px);
        width:280px;
    }

    img.chase, img.rubble, img.rocky, img.marshall, img.skye, img.zuma {
        width:70%;
        left:calc(50% - 35%);
        top:4vh;
    }

    .character-loading img.characters{
        max-width: 400px;
    }

    .characters-container{
        width: 60%;
        height: 45%;
    }

    .character-selection img.text{
        max-width: 400px;
    }
  }


*{
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}


/* SWITCH */

.switch {
    position: relative;
    display: inline-block;
    width: 30px;
    height: 17px;
  }

  /* Hide default HTML checkbox */
  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }

  /* The slider */
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
  }

  .slider:before {
    position: absolute;
    content: "";
    height: 13px;
    width: 13px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
  }

  .switch input:checked + .slider {
    background-color: #2196F3;
  }

  .switch input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
  }

  .switch input:checked + .slider:before {
    -webkit-transform: translateX(13px);
    -ms-transform: translateX(13px);
    transform: translateX(13px);
  }

  /* Rounded sliders */
  .slider.round {
    border-radius: 17px;
  }

  .slider.round:before {
    border-radius: 50%;
  }
