@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Orbitron&family=Press+Start+2P&display=swap');


.message-container {
  margin-top: 20px;
  background-color: #f1f1f1;
  padding: 10px;
}

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(74,74,74);
  background: radial-gradient(circle, rgba(74,74,74,1) 0%, rgba(56,56,56,1) 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.overlay-content {
  padding: 20px;
  border-radius: 5px;
}

label {
  font-size: 20px;
  color: white;
  font-family: 'Orbitron', sans-serif;
}

input {
  width: 30%;
  min-width: 80px;
  max-width: 500px;
  height: 30px;
  box-sizing: border-box;
  border-radius: 3px 15px 5px 15px;
  text-align: center;
  font-family: 'Press Start 2P', cursive;
  padding: 18px;
  font-size: 16px;
}

body {
 margin-left:auto;
 margin-right:auto;
 width:95%;
 background-color:#383838;
 padding-bottom:5px;
 text-align:justify;
 color:rgb(255, 123, 0);
 font-size: 16px;
 text-align: center;
 }

 #imgleft{
  position: absolute;
  left: -500px;
  bottom: 200px;
  margin: auto;
  background-image: url(../img/pubg1.png);
  background-repeat: no-repeat;
  width: 778px;
  height: 924px;
  z-index: -1;
  filter: drop-shadow(10px 10px 10px #222);
 }

 #imgright{
  position: absolute;
  right: 0px;
  bottom: 200px;
  margin: auto;
  background-image: url(../img/pubg1.png);
  background-repeat: no-repeat;
  width: 478px;
  height: 924px;
  z-index: -1;
  filter: drop-shadow(10px 10px 10px #222);
 }

p{
  margin: auto;
  width: fit-content;
  position: relative;
  overflow: hidden;
  font-family: 'Orbitron', sans-serif;
  text-align: center;
  font-size: 20px;
  list-style-type: none;
  padding: 5px 5%;
}

ul{
  list-style-type: none;
  padding: 0px;
}

h1{
  position: relative;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-size: 80px;
  font-family: 'Press Start 2P', cursive;
  line-height: 90px;
  text-transform: capitalize;
  display: block;
}

h2{
  font-size: 20px;
  font-family: 'Press Start 2P', cursive;
  line-height: 20px;
  text-align: center;
  color: orangered;
}

#lootbox{
  max-width: 700px;
  width: 100%;
  margin: auto;
  position: relative;
  left: 0px;
  right: 0px;
  bottom:200px;
  text-align: center;
  border-radius: 100px;
  border-style: solid;
  border-color: gold;
  z-index: 1;
  -webkit-box-shadow:0px 0px 35px 5px rgba(255,227,46,0.85);
  -moz-box-shadow: 0px 0px 35px 5px rgba(255,227,46,0.85);
  box-shadow: 0px 0px 35px 5px rgba(255,227,46,0.85);
}

#lobbyIdContainer{
  padding: 5px 10px;
  border-style: solid;
  border-color: black;
  border-width: 3px;
  border-radius: 20px;
  background-color: #0000005b;
  margin: 10px auto;
  width: fit-content;
}

#lobbyId{
  padding: 5px 10px;
  border-style: solid;
  border-color: black;
  border-width: 3px;
  border-radius: 20px;
  background-color: #0000005b;
  margin: 20px auto;
  width: fit-content;
}

.tresure{
  background-color: rgb(51, 51, 51);
  border-color: gold;
  border-style: solid;
  border-width: 3px;
  border-radius: 50px;
  -webkit-box-shadow:0px 0px 35px 5px rgba(255,227,46,0.85);
  -moz-box-shadow: 0px 0px 35px 5px rgba(255,227,46,0.85);
  box-shadow: 0px 0px 35px 5px rgba(255,227,46,0.85);
}

.button1{
  padding: 10px;
  background-color: rgb(0, 0, 0);
  font-size: 16px;
  font-weight: 900;
  font-family: 'Orbitron', sans-serif;
  color: white;
  box-sizing: border-box;
  border-radius: 3px 15px 5px 15px;
}

.slide-in-blurred-top {
	-webkit-animation: slide-in-blurred-top 0.6s cubic-bezier(0.230, 1.000, 0.320, 1.000) both;
	        animation: slide-in-blurred-top 0.6s cubic-bezier(0.230, 1.000, 0.320, 1.000) both;
}

