* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}
body {
  background-color: rgb(242, 242, 242);
}

.container {
  width: 100%;
  max-width: 1250px;
  height: 100%;
  margin: 0 auto;
  font-family: sans-serif;
  display: flex;

  align-items: center;
  justify-content: space-between;
}
nav {
  width: 100%;
  height: 100px;
  padding: 0px 80px;
  background-color: rgb(242, 242, 242);
  z-index: 99;
  box-shadow: 0px 5px 20px rgb(90, 83, 83);
}

.night nav {
  background-color: rgb(53, 51, 51);
  color: white;
}
.mode {
  width: 110px;
  height: 45px;
  background-color: rgb(196, 196, 196);
  border-radius: 40px;
  padding: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  position: relative;
}
.night .mode {
  background-color: rgb(48, 42, 42);
}

.mode_info {
  position: absolute;
  display: flex;
  font-size: 13px;
  font-weight: bold;
  text-transform: capitalize;
  right: 5px;
}

.night .mode_info {
  right: 37px;
}

.mode span {
  width: 30px;
  height: 30px;
  background-color: rgb(48, 42, 42);
  position: absolute;
  border-radius: 50%;
  left: 5px;
  transition: all 0.3s ease-in-out;
  color: rgb(196, 196, 196);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.night .mode span {
  left: 76px;
  background-color: rgb(196, 196, 196);
  color: rgb(48, 42, 42);
}

.moon,
.sun {
  display: none !important;
}

.moon {
  display: block !important;
}
.night .moon {
  display: none !important;
}
.night .sun {
  display: block !important;
}
.active {
  display: none;
}
.navbar {
  width: 100%;
  height: 60px;
  display: flex;
  justify-content: space-between;
  padding: 0px 70px;
  align-items: center;
  box-shadow: 0px 6px 6px 0.5px rgb(138, 135, 135);
  background-color: white;
  position: fixed;
  z-index: 99;
}

.mode1,
.mode2 {
  display: flex;
  align-items: center;
  cursor: pointer;
}
.mode2 {
  display: none;
}
.mode1 i,
.mode2 i {
  font-size: 22px;
  margin-right: 8px;
}
.header {
  width: 100%;
  min-height: 85vh;
  background-color: rgb(196, 196, 196);
  display: inline-block;
  padding-bottom: 100px;
}
.night .header {
  background-color: rgb(48, 42, 42);
}
.search {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0px 70px;
  margin-top: 60px;
}
.input {
  width: 40%;
  display: flex;
  background-color: white;
  align-items: center;
  padding-left: 30px;
  border-radius: 5px;
}
.night .input {
  background-color: rgb(41, 35, 35);
  color: white;
}

.night .input:hover {
  box-shadow: 0px 0px 10px 1px rgb(233, 228, 228);
}
.input2,
.select2 {
  background-color: rgb(43, 56, 68);
  color: white !important;
}

.input input {
  width: 100%;
  height: 40px;
  border: none;
  margin-left: 20px;
  font-size: 15px;
  outline: none;
  background-color: inherit;
  padding-right: 10px;
}

.night .input input {
  color: white;
}
.select {
  width: 25%;
  border-radius: 5px;
}
.select select {
  width: 100%;
  height: 40px;
  padding: 0px 20px;
  font-size: 20px;
  border: none;
  outline: none;
  border-radius: 5px;
}

.night .select select {
  background-color: rgb(53, 51, 51);
  color: white;
}

.night .select select:hover {
  box-shadow: 0px 0px 10px 1px rgb(233, 228, 228);
}

.contires {
  width: 100%;
  margin-top: 20px;
  display: flex;

  flex-wrap: wrap;
  /* padding: 0px 70px; */
  justify-content: space-evenly;
}

.contires a {
  text-decoration: none;
  color: black;
}

.country {
  padding: 15px;
  width: 280px;
  /* height: 350px; */
  margin: 15px 0px;
  /* text-align: center; */
  background-color: white;
  border-radius: 5px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.night .country {
  background-color: rgb(53, 51, 51);
  color: white;
}
.country:hover {
  box-shadow: 0px 0px 10px 1px black;
  transform: scale(1.05);
}
.night .country:hover {
  box-shadow: 0px 0px 10px 1px rgb(233, 228, 228);
}
.country a {
  text-decoration: none;
  color: black;
}
.country p {
  line-height: 26px;
}
.country p span {
  width: 150px !important;
  font-weight: bold;
}
.country h3 {
  margin-top: 10px;
  line-height: 50px;
  text-decoration: none;
  letter-spacing: 1px;
}

.country img {
  width: 100%;
  object-fit: cover;
  border: 1px solid rgb(95, 95, 95);
}

.card2 {
  background-color: rgb(43, 56, 68);
  color: white;
  border: 1px solid rgba(0, 0, 0, 0.61);
}
.card2:hover {
  box-shadow: 0px 0px 10px 1px white;
  transform: scale(1.05);
}
.card2 h3 {
  color: white;
}
.card2 p {
  color: white;
}
.hidden {
  display: none;
}

@media (max-width: 576px) {
  .search {
    display: block;
    padding: 0px 25px;
    margin-top: 30px;
  }
  .input {
    width: 100%;
  }
  .select {
    width: 70%;
    margin-top: 40px;
  }
  .navbar {
    padding: 0px 16px;
    height: 60px;
  }
  .icon {
    font-size: 12px;
    margin-left: 0px;
  }
  .mode1,
  .mode2 {
    font-size: 12px;
  }
  .mode1 i,
  .mode2 i {
    font-size: 12px;
  }

  .mode_info {
    display: none;
  }
}

.loader {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100vh;
  background-color: black;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  display: none;
}
.loader.active {
  display: flex;
}
.loader img {
  width: 500px;
}

/* COUNTRY */

.coutryes {
  width: 100%;
  height: 100vh;
}

.night .coutryes{
  background-color:rgba(3, 3, 3, 0.836);
  color:white;
}

.country_about {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 100px;
}

.country_about .img {
  width: 500px;
  height: 300px;
}
.img img {
  width: 100%;
  height: 100%;
  
  object-fit: contain;
}

.country_about .country_info {
  width: 500px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-direction: column;
  /* background-color: red; */
}
.country_info h1 {
  font-size: 50px;
  text-transform: capitalize;
}

.country_info .info_text {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-direction: column;
  text-transform: capitalize;
}
.info_text h3 {
  font-size: 20px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}
.info_text h3 b {
  font-weight: 700;
}
