:root {
  --darkest: #151618;
  --dark: #4b4949;
  --mid: #212936;
  --light: #ebecee;
  --lightest: #f5f5f5;
}

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

body {
  background-color: var(--darkest);
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

/*=============================================================================*/
header,
footer {
  padding: 2rem;
  background-color: var(--darkest);
  color: var(--lightest);
  text-align: center;
}

header {
  font-size: 3rem;
  font-family: "Monoton", sans-serif;
  font-weight: 400;
  font-style: normal;
}

/*=============================================================================*/
main {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  background: linear-gradient(to right, var(--mid) 50%, var(--dark) 50%);
}

.section-1 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1024px;
}

.col-1,
.col-2 {
  display: flex;
}

.col-1 {
  background-color: var(--dark);
  justify-content: center;
  padding: 1rem;
  order: 2;
}

img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 0.5rem;
  object-fit: contain;
}

.col-2 {
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--mid);
  padding: 1rem;
  gap: 2rem;
  order: 1;
}

p {
  width: 85%;
  text-align: left;
  color: var(--light);
  font-size: large;
}

/*=============================================================================*/
.section-2 {
  display: flex;
  justify-content: center;
  background-color: var(--light);
  width: 100%;
}

.photo-strip {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 1rem;
  gap: 1rem;
  max-width: 1200px;
}

.photo-strip a {
  color: var(--dark);
  text-decoration: none;
  text-align: right;
  font-style: italic;
  font-size: small;
  grid-column: 1/-1;
}

/*=============================================================================*/
footer {
  font-size: large;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-header {
  font-weight: bold;
}

footer a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.contact-item {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
}

/*=============================================================================*/
/* Tablets */
@media (max-width: 768px) {
  .section-1 {
    grid-template-columns: 1fr;
  }
  .col-1 {
    order: 1;
  }
  .col-2 {
    order: 2;
  }
  p {
    width: 100%;
    text-align: center;
  }
}

/* Phones */
@media (max-width: 480px) {
  .photo-strip {
    grid-template-columns: 1fr;
  }
}