@-webkit-keyframes slide-in-blurred-top {
  0% {
    -webkit-transform: translateY(-1000px) scaleY(2.5) scaleX(0.2);
            transform: translateY(-1000px) scaleY(2.5) scaleX(0.2);
    -webkit-transform-origin: 50% 0%;
            transform-origin: 50% 0%;
    -webkit-filter: blur(40px);
            filter: blur(40px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0) scaleY(1) scaleX(1);
            transform: translateY(0) scaleY(1) scaleX(1);
    -webkit-transform-origin: 50% 50%;
            transform-origin: 50% 50%;
    -webkit-filter: blur(0);
            filter: blur(0);
    opacity: 1;
  }
}
@keyframes slide-in-blurred-top {
  0% {
    -webkit-transform: translateY(-1000px) scaleY(2.5) scaleX(0.2);
            transform: translateY(-1000px) scaleY(2.5) scaleX(0.2);
    -webkit-transform-origin: 50% 0%;
            transform-origin: 50% 0%;
    -webkit-filter: blur(40px);
            filter: blur(40px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0) scaleY(1) scaleX(1);
            transform: translateY(0) scaleY(1) scaleX(1);
    -webkit-transform-origin: 50% 50%;
            transform-origin: 50% 50%;
    -webkit-filter: blur(0);
            filter: blur(0);
    opacity: 1;
  }
}

.slide-out-blurred-top {
	-webkit-animation: slide-out-blurred-top 0.45s cubic-bezier(0.755, 0.050, 0.855, 0.060) both;
	        animation: slide-out-blurred-top 0.45s cubic-bezier(0.755, 0.050, 0.855, 0.060) both;
}

@-webkit-keyframes slide-out-blurred-top {
  0% {
    -webkit-transform: translateY(0) scaleY(1) scaleX(1);
            transform: translateY(0) scaleY(1) scaleX(1);
    -webkit-transform-origin: 50% 0%;
            transform-origin: 50% 0%;
    -webkit-filter: blur(0);
            filter: blur(0);
    opacity: 1;
  }
  100% {
    -webkit-transform: translateY(-1000px) scaleY(2) scaleX(0.2);
            transform: translateY(-1000px) scaleY(2) scaleX(0.2);
    -webkit-transform-origin: 50% 0%;
            transform-origin: 50% 0%;
    -webkit-filter: blur(40px);
            filter: blur(40px);
    opacity: 0;
  }
}
@keyframes slide-out-blurred-top {
  0% {
    -webkit-transform: translateY(0) scaleY(1) scaleX(1);
            transform: translateY(0) scaleY(1) scaleX(1);
    -webkit-transform-origin: 50% 0%;
            transform-origin: 50% 0%;
    -webkit-filter: blur(0);
            filter: blur(0);
    opacity: 1;
  }
  100% {
    -webkit-transform: translateY(-1000px) scaleY(2) scaleX(0.2);
            transform: translateY(-1000px) scaleY(2) scaleX(0.2);
    -webkit-transform-origin: 50% 0%;
            transform-origin: 50% 0%;
    -webkit-filter: blur(40px);
            filter: blur(40px);
    opacity: 0;
  }
}

.vibrate-2 {
	animation: vibrate-2 0.5s linear infinite both;
}

@keyframes vibrate-2 {
  0% {
    transform: translate(0);
  }
  20% {
    transform: translate(2px, -2px);
  }
  40% {
    transform: translate(2px, 2px);
  }
  60% {
    transform: translate(-2px, 2px);
  }
  80% {
    transform: translate(-2px, -2px);
  }
  100% {
    transform: translate(0);
  }
}


.text-pop-up-bottom {
	animation: text-pop-up-bottom 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
  font-size: 80px;
}

@keyframes text-pop-up-bottom {
  0% {
    transform: translateY(0);
    transform-origin: 50% 50%;
    text-shadow: none;
  }
  100% {
    transform: translateY(50px);
    transform-origin: 50% 50%;
    text-shadow: 0 1px 0 #cccccc, 0 2px 0 #cccccc, 0 3px 0 #cccccc, 0 4px 0 #cccccc, 0 5px 0 #cccccc, 0 6px 0 #cccccc, 0 7px 0 #cccccc, 0 8px 0 #cccccc, 0 9px 0 #cccccc, 0 50px 30px rgba(0, 0, 0, 0.3);
  }
}

.heartbeat {
	animation: heartbeat 1.5s ease-in-out infinite both;
  font-size: 80px;
}

