@import url('https://fonts.googleapis.com/css2?family=Luckiest+Guy&display=swap');

@font-face {
  font-family: "Passion One";
  font-weight: 400;
  src: url('../fonts/PassionOne-Regular.ttf') format('truetype');
}

@font-face {
  font-family: "Passion One";
  font-weight: 600;
  src: url('../fonts/PassionOne-Bold.ttf') format('truetype');
}

@font-face {
  font-family: "Passion One";
  font-weight: 800;
  src: url('../fonts/PassionOne-Black.ttf') format('truetype');
}

.PassionOne {
  font-family: 'Passion One';
}

* {
  margin: 0;
  padding: 0;
}

body {
  background-color: #88d8f8;
  font-family: Passion One;
}

#correctOrientation {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #0059b0;
  display: none;
}

#correctOrientation[active] {
  display: block;
}

#correctOrientation .content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: center;
  display: block;
}

#correctOrientation .content .brand {
  position: relative;
  width: 100%;
  height: 28%;
  margin-top: 5%;
  display: block;
  background: url('../img/title2.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

#correctOrientation .content .icon {
  position: relative;
  width: 10%;
  height: 10%;
  margin-top: 8%;
  display: inline-block;
  background: url('../img/rotate.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

#correctOrientation .content .text {
  position: relative;
  width: 100%;
  height: 10%;
  margin-top: 4%;
  display: block;
  color: #fff;
  font-size: 2em;
  text-transform: uppercase;
  letter-spacing: 1px;
  word-spacing: 3px;
}

#instructionScreen {
  background: linear-gradient(-55deg, #1768a9 0%, #27ADC5 50%, #7DEFEF 100%);
  position: absolute;
  top: 0;
  width: 0;
  height: 0;
  display: inline-block;
  overflow: auto;
  text-align: center;
  display: none;
}

#instructionScreen[active]{
  display: block;
}

#instructionScreen .content {
  color: #fff;
}

#instructionScreen .content {
  position: relative;
  bottom: 0;
  width: 95%;
  height: 100%;
  display: inline-block;
}

#instructionScreen .close {
  position: absolute;
  top: 1.2em;
  left: 0.5em;
  width: 2em;
  height: 2em;
  border-radius: 50%;
  background-image: url('../img/close.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  cursor: pointer;
  z-index: 9;
}

#instructionScreen .content .brand {
  position: relative;
  margin-top: 10px;
  width: 100%;
  max-width: 300px;
  background-image: url('../img/title.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  display: inline-block;
  height: 50%;
  max-height: 180px;
  margin-bottom: 20px;
  margin-top: 2em;
}

#instructionScreen .content h3 {
  font-size: 2em;
  font-family: luckiest guy;
  padding: 5px 45px;
  color: #ffffff;
  line-height: 1.3em;
  letter-spacing: 1px;
  word-spacing: 5px;
  text-shadow: 1px 2px 3px rgba(0, 0, 0, 0.25);
  text-transform: uppercase;
  margin: 5px 0px;
}

#instructionScreen .content p {
  text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.25);
  color: #fff;
  font-size: 1.1em;
  margin: 15px 0px;
  max-width: 80%;
  display: inline-block;
  text-transform: capitalize;
}

#instructionScreen ul {
  position: relative;
  list-style: none;
  padding-left: 0;
  margin: 0;
  margin-top: 10px;
  margin-bottom: 10px;
  margin-left: 5px;
  width: calc(100% - 30px);
  padding: 0px 15px;
}

#instructionScreen ul::after {
  content: '';
  display: table;
  clear: both;
}

#instructionScreen ul li {
  position: relative;
  display: inline-block;
  width: calc(25% - 10px);
  padding-top: 26%;
  background: none;
  float: left;
  border-radius: 8px;
  margin-right: 10px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

#instructionScreen .button {
  position: relative;
  display: inline-block;
  width: 9em;
  height: 4em;
  background: url('../img/start_button.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  margin-top: 10px;
  margin-bottom: 25px;
}

#instructionScreen_next_btn{
  display: none;
}
#instructionScreen_next_btn[active]{
  display: block;
}
