@font-face {
  font-family: 'Roboto Condensed';
  src: url('assets/fonts/roboto.ttf');
  font-weight: 400;
  font-weight: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body, div, canvas {
  margin: 0;
  padding: 0;
}
canvas {
  display: block;
}
body {
  font-family: "Roboto Condensed";
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.87);
  margin: 0;
}

#no-landscape {
  width: 100%;
  height: 100%;
  z-index: 10;
  display: none;
  background-color: black;
  position: absolute;
  background-image: url('assets/no-landscape.png');
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  background-size: contain;
}

.fontload {
  visibility: hidden;
  position: absolute;
  left: -9999px;
}

#app {
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background-size: auto;
  margin: 0;
}

#game-container {
  box-sizing: border-box;
  margin: 0;
  width: 100%;
  height: 100%;
}

/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: transparent;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/*SLIDER CSS*/
.slider {
  -webkit-appearance: none;
  width: 50%;
  height: 25px;
  background: black;
  outline: none;
  opacity: 0.7;
  -webkit-transition: .2s;
  transition: opacity .2s;
}

.slider:hover {
  opacity: 1;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 50px;
  height: 25px;
  background: white;
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 50px;
  height: 25px;
  background: white;
  cursor: pointer;
}

/*SETTING UI CSS*/

#close-settings-ui-button {
  width: 40px;
  height: 40px;
  position: absolute;
  right: 10px;
  top: 10px;
  cursor: pointer;
}

#settings-ui-container {
  width: 100%;
  height: 100%;
  background: #222222;
  position: absolute;
  display: flex;
  flex-direction: row;
  top: 0;
  font-family: "Roboto Condensed";
}

#settings-ui-navbar {
  box-sizing: border-box;
  height: 100%;
  width: 25%;
  background: #111111;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  overflow: auto;
}

#settings-ui-navbar-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-items: center;
  align-items: center;
  row-gap: 20px;
  width: 100%;
  max-height: 100%;
  padding: 0 5%;
}

#settings-ui-navbar-wrapper p {
  text-transform: uppercase;
}

#settings-ui-navbar #settings-ui-navbar-wrapper div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  width: 50%;
  height: 25%;
  text-align: center;
}

#settings-ui-navbar #settings-ui-navbar-wrapper div:hover {
  cursor: pointer;
  color: #FFCB30;
}

#settings-ui-navbar #settings-ui-navbar-wrapper div svg {
  height: 100%;
  width: 60%;
  min-height: 60%;
  min-width: 60%;
}

#settings-ui-navbar #settings-ui-navbar-wrapper div svg path {
  fill: white;
}

#settings-ui-navbar #settings-ui-navbar-wrapper div:hover svg path {
  fill: #FFCB30!important;
}

#settings-ui-content {
  height: 100%;
  width: 75%;
  background: #222222;
  padding: 2%;
  padding-right: 45px;
  height: 100%;
  overflow-y: auto;
}

.small_title {
  text-align: center;
  color: #FFCB30;
  text-transform: uppercase;
}

#settings-ui-content .title {
  width: 100%;
  text-align: center;
  font-size: 32px;
  color: #FFCB30;
  text-transform: uppercase;
}





.bottom-border {
  padding-bottom: 20px;
}

.bottom-border:after {
  content: "";
  display: block;
  margin-top: 10px;
  width: 100%;
  height: 4px;
  background: #1407f2;
  background: linear-gradient(90deg, transparent 0, #fff 50%, transparent 100%);
  border-radius: 50%;
}

#settings-ui-content .text-section {
  padding-top: 2%;
  font-size: 16px;
  line-height: 1.3;
}

#settings-ui-content .text-section .text-section-title {
  font-size: 19px;
  color: #FFCB30;
  text-transform: capitalize;
}



#table {
  width: 100%;
  border-collapse: collapse;
}

#table td, th {
  border: 1px solid #dddddd;
  text-align: left;
  padding: 8px;
  text-transform: capitalize;
}
#table  tr td:first-child{
  display: flex;
  justify-content: center;
  align-items: center;

}

#table td:first-child img {
  width: 50%;
}
#table  tr td:first-child{
  display: table-cell;
  text-align: center;
}


.sounds-options-container {
  display: flex;
  align-items: center;
  padding-top: 20px;
  justify-content: space-around;
  padding-bottom: 40px;
  height: 30%;
}

.sound-option-checkbox {
  height: 100%;
  fill: #FFCB30;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 33%;
  text-transform: uppercase;
}

.sound-option-checkbox svg:hover path {
  fill: #FFCB30;
}

#settings-ui-content-settings {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.settings-ui-content-settings-wrapper {
  width: 100%;
}

#settings-ui-content-reality-check {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.settings-ui-content-reality-check-value-container{
  width: 33%;
  display: flex;
  flex-direction: column;
}
.settings-ui-content-reality-check-text {
  display: flex;
  justify-content: space-between;
}

.settings-ui-content-reality-check-wrapper {
  width: 100%;
}


.reality-check-modal{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 800px;
  min-width: 260px;
  background-color: #000;
  border-radius: 4px;
  color: #fff;
  padding-top: 30px;
  padding-bottom: 30px;
  text-align: center;
}

