/* UNIVERSAL STYLES */
html { color: darkslategrey; }
body { background-color: rgb(219, 227, 224); }
div { display: flex; }
h1 { margin: 0; }
img { max-height: 200px; }
footer {
  text-align: center;
  margin: 8px;
}

/* COMMON STYLES */
#top, body, #gallery, .project-card, #about {
  flex-flow: column;
  align-items: center;
}

#project-container, #about-section, #about h1 {
  width: 90%;
}

/* HEADER STYLES */
#top {
  width: 100%;
  background-color: whitesmoke;
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 15px;
}

/* BODY STYLES: COMMON */
#gallery, #about, #resume {
  padding: 20px;
  margin-bottom: 20px;
}

/* GALLERY STYLES */
#gallery p {
  text-align: center;
  margin: 8px;
}

#project-container {
  flex-flow: row wrap;
  align-content: center;
  justify-content: center;
  margin-top: 10px;
  gap: 30px;
}

.project-card {
  background-color: rgba(245, 245, 245, 0.5);
  width: 350px;
  box-sizing: border-box;
  margin: 0;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
  overflow: hidden;
  justify-content: center;
}

.project-card:hover { transform: translateY(-5px); }

/* ABOUT SECTION STYLES: COMMON */
#about-section {
  flex-flow: row wrap;
  justify-content: space-evenly;
  column-gap: 20px;
}

#about p { max-width: 600px; }

/* DEBUGGING */
/* * {border: 1px solid black} */