:root {
  --color-bg: rgb(0, 15, 159);
}

.btn--remix {
  padding: .5rem;
  font-size: .8rem;
  font-weight: 500;
  align-items: center;
  background: #fff;
  border: 1px solid #000;
  box-sizing: border-box;
  border-radius: 4px;
  text-decoration: none;
  color: #000;
  white-space: nowrap;
  position: fixed;
  right: 2px;
  bottom: 20px;
  display: flex;
  gap: .5rem
}

.btn--remix:hover {
  background-color: #d0fff1
}

@media only screen and (max-width:600px) {
  .btn--remix {
    display: none
  }
}

body {
  padding: 0;
  margin: 0;
  background-color: var(--color-bg)
}

h1 {
  font-size: 1.4rem
}

.game {
  display: flex;
  flex-direction: column;
  height: 100vh
}

#mapContainer {
  position: relative;
  width: 100%;
  flex-grow: 1
}

#map {
  width: 100%;
  height: 100vh;
  z-index: 0
}

.pageOverlay {
  position: fixed;
  bottom: 0;
  left: 0;
  border-radius: 0 24px 0 0;
  background-color: #fff;
  z-index: 1;
  border: 1px solid var(--color-bg)
}

.credits {
  padding: 8px;
  z-index: 1;
  font-size: .7rem;
  border-top: 1px solid var(--color-bg)
}

#scoreContainer {
  padding: 1rem 1rem 1rem 1rem;
  text-align: end;
  font-size: 1.8rem
}

.formContainer {
  position: absolute;
  top: 1rem;
  z-index: 1;
  padding: 0 1rem;
  width: 100%;
  box-sizing: border-box
}

.form {
  position: sticky;
  max-width: 400px;
  width: 100%;
  display: flex;
  margin: 0 auto;
  gap: .5rem
}

input {
  text-transform: uppercase;
  width: 100%;
  display: inline-block;
  border: 2px solid var(--color-bg);
  border-radius: 8px;
  box-sizing: border-box;
  padding: .5rem 1rem;
  box-shadow: rgba(100, 100, 111, .5) 0 7px 16px 0;
  z-index: 10
}

input::placeholder {
  color: #7b868c
}

#share svg {
  width: 24px;
  padding-top: 12px;
  margin-top: -14px;
  margin-left: .5rem;
  margin-right: 4px
}

.enterButton {
  background-color: var(--color-bg);
  border-radius: 8px;
  cursor: pointer;
  color: #fff;
  font-weight: 700;
  padding: 1rem;
  box-shadow: rgba(100, 100, 111, .8) 0 7px 29px 0;
  border: none
}

.header {
  max-width: 90vw;
  margin: 1rem auto;
  color: #fff
}

#instructions p {
  margin: 0 0 1rem 0
}
