/*Copyright Epic Games, Inc. All Rights Reserved.*/

:root {
  /*Using colour scheme https://color.adobe.com/TD-Colors---Option-3-color-theme-10394433/*/
  --colour1: #2b3a42;
  --colour2: #3f5765;
  --colour3: #bdd4de;
  --colour4: #efefef;
  --colour5: #ff5035;

  --buttonFont: Helvetica;
  --inputFont: Helvetica;
}

canvas {
  image-rendering: crisp-edges;
  position: absolute;
}

video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#freezeFrameOverlay {
  object-fit: cover;
}

#player {
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: #000;
  display: block;
  float: left;
  cursor: default !important;
}

@media screen and (min-width: 1800px) {
  #player {
    top: 90px !important;
    left: 516px !important;
    width: calc(100% - 516px);
    height: calc(100% - 90px - 170px);
    cursor: default !important;
  }
}

#overlayButton:hover {
  cursor: pointer;
}

#overlayButton {
  text-align: right;
  font-size: 40px;
}

#overlaySettings {
  width: 300px;
  padding: 4px;
  display: none;
}

#messageOverlay {
  text-align: center;
  vertical-align: middle;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}

#videoPlayOverlay {
  z-index: 100;
  position: absolute;
  color: #fff;
  width: 100%;
  height: 100%;
  transition: 0.8s all;
  text-align: center;
}

#afkOverlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.7);
}

#container {
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
  align-items: center;
  height: 100%;
}

#logo {
  width: 200px;
  height: 79px;
  margin-top: 40px;
  background-image: url('../images/twin-towers_logo.svg');
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
}

#playButton {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 220px;
  height: 44px;
  margin: auto;
  /* padding: 22px 130px; */
  background-color: rgba(72, 188, 168, 0.9);
  color: #fff;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  text-transform: uppercase;
  /* border: 1px solid #fff; */
  border-radius: 4px;
  box-sizing: border-box;
}

@media screen and (max-width: 767px) {
  #logo {
    margin-top: 32px;
  }
}

/* State for element to be clickable */
.clickableState {
  align-items: center;
  justify-content: center;
  display: flex;
  cursor: pointer;
  flex-direction: column;
  z-index: 1300 !important;
}

/* State for element to show text, this is for informational use*/
.textDisplayState {
  display: flex;
}

/* State to hide overlay, WebRTC communication is in progress and or is playing */
.hiddenState {
  display: none;
}

#game-ui {
  position: fixed;
  z-index: 200;
}

#daytime-container {
  position: fixed;
  margin: auto;
  left: 0px;
  right: 0px;
  top: 20px;
  width: 250px;
}

#filter-bar {
  float: left;
  position: fixed;
  border: 50px 20px 20px 20px;
  width: 98%;

  float: left;
  z-index: 200;
  bottom: 10px;
  overflow: hidden;
  transition: all 0.3s;
}

#filter-bar.active {
  transform: translateY(90%);
}

.filter {
  display: block;
  float: left;
  width: 200px;
  margin-left: 50px;
  margin-right: 50px;
  margin-top: 20px;
  margin-bottom: 20px;
}

#filter-content {
  float: left;
  background-color: white;
}

.filter-button {
  display: block;
  top: 0px;
}

.compass {
  position: fixed;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  margin: auto;
  z-index: 200;
  background: white;
}

.compass > .arrow {
  position: absolute;
  width: 0;
  height: 0;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  border-style: solid;
  border-width: 30px 20px 0 20px;
  border-color: red transparent transparent transparent;
  z-index: 201;
}

.compass > .compass-circle,
.compass > .my-point {
  position: absolute;
  width: 90%;
  height: 90%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease-out;
  background: url(https://purepng.com/public/uploads/large/purepng.com-compasscompassinstrumentnavigationcardinal-directionspointsdiagram-1701527842316onq7x.png)
    center no-repeat;
  background-size: contain;
}

.compass > .my-point {
  opacity: 0;
  width: 20%;
  height: 20%;
  background: rgb(8, 223, 69);
  border-radius: 50%;
  transition: opacity 0.5s ease-out;
}

h2 {
  margin: 0px 0px 0px 0px;
  margin: 0px 0px 0px 0px;
  margin: 0px 0px 0px 0px;
  margin: 0px 0px 0px 0px;
  margin: 0px 0px 0px 0px;
}
