*,
::before,
::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  padding-top: 20px;
}

a {
  color: black;
}

ol>li+li {
  margin-top: 1rem;
}

p {
  margin: 0;
}

header,
main,
footer {
  margin: 0 auto;
  padding: 0 20px;
  max-width: 768px;
}

header>a {
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 1.5em;
}

header p {
  color: hsl(0 0 35%);
  margin-bottom: 2rem;
}

footer {
  justify-content: space-between;
}

footer,
footer ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

ol,
ul {
  padding: 0;
  margin: 0;
}

li {
  list-style: none;
}

footer {
  margin-top: 5rem;
  padding-bottom: 2rem;
}

/* ///////////////////////////////////////////// */

.text-s,
.text-m,
.text-l,
.text-xl,
a {
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

.text-s {
  font-size: 0.875rem;
  font-weight: 400;
  color: hsl(0 0 35%);
  line-height: 1.5;
}

.text-m {
  font-size: 1.0625rem;
  font-weight: 400;
  color: hsl(0 0 0);
  line-height: 1.47;
}

.text-l {
  font-size: 1.375rem;
  font-weight: 500;
  color: hsl(0 0 0);
  line-height: 1.5;
}

.text-xl {
  font-size: 1.75rem;
  font-weight: 700;
  color: hsl(0 0 0);
  line-height: 1.5;
}

h1,
h2,
h3 {
  margin: 0;
}

section {
  margin-top: 80px;
}

.project {
  margin-top: 40px;
  display: block;
}

.project-description p {
  margin-bottom: 1rem;
}

.image-bundle {
  margin-bottom: 10px;
}

.image-bundle {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
}

li a + li {
  margin-left: 2rem;
}

.image-bundle img, video {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  display: block;
  object-fit: contain;
  max-height: 37.5rem;
  margin: 0 auto;
  max-width: 100%;
}

.image-bundle img + img {
  margin-top: 10px;
}

video + video {
  margin-top: 10px;
}

@media screen and (min-width: 468px) {
  .image-bundle {
    flex-wrap: nowrap;
  }
  
  .image-bundle img + img {
    margin-left: 10px;
    margin-top: 0;
  }
}