@font-face {
  font-family: Rclbricko;
  src: url('../fonts/RCLBricko-Bold.otf') format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Ultratall;
  src: url('../fonts/UltraTall-Bold.otf') format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Ultratall;
  src: url('../fonts/UltraTall-Bold.otf') format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

h1 {
  letter-spacing: -5px;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 2rem;
  font-family: Rclbricko, Arial, sans-serif;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
}

p {
  margin-bottom: 0;
  font-family: Ultratall, Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
}

.bg-wrapper {
  background-image: url('../images/Macaworks_Background_Image.webp');
  background-position: 50%;
  background-size: cover;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  display: flex;
  position: absolute;
  inset: 0%;
}

.section {
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100dvh;
  display: flex;
  position: relative;
}

.brick {
  object-fit: cover;
  width: 36.7rem;
  height: 100%;
}

.brick.is-left {
  object-position: 100% 50%;
}

.brick.is-right {
  object-position: 0% 50%;
  width: 47.7rem;
}

.container {
  max-width: 80rem;
}

.content-wrapper {
  z-index: 2;
  grid-column-gap: 2.5rem;
  grid-row-gap: 2.5rem;
  justify-content: center;
  align-items: center;
  width: 100%;
  display: flex;
  position: relative;
}

.mascot {
  width: 22.3rem;
}

.button_group {
  grid-column-gap: .5rem;
  grid-row-gap: .5rem;
  margin-top: 1.5rem;
  display: flex;
}

.text-wrap {
  width: 35rem;
}

.div-block {
  margin-top: 2rem;
}

.btn {
  color: #fff;
  letter-spacing: 1px;
  background-color: #de000f;
  border: .4rem solid #fd0;
  border-radius: .8rem;
  padding: .5rem 1.5rem;
  font-family: Ultratall, Arial, sans-serif;
  font-size: 1.5rem;
  line-height: 1;
  text-decoration: none;
}

.btn.secondary {
  color: #de000f;
  background-color: #0000;
}

@media screen and (max-width: 991px) {
  .brick.is-left {
    width: 32.3rem;
  }

  .brick.is-right {
    display: none;
  }

  .container {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }

  .mascot {
    width: 20rem;
  }

  .button_group {
    flex-flow: column;
    align-items: flex-start;
  }
}

@media screen and (max-width: 767px) {
  h1 {
    font-size: 3rem;
  }

  p {
    font-size: 1.2rem;
  }

  .bg-wrapper {
    justify-content: space-between;
    align-items: flex-end;
  }

  .brick.is-left {
    object-position: 100% 100%;
    width: 16.6rem;
    height: 70%;
    display: none;
  }

  .container {
    justify-content: center;
    align-items: center;
    padding-left: 2rem;
    padding-right: 2rem;
    display: flex;
  }

  .content-wrapper {
    text-align: center;
    flex-flow: column;
    width: 100%;
  }

  .mascot {
    object-fit: contain;
    width: 100%;
    height: 45%;
    position: absolute;
    inset: -20% 0% 0%;
  }

  .button_group {
    justify-content: flex-start;
    align-items: center;
  }

  .text-wrap {
    width: 100%;
    position: relative;
    bottom: -2.6rem;
  }

  .div-block {
    margin-top: 1.5rem;
  }

  .btn {
    font-size: 1.2rem;
  }

  .image {
    width: 65%;
  }
}

@media screen and (max-width: 479px) {
  h1 {
    letter-spacing: -2px;
    font-size: 2.5rem;
  }

  p {
    font-size: 1rem;
  }

  .brick.is-left {
    width: 9.2rem;
    height: 31%;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .btn {
    font-size: 1rem;
  }
}


@font-face {
  font-family: 'Rclbricko';
  src: url('../fonts/RCLBricko-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Ultratall';
  src: url('../fonts/UltraTall-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Ultratall';
  src: url('../fonts/UltraTall-Bold.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}