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

body {
  margin: 0 40px;
  font-family: "Geologica", sans-serif;
  font-optical-sizing: auto;
  font-weight: 100;
  font-style: normal;
  font-variation-settings: "slnt" 0, "CRSV" 0, "SHRP" 0;
}

.content {
  max-width: 1280px;
  margin: 60px auto;

  .two-columns {
    display: flex;
    flex-wrap: nowrap;
    gap: 40px;
  }
}

.left-side {
  width: 380px;

  img.logo {
    display: block;
    margin-bottom: 20px;
  }

  .about {
    width: 300px;
  }

  .hiring-button {
    width: 300px;
    margin-top: 24px;
    padding: 16px 16px;
    background-color: #FFC853;
    border-radius: 8px;
    font-weight: 300;
    text-decoration: none;
    display: block;

    &:hover {
      background-color: black;
      color: #FFC853;
    }
  }
}

.right-side {
  width: 840px;

  .block {
    margin-bottom: 60px;

    .illustration {
      width: 840px;
      height: auto;
      margin-bottom: 24px;

      img {
        border-radius: 8px;
      }
    }

    .description {
      width: 640px;
      padding: 0 12px;
    }
  }
}

.footer {
  width: 1280px;

  .separator {
    width: 1280px;
    height: 8px;
    border-radius: 4px;
    background-color: #FFC853;
    margin-bottom: 12px;
  }

  .space-between {
    display: flex;
    justify-content: space-between;
    padding: 0 12px;
  }

  .social-links {
    margin-top: 8px;
  }
}

a {
  color: #000000;

  &:hover {
    color: gray;
  }
}

.subscribe-button {
  width: 240px;
  background-color: #FFC853;
  border-radius: 4px;
  padding: 12px 16px;
  margin-top: 24px;
  cursor: pointer;
  display: block;
  text-decoration: none;
  font-weight: 400;

  &:hover {
    background-color: black;
    color: #FFC853;
    animation: shake 300ms;
    animation-iteration-count: infinite;
  }
}

.wishlist-button {
  gap: 12px;
  width: 240px;
  background-color: gray;
  color: white;
  border-radius: 4px;
  padding: 12px 16px;
  margin-top: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  text-decoration: none;
  font-weight: 400;

  svg {
    fill: white;
  }

  &:hover {
    background-color: black;
    color: #FFC853;
    animation: shake 300ms;
    animation-iteration-count: infinite;

    svg {
      fill: #FFC853;
    }
  }
}

.steam-icon {
  width: 18px;
}

.editor-screenshot {
  width: calc(100% + 48px) !important;
  margin-left: -24px;
  margin-bottom: -24px;
  margin-top: -12px;
}

.flex-center {
  display: flex;
  align-items: center;
}

@keyframes shake {
  0% { transform: translate(1px, 1px) rotate(0deg); }
  10% { transform: translate(-1px, -2px) rotate(-1deg); }
  20% { transform: translate(-3px, 0px) rotate(1deg); }
  30% { transform: translate(3px, 2px) rotate(0deg); }
  40% { transform: translate(1px, -1px) rotate(1deg); }
  50% { transform: translate(-1px, 2px) rotate(-1deg); }
  60% { transform: translate(-3px, 1px) rotate(0deg); }
  70% { transform: translate(3px, 1px) rotate(-1deg); }
  80% { transform: translate(-1px, -1px) rotate(1deg); }
  90% { transform: translate(1px, 2px) rotate(0deg); }
  100% { transform: translate(1px, -2px) rotate(-1deg); }
}

@media screen and (max-width: 1280px) {
  .content {
    margin: 40px auto;

    .two-columns {
      flex-wrap: wrap;
    }
  }

  .left-side {
    width: 100%;
  }

  .right-side {
    width: 100%;

    .block {
      margin-bottom: 60px;

      .illustration {
        max-width: 840px;
        width: 100%;
        height: auto;
        margin-bottom: 18px;

        img {
          width: 100%;
          border-radius: 8px;
        }
      }

      .description {
        max-width: 640px;
        width: 100%;
        padding: 0 12px;
      }
    }
  }

  .footer {
    max-width: 1280px;
    width: auto;

    .separator {
      max-width: 1280px;
      width: auto;
    }
  }
}

.jobs-page {
  h1 {
    margin-top: 8px;
    margin-bottom: 24px;
  }

  h3 {
    margin-bottom: 8px;
  }

  .block {
    margin-bottom: 24px;
  }

  ul > li {
    margin-left: 36px;
  }

  .hiring-button {
    width: 300px;
    margin-top: 32px;
    margin-bottom: 64px;
    padding: 18px 18px;
    background-color: #FFC853;
    border-radius: 8px;
    font-weight: 400;
    text-decoration: none;
    display: block;

    &:hover {
      background-color: black;
      color: #FFC853;
    }
  }
}