* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Hind Siliguri", sans-serif;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #89c9b8;
  gap: 1.5rem;
  margin: 0.5rem;
}

h3 {
  padding: 1rem;
  text-align: center;
}

.container {
  position: relative;
  width: 75vw;
  height: 600px;
  border-radius: 10px;
  border: 2px solid #092532;
}

.btn {
  background-color: #092532;
  color: #c7e2b2;
  padding: 0.6rem 1.2rem;
  border-radius: 5px;
  border: 2px solid transparent;
  cursor: pointer;
}
i {
  margin-left: 6px;
  pointer-events: none;
}
.btn:hover {
  color: #092532;
  background-color: #c7e2b2;
  border: 2px solid #092532;
}
.picked {
  color: #092532;
  background-color: #c7e2b2;
  border: 2px solid #092532;
}

.countries-container {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  justify-content: center;
  width: 85vw;
}

.countries-section {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  pointer-events: none;
  margin-bottom: 1rem;
  flex-direction: column;
}
.shown {
  opacity: 1;
  pointer-events: auto;
}

.data-holder {
  padding: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  border-radius: 10px;
  background-color: #092532;
  color: #c7e2b2;
}

.box {
  padding: 1rem;
  border: 2px solid #c7e2b2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  border-radius: 10px;
  height: 50%;
  min-width: 10rem;
}

.box > h2 {
  text-align: center;
  min-width: 2rem;
  min-height: 2.625rem;
}

.region-button,
.status-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  display: flex;
  gap: 0.2rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  align-content: flex-start;
  position: absolute;
  left: 0;
  top: calc(100% + 0.04rem);
  background-color: #c7e2b2;
  color: #092532;
  padding: 0.5rem;
  border-radius: 5px;
  box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
  pointer-events: none;
  overflow-y: scroll;
  height: 200px;
}

.dropdown-menu::-webkit-scrollbar {
  display: none; /* for Chrome, Safari, and Opera */
}

.dropdown.active > .link + .dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.link {
  min-width: 8rem;
}

.hidden {
  display: none;
}

button.sml {
  padding: 0.4rem 0.7rem;
  font-size: 0.7rem;
  width: 100%;
}

.num-data {
  padding: 0.4rem;
  border-radius: 5px;
  background-color: #c7e2b2;
  color: #092532;
}

.search-input {
  background-color: #c7e2b2;
  color: #092532;
  outline: none;
  border-radius: 5px;
  padding: 0.4rem;
  max-height: 2rem;
  width: 100%;
}

@media only screen and (max-width: 900px) {
  .container {
    width: 90%;
    height: 40%;
  }
}
@media only screen and (max-width: 500px) {
  .container {
    width: 95%;
    height: 300px;
  }
}
