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

::-webkit-scrollbar {
  width: 13px;
}

::-webkit-scrollbar-track {
  background: none;
}

::-webkit-scrollbar-thumb {
  background: #8b8b8b30;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #8b8b8b4d;
}

body {
  color: #fff;
  background-color: #202c37;
  font-family: Nunito Sans, sans-serif;
  font-size: .9em;
  transition: background .25s;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

@keyframes errorDisplay {
  from {
    opacity: .7;
    top: -15%;
  }

  70% {
    top: 19%;
  }

  to {
    opacity: 1;
    top: 17%;
  }
}

@keyframes errorHidden {
  from {
    opacity: 1;
    top: 17%;
  }

  70% {
    top: 19%;
  }

  to {
    opacity: .8;
    top: -15%;
  }
}

@keyframes displayOverview {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.error {
  z-index: 5;
  width: 90%;
  max-width: 600px;
  background-color: #00000059;
  border: 1px solid #bf4040;
  border-radius: .6rem;
  justify-content: space-between;
  animation: errorDisplay .5s 1s forwards;
  display: flex;
  position: absolute;
  top: -15%;
  left: 50%;
  overflow: hidden;
  transform: translateX(-50%);
  box-shadow: 5px 10px 20px #0000005d;
}

.wrapper-left {
  background-color: #bf4040;
  padding: 0 2rem;
}

.error__message {
  width: 70%;
  color: #f5f5f5;
  margin: 0 auto;
  padding: 1rem;
  font-weight: 600;
}

.error__icon {
  width: 2rem;
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.bold {
  font-weight: 600;
}

.drop-shadow-bottom {
  filter: drop-shadow(0 10px 20px #0000002b);
}

.d-flex {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.text-max-length {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.search-bar__btn, .header__mode, .filter-value {
  cursor: pointer;
}

.style--button:active, .header__mode:active, .header__title:active {
  transition: all .15s;
  transform: scale(.9);
}

.container {
  width: 90%;
  max-width: 1500px;
  margin: 0 auto;
}

.app__header {
  background-color: #2b3945;
  margin-bottom: 1.5rem;
  transition: background .25s;
}

.header__wrapper {
  padding: 2rem 0;
}

.header__title {
  cursor: pointer;
  font-weight: 800;
  transition: all .1s;
}

.header__icon svg {
  width: 1.2rem;
}

.header__mode {
  gap: .5rem;
  transition: transform .2s;
  display: flex;
}

.app__search-bar {
  z-index: 2;
  background-color: #2b3945;
  border-radius: .25rem;
  flex-grow: 0;
  align-items: center;
  margin-bottom: 2.5rem;
  padding: 1rem 1.5rem;
  transition: background .25s;
  display: flex;
  position: relative;
}

.search-bar__input {
  width: 100%;
  color: #fff;
  background-color: #0000;
  border: none;
  margin-left: 1.3rem;
  font-family: Nunito Sans, sans-serif;
  font-size: 1rem;
  font-weight: 300;
}

.search-bar__btn {
  background-color: #0000;
  border: none;
}

.search-bar__btn svg {
  width: 1.3rem;
}

.search-bar__input:focus {
  outline: none;
}

.search-bar__input::placeholder {
  color: #dbdbdb;
}

.app__result-search-bar {
  width: 90%;
  opacity: 0;
  visibility: hidden;
  background-color: #2b3945;
  border-radius: .25rem;
  padding: 1.5rem 0;
  transition: background .25s;
  position: absolute;
  top: 4rem;
  right: 0;
}

.result-search-bar__wrapper {
  width: 70%;
  margin: 0 auto;
}

.result__wrapper__country {
  justify-content: flex-start;
  gap: 2.5rem;
  display: flex;
}

.result-search-bar--country {
  cursor: pointer;
  background-color: #1a242d32;
  border-radius: .25rem;
  padding: .4rem;
  transition: transform .25s, background .25s;
}

.result-search-bar--country + .result-search-bar--country {
  margin-top: .7rem;
}

.result__country__flag {
  width: 20%;
}

.result__country__name {
  max-width: 50%;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .9rem;
  font-weight: 600;
  overflow: hidden;
}

.app__filter {
  width: 60%;
  z-index: 1;
  position: relative;
}

.wrapper__filter-default {
  color: #fff;
  cursor: pointer;
  background-color: #2b3945;
  border-radius: .25rem;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding: 1rem 1.3rem;
  font-family: Nunito Sans, sans-serif;
  transition: background .25s;
  display: flex;
}

.wrapper__filter-select-value {
  width: 100%;
  height: 190px;
  opacity: 1;
  background-color: #2b3945;
  border-radius: .25rem;
  padding: 1rem 1.3rem;
  transition: background .25s, height .25s;
  position: absolute;
  top: 3.85rem;
}

.filter-value + .filter-value {
  margin-top: .7rem;
}

.filter-value {
  transition: all .2s;
}

.filter-value:hover, .result-search-bar--country:hover {
  transition: transform scale 150ms ease, transform translateX 150ms ease 200ms, background 250ms ease;
  background-color: #202c3776;
  border-radius: 4px;
  transform: scale(1.05)translateX(-3px);
}

.filter-value:active {
  transform: scale(.95)translateX(-1.5px);
}

.filter__icon {
  width: 1.2rem;
  transition: all .5s;
}

.countries__container {
  max-width: 1500px;
  margin: 0 auto 8rem;
}

.country {
  width: 275px;
  cursor: pointer;
  background-color: #2b3945;
  border-radius: .7rem;
  margin: 0 auto;
  font-size: 1rem;
  transition: background .25s, transform .2s;
}

.country:hover {
  transform: translateY(-10px);
}

.country__wrapper {
  padding: 0 2rem 3.5rem;
}

.country__wrapper__titles {
  margin: 1.5rem 0;
}

.country__name--secondary {
  filter: brightness(.9);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.country__overview + .country__overview {
  margin-top: .5rem;
}

.country + .country {
  margin-top: 3rem;
}

.country__flag {
  max-height: 276px;
  border-top-left-radius: .7rem;
  border-top-right-radius: .7rem;
}

.container__details {
  width: 80%;
  max-width: 1500px;
  margin: 0 auto;
  transition: all .2s;
  animation: displayCountryDetails .5s forwards;
}

@keyframes displayCountryDetails {
  from {
    opacity: .5;
    transform: translateX(-120%);
  }

  70% {
    transform: translateX(2%);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes hiddenCountryDetails {
  from {
    opacity: 1;
    transform: translateX(0);
  }

  to {
    opacity: .5;
    transform: translateX(-120%);
  }
}

.country__details__back-icon svg {
  width: 1.2rem;
}

.country__details__back-icon {
  height: 1.2rem;
}

.style--button {
  filter: drop-shadow(0 0 5px #00000070);
  cursor: pointer;
  background-color: #2b3945;
  border-radius: .25rem;
  padding: .3rem 1.5rem;
  transition: background .25s, transform .2s;
}

.country__details__back--btn {
  margin-bottom: 3rem;
  display: inline-block;
}

.country__details__btn__wrapper {
  align-items: center;
  gap: .5rem;
  display: flex;
}

.country__details__flag {
  max-width: 720px;
  width: 100%;
  filter: drop-shadow(10px 10px 25px #0000004d);
  border-radius: 1rem;
  margin-bottom: 2rem;
}

.country__details__title {
  font-size: 2rem;
}

.wrapper__titles {
  margin-bottom: 1.5rem;
}

.country__details__title--secondary {
  filter: brightness(.9);
  font-style: italic;
}

.country__details__wrapper + .country__details__wrapper {
  margin-top: 1rem;
}

.country__details--name .country__details--name:before {
  content: " \";;
}

.country__details__section-one, .country__details__section-two {
  margin-bottom: 2.5rem;
}

.country__details__wrapper__border-countries {
  width: 55%;
  gap: 1rem;
  margin-bottom: 3rem;
  display: flex;
}

.country__details__border {
  max-width: 60%;
  text-overflow: ellipsis;
  white-space: nowrap;
  background-color: #2b3945;
  flex-shrink: 0;
  transition: background .25s;
  overflow: hidden;
}

.country__details__border-title {
  margin-bottom: 1rem;
  font-weight: 600;
}

#map {
  height: 350px;
  filter: drop-shadow(5px 15px 20px #00000053);
  border-radius: .6rem;
  margin-bottom: 4rem;
}

.leaflet-popup .leaflet-popup-content-wrapper {
  filter: drop-shadow(3px 3px 2px #00000075);
  color: #000;
  text-overflow: ellipsis;
  white-space: nowrap;
  background-color: #ffffffcb;
  font-family: Nunito Sans, sans-serif;
  font-weight: 700;
}

.skeletton__img {
  width: 276px;
  height: 170px;
  opacity: .7;
  animation: skeleton-loading 1s linear infinite alternate;
}

.skeletton__title {
  opacity: .7;
  height: 15px;
  width: 70%;
  border-radius: 10px;
  margin-top: 2rem;
  margin-bottom: 2rem;
  animation: skeleton-loading 1s linear infinite alternate;
}

.skeletton__details:last-child {
  width: 60%;
}

.skeletton__details {
  height: 10px;
  width: 80%;
  border-radius: 10px;
  animation: skeleton-loading 1s linear infinite alternate;
}

.skeletton__details + .skeletton__details {
  margin-top: 1rem;
}

.skeletton__borders {
  opacity: .7;
  height: 30px;
  width: 130px;
  animation: skeleton-loading 1s linear infinite alternate;
}

@keyframes skeleton-loading {
  0% {
    background-color: #53616e;
  }

  100% {
    background-color: #2b3945;
  }
}

.light-mode {
  color: #111517;
  background-color: #fafafa;
}

.light-mode--elements {
  color: #111517;
  background-color: #fff;
}

.light-mode--icon {
  fill: #111517;
}

.light-mode--icon--search-bar {
  fill: #858585;
}

.display-result-search-bar {
  visibility: visible;
  opacity: 1;
  transition: opacity .3s ease-out;
}

.filter--hidden {
  visibility: hidden;
  opacity: 0;
  height: 0;
  transition: height .3s, opacity .15s .1s, visibility .15s .1s;
  overflow: hidden;
}

.filter-icon-transform {
  transform: rotateX(180deg);
}

@media screen and (min-width: 650px) {
  body {
    font-size: 1em;
  }

  .countries__container {
    width: 90%;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 2rem;
    display: flex;
  }

  .country, .country + .country {
    margin: 0;
  }

  .wrapper__form-filter {
    height: 100px;
    justify-content: space-between;
    align-items: flex-start;
    display: flex;
  }

  .app__filter {
    width: 18%;
  }

  .app__search-bar {
    width: 35%;
  }

  .wrapper__filter-default {
    justify-content: space-around;
    padding: 1rem 0;
  }

  .app__header {
    margin-bottom: 3rem;
  }
}

@media screen and (min-width: 950px) {
  .countries__container {
    width: 70%;
  }
}

@media screen and (min-width: 1250px) {
  body {
    font-size: 1.1em;
  }

  .countries__container {
    width: 90%;
    justify-content: space-between;
  }
}

@media screen and (min-width: 700px) {
  .country__details__flag, #map {
    width: 70%;
    height: 300px;
  }

  .container__details {
    width: 80%;
  }

  .wrapper__section--flex {
    gap: 1rem;
    display: flex;
  }
}

@media screen and (min-width: 900px) {
  .app__header {
    margin-bottom: 6rem;
    font-size: 1.4rem;
  }

  .header__icon svg {
    width: 1.7rem;
  }

  .country__details__btn__wrapper {
    align-items: flex-start;
  }

  .country__details__back--btn {
    margin-bottom: 4rem;
    padding: .7rem 2.5rem;
    font-size: 1.5rem;
  }

  .country__details__back-icon svg {
    width: 2rem;
  }

  .container__details {
    width: 90%;
  }

  .country__details--flex {
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    display: flex;
  }

  .wrapper__section--flex {
    justify-content: space-between;
    display: flex;
  }

  .country__details__flag {
    width: 44%;
  }

  .country__details__container {
    width: 42%;
  }
}

@media screen and (min-width: 1150px) {
  .country__details__back--btn {
    margin-bottom: 6rem;
  }

  .country__details__container--border {
    align-items: flex-start;
    gap: 1rem;
    display: flex;
  }

  .country__details--flex {
    justify-content: space-between;
  }

  .country__details__container {
    margin-left: 1rem;
  }
}

/*# sourceMappingURL=index.7810cec0.css.map */
