:root {
  --bg: hsl(0, 0%, 98%);
  --primaryColor: hsl(200, 15%, 8%);
  --input: hsl(0, 0%, 52%);
  --light: #fff;
  --box-shadow: 2px 2px 3px 1px rgba(0,0,0,.06),
                 -2px -2px 3px 1px rgba(0,0,0,.06);
  --box-shadow-hover: 3px 3px 5px 1px rgba(0,0,0,.15),
                       -3px -3px 5px 1px rgba(0,0,0,.15);
}

[data-mode="dark"] {
  --bg: hsl(207, 26%, 17%);
  --primaryColor: hsl(0, 0%, 100%);
  --input: hsl(0, 0%, 90%);
  --light: hsl(207, 26%, 20%);
  --box-shadow: 2px 2px 4px 2px rgba(0,0,0,.08),
                 -2px -2px 4px 2px rgba(0,0,0,.08);
  --box-shadow-hover: 3px 3px 5px 1px rgba(0,0,0,.3),
                       -3px -3px 5px 1px rgba(0,0,0,.3);
}

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

body {
  background-color: var(--bg);
  color: var(--primaryColor);
  position: relative;
}

input, select, button {
  outline: none;
  border: none;
  border-radius: 5px;
  -webkit-box-shadow: var(--box-shadow);
          box-shadow: var(--box-shadow);
}

.trans {
  -webkit-transition: 0.3s all ease-in-out !important;
  transition: 0.3s all ease-in-out !important;
}

.main_close {
  display: none;
}

header {
  background-color: var(--light);
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
          box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

header nav {
  padding: 12px 0px;
  max-width: 1200px;
  margin: auto;
  padding-right: 20px;
  padding-left: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  color: v(primaryColor);
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 55px;
}

@media screen and (max-width: 375px) {
  header nav {
    padding-right: 15px;
    padding-left: 15px;
  }
}

.logo {
  color: v(primaryColor);
}

@media screen and (max-width: 576px) {
  .logo {
    font-size: .95em;
  }
}

@media screen and (max-width: 375px) {
  .logo {
    font-size: .85em;
  }
}

.toggle_btn {
  margin-left: auto;
}

@media screen and (max-width: 576px) {
  .toggle_btn {
    -webkit-transform: scale(0.9);
            transform: scale(0.9);
  }
}

@media screen and (max-width: 375px) {
  .toggle_btn {
    -webkit-transform: scale(0.8);
            transform: scale(0.8);
  }
}

.toggle_btn .checkbox_p {
  display: block;
  position: relative;
  font-size: 0.95em;
  padding-left: 30px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: pointer;
}

.toggle_btn .checkbox_p .checkmark {
  position: absolute;
  top: 2px;
  left: 0;
  width: 20px;
  height: 20px;
}

.toggle_btn .checkbox_p .svg_moon path {
  stroke: var(--primaryColor);
  stroke-width: 1;
  fill: none;
}

.toggle_btn .checkbox_p .svg_moon .active {
  fill: var(--primaryColor);
}

.toggle_btn .checkbox_p #checkbox {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  cursor: pointer;
}

.search_filter_p {
  max-width: 1200px;
  margin: auto;
  padding-right: 20px;
  padding-left: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin: 40px auto;
}

@media screen and (max-width: 375px) {
  .search_filter_p {
    padding-right: 15px;
    padding-left: 15px;
  }
}

@media screen and (max-width: 576px) {
  .search_filter_p {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    padding: 0 30px;
  }
}

@media screen and (max-width: 300px) {
  .search_filter_p {
    padding: 0 10px;
  }
}

.search_filter_p .search_p {
  position: relative;
}

@media screen and (max-width: 576px) {
  .search_filter_p .search_p {
    width: 100%;
  }
}

.search_filter_p .search_p .search {
  padding: 10px 150px;
  padding-left: 50px;
  background-color: var(--light);
  color: var(--input);
}

@media screen and (max-width: 576px) {
  .search_filter_p .search_p .search {
    width: 100%;
    padding-right: 10px;
  }
}

.search_filter_p .search_p .search::-webkit-input-placeholder {
  font-size: 0.9em;
  color: var(--input);
}

.search_filter_p .search_p .search:-ms-input-placeholder {
  font-size: 0.9em;
  color: var(--input);
}

