@import url("https://fonts.googleapis.com/css2?family=Merriweather:wght@700;900&family=Oswald&display=swap");
/* font-family: "Merriweather", serif;
font-family: "Oswald", sans-serif; */
* {
  margin: 0px;
  padding: 0px;
}

h1 {
  font-family: "Oswald", sans-serif;
  font-size: 4rem;
  padding: 0px;
  margin: 0px;
}

h2 {
  font-family: "Oswald", sans-serif;
  font-size: 2em;
  text-transform: capitalize;
}

p {
  font-family: "Merriweather", serif;
  font-size: 1.2em;
}

header {
  padding: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid black;
}

header p {
  font-size: 1.2em;
  padding: 0px;
  margin: 0px;
}

#app {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* gallery specific styling*/

.loadingIcon {
  width: 10%;
  margin-top: 20%;
}

.galleryCard {
  display: block;
  background-color: #eeeeee;
  border: 2px solid black;
  border-radius: 10px;
  /* min-height: 400px; */
  width: 375px;
}

.galleryCard img {
  max-width: 375px;
  max-height: 500px;
}

.galleryCard h2 {
  padding: 2px 10px 5px 10px;
}

.galleryCard p {
  padding: 2px 10px 20px 10px;
}

.detailView {
  display: block;
  position: relative;
  background-color: #eeeeee;
  border: 2px solid black;
  border-radius: 10px;
  /* min-height: 400px; */
  width: 90%;
}

.detailView img {
  width: 100%;
}

.detailView h2 {
  z-index: 2;
  position: absolute;
  top: 0;
  left: 1rem;

  color: white;
  font-size: 6rem;
}

.detailView p {
  padding: 2px 10px 20px 10px;
  font-size: 1rem;
}

/*-------------------------------------------------------------------*/
