/* Box Model Hack */
* {
  box-sizing: border-box;
  font-family: 'Rubik', sans-serif;
}

/******************************************
/* LAYOUT
/*******************************************/

body {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgb(151, 124, 177);
}

main {
  text-align: center;
  max-width: 1200px;

}

#cards-container {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
}

.card {
  /* flex: 1; */
  border-radius: 10px;
  max-width: 300px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  background-color: #fff;
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card ul {
  text-align: center;
  padding-left: 0;
  margin-top: 1rem;
}

/******************************************
/* ADDITIONAL STYLES
/*******************************************/

li {
  list-style: none;
}

input[type="text"] {
  padding: 0.5rem;
  border: none;
  border-radius: 0.25rem;
  box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.1);
}

button {
  padding: 0.5rem 1rem;
  background-color: #0077cc;
  color: #fff;
  border: none;
  border-radius: 0.25rem;
  box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

button:hover {
  background-color: #0066aa;
}

/* Media queries for smaller screens */
@media screen and (max-width: 600px) {

  .input-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  
  #cards-container {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  .card {
    margin-bottom: 1rem;
  }
}