.map-title {
  padding-bottom: 0.2em;
  font-size: var(--fs-h3);
}

.map-subtitle {
  font-size: var(--fs-body-l);
}

.map-section {
  padding-top: 7vh;
  min-height: 93dvh;
}

/* * {
  outline: 1px solid lime;
} */

.game-wrapper {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 70dvh;
}
.input-wrapper {
  display: flex;
  max-width: 80%;
  justify-content: space-between;
  padding-block: 1em;
  flex-wrap: wrap;
}

.controls-wrapper {
  display: flex;
  gap: 1em;
  width: 60%;
}

.text-input-wrapper {
  display: flex;
  width: 100%;
}

.input {
  flex-grow: 1;
  border-radius: 3px 0 0 3px;
  padding-left: 1em;
  border: none;
}

.guess-btn {
  background-color: var(--clr-accent);
  border: none;
  border-radius: 0 3px 3px 0;
  color: white;
  padding: 0.5em 1em;
  font-size: var(--fs-body-l);
  text-transform: capitalize;
  font-weight: bolder;
  cursor: pointer;
}

.reset-btn {
  background-color: var(--clr-error);
  border: none;
  border-radius: 0.2em;
  color: white;
  padding: 0.5em 1em;
  font-size: var(--fs-body-l);
  text-transform: capitalize;
  font-weight: bolder;
  cursor: pointer;
}

.link-btn {
  background-color: var(--clr-accent);
  border: none;
  border-radius: 0.2em;
  color: white;
  padding: 0.5em 1em;
  font-size: var(--fs-body-l);
  text-transform: capitalize;
  font-weight: bolder;
  text-decoration: none;
  cursor: pointer;
  margin: 1rem;
}

.guess-btn:hover,
.reset-btn:hover,
.link-btn:hover {
  transition: all 0.7s ease;
  transform: scale(105%);
  cursor: pointer;
  transition: all 0.2s ease;
  filter: brightness(70%);
}

.error-prompt {
  /* padding: 1em; */
  font-size: var(--fs-body-l);
  font-weight: bold;
  color: rgb(255, 82, 82);
  display: flex;
  align-items: center;
}

.shake {
  animation: shake 0.2s ease-in-out 0s 2;
}

@keyframes shake {
  0% {
    margin-left: 0rem;
  }
  25% {
    margin-left: 0.5rem;
  }
  75% {
    margin-left: -0.5rem;
  }
  100% {
    margin-left: 0rem;
  }
}

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

.map-wrapper {
  display: flex;
  flex-grow: 1;
}

.map-container {
  max-width: 80%;
  min-height: 100%;
  flex-grow: 2;
}

.map {
  height: 100%;
  width: 100%;
}

.flag-wrapper {
  font-size: var(--fs-body-l);
  font-weight: bold;
  padding-left: 1em;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  flex-grow: 1;
  max-width: 20%;
}
.fi {
  border-radius: 3px;
}

.uncompleted {
  display: flex;
  flex-direction: column;
  max-width: 200px;
}

.countries-complete {
  color: var(--clr-success);
}

.countries-uncomplete {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4em;
  color: var(--clr-error);
}

.usa {
  display: flex;
  align-items: center;
  padding-block: 1rem;
}

@media (max-width: 1024px) {
  .map-wrapper {
    flex-direction: column;
  }
  .map-container {
    height: 50dvh;
    max-width: 100%;
  }
  .flag-wrapper {
    max-width: 100%;
    padding-left: 0;
    padding-top: 1em;
  }
  .uncompleted {
    display: flex;
    max-width: 100%;
  }
  .input-wrapper {
    max-width: 100%;
  }
}

@media (max-width: 786px) {
  .map-container {
    height: 35vh;
  }
  .input-wrapper {
    flex-direction: column;
    gap: 1em;
  }
  .controls-wrapper {
    flex-direction: column;
    width: 100%;
  }
  .input {
    height: 3em;
  }
  .map-subtitle {
    font-size: var(--fs-body);
  }
}

@media (max-width: 480px) {
  .text-input-wrapper {
    flex-direction: column;
    gap: 1em;
  }
  .map-container {
    height: 25vh;
  }

  .container-border {
    margin: 0;
  }
  .dropdown-nav {
    width: 100vw;
  }
}
