* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: pointer;
}
ul,
li {
  list-style: none;
}
html,
body {
  width: 100%;
  height: 100%;
  background-color: #fff;
  color: #212121;

  overflow: hidden;
}
.center {
  font-weight: 700;
  font-size: 40px;
  width: 100%;
  height: 100%;
  display: grid;
  place-content: center;
}
.hamburger {
  position: absolute;
  width: 20px;
  height: 20px;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
}
.hamburger span {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: inline-block;
  width: 24px;
  height: 3px;
  border-width: 3px;

  background-color: #f8cc5c;
  transition: all 0.25s;
}
.hamburger span:before {
  position: absolute;
  right: 0;
  display: inline-block;
  content: "";
  width: 18px;
  height: 3px;
  background-color: #f8cc5c;
  transform: translateY(-8px);
  transition: all 0.25s;
}
.is-drawerActive .hamburger span {
  background-color: #fff;
  transform: rotate(25deg);
}
.is-drawerActive .hamburger span:before {
  transform: translateY(-50%);
  background-color: #fff;
  transform: rotate(-45deg);
  width: 24px;
  border-width: 3px;
}
.toggle-btn {
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin: 3em;
  z-index: 999;
}
.btn-outline {
  border-radius: 50%;
  position: absolute;
  width: 100px;
  height: 100px;
  border: 2px solid #f8cc5c;
  transition: border-color 3s;
}
.is-drawerActive .btn-outline {
  border-color: #fff;
}
.community-bg {
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 100vh;
  -webkit-mask-image: url("./mask1.svg");
  mask-image: url("./mask1.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: 50% 50%;
  mask-position: 50% 50%;
  background-color: #f3af02;
  transition: -webkit-mask-size 100ms 200ms cubic-bezier(0.19, 1, 0.22, 1);
  transition: mask-size 100ms 200ms cubic-bezier(0.19, 1, 0.22, 1);
  transition: mask-size 100ms 200ms cubic-bezier(0.19, 1, 0.22, 1),
    -webkit-mask-size 100ms 200ms cubic-bezier(0.19, 1, 0.22, 1);
}
.community-bg {
  -webkit-mask-size: 0% auto;
  mask-size: 0% auto;
}
.is-drawerActive .community-bg {
  -webkit-mask-size: 130% auto;
  mask-size: 130% auto;
  transition: -webkit-mask-size 2000ms cubic-bezier(0.23, 1, 0.32, 1);
  transition: mask-size 2000ms cubic-bezier(0.23, 1, 0.32, 1);
  transition: mask-size 2000ms cubic-bezier(0.23, 1, 0.32, 1), -webkit-mask-size 2000ms cubic-bezier(0.23, 1, 0.32, 1);
}
.community-scroll {
  width: 100%;
  height: 100%;
  overflow: auto;
  -webkit-mask-image: url("./mask2.svg");
  mask-image: url("./mask2.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: 50% 50%;
  mask-position: 50% 50%;
  background-color: #f8cc5c;
  -webkit-mask-size: 0% 0%;
  mask-size: 0% 0%;
  transition: -webkit-mask-size 100ms 200ms cubic-bezier(0.19, 1, 0.22, 1);
  transition: mask-size 100ms 200ms cubic-bezier(0.19, 1, 0.22, 1);
  transition: mask-size 100ms 200ms cubic-bezier(0.19, 1, 0.22, 1),
    -webkit-mask-size 100ms 200ms cubic-bezier(0.19, 1, 0.22, 1);
}
.community-scroll {
  -webkit-mask-size: 0% auto;
  mask-size: 0% auto;
}
.is-drawerActive .community-scroll {
  -webkit-mask-size: 140% auto;
  mask-size: 140% auto;
  transition: -webkit-mask-size 3000ms 300ms cubic-bezier(0.23, 1, 0.32, 1);
  transition: mask-size 3000ms 300ms cubic-bezier(0.23, 1, 0.32, 1);
  transition: mask-size 3000ms 300ms cubic-bezier(0.23, 1, 0.32, 1),
    -webkit-mask-size 3000ms 300ms cubic-bezier(0.23, 1, 0.32, 1);
}
.community {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 500;
  width: 100%;
  height: 100%;
  visibility: hidden;
  opacity: 0;
  transition: visibility 150ms cubic-bezier(0.25, 0.25, 0.75, 0.75), opacity 150ms cubic-bezier(0.25, 0.25, 0.75, 0.75);
}
.is-drawerActive .community {
  visibility: visible;
  opacity: 1;
  transition-duration: 0ms;
}
.community-text {
  opacity: 0;
  visibility: hidden;
  display: grid;
  place-content: center;
  color: #fff;
  font-size: 40px;
  font-weight: 700;
  position: absolute;
  z-index: 999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.5s ease;
  transition-delay: 0.4s;
}
.community-text ul li + li {
  margin-top: 20px;
}
.is-drawerActive .community-text {
  opacity: 1;
  visibility: visible;
}
