body {
  background: #eef4ff;
  margin: 0;
  font-family: sans-serif;
  color: #333;
}

.spacer {
  width: 100%;
  height: 50vh;
  background: #ddd;
}

.gallery h1 {
  font-size: clamp(2em, 4vw, 6em);
}

.gallery p {
  font-size: clamp(1.4em, 2.5vw, 5em);
  line-height: 1.4;
}

.gallery {
  display: flex;
}

.left {
  /* outline:2px solid red; */
  width: 50%;
}

.right {
  /* outline:2px solid blue; */
  height: 100vh;
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.desktopContent {
  margin: auto;
  width: 80%;
}

.desktopContentSection {
  /* outline:2px solid green; */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.desktopContentSection:nth-child(even) {
  /* background:#ccc; */
}

.desktopPhotos {
  width: 40vw;
  height: 40vw;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.4);
}

.desktopPhoto {
  position: absolute;
  width: 100%;
  height: 100%;
}

.red {
  background: crimson;
}

.green {
  background: MediumSeaGreen;
}

.blue {
  background: dodgerblue;
}

.pink {
  background: deepPink;
}

/* small screen / mobile layout */
.mobileContent {
  display: none;
  width: 80vw;
}

.mobilePhoto {
  width: 80vw;
  height: 80vw;
  margin-top: 5em;
  border-radius: 6vw;
}

/* defines styles for screens up to 599px wide */
@media screen and (max-width: 599px) {
  .left {
    display: none;
  }

  .desktopPhotos {
    display: none;
  }

  .mobileContent {
    display: block;
  }

  .right {
    height: auto;
    width: 100%;
    align-items: center;
  }
}
