/**
 * @license
 * Copyright 2019 Google LLC. All Rights Reserved.
 * SPDX-License-Identifier: Apache-2.0
 */
@import url("https://fonts.googleapis.com/css2?family=Play:wght@400;700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

.poppins {
  font-family: "Poppins", sans-serif;
}

.title {
  font-weight: 900;
  color: rgb(192, 179, 179);
  padding: 0;
  margin: 0;
}
.font-game {
  font-family: "Play", sans-serif;
}
.black {
  color: black;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  font-family: "Play", sans-serif;
}
/* GOOGLE DEFAULT CLASSES */
.gm-fullscreen-control {
  display: none;
}
/*  */
#street-view {
  height: 100%;
}

#map {
  height: 100%;
  width: 100%;
  border-radius: 1rem;
}

#guess {
  position: absolute;
  right: 0;
  z-index: 1001;
  bottom: 0;
  margin: 3.5%;
  transition: 0.5s ease;
}

#guess #tools {
  background-color: rgba(0, 0, 0, 0.4);
  width: max-content;
  height: max-content;
  padding-inline: 10px;
  padding-block: 5px;
  border-radius: 10px 10px 0 10px;
  display: flex;
  gap: 5px;
}
.btn-tools {
  border: none;
  display: flex;
  align-items: center;
  border-radius: 5px;
}
#map-sat {
  height: 100%;
  width: 100%;
}
#completeLevel:hover #guess {
  opacity: 1;
}
#show {
  position: absolute;
  bottom: 0;
  right: 0;
  display: none;
  z-index: 100;
  margin: 3.5%;
  z-index: 102;
}

#guess {
  z-index: 100;
  position: absolute;
  right: 0;
  bottom: 0;
}
.button-container {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 5vh;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1001;
}

#guess-btn {
  width: 75%;
  height: 100%;
  color: white;
  border-radius: 2rem;
  background-color: rgb(12, 170, 12);
  border: none;
  transition: 1s ease;
}
#guess-btn:hover {
  background-color: rgb(1, 133, 1);
  cursor: pointer;
}
#completeLevel {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  display: none;
  flex-direction: column;
  align-items: center;
  padding-block: 10px;
  justify-content: center;
  /* background-color: white; */
  z-index: 1010;
  transition: 1s ease;
  margin: auto;
}
#scoreDiv {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#perfect {
  color: beige;
}
#score {
  text-shadow: 3px 3px 20px rgb(248 0 255);
  color: beige;
  z-index: 2000;
  font-size: 2rem;
}
hr {
  width: 25%;
  height: 2px;
  border-radius: 5px;
  border: none;
  /* color: #f5f5dc00; */
  background-color: #f5f5dccc;
}
#complete-overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1050;
  background-image: linear-gradient(
    to right top,
    #26197c,
    #73027b,
    #a7006fe3,
    #cf0b5d96,
    #e9404928
  );
  opacity: 0.75;
}
#bottom-complete {
  background: #00000082;
  width: 100%;
  backdrop-filter: blur(5px);
  box-shadow: 3px -11px 48px 0px rgba(0, 0, 0, 0.75);
  -webkit-box-shadow: 0px -11px 48px 0px rgb(255 93 93 / 25%);
  -moz-box-shadow: 3px -11px 48px 0px rgba(0, 0, 0, 0.75);
  height: 15%;
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1050;
}
#top-complete {
  width: 100%;
  height: 85%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: space-around;
  flex-direction: column;
  z-index: 1100;
  /* padding-top: 5%; */
  align-items: center;
}
#lvlComplete {
  font-weight: 900;
  padding: 0;
  margin: 0;
  background-color: beige;
  padding-block: 10px;
  padding-inline: 25px;
  border-radius: 10px;
}
#playerScore {
  font-size: 7.5rem;
  color: azure;
  text-shadow: 3px 3px 20px rgb(248 0 255);
}
#next {
  height: 40%;
  padding-inline: 3rem;
  border-radius: 3rem;
  border: none;

  font-weight: 900;
  background-color: transparent;
  transition: 0.5s ease;
}
#next:hover {
  color: white;
}
#overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  background-image: url("../../assets/imgs/loading.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 1s ease;
}
#top-overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  /* background-image: linear-gradient(
    to right top,
    #26197c,
    #73027b,
    #a7006fe3,
    #cf0b5d96,
    #e9404928
  ); */
  background-color: white;
  backdrop-filter: blur(2px);
  transition: 1s ease;
}
#top-overlay h1 {
  color: white;
}
#top-overlay img {
  position: absolute;
  height: 150px;
  width: 150px;
}
#game {
  background-color: transparent;
  width: 100%;
  height: 100%;
  display: none;
}

