:root {
  --font-color: #222e3a;
  --accent-color: #e15636;
  --accent-color-50: #e1563650;
  --bg-color: #f6f7eb;
}
html {
  font-size: 8px;
  font-family: "Lora", serif;
  font-weight: 400;
  color: var(--font-color);
  background-color: var(--bg-color);
  display: flex;
  justify-content: center;
}
#wave {
  position: fixed;
  top: -100px;
  right: -5px;
  z-index: -2;
}
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  max-width: 2560px;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Sen", sans-serif;
  font-weight: 700;
}

img {
  max-width: min(100%, 500px);
}

a {
  color: var(--accent-color);
  font-style: italic;
  text-decoration: none;
}

a:active,
a:visited,
a:focus {
  color: var(--accent-color);
}

a:hover {
  text-decoration: underline;
}

a.post-link:active,
a.post-link:visited,
a.post-link:focus {
  color: var(--bg-color);
}

header {
  padding: 3rem;
  text-align: center;
}
section {
  padding: 3rem;
}
section h2 {
  font-size: 3rem;
}

section h3 {
  font-size: 2rem;
}
ul {
  list-style-type: circle;
  font-size: 1.8rem;
}
section p {
  font-size: 1.8rem;
  line-height: 2.5rem;
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.columns h2 {
  width: 100%;
}

.shadow {
  -webkit-box-shadow: 8px 10px 24px -11px rgba(66, 68, 90, 1);
  -moz-box-shadow: 8px 10px 24px -11px rgba(66, 68, 90, 1);
  box-shadow: 8px 10px 24px -11px rgba(66, 68, 90, 1);
}
.post {
  background-color: var(--font-color);
  margin-bottom: 4rem;
  padding: 6rem;
  border-radius: 0.25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  color: var(--bg-color);
  background-blend-mode: screen;
  position: relative;
}

.post-title {
  font-size: 3rem;
  color: white;
  position: relative;
}
.post-excerpt {
  padding-bottom: 2rem;
  color: white;
  position: relative;
}
.post-link {
  display: inline-block;
  font-size: 2rem;
  background-color: var(--accent-color);
  color: var(--bg-color);
  font-style: normal;
  padding: 1rem 2rem;
  margin-top: auto;
  position: relative;
}

a.post-link:hover {
  color: var(--font-color);
  text-decoration: none;
}

.post video {
  object-fit: cover;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.row:first-child {
  border-top: 1px solid var(--accent-color);
}
.row {
  border-bottom: 1px solid var(--accent-color);
  padding: 4rem 2rem;
  font-size: 2rem;
}
.row:nth-child(2n + 1) {
  background-color: var(--accent-color-50);
}

footer {
  background-color: var(--font-color);
  color: var(--bg-color);
  padding: 10rem;
  font-size: 2.5rem;
}

@media screen and (min-width: 1000px) {
  html {
    font-size: 10px;
  }
  section {
    padding: 6rem;
  }
  .columns {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .text-columns {
    align-items: flex-start;
  }
  .float {
    flex-wrap: wrap;
    justify-content: center;
  }
  .column-2 {
    width: 45%;
  }
  .column-3 {
    width: 33%;
  }
  .image {
    padding: 6rem;
  }
  .post {
    width: 40%;
    margin-right: 4rem;
  }
}
.read-more p {
  width: 100%;
  font-size: 3rem;
  font-family: "Sen", sans-serif;
  font-weight: 700;
  text-align: center;
  padding: 3rem 0;
}
#instrument {
  position: relative;
  width: 100%;
  height: min(33vh, 1000px);
  border-top: 1px solid var(--accent-color);
}
#instrument canvas {
  position: absolute;
  left: 0;
  top: 0;
}
#instrument-prompt {
  position: absolute;
  width: min(100vw, 2560px);
  font-size: 3rem;
  text-align: center;
  color: var(--accent-color);
  z-index: 2000;
  animation: float 2s ease-in-out infinite;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(12vh);
  }
  50% {
    transform: translateY(13vh);
  }
}