.reality-check-modal-btn{
  display: inline-block;
  border-radius: 4px;
  margin: 30px 15px 0;
  line-height: 22px;
  font-size: 18px;
  min-width: 80px;
  letter-spacing: 1.4px;
  padding: 6px 16px;
  -webkit-transition: .2s all linear;
  -moz-transition: .2s all linear;
  -ms-transition: .2s all linear;
  -o-transition: .2s all linear;
  transition: .2s all linear;
  cursor: pointer;
  text-transform: uppercase;
}
.modal-question-mark{
  position: absolute;
  top: -30px;
  left: 50%;
  width: 60px;
  height: 60px;
  -webkit-transform: translate(-50%, 0);
  -moz-transform: translate(-50%, 0);
  -ms-transform: translate(-50%, 0);
  -o-transform: translate(-50%, 0);
  transform: translate(-50%, 0);
  background-color: #000;
  border-radius: 50%;
  border: 2px solid #fff;
  img{
    position: absolute;
    top: 50%;
    width: 26px;
    height: 26px;
    transform: translate(-50%, -50%);
  }
}

.reality-check-modal p{
  width: 100%;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: 1.5px;
  padding: 28px 28px 0;
}
.paytable-image-container {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  padding-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}

.paytable-symbol-image-container{
  width: 25%;
  height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.paytable-symbol-image-container img{
  height: 100%;
}

.paytable-multi-symbol-image-container{
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  margin: auto;
  justify-items: center;
  gap: 10px;
  row-gap: 40px;
  align-items: center;
  align-content: center;
  justify-content: center;
  padding-bottom: 20px;
  padding-top: 40px;

}

.paytable-image-container img {
  width: 50%;
}

.reality-check-range-input-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

#settings-ui-content-history {
  display: flex;
  justify-items: center;
  align-items: center;
  flex-direction: column
}

.historyLineContainer{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
}
.historyLineContainer div:first-child{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.historyLineContainer div:first-child{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.historyLineContainer div:last-child{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

#history-win-lines{
  width: 100%;

}
.history-win-line-info{
  display: flex;
  align-items: flex-end;
  padding-bottom: 10px;
  border-bottom: 1px solid #444;
  width: 100%;
  gap: 20px;
}
.history-win-line-info img{
  height: 50px;
  width: 50px;
}

#history-prev-button{
  width: 0;
  height: 0;
  border-top: 28px solid transparent;
  border-bottom: 28px solid transparent;
  border-right: 44px solid #fff;
  cursor: pointer;
  user-select: none;
  left: 15%;
  top: 46%;
  position:absolute;

}
#history-prev-button:hover{
  border-right-color: #FFCB30;
}
#history-next-button{
  width: 0;
  height: 0;
  border-top: 28px solid transparent;
  border-bottom: 28px solid transparent;
  border-left: 44px solid #fff;
  cursor: pointer;
  user-select: none;
  right: 15%;
  top: 46%;
  position:absolute;
}
#history-next-button:hover{
  border-left-color: #FFCB30;
}
@media screen and (max-width: 600px) {
  .history-win-line-info img{
    height: 36px;
    width: 36px;
  }
  #history-prev-button{
    left: 5%;
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
    border-right: 34px solid #fff;
  }
  #history-next-button{
    right: 5%;
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
    border-left: 34px solid #fff;
  }
}
#settings-ui-content .text-section {
  font-size: 24px;
  line-height: 1.3;
}

#settings-ui-content .text-section .text-section-title {
  font-size: 33px;
}
#settings-ui-content .title {
  font-size: 32px;
}

#history-game-board{
  user-select:none;
  position: relative;
  width: 60%;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
  #history-game-board img.board-bg {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
  }
.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 3%;
  position: absolute;
  top: 3%;
  left: 22%;
  width: 56%;
  height: 93%;
  padding: 3%;
}

.grid-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  overflow: visible;
}
#history-prev-button, #history-next-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  user-select: none;
}

#history-prev-button {
  left: 5%;
}

#history-next-button {
  right: 5%;
}
.lose-image {
  opacity: 0.6;
}
.win-image {
  position: relative;
  background-image: url('assets/images/historywinoverlay.png');
  background-size: cover;
  background-repeat: no-repeat;
}



@media screen and (max-width: 760px) {
  #history-game-board{
    width: 100%;
    position: relative;
    margin: auto;
  }
  #settings-ui-content .text-section {
    font-size: 12px;
    line-height: 1.3;
  }

  #settings-ui-content .text-section .text-section-title {
    font-size: 19px;
  }
  #settings-ui-content .title {
    font-size: 21.6px;
  }
  #close-settings-ui-button {
    top: 10%;
  }

  #settings-ui-container {
    flex-direction: column;
  }

  #settings-ui-navbar {
    width: 100%;
    height: auto;
    padding: 3% 0
  }

  #settings-ui-navbar-wrapper {
    width: 100%;
    height: 100%;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
  }

  #settings-ui-navbar #settings-ui-navbar-wrapper div {
    width: 14%;
    height: auto;
  }

  #settings-ui-navbar #settings-ui-navbar-wrapper div img {
    height: 70%;
    width: 70%;
  }


  #settings-ui-navbar-wrapper p {
    display: none;
  }

  #settings-ui-content {
    width: 100%;
    padding-right: 2%
  }
}


.loaderScreen{
  position: absolute;
  height: 100%;
  width: 100%;
  background: #1A1A1A;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow:hidden;
}

#loader{
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, 120px);
  -moz-transform: translate(-50%, 120px);
  -ms-transform: translate(-50%, 120px);
  -o-transform: translate(-50%, 120px);
  transform: translate(-50%, 120px);
  width: 280px;
  height: 20px;
  border: 2px solid #fff;
  border-radius: 10px;
  background-color: #444;
  padding: 3px;
  overflow:hidden;
}

#fill{
  height: 100%;
  width: 0%;
  background-color: #fff;
  border-radius: 8px;
}



@media screen and (max-width: 768px) {
  #expanseLogo {
    width: 380px;
  }
}

@media screen and (max-height: 768px) {
  #expanseLogo {
    width: 380px;
  }
}



