main.home-main {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.title-wrapper {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  overflow-x: hidden;
  overflow-y: visible;
  padding: 1rem 0;
  margin: -1rem 0;
}

.title-placeholder {
  height: 150px;
}

.title-placeholder-main {
  height: 200px;

  @media screen and (min-width: 600px) {
    height: 160px;
  }
}

.title {
  box-sizing: border-box;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--color-main);
  padding: 1rem;
  margin-top: 1rem;
  overflow: hidden;
  transform: rotate(-1deg);
  width: calc(100vw + 1rem);
  left: -0.5rem;
  border-top: 1px solid var(--color-main);
  border-bottom: 1px solid var(--color-main);

  &.secondary {
    background-color: var(--color-contrast);

    h1 {
      color: var(--color-main);
    }
  }

  &:first-of-type {
    margin-top: 0;
    margin-bottom: 1rem;
  }

  img {
    width: 60px;
    height: 60px;
  }

  h1 {
    font-family: "5yearsoldfont";
    font-weight: normal;
    font-size: 2em;
    color: var(--color-contrast);
    margin: 0;
    letter-spacing: -2px;
  }
}

.inverted-rotation {
  transform: rotate(1deg);
}

.section-highlight {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0 0.5rem;

  @media screen and (min-width: 600px) {
    margin: 0 auto;
    max-width: 800px;
  }
}

a {
  text-align: center;
  transition: opacity 0.2s;

  &:not(.button) {
    color: var(--color-main);
    font-weight: bold;
  }

  &.button {
    display: block;
    padding: 0.5rem 1rem;
    background-color: var(--color-main);
    color: var(--color-contrast);
    text-decoration: none;
    border-radius: 4px;

    @media (hover: hover) {
      &:hover {
        opacity: 0.8;
        cursor: pointer;
      }
    }
  }
}