#ui {
  width: 100%;
  height: max-content;
  position: absolute;
  z-index: 1010;
  top: 0;
  display: none;
  bottom: 0;
  right: 0;
  left: 0;
}
#playerScoreDiv {
  /* background-color: #fdfdfda1; */
  position: absolute;
  top: 0;
  border-radius: 5px;
  left: 0;
  display: flex;
  width: 100vw;
  justify-content: space-between;
}
#playerScoreDiv .ui-p-text {
  color: black;
  padding: 0;
  margin: 0;
  font-size: 1rem;
}
#playerScoreDiv .ui-h3-text {
  margin: 0;
  font-size: 1.25rem;
  color: #421754;
}
.scores {
  backdrop-filter: blur(2px);
  margin: 1%;
  background-color: #f4f8ff8a;
  min-width: 10%;
  padding-inline: 10px;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 5px;
}

#scores-end {
  min-width: fit-content;
  align-items: end;
}
/* MENU CSS */

#menu-overlay {
  background-image: linear-gradient(
    to right top,
    #26197c,
    #73027b,
    #a7006fe3,
    #cf0b5d96,
    #e9404928
  );
  width: 100%;
  height: 100%;
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#menu-img {
  background-image: url("../../assets/imgs/menu-bg.png");
  width: 100%;
  height: 100%;
  position: absolute;
  background-repeat: no-repeat;
  background-size: cover;
  top: 0;
  left: 0;
  z-index: -2;
}
#menu {
  padding-inline: 5vw;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  z-index: 1000;
  transition: 1s ease;
}
#menu > h1 {
  font-size: 5rem;
  letter-spacing: 10px;
}
.box {
  width: 25%;
  height: 50%;
  border-radius: 1rem;
  display: flex;
  z-index: 1001;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  transition: 1s ease;
}
#button-cont {
  display: flex;
  width: 100%;
  flex-direction: column;
  height: 50%;
  gap: 10%;
  align-items: flex-start;
}

.box .menu-btns {
  width: max-content;
  height: 50px;
  background-color: transparent;
  border: none;
}
a {
  text-decoration: none;
  display: inline-block;
  transition: 0.5s ease;
  user-select: none;
}

.btn {
  font-weight: 700;
  font-style: italic;
  font-size: 2rem;
  letter-spacing: 5px;
  text-transform: capitalize;
  color: rgb(192, 179, 179);
  transition: 0.5s ease;
  border: none;
  user-select: none;
}
.gm-iv-address {
  display: none;
}
.btn:hover {
  color: rgb(235, 228, 228);
  cursor: pointer;
  -ms-transform: scale(1.075); /* IE 9 */
  -webkit-transform: scale(1.075); /* Safari */
  transform: scale(1.075);
}
.details {
  color: rgb(192, 179, 179);
  font-size: 1.5rem;
  text-align: center;
}

.wrapper-btn:hover > .button-overlay {
  display: flex;
  width: 100%;
  opacity: 1;
  justify-self: flex-start;
  border: none;
  transition: 0.5s ease;
}

.button-overlay {
  opacity: 0;
  background-color: rgba(0, 0, 0, 0.418);
  width: 0%;
  height: 100%;
  position: absolute;
  border-radius: 7.5px;
  padding-inline: 10px;
  transform: skewX(-0.1turn);
  top: 0;
  bottom: 0;
  z-index: -1;
  transition: 0.5s ease;
  border: none;
}

.wrapper-btn {
  position: relative;
  width: max-content;
  display: flex;
  border: none;
  justify-content: center;
  align-items: center;
  transition: 1s ease;
}

#game-mode {
  display: none;
  transition: 1s ease;
}
