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

body {
  width: 100%;
  height: 100%;
}

h1 {
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Lato", Arial, Helvetica, sans-serif;
  font-size: 43px;
  text-align: center;
  color: #333333;
  font-weight: 700;
}

h2 {
  font-size: 26px;
  font-weight: 400;
}

h3 {
  font-size: 22px;
  font-weight: 400;
  width: 100%;
  display: flex;
  align-items: center;
}

p,
span {
  font-family: "Lato", Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: #333333;
  text-align: center;
}

.textWrapper {
  padding: 10px;
  max-width: 345px;
  margin: 40px auto;
  margin-top: 60px;
  margin-bottom: 20px;
  width: 100%;
}

.intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  margin-bottom: 25px;
}

.intro span {
  font-size: 20px;
  font-style: italic;
  width: 100%;
  display: flex;
  align-items: center;
}

.intro span:before,
.intro span:after,
h3:before,
h3:after {
  background-color: #333333;
  content: "";
  display: inline-block;
  margin-top: 4px;
  height: 1px;
  width: 50%;
}

.intro span:before,
h3:before {
  margin-right: 10px;
}

.intro span:after,
h3:after {
  margin-left: 10px;
}

.content {
  background-color: #d3cfcc;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
}

.contentInner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.backgroundWrapper {
  width: 100%;
  padding: 10px;
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.backgroundInner {
  width: 360px;
  height: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.background {
  height: 100px;
  min-height: 100px;
  width: 100px;
  border-radius: 50%;
  background-repeat: repeat;
  background-size: 10%;
  background-blend-mode: overlay;
  justify-content: center;
  align-items: center;
  display: flex;
  font-size: 50px;
  text-decoration: none;
  color: white;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
  transition: all 0.2s ease-in-out;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0), inset 4px 4px 8px 0 rgba(0, 0, 0, 0.2);
  border: 10px solid white;
  margin-left: 15px;
  margin-bottom: 15px;
}

.background:not(.active):not(.closed):hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4),
    inset 4px 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.active {
  transform: scale(1.3);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5),
    inset 4px 4px 8px 0 rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.active:hover {
  transform: scale(1.4);
}

.closed {
  opacity: 0.5;
}

.resultWrapper {
  width: 100%;
  margin-bottom: 40px;
}

.resultInner {
  margin: 0 auto;
  color: white;
  max-width: 345px;
  width: 100%;
  padding: 10px;
  padding-left: 30px;
  padding-top: 0;
}

.resultInner li {
  display: list-item;
  font-family: "Lato", Arial, Helvetica, sans-serif;
  font-size: 18px;
  color: #333333;
  padding-left: 20px;
}

.resultInner li .listInner {
  justify-content: space-between;
  padding: 10px 0;
  display: flex;
  margin-left: -40px;
  border-bottom: 1px solid #dedede;
  padding-left: 30px;
}

.resultInner li:last-child .listInner {
  border-bottom: none;
}

.resultInner li .listInner span {
  font-family: "Lato", Arial, Helvetica, sans-serif;
  font-size: 18px;
}

.resultInner li .listInner span:last-child {
  font-style: italic;
  font-weight: 400;
}

/* .resultInner li:nth-child(even) {
  background-color: rgba(0, 0, 0, 0.1);
} */

.coordinates {
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  position: absolute;
  bottom: 50px;
  left: 50px;
  padding: 5px 10px;
  margin: 0;
  font-size: 11px;
  line-height: 18px;
  border-radius: 3px;
  display: none;
}

.custommarker {
  width: 10px;
  height: 10px;
  border-radius: 5px;
}

.custommarker span {
  font-size: 40px;
  left: -15px;
  top: -19px;
  position: relative;
}

.resultPin {
  width: 10px;
  height: 10px;
  background: rgba(0, 0, 255, 0.6);
  border-radius: 5px;
}

.mapWrapper {
  position: fixed;
  padding: 20px;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  background-color: rgba(0, 0, 0, 0.5);
}

#map {
  border-radius: 50px;
  height: 100%;
  width: 100%;
}

.closeButton {
  background-image: url("./images/close-icon.svg");
  width: 52px;
  height: 52px;
  position: absolute;
  z-index: 1;
  left: 60px;
  top: 60px;
  text-indent: -1000px;
  cursor: pointer;
}

.button {
  background-color: #a01c22;
  position: relative;
  top: 0;
  width: 200px;
  height: 40px;
  border-radius: 10px;
  color: white;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  appearance: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 3px 0 #7a1317;
}

.button:not([disabled]):active {
  bottom: 58px;
  box-shadow: 0 1px 0 #7a1317;
}

.guessButton[disabled] {
  background: darkgray;
  box-shadow: 0 3px 0 gray;
  cursor: default;
}

.guessButton {
  position: absolute;
  bottom: 60px;
  top: auto;
  left: 50%;
  transform: translateX(-50%);
  z-index: 11;
}

.activeContainer {
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.activeContainer img {
  width: calc(100% - 40px);
  max-width: 1000px;
  margin: 0 20px;

  background-image: url("./images/shadow-bottom-right.png"),
    url("./images/shadow-top-left.png");
  background-repeat: no-repeat, no-repeat;
  background-position: right bottom, left top;
  padding: 17px;
}

/* .openMapButton {
  background-color: #5f050f;
  width: 200px;
  height: 40px;
  border-radius: 20px;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  cursor: pointer;
} */

.backButton {
  background-image: url("./images/back-icon.svg");
  width: 52px;
  height: 52px;
  position: absolute;
  cursor: pointer;
  text-indent: -1000px;
  margin: 20px;
}

.resultsContainer {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  position: absolute;
  justify-content: center;
  align-items: center;
  display: none;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.formContainer {
  background: #ffffff;
  position: absolute;
  bottom: 20px;
  border-radius: 50px;
  width: calc(100% - 40px);
  display: table;
  z-index: 10;
}

.formContainer .form {
  padding: 20px;
  padding-bottom: 120px;
  vertical-align: bottom;
}

.formInner {
  display: flex;
  flex-direction: column;
}

.formContainer .form label {
  font-family: "Lato", Arial, Helvetica, sans-serif;
  color: #333333;
  font-weight: 700;
  font-size: 14px;
  margin-top: 20px;
}

.formContainer .form label span {
  color: #999999;
}

.formContainer .form input {
  appearance: none;
  border: none;
  background: #f7f7f7;
  padding: 10px;
  font-size: 18px;
  border-radius: 10px;
  width: 100%;
  margin-top: 5px;
}
