@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap");

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

body {
  background-color: whitesmoke;
}

.website-title {
  display: flex;
  justify-content: start;
  align-items: center;
  padding: 1rem 2rem;
  background-color: white;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.2);
}

.heading {
  font-size: 5vmin;
}

.search-country {
  display: flex;
  justify-content: space-around;
  padding: 2rem;
  align-items: center;
}

.search-country-input {
  width: 250px;
  background-color: white;
  align-self: center;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.2);
  border-radius: 1.5rem;
}

.search-icon {
  margin-left: 0.5rem;
}

.search-country-name,
.filter-country-region {
  width: 200px;
  height: 40px;
  padding: 0.5rem;
  border: none;
  outline: none;
  font-size: 1rem;
  border-radius: 1.5rem;
}

.filter-country {
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.2);
  border-radius: 1.5rem;
}

.multiple-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.each-card {
  width: 250px;
  height: 350px;
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  display: none;
}

.new-cards {
  width: 240px;
  height: 350px;
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease-in-out;
}

.new-cards:hover {
  transform: scale(1.03);
  box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.2);
}

.card-img {
  width: 250px;
  object-fit: cover;
  height: 150px;
}

.card-info {
  line-height: 2.5rem;
  margin-left: 1rem;
  font-weight: bolder;
}

@media (max-width: 700px) {
  .search-country {
    flex-direction: column;
  }
  .search-country-input {
    margin: 1rem 0rem;
  }
  .filter-country {
    margin-bottom: 1rem;
  }
}
