html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

.country-select-container {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.5rem;
  z-index: 1030;
  max-width: 300px;
  width: 100%;
}

.custom-map-btn {
  position: absolute;
  left: 0.8rem;
  width: 40px;
  height: 40px;
  padding: 5px;
  background-color: rgba(255, 255, 255, 0.85);
  border: 0.4px solid rgba(0, 0, 255, 0.3);
  border-radius: 5px;
  color: black;
  font-weight: bold;
  cursor: pointer;
  z-index: 1000;
}

#countryInfoBtn {
  top: 15rem;
}

#currencyBtn {
  top: 18rem;
  
}

#wikiBtn {
  top: 21rem;
}

#weatherBtn {
  top: 24rem;
}

#myLocationBtn {
  top: 27rem;
}

#newsBtn {
  top: 27rem;
}

#myLocation {
  position: absolute;
  top: 27rem;
  right: 140px;
  width: 40px;
  height: 40px;
}

#weather {
  padding: 70px;
}

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


/*Loader*/
.three-body {
  --uib-size: 35px;
  --uib-speed: 0.8s;
  --uib-color: #3f49d3;
  position: absolute;
  display: inline-block;
  height: 60px;
  width: 60px;
  left: 50%;
  top: 40%;
  animation: spin78236 calc(var(--uib-speed) * 2.5) infinite linear;
  margin: 0 auto;

}

.three-body__dot {
  position: absolute;
  height: 100%;
  width: 30%;
}

.three-body__dot:after {
  content: '';
  position: absolute;
  height: 0%;
  width: 100%;
  padding-bottom: 100%;
  background-color: var(--uib-color);
  border-radius: 50%;
}

.three-body__dot:nth-child(1) {
  bottom: 5%;
  left: 0;
  transform: rotate(60deg);
  transform-origin: 50% 85%;
}

.three-body__dot:nth-child(1)::after {
  bottom: 0;
  left: 0;
  animation: wobble1 var(--uib-speed) infinite ease-in-out;
  animation-delay: calc(var(--uib-speed) * -0.3);
}

.three-body__dot:nth-child(2) {
  bottom: 5%;
  right: 0;
  transform: rotate(-60deg);
  transform-origin: 50% 85%;
}

.three-body__dot:nth-child(2)::after {
  bottom: 0;
  left: 0;
  animation: wobble1 var(--uib-speed) infinite calc(var(--uib-speed) * -0.15) ease-in-out;
}

.three-body__dot:nth-child(3) {
  bottom: -5%;
  left: 0;
  transform: translateX(116.666%);
}

.three-body__dot:nth-child(3)::after {
  top: 0;
  left: 0;
  animation: wobble2 var(--uib-speed) infinite ease-in-out;
}

@keyframes spin78236 {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes wobble1 {

  0%,
  100% {
    transform: translateY(0%) scale(1);
    opacity: 1;
  }

  50% {
    transform: translateY(-66%) scale(0.65);
    opacity: 0.8;
  }
}

@keyframes wobble2 {

  0%,
  100% {
    transform: translateY(0%) scale(1);
    opacity: 1;
  }

  50% {
    transform: translateY(66%) scale(0.65);
    opacity: 0.8;
  }
}
.custom-map-btn {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1.2s ease, transform 1.2s ease;
}


body.loading .custom-map-btn {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  visibility: hidden;
}

body:not(.loading) .custom-map-btn {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
}
