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

/* body {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
} */
/* 
.greeting {
  margin: auto;

  margin: 70px 0;
}
.greeting h2 {
  color: black;
  font-weight: 200;
  font-size: 25px;
}

.return a {
  color: black;
  font-size: 50px;
  cursor: pointer;
  font-weight: 100;
} */

header {
  width: 100%;
  height: 80px;
  background: rgb(255, 255, 255);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-bottom: 1px solid #ccc;
}
header h1 {
  margin: 0 30px 0 15px;
  color: rgb(57, 57, 57);
  font-weight: 200;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}

header .far {
  margin-left: 30px;
  font-size: 30px;
  cursor: pointer;
}

header form {
  display: flex;
  align-items: center;
}
#search {
  width: 230px;
  height: 30px;
  border: 1px solid black;
  outline: none;
  border-radius: 20px;
  padding-left: 15px;
}

#myBtnContainer {
  padding: 30px 0 20px;
  /* display: flex;
  justify-content: center;
  align-items: center; */
  text-align: center;
  border-bottom: 1px solid #ccc;
}

.btn {
  border: none;
  outline: none;
  padding: 12px 16px;
  background-color: #f4f4f4;
  cursor: pointer;
  border-radius: 50px;
  margin-bottom: 10px;
}

/* Add a grey background color on mouse-over */
.btn:hover {
  background-color: #ddd;
}

/* Add a dark background color to the active button */
.btn.active {
  background-color: #666;
  color: white;
}

main {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}

main div {
  width: 340px;
  height: 190px;
  margin: 19px 15px;
  background: rgb(87, 87, 87);
  border-radius: 10px;
}
img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

a {
  text-decoration: none;
}

/* h2 {
  font-size: 20px;
  font-family: sans-serif;
  font-weight: bold;
  text-align: center;
  color: #fff;
} */

@media only screen and (max-width: 600px) {
  header h1 {
    font-size: 20px;
  }

  header .far {
    font-size: 20px;
  }

  #search {
    margin-left: 40px;
    margin-right: 20px;
  }
}

@media only screen and (max-width: 459px) {
  header h1 {
    font-size: 20px;
  }

  header .far {
    font-size: 20px;
    margin-left: 10px;
  }

  #search {
    width: 150px;
    margin-left: 0;
    margin-right: 20px;
  }

  main div {
    height: 160px;
  }
}

.pagination {
  width: 100%;
  float: left;
  padding: 15px;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  margin: 30px 0;
}
.pagination div {
  display: inline-block;
  margin: 0 10px;
}
.pagination .page {
  color: gray;
}
.pagination .prev,
.pagination .next {
  color: #000;
  font-size: 15px;
  padding: 12px 16px;
  cursor: pointer;
  border-radius: 50px;
  background-color: #f4f4f4;
}

.prev:hover,
.next:hover {
  background-color: #ddd;
}
.prev:active,
.next:active {
  background-color: #666;
  color: white;
}

.pagination .prev.disabled,
.pagination .next.disabled {
  border-color: gray;
  color: gray;
  pointer-events: none;
}

#main div.hide {
  display: none;
}

#main div.show {
  display: block;
  animation: show 0.5s ease;
}
@keyframes show {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.footer {
  margin-top: 160px;
  height: 120px;
  background-color: #666;
  text-align: center;
}

.suggestion {
  color: #ddd;
  font-family: Arial, Helvetica, sans-serif;
}
footer div a {
  text-decoration: none;
}

footer div h3 {
  padding: 20px 0 10px;
}
footer div a .far {
  color: #ddd;
  font-size: 40px;
}
