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

:root {
  --bg-main-color: rgb(233, 242, 245);
}

* {
  font-family: "Jua", sans-serif;
  font-weight: 400;
  font-style: normal;
}

header {
  border: 3px double black;
  border-radius: 10px;
  background-color: var(--bg-main-color);
  padding: 20px;
  justify-content: center;
  display: flex;
}

.search {
  display: flex;
  justify-content: center;
  padding: 15px;
  border-bottom: 1px dotted black;
}

.search > label {
  font-size: 25px;
}

.search > input {
  margin-left: 15px;
  min-width: 200px;
  padding: 5px 10px;
}

.search > button {
  margin-left: 5px;
  padding: 5px;
  width: 35px;
}

.cardSection {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  justify-content: center;
}

.card {
  border-radius: 10px;
  margin: 20px;
  padding: 20px;

  width: 300px;
  background-color: var(--bg-main-color);
  justify-self: center;

  cursor: pointer;
}

.card > img {
  width: 100%;
  border-radius: 10px;
}
