* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'DM Sans', sans-serif;
}

header {
  color: white;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

header a {
  text-decoration: inherit;
  color: inherit;
}

.hamburger {
  font-size: 30px;
  color: white;
  background-color: transparent;
  border: none;
  cursor: pointer;
}

.hero-container {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.hero-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.sidenav {
  display: none;
  height: 100%;
  width: 300px;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 2;
  background-color: #202121;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
}

.sidenav a {
  font-family: 'Montserrat', sans-serif;
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  color: #898C8F;
  display: block;
  transition: 0.3s;
}

.sidenav a:hover {
  color: white;
}

.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

.main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.section:nth-child(even) {
  flex-direction: row-reverse;
}

.section h2 {
  font-family: 'Montserrat', sans-serif;
}

.image-container {
  width: 50%;
}

.image-container:last-child {
  margin-right: auto;
}

.image-container img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.image-container figcaption {
  color: #898C8F;
  font-size: 14px;
  position: relative;
  height: 1.4em;
  margin-top: -1.8em;
  background-color: #00000077;
  width: fit-content;
}

.section:nth-child(even) .image-container figcaption {
  text-align: right;
  margin-left: auto;
}

.image-container figcaption a {
  color: inherit;
}

.video-container {
  width: 50%;
}

.video-container:last-child {
  margin-right: auto;
}

.video-container video {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.logo-container {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: right;
}

.section:nth-child(even) .logo-container {
  justify-content: left;
}

.logo-container img {
  max-height: 300px;
  max-width: 100%;
}

.text-container {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
}

.text-container h2 {
  margin-bottom: 20px;
}

.text-container p {
  margin-bottom: 20px;
}

.text-container p a {
  color: #F1B1A5;
}

.text-container aside {
  width: fit-content;
  padding: 5px;
  border: 1px solid black;
  margin-bottom: 20px;
}

.text-container aside strong {
  font-style: italic;
}

.text-container aside a {
  color: #F1B1A5;
}

.text-container ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.text-container blockquote {
  border: 1px solid #202121;
  border-radius: 5px;
  padding: 10px;
}

.text-container blockquote::before {
  content: "\201C";
}

.text-container blockquote::after {
  content: "\201D";
}

.attribution-container p {
  border-left: 5px solid #898C8F;
  padding-left: 5px;
}

.text-container .button {
  font-family: 'DM Serif Display', serif;
  align-self: flex-start;
  background-color: #F1B1A5;
  color: white;
  border: none;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin-bottom: 20px;
  cursor: pointer;
}

@media screen and (max-width: 768px) {
  .main {
    margin-top: 0;
  }

  .section {
    flex-direction: column;
  }

  .image-container {
    width: 100%;
  }

  .video-container {
    width: 100%;
  }

  .logo-container {
    width: 100%;
  }

  .section:nth-child(n) .logo-container {
    justify-content: center;
  }

  .text-container {
    width: 100%;
  }
}

@media screen and (min-width: 769px) {
  .section:nth-child(even) .attribution-container {
    align-items: flex-end;
  }

  .section:nth-child(even) .attribution-container p {
    border-left: 0;
    padding-left: 0;

    border-right: 5px solid #898C8F;
    padding-right: 5px;
  }
}