/* styles.css - Challenge #2 (Skeleton: Rides Gallery) */


/* 0) Base page */
body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: aliceblue;
}

/* 1) Container */
.container {
  margin: auto;

}

/* 2) Section heading */
.attractions h2{
  text-align: center;
}

.site-header {
  margin-left: 3%;

}

h1 {
  padding-top: 20px;
}

/* 3) Cards wrapper (center all cards horizontally) */
.cards {
  text-align: center;

}

/* 4) Card (size, spacing, border, rounded corners) */
.card {
  display: inline-block;
  width: 240px;

  margin: 20px;
  border: 2px solid rgb(227, 227, 227);
  border-radius: 10px;
  background-color: white;

  text-align: left;

}

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


/* 5) Card text (h3 title, paragraph blurb) */
.card h3 {
  padding: 10px;
}

.card p {
  margin-top: -18px;
  padding: 10px;
}

/* 6) Card image (fit within card, centered) */


/* 7) Hover state: change border to green, then make it wigglew */


/* 8) Footer */
footer {
  margin-top: 20px;
  margin-left: 20px;
  margin-right: 20px;
  text-align: center;
  opacity: 40%;
  border-top: 2px solid grey;
}