.search_filter_p .search_p .search::-ms-input-placeholder {
  font-size: 0.9em;
  color: var(--input);
}

.search_filter_p .search_p .search::placeholder {
  font-size: 0.9em;
  color: var(--input);
}

.search_filter_p .search_p #search_icon {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  left: 20px;
  width: 18px;
  height: 18px;
}

.search_filter_p .search_p #search_icon path {
  fill: var(--input);
}

.search_filter_p .filter_p {
  margin-left: auto;
}

@media screen and (max-width: 576px) {
  .search_filter_p .filter_p {
    margin-right: auto;
    margin-left: 0;
    margin-top: 30px;
  }
}

.search_filter_p .filter_p #filter {
  padding: 10px;
  background-color: var(--light);
  color: var(--input);
}

.search_filter_p .filter_p #filter option {
  color: var(--input);
  border: none;
  outline: none;
}

.box_layout_con {
  max-width: 1200px;
  margin: auto;
  padding-right: 20px;
  padding-left: 20px;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 220px 220px 220px 220px;
      grid-template-columns: 220px 220px 220px 220px;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

@media screen and (max-width: 375px) {
  .box_layout_con {
    padding-right: 15px;
    padding-left: 15px;
  }
}

@media screen and (max-width: 1024px) {
  .box_layout_con {
    -ms-grid-columns: 220px 220px 220px;
        grid-template-columns: 220px 220px 220px;
  }
}

@media screen and (max-width: 768px) {
  .box_layout_con {
    -ms-grid-columns: 220px 220px;
        grid-template-columns: 220px 220px;
    -ms-flex-pack: distribute;
        justify-content: space-around;
  }
}

@media screen and (max-width: 576px) {
  .box_layout_con {
    -ms-grid-columns: 220px;
        grid-template-columns: 220px;
  }
}

.box_layout {
  width: 220px;
  height: 300px;
  background-color: var(--light);
  -webkit-box-shadow: var(--box-shadow);
          box-shadow: var(--box-shadow);
  border-radius: 5px;
  margin: 10px 0 50px 0;
  -webkit-transition: 0.3s all ease-in-out !important;
  transition: 0.3s all ease-in-out !important;
  cursor: pointer;
}

.box_layout:hover {
  -webkit-box-shadow: var(--box-shadow-hover);
          box-shadow: var(--box-shadow-hover);
}

.box_layout * {
  pointer-events: none;
}

.box_layout .box_img {
  width: 100%;
  height: 50%;
  background-color: var(--bg);
}

.box_layout .box_img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.box_layout .box_content {
  padding: 15px;
  color: var(--primaryColor);
  font-weight: bold;
  height: 50%;
  width: 100%;
}

.box_layout .box_content .title {
  margin-bottom: 15px;
  margin-top: 5px;
  font-size: 0.9em;
}

.box_layout .box_content .details {
  font-size: 0.75em;
  margin: 5px 0;
  font-weight: normal;
}

.box_layout .box_content .details .text {
  font-weight: normal;
  color: var(--input);
}

.country_details_p {
  position: absolute;
  top: 55px;
  width: 0%;
  z-index: 9999;
  background-color: var(--bg);
  -webkit-transition: 0.3s all ease-in-out !important;
  transition: 0.3s all ease-in-out !important;
  overflow: hidden;
  display: inline-block;
  right: 0;
}

.details_active {
  width: 100%;
}

.back_btn_p {
  max-width: 1200px;
  margin: auto;
  padding-right: 20px;
  padding-left: 20px;
  margin: 50px auto;
}

@media screen and (max-width: 375px) {
  .back_btn_p {
    padding-right: 15px;
    padding-left: 15px;
  }
}

.back_btn_p .back {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 6px 20px;
  background-color: var(--light);
  -webkit-transition: 0.3s all ease-in-out !important;
  transition: 0.3s all ease-in-out !important;
  color: var(--primaryColor);
}

.back_btn_p .back:hover {
  background-color: var(--bg);
}

.back_btn_p .back svg {
  width: 15px;
  margin-right: 5px;
  fill: var(--primaryColor);
}

.country_details {
  max-width: 1200px;
  margin: auto;
  padding-right: 20px;
  padding-left: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

@media screen and (max-width: 375px) {
  .country_details {
    padding-right: 15px;
    padding-left: 15px;
  }
}

@media screen and (max-width: 1024px) {
  .country_details {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    margin-bottom: 30px;
  }
}

.country_flag_p {
  width: 50%;
}

@media screen and (max-width: 1024px) {
  .country_flag_p {
    width: 80%;
    margin-bottom: 40px;
  }
}

@media screen and (max-width: 768px) {
  .country_flag_p {
    width: 95%;
  }
}

@media screen and (max-width: 576px) {
  .country_flag_p {
    width: 100%;
  }
}

.country_flag {
  width: 450px;
  height: 300px;
  background-color: var(--light);
}

@media screen and (max-width: 1024px) {
  .country_flag {
    margin: auto;
  }
}

@media screen and (max-width: 576px) {
  .country_flag {
    width: 100%;
    height: 280px;
  }
}

@media screen and (max-width: 470px) {
  .country_flag {
    height: 230px;
  }
}

@media screen and (max-width: 375px) {
  .country_flag {
    height: 200px;
  }
}

@media screen and (max-width: 340px) {
  .country_flag {
    height: 180px;
  }
}

@media screen and (max-width: 300px) {
  .country_flag {
    height: 150px;
  }
}

.country_flag img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.country_cont {
  color: var(--primaryColor);
  width: 50%;
}

@media screen and (max-width: 1024px) {
  .country_cont {
    width: 70%;
  }
}

@media screen and (max-width: 768px) {
  .country_cont {
    width: 95%;
  }
}

@media screen and (max-width: 576px) {
  .country_cont {
    width: 100%;
  }
}

@media screen and (max-width: 1024px) {
  .country_cont .name {
    text-align: center;
    font-size: 2em;
    margin-bottom: 30px;
  }
}

@media screen and (max-width: 576px) {
  .country_cont .name {
    text-align: left;
    font-size: 1.8em;
  }
}

@media screen and (max-width: 375px) {
  .country_cont .name {
    font-size: 1.5em;
  }
}

.country_cont .cont_p {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-top: 20px;
  margin-bottom: 50px;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  font-size: .88em;
}

@media screen and (max-width: 576px) {
  .country_cont .cont_p {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    margin-bottom: 30px;
  }
}

@media screen and (max-width: 375px) {
  .country_cont .cont_p {
    font-size: .75em;
  }
}

.country_cont .cont .details {
  margin-bottom: 10px;
}

.country_cont .cont .details .text {
  color: var(--input);
}

@media screen and (max-width: 576px) {
  .country_cont .cont1 {
    margin-bottom: 40px;
  }
}

@media screen and (max-width: 375px) {
  .country_cont .cont1 {
    margin-bottom: 30px;
  }
}

.country_cont .cont2 {
  -webkit-box-flex: 50%;
      -ms-flex: 50%;
          flex: 50%;
  margin-left: 30px;
}

@media screen and (max-width: 1024px) {
  .country_cont .cont2 {
    margin-left: 50px;
  }
}

@media screen and (max-width: 576px) {
  .country_cont .cont2 {
    margin-left: 0px;
  }
}

.country_cont .border_country_p {
  font-size: .88em;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

@media screen and (max-width: 375px) {
  .country_cont .border_country_p {
    font-size: .75em;
  }
}

@media screen and (max-width: 576px) {
  .country_cont .border_country_p {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }
}

.country_cont .border_country_p .border_country {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

@media screen and (max-width: 576px) {
  .country_cont .border_country_p .border_country {
    margin-top: 10px;
  }
}

@media screen and (max-width: 375px) {
  .country_cont .border_country_p .border_country {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
}

.country_cont .border_country_p .border_c {
  display: inline-block;
  width: 90px;
  height: 25px;
  background-color: var(--light);
  -webkit-box-shadow: var(--box-shadow);
          box-shadow: var(--box-shadow);
  margin: 6px 6px;
  font-size: .85em;
  color: var(--input);
  border-radius: 5px;
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  cursor: pointer;
}

@media screen and (max-width: 375px) {
  .country_cont .border_country_p .border_c {
    margin-top: 6px;
    margin-bottom: 6px;
  }
}
/*# sourceMappingURL=style.css.map */