@font-face {
    font-family: "Quantum";
    src: url("../fonts/quantum.woff2") format("woff2"), url("../fonts/quantum.woff2") format("woff");
    font-weight: 400;
    font-display: swap;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    background: var(--background-purple, #29295F);
}

a {
    cursor: pointer;
    text-decoration: none;
}

.main {
    width: 100%;
    height: 700px;
    background: url('../img/bg.avif') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-bottom-left-radius: 48px;
    border-bottom-right-radius: 48px;
    position: relative;
    z-index: 10;
}

header {
    position: fixed;
    width: 100%;
    height: 84px;
    z-index: 9999;
}

header .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    max-width: 1440px;
    padding: 16px;
}

header .wrap .left {
    display: flex;
    align-items: center;
}

header .wrap .left img {
    padding-right: 32px;
}

#menu {
    cursor: pointer;
}

.scroll_btn {
    width: 80px;
    height: 80px;
    border-radius: 80px;
    padding: 24px;
    background: #fff;
    position: absolute;
    z-index: 20;
    bottom: -40px;
}

.about {
    display: flex;
    flex-direction: column;
    max-width: 864px;
    margin: 0 auto;
    align-items: center;
}

.about1 {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
    margin: 88px 0 32px 0;
}

.about2 {
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    margin-bottom: 48px;
}

.about .icons {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 100px;
}

.about .icons .icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 20px 32px 20px;
    border-radius: 24px;
    border: 1px solid #4A4A86;
    background: #2B3367;
}

.about .icons .icon span {
    margin-top: 12px;
    color: #fff;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    line-height: 20px;
}

.stars_two {
    width: 640px;
    grid-template-columns: 1fr 1fr;
}

.stars_four {
    width: 1312px;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.stars_wrap {
    display: grid;
    gap: 32px;
    margin-bottom: 80px;
}

.star {
    height: 304px;
    background-size: cover !important;
    background-position: center !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 24px;
    padding: 24px;
}

.star .code {
    color: #fff;
    font-family: Quantum;
    font-size: 24px;
    line-height: 28px;
    text-transform: uppercase;
}

.star .name {
    margin-bottom: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    line-height: 16px;
}

.star .bottom {
    display: flex;
    flex-direction: column;
}

.star .type {
    display: flex;
    align-items: center;
}

.star .type span {
    margin-left: 8px;
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
}

footer .wrap {
    border-top: 1px solid rgba(255, 255, 255, 0.24);
    padding: 24px 0 80px 0;
    margin: 0 auto;
    max-width: 1440px;
}

footer .wrap span {
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
}

.scrolled {
    background: #29295F;
}

.main_img {
    max-width: 100%;
}

.main_inside {
    background: #1C1C4C;
    height: 544px;
    display: block;
    position: initial;
}

.wrap_inside {
    width: 100%;
    max-width: 864px;
    margin: -420px auto 0 auto;
    display: flex;
    flex-direction: column;
}

.wrap_inside .title {
    margin-bottom: 12px;
    color: #fff;
    font-family: Quantum;
    font-size: 48px;
    line-height: 56px;
    text-transform: uppercase;
}

.wrap_inside .subtitle {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.wrap_inside .subtitle span {
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
}

.wrap_inside .type_icon {
    margin-right: 8px;
}

.wrap_inside .main_info {
    display: flex;
    align-items: flex-start;
    margin-bottom: 48px;
}

.wrap_inside .main_info .star_image {
    margin-right: 32px;
    width: 60%;
    flex: none;
    border-radius: 24px;
}

.wrap_inside .main_info .right {
    display: flex;
    flex-direction: column;
}

.wrap_inside .main_info .right .el {
    margin-bottom: 24px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 24px;
    border: 1px solid #4A4A86;
    background: #2B3367;
}

.wrap_inside .main_info .right .el .line1 {
    display: flex;
    align-items: center;
    margin-bottom: 32px;
}

.wrap_inside .main_info .right .el .line1 span {
    margin-left: 12px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
}

.wrap_inside .main_info .right .el .line2 {
    display: flex;
    align-items: flex-end;
}

.wrap_inside .main_info .right .el .line2 .font1 {
    color: #fff;
    font-size: 40px;
    font-weight: 600;
    line-height: 40px;
    margin-right: 8px;
}

.wrap_inside .main_info .right .el .line1 img {
    width: 32px;
}

.wrap_inside .main_info .right .el .line2 .font2 {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    line-height: 20px;
}

.description {
    margin-bottom: 48px;
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
}

.main-button {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100vw;
  height: 100vh;
  padding: 48px 80px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  pointer-events: none;
}

.main-button .wrap {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.main-button__link {
  width: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 48px;
  border-radius: 72px;
  background: #E258FF;
  box-shadow: 0 4px 28px 0 rgba(234, 135, 255, 0.24);
  font-size: 16px;
  font-style: normal;
  font-weight: 900;
  line-height: 24px;
  color: #fff;
}

.main-button__link span {
  margin-right: 8px;
}

.main-button__link:hover {
  background: #F66CFF;
}

@media (width <= 1340px) {
    .stars_four {
        width: 100%;
        grid-template-columns: 1fr 1fr 1fr;
    }

    footer .wrap {
        padding-left: 16px;
    }
}

@media (width <= 1080px) {
    .stars_wrap {
        gap: 20px;
    }
}

@media (width <= 980px) {
    .star {
        height: 254px;
    }

    .main {
        height: 500px;
    }
}

@media (width <= 920px) {
    .about .icons {
        grid-template-columns: auto;
    }

    .about {
        padding: 0 16px;
    }

    .stars_two {
        width: 100%;
    }

    .wrap_inside {
        padding: 0 16px;
    }
}

@media (width <= 820px) {
    .stars_two, .stars_four {
        grid-template-columns: 1fr 1fr;
    }

    header .wrap .left img {
        padding-right: 20px;
        height: 30px;
    }

    .wrap_inside .main_info {
        flex-direction: column;
    }

    .wrap_inside .main_info .star_image {
        margin: 0 0 24px 0;
        width: 100%;
    }

    .wrap_inside .main_info .right {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .wrap_inside .main_info .right .el {
        margin-bottom: 0;
    }

    .main {
        background: url('../img/bg_mob.avif') no-repeat center center;
    }
    
    .main-button {
      padding: 48px 24px;
    }
    
    .main-button__link {
      padding: 14px;
      width: 52px;
      height: 52px;
    }
    
    .main-button__link span {
      display: none;
    }
}

@media (width <= 480px) {
    .stars_two, .stars_four {
        grid-template-columns: 1fr;
    }

    .wrap_inside .main_info .right {
        grid-template-columns: 1fr;
    }
    
    .main-button {
      padding: 48px 16px;
    }
}