.container {
  text-align: justify;
}

#hero {
  padding: 4rem 1rem;
  background-image: linear-gradient(#FFF8, #FFF8), url('/assets/images/bar.jpg');
  background-size: cover;
  background-position: center;
}

h1 {
  font-family: var(--prif);
  font-size: 4rem;
  text-align: center;
  line-height: 100%;
}

#tagline {
  margin-top: 0;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  font-style: italic;
}

#description {
  display: flex;
  flex-flow: column;
  gap: .5rem;
  margin-top: 2rem;
}

#functions {
  display: flex;
  flex-flow: column;
  gap: 4rem;
  margin-top: 2rem;
}

.function {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  position: relative;
}

.function + .function::before {
  content: '';
  position: absolute;
  top: -2rem;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 2px;
  background-color: rgba(var(--pri), .25);
}

.function__left {
  position: sticky;
  top: 1rem;
  margin-bottom: auto;
}

.function__image {
  display: block;
  width: 100%;
}

.function__title {
  text-align: center;
  padding: .5rem;
  background-color: rgb(var(--sec));
  color: #fff;
  font-weight: normal;
  border-radius: 0 0 .5rem .5rem;
}

.function__right {
  list-style-position: inside;
  line-height: 200%;
}

.function__right > * + * {
  margin-top: 0.5rem;
}

.function__right h3 {
  font-family: var(--prif);
  text-transform: uppercase;
}

.function__right a {
  font-weight: bolder;
  text-decoration: underline;
  transition: opacity .2s;
}

.function__right ul {
  line-height: 150%;
}

.function__readmore { 
  font-weight: bolder;
  color: rgb(var(--pri));
  transition: opacity .2s;
}

.function__readmore:hover,
.function__readmore:focus,
.function__right a:hover,
.function__right a:focus {
  opacity: .5;
}

.hidden {
  display: none;
}

#download {
  text-align: center;
}

#download a {
  font-weight: bolder;
  transition: opacity .2s;
}

#download a:hover {
  opacity: .5;
}

footer {
  margin-top: 2rem;
}

@media (max-width: 720px) {
  .function {
    grid-template-columns: 1fr;
  }

  .function__left {
    position: static;
  }
}