@keyframes heartbeat {
  from {
    transform: scale(1);
    transform-origin: center center;
    animation-timing-function: ease-out;
  }
  10% {
    transform: scale(0.91);
    animation-timing-function: ease-in;
  }
  17% {
    transform: scale(0.98);
    animation-timing-function: ease-out;
  }
  33% {
    transform: scale(0.87);
    animation-timing-function: ease-in;
  }
  45% {
    transform: scale(1);
    animation-timing-function: ease-out;
  }
}

.bouncy{
  animation:bouncy 5s infinite linear;
  position:relative;
  box-sizing: border-box;
  border-radius: 3px 15px 5px 15px;
 }

 .bouncyImg{
  animation:bouncyImg 5.7s linear;
  position:relative;
  box-sizing: border-box;
  border-radius: 3px 15px 5px 15px;
 }

 .shuffle{
  animation:shuffle 2s infinite linear;
  position:relative;
  box-sizing: border-box;
  border-radius: 3px 15px 5px 15px;
 }

 #getRandomMessageButton{
  animation:bouncy 5s infinite linear;
  position:relative;
  color: black;
  background-color: orange;
  font-size: 30px;
  font-family: 'Orbitron', sans-serif;
  margin-top: 10px;
  padding: 10px;
  box-sizing: border-box;
  border-radius: 3px 15px 5px 15px;
 }

 .bounce-in-top{-webkit-animation:bounce-in-top 1.1s both;animation:bounce-in-top 1.1s both}

 @-webkit-keyframes bounce-in-top{0%{-webkit-transform:translateY(-500px);transform:translateY(-500px);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}38%{-webkit-transform:translateY(0);transform:translateY(0);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out;opacity:1}55%{-webkit-transform:translateY(-65px);transform:translateY(-65px);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}72%{-webkit-transform:translateY(0);transform:translateY(0);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}81%{-webkit-transform:translateY(-28px);transform:translateY(-28px);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}90%{-webkit-transform:translateY(0);transform:translateY(0);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}95%{-webkit-transform:translateY(-8px);transform:translateY(-8px);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}100%{-webkit-transform:translateY(0);transform:translateY(0);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}}@keyframes bounce-in-top{0%{-webkit-transform:translateY(-500px);transform:translateY(-500px);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}38%{-webkit-transform:translateY(0);transform:translateY(0);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out;opacity:1}55%{-webkit-transform:translateY(-65px);transform:translateY(-65px);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}72%{-webkit-transform:translateY(0);transform:translateY(0);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}81%{-webkit-transform:translateY(-28px);transform:translateY(-28px);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}90%{-webkit-transform:translateY(0);transform:translateY(0);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}95%{-webkit-transform:translateY(-8px);transform:translateY(-8px);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}100%{-webkit-transform:translateY(0);transform:translateY(0);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}}

 @keyframes shuffle {
  0%{top:0em}
  23%{top:-0.9em}
  26%{top:0em}
  28%{top:-0.4em}
  40%{top:0em}
  43%{top:-0.9em}
  46%{top:0em}
  48%{top:-0.4em}
  50%{top:0em}
  73%{top:-0.9em}
  76%{top:0em}
  78%{top:-0.4em}
  100%{top:0em;}
 }
 
@keyframes bouncy {
  0%{top:0em}
  40%{top:0em}
  43%{top:-0.9em}
  46%{top:0em}
  48%{top:-0.4em}
  50%{top:0em}
  100%{top:0em;}
 }

 @keyframes bouncyImg {
  0%{top:0em}
  20%{top:0em}
  23%{top:-0.9em}
  26%{top:0em}
  40%{top:0em}
  43%{top:-0.9em}
  46%{top:0em}
  48%{top:-0.4em}
  60%{top:0em}
  63%{top:-0.9em}
  66%{top:0em}
  80%{top:0em}
  83%{top:-0.9em}
  86%{top:0em}
  100%{top:0em;}
 }

 /* Resposive */
 @media(max-width: 800px){
 h1{
   font-size: 40px;
   text-align: center;
   line-height: 50px;
   }

#lootbox{
  background-image: url(../img/lootbox.gif);
  background-size: cover;
  border-radius: 10px;
}

 body,
 label,
 input,
 .button1,
 #roll{
   max-width: 95%;
   width: 95%;
  }
  #imgleft,
  #imgright{
    visibility: hidden;
  }
 }