@keyframes myarrow {
  0% {
    transform: translate(0);
  }
  50% {
    transform: translate(5px);
  }
  100% {
    transform: translate(0);
  }
}

html,
body,
.wrapper {
  height: 100%;
}

.wrapper {
  overflow: auto;
}

#homepage {
  background: linear-gradient(135deg,#f67942,#ffad45 90%);
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
a {
  color: inherit;
}
.navbar {
  --height: 80px;
  --logo-size: 40px;
  top: 0;
  position: sticky;
  padding: 0 24px;
  color: #fff;
}
.top-menu {
  height: var(--height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}
.navbar .logo {
  gap: 10px;
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: 600;
}
.navbar .logo > img {
  width: var(--logo-size);
  height: var(--logo-size);
}
.navbar .logo > img {
  margin-top: 7px;
}
.right-btn {
  height: 40px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  border-radius: 8px;
  justify-content: center;
  color: #fff;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  border: 1px solid #fff;
}
.right-btn.big {
  font-size: 24px;
  font-weight: 500;
  height: 60px;
  padding: 0 40px;
  box-shadow: 0 12px 60px 0 rgba(183, 78, 23, .6),
    0 6px 16px 0 rgba(235, 105, 37, .7);
  margin-top: 40px;
}
.right-btn.index,
.right-btn.regist {
  color: #f67942;
  background: #fff;
  border-color: #fff;
}

#content {
  flex: 1;
  width: 100%;
  padding: 12px;
  max-width: 1200px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin: 0 auto;
}
#content .title {
  font-size: 56px;
  font-weight: 700;
  line-height: 84px;
  color: #fff;
}
#content .desc {
  color: #fff;
  font-size: 18px;
  line-height: 28px;
  margin-top: 32px;
  text-align: center;
}
.right-btn-arrow {
  margin-left: 12px;
}
.right-btn-arrow > i {
  animation: myarrow 1s ease-in-out infinite both;
}

@media screen and (max-width: 749px) {
  .navbar {
    --height: 60px;
    padding: 0 12px;
  }

  .menu-panel {
    top: var(--height);
    right: 0;
    width: 80%;
    height: calc(100% - var(--height));
    position: fixed;
    background: #fff;
    box-sizing: border-box;
    padding: 16px;
    animation: slideInRight 0.3s forwards;
  }
  .menu-panel .nav {
    gap: 8px;
    display: flex;
    flex-direction: column;
  }
  .menu-panel .nav-item {
    width: 100%;
    line-height: 30px;
    color: #f67942 !important;
    text-align: center;
  }
  .close > .menu-panel {
    animation: slideOutRight 0.3s forwards;
  }

  .right-btn {
    border-color: #f67942;
    background: #f67942;
  }
  .right-btns {
    gap: 16px;
    display: flex;
    padding-top: 24px;
    flex-direction: column;
    border-top: 1px dashed #dedede;
    margin-top: 24px;
  }

  .menu-trigger {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .close > .menu-trigger > .menu-trigger-close {
    display: none;
  }
  :not(.close) > .menu-trigger > .menu-trigger-open {
    display: none;
  }

  .right-btn-arrow.noanimate > i {
    animation: none;
  }
}

@media screen and (min-width: 750px) {
  .menu-panel {
    flex: 1;
    width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-left: 80px;
  }
  .menu-panel .nav {
    flex: 1;
    margin-right: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .menu-panel .nav-item {
    width: 104px;
    text-align: center;
    line-height: 30px;
  }
  .right-btns {
    gap: 24px;
    display: flex;
    align-items: center;
  }
  .menu-trigger {
    display: none;
  }
}
