@font-face {
  font-family: Kidsbar;
  src: url('../fonts/Kidsbar.woff2') format("woff2");
  font-weight: 600;
  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;
}

body {
  color: #333;
  font-family: Varela Round, sans-serif;
  font-size: 14px;
  line-height: 20px;
}

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

p {
  color: #f7f7f7;
  margin-bottom: 0;
  font-family: Varela Round, sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.2;
}

.bg-wrapper {
  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: 25rem;
}

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

.text-wrap {
  width: 35rem;
}

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

.btn {
  color: #fff;
  background-color: #005bb6;
  border: .4rem solid #036;
  border-radius: .8rem;
  padding: .5rem 1.5rem;
  font-size: 1.2rem;
  line-height: 1.2;
  text-decoration: none;
}

.btn.secondary {
  background-color: #248ef8;
  border-color: #1b75ce;
}

.img-full {
  width: 100%;
}

.h1-angle {
  display: inline-block;
  transform: rotate(-4deg);
}

.h1-angle.is-second {
  transform: translate(10%)rotate(-4deg);
}

.h1 {
  transform: rotate(-7deg);
}

.word {
  transform: rotate(83deg);
}

.heading {
  transform: rotate(-9deg);
}

@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;
  }

  .img-full {
    object-fit: cover;
  }
}

@media screen and (max-width: 767px) {
  h1 {
    margin-bottom: 1.5rem;
    font-size: 4rem;
  }

  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 {
    grid-column-gap: 1rem;
    grid-row-gap: 1rem;
    text-align: center;
    flex-flow: column;
    width: 100%;
  }

  .mascot {
    object-fit: contain;
    order: -9999;
    width: 100%;
    height: 15rem;
    position: static;
    inset: -20% 0% 0%;
  }

  .button_group {
    flex-flow: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
  }

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

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

  .btn {
    font-size: 1.2rem;
  }

  .image {
    width: 65%;
  }

  .img-full {
    height: 100%;
  }

  .h1-angle {
    transform: translate(-5%)rotate(-4deg);
  }
}

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

  p {
    font-size: 1rem;
  }

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

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

  .btn {
    font-size: 1rem;
  }

  .h1-angle.is-second {
    transform: translate(8%);
  }
}


@font-face {
  font-family: 'Kidsbar';
  src: url('../fonts/Kidsbar.woff2') format('woff2');
  font-weight: 600;
  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;
}