@font-face {
    font-family: LatoRegular;
    src: url("../fonts/Lato-Regular.ttf");
}

@font-face {
    font-family: LatoBold;
    src: url("../fonts/Lato-Bold.ttf");
}

@font-face {
    font-family: ComfortaaREgular;
    src: url("../fonts/Comfortaa-Regular.ttf");
}

* {
    margin: 0;
    padding: 0;
}

body {
    background-color: #000000;
    font-family: LatoRegular, sans-serif;
}

.container {
    margin: 0 auto;
    max-width: 1300px;
    padding: 0 50px;
    overflow: hidden;
}

.section-one {
    background-image: url("../image/night-light.png");
    background-size: cover;
    background-position: top;
}

.header {
    padding: 21px 0;
    position: relative;
}

.header-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    box-sizing: border-box;
}

.menu {
    display: flex;
    justify-content: space-between;
}

.menu-list {
    display: flex;
    list-style: none;
}

.menu-link {
    text-decoration: none;
    font-size: 14px;
    color: rgb(212, 205, 190);
    line-height: 1.714;
    margin: 0 18px;
}

.header-phone {
    display: flex;
    align-items: center;
}

.header-phone-tel {
    margin-left: 13px;
    font-size: 16px;
    font-family: LatoBold, sans-serif;
    color: rgb(255, 255, 255);
    line-height: 1.625;
    text-align: left;
}

.header-night-light {
    position: absolute;
    top: 0;
    right: -250px;
    z-index: -1;
}

.introduction {
    padding: 150px 0 115px 0;
}

.introduction-title {
    max-width: 584px;
    font-size: 48px;
    font-family: ComfortaaREgular, sans-serif;
    color: rgb(255, 255, 255);
    line-height: 1.208;
}

.introduction-text {
    font-size: 18px;
    color: rgb(255, 255, 255);
    line-height: 1.556;
    text-align: left;
    margin: 60px 0;
    max-width: 456px;
}

.button {
    padding: 20px 47px;
    margin-bottom: 15px;
    height: 61px;
    border-radius: 30px;
    background-image: linear-gradient(-86deg, rgb(143, 37, 242) 0%, rgb(115, 29, 205) 0%, rgb(86, 21, 167) 100%);
    width: 227px;
    border: none;
    cursor: pointer;
}

.btn {
    font-family: LatoBold, sans-serif;
    font-size: 18px;
    color: rgb(249, 250, 251);
}

.light {
    display: none;
}

.section-two {
    background-image: url("../image/background.png");
}

.main {
    background-image: url("../image/stars.png");
    background-size: cover;
    padding: 40px 0 32px 0;
}

.main-container {

}

.main-block {
    display: flex;
    justify-content: space-between;
    padding: 63px 0 134px 0;
    position: relative;
}


.main-description {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.main-title {
    font-size: 41px;
    font-family: ComfortaaREgular, sans-serif;
    color: rgb(255, 255, 255);
}

.main-text {
    font-size: 16px;
    font-family: LatoRegular, sans-serif;
    color: rgb(255, 255, 255);
    line-height: 1.625;
    max-width: 600px;
}

.description-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.description-text {
    font-size: 16px;
    color: rgb(255, 255, 255);
    line-height: 1.375;
    text-align: center;
}

.products {
    background-image: url("../image/bg-products.png");
    background-position-x: center;
    background-repeat: no-repeat;
}

.products-container {
    padding: 120px 10px 83px 10px;
}

.products-title {
    font-size: 36px;
    font-family: ComfortaaREgular, sans-serif;
    color: rgb(255, 255, 255);
    line-height: 1.238;
    margin-bottom: 60px;
    text-align: center;
}

.products-items {
    display: flex;
    flex-wrap: wrap;
    /*grid-template-columns: repeat(3, minmax(200px, 300px));*/
    /*gap: 57px;*/
    justify-content: center;
    position: relative;
}

.products-item {
    padding: 20px;
    text-align: center;
    box-sizing: border-box;
}

.products-item-image {
    margin-bottom: 25px;
}

.img {
    width: 100%;
}

.products-item-title {
    font-size: 18px;
    color: rgb(255, 255, 255);
    line-height: 1.333;
    width: 171px;
    margin: 0 auto;
}

.products-item-block {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.products-price {
    position: relative;
}

.products-item-price-one {
    position: absolute;
    top: -17px;
    right: 0;
    font-size: 12px;
    color: rgb(255, 255, 255);
    text-decoration: line-through;
    line-height: 2;
}

.products-price-two {
    font-size: 20px;
    color: rgb(255, 255, 255);
    line-height: 1.2;
}

.products-action {
    padding: 10px 48px;
    width: 151px;
    height: 41px;
    font-size: 16px;
    font-family: LatoBold, sans-serif;
    color: rgb(253, 253, 253);
}


.advantages {
    background-image: url("../image/bg-advantages.png");
    background-position-x: center;
    padding: 77px 0 80px 0;
    position: relative;
}

.advantage-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 52px 27px;

}

.advantage-title {
    font-size: 36px;
    font-family: ComfortaaREgular, sans-serif;
    color: rgb(255, 255, 255);
    line-height: 1.25;
    text-align: center;
    margin-bottom: 64px;
}

.advantage-item {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.advantage-img {
    width: 100%;
    margin-bottom: 15px;
}

.advantage-text {
    font-size: 16px;
    color: rgb(255, 255, 255);
    line-height: 1.625;
    text-align: center;
}


.characteristic {
    background-image: url("../image/bg-characteristics.png");
    background-position: bottom;
    padding: 80px 0 80px 0;
    overflow: hidden;
    position: relative;
}

.characteristic-container {
    position: relative;
}

.characteristic-title {
    font-size: 36px;
    font-family: ComfortaaREgular, sans-serif;
    color: rgb(255, 255, 255);
    line-height: 0.722;
    text-align: center;
    margin-bottom: 60px;
}

.span {
    font-size: 18px;
    color: rgb(255, 255, 255);
    line-height: 1.444;
    text-align: center;
    margin-bottom: 47px;
}


.characteristic-block {
    position: relative;
    padding-bottom: 85px;
}

.block-items {
    position: relative;
}

.block-center {
    position: relative;
    display: flex;
    justify-content: center;
    z-index: 1;
}

.characteristic-image {

}

.ellips {
    position: absolute;
    top: -47px;
    z-index: -1;
}

.descriptions {
    display: flex;
    flex-direction: column;
    margin-bottom: 13px;
    max-width: 398px;
}

.text {
    font-size: 18px;
    color: rgb(255, 255, 255);
    line-height: 1.444;
    margin-bottom: 7px;
}

.text-right {
    margin-left: 70px;
}

.block-one {
    position: absolute;
    top: 34px;
    left: 115px;
}

.block-two {
    position: absolute;
    top: 123px;
    left: 196px;
}

.block-three {
    position: absolute;
    top: 207px;
    left: 126px;
}

.block-four {
    position: absolute;
    top: 264px;
    left: 176px;
}
.block-five {
    position: absolute;
    top: 35px;
    right: 102px;
}
.block-six {
    position: absolute;
    top: 125px;
    right: 178px;
}
.block-seven {
    position: absolute;
    top: 200px;
    right: 159px;
}
.block-eight {
    position: absolute;
    top: 258px;
    right: 325px;
}

.text-three,
.text-four {
    position: absolute;
    bottom: 0;
}

.text-seven {
    position: absolute;
    bottom: 0;
}

.text-eight {
    position: absolute;
    bottom: 0;
    left: 17px;
}


.opinions {
    padding: 112px 17px 30px 18px;
    position: relative;
    border-radius: 25px;
    background-color: rgb(253, 253, 253);
    min-height: 375px;
    box-sizing: border-box;
    z-index: 1;

}

.opinion {
    position: absolute;
    top: -42px;
    left: calc(50% - 65px);
    z-index: 1;
}

.opinion-img {
    width: 130px;
    height: 130px;
}

.opinions-title {
    font-size: 18px;
    color: rgb(6, 14, 38);
    font-weight: bold;
    line-height: 1.444;
    text-align: center;
    margin-bottom: 25px;

}

.opinions-text {
    font-size: 16px;
    color: rgb(6, 14, 38);
    line-height: 1.625;
    height: 208px;

}


.slider {
    background-image: url("../image/bg-opinions.png");
    background-position: top;
    padding: 81px 0 79px 0;
    position: relative;
    overflow: hidden;
}

.slider-title {
    font-size: 36px;
    font-family: ComfortaaREgular, sans-serif;
    color: rgb(255, 255, 255);
    text-align: center;
}

.slick-slide {
    padding-top: 102px;
    margin: 20px;
    min-height: 370px;
}

.slick-prev {
    left: -30px;
}

.slick-prev, .slick-next {
    top: 61%;
    width: 40px;
    height: 40px;
    background-color: rgb(255, 220, 100);
    border-radius: 50%;
    z-index: 250;
}


.slick-prev::before {
    color: transparent;
    background-image: url("../image/next-2.png");
    background-repeat: no-repeat;
    position: absolute;
    top: 13px;
    right: 4px;
}

.slick-prev::after {
    content: '';
    border: 1px solid rgb(8, 7, 5);
    border-radius: 50%;
    position: absolute;
    left: 5px;
    top: 5px;
    width: 28px;
    height: 28px;
    z-index: 253;
}

.slick-prev:hover,
.slick-prev:focus,
.slick-next:hover,
.slick-next:focus {
    background-color: rgb(255, 220, 100);
}

.slick-next {
    right: -30px;
}

.slick-next::before {
    color: transparent;
    background-image: url("../image/next-1.png");
    background-repeat: no-repeat;
    position: absolute;
    top: 13px;
    right: 3px;
}

.slick-next::after {
    content: '';
    border: 1px solid rgb(8, 7, 5);
    border-radius: 50%;
    position: absolute;
    left: 5px;
    top: 5px;
    width: 28px;
    height: 28px;
    z-index: 253;
}

.slick-dots li {
    width: 12px;
    height: 12px;
}

.stages {
    background-image: url("../image/bg-stages.png");
    background-position: top;
    padding: 67px 0 80px 0;
    position: relative;
}

.stages-title {
    margin-bottom: 110px;
    text-align: center;
    font-size: 36px;
    font-family: ComfortaaREgular, sans-serif;
    color: rgb(255, 255, 255);
}


.stages-blocks,
.stages-block {
    display: flex;
    justify-content: space-between;
    box-sizing: border-box;

}

.stage {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.stage-one {
    margin-left: 24px;
    max-width: 173px;
}

.stage-two {
    margin: 59px 90px 10px 69px;
    max-width: 351px;

}

.stage-three {
    margin-left: 59px;
    max-width: 326px;
}

.stage-four {
    margin: 59px 10px 10px 36px;
    max-width: 236px;
}

.number {
    position: absolute;
    font-size: 150px;
    color: rgba(255, 220, 100, 0.2);
}

.number-one {
    bottom: 25px;
    left: -33px;
}

.number-two {
    bottom: -46px;
    left: -29px;
}

.number-three {
    left: -41px;
    bottom: 28px;
}

.number-four {
    bottom: -41px;
    left: -41px;
}

.stage-text {
    font-size: 16px;
    color: rgb(255, 255, 255);
    line-height: 1.625;
}

.order {
    background-image: url("../image/bg-order.png");
    background-position: bottom;
    background-repeat: no-repeat;
    padding: 182px 0 165px 0;
    position: relative;
    overflow: hidden;
}


.order-title {
    font-size: 36px;
    font-family: ComfortaaREgular, sans-serif;
    color: rgb(255, 255, 255);
    line-height: 1.278;
    text-align: center;
    margin-bottom: 60px;
}

.order-form {
    padding: 40px 20px;
    border-radius: 20px;
    background-color: rgb(226, 219, 201);
    max-width: 360px;
    box-sizing: border-box;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}


.input {
    background-color: rgb(226, 219, 201);
    width: 100%;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid rgb(8, 7, 5);
    outline: none;

}

.order-input {
    font-size: 16px;
    color: rgb(3, 3, 3);
    line-height: 1.625;
    margin-bottom: 40px;
    padding: 0 0 11px 11px;
}


div .error-input {
    display: none;
    color: red;
    margin-bottom: 40px;
    margin-left: 20px;
    font-size: 15px;
}

.order-input-phone {
    margin-bottom: 35px;
    font-size: 16px;
    color: rgb(3, 3, 3);
    line-height: 1.625;
    padding: 0 0 11px 11px;
}

.order-input-phone::placeholder {
    margin-bottom: 8px;
}

.order-button {
    font-size: 16px;
    color: rgb(251, 251, 252);
    font-family: LatoBold, sans-serif;
    text-decoration: none;
    margin-left: calc(15% - 0px);
}

.checkbox {
    margin-bottom: 44px;
    display: flex;
    justify-content: space-between;

}

.checkbox-label {
    margin-bottom: 44px;
    font-size: 16px;
    color: rgb(3, 3, 3);
    display: flex;
    justify-content: space-between;
}

.checkbox input {
    height: 0;
    width: 0;
    opacity: 0;
}

.checkbox {
    display: block;
    position: relative;
    padding-left: 26px;
    margin-bottom: 18px;
    font-size: 22px;
    user-select: none;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    border: 2px solid #c9c9c9;
    cursor: pointer;
}

.tik {
    margin-left: 60px;
}


.pink_checkmark {
    background-color: rgb(239, 194, 199);
}

.green_checkmark {
    background-color: rgb(159, 197, 166);
}

.white_checkmark {
    background-color: rgb(253, 253, 253);
}

.checkbox .checkmark:after {
    top: -5px;
    width: 5px;
    height: 10px;
    left: 2px;
    color: rgba(0, 0, 0, 0.8);
}

.checkbox input:checked ~ .checkmark:after {
    display: block;
}

.checkmark:after {
    content: '✓';
    position: absolute;
    display: none;
}

.input-text {
    margin-top: 40px;
    text-align: center;
    font-size: 14px;
    color: rgb(3, 3, 3);
    line-height: 1.571;
}

.order-success{
    display: none;
    text-align: center;
    font-size: 19px;
}

.order-success-btn {
    display: none;
    font-size: 19px;
    font-family: LatoRegular, sans-serif;
    border-radius: 5px;
    padding: 5px 20px;
    margin-top: 30px;
    color: rgb(249, 250, 251);
    background-image: linear-gradient(-86deg, rgb(143, 37, 242) 0%, rgb(115, 29, 205) 0%, rgb(86, 21, 167) 100%);
    border: none;
    cursor: pointer;
}

.footer {
    padding: 30px 0 44px 0;
    border-top: 1px solid rgb(253, 253, 253);
}


.footer-container {
    display: flex;
    justify-content: space-between;
}

.footer-block {
    display: flex;
    flex-direction: column;
}

.footer-text {
    font-size: 16px;
    color: rgb(253, 253, 253);
    line-height: 1.625;
    margin-left: 11px;
}

.footer-description:first-child {
    margin-bottom: 42px;
}

.socials {
    align-self: end;
    margin-left: 170px;
}

.socials a {
    cursor: pointer;
    text-decoration: none;
}

.socials a:hover {
    opacity: 0.9;
}

.telegram {
    margin: 0 21px;
}

.burger {
    display: none;
}

.close {
    display: none;
}

.header__burger {
    display: none;
}

.menu__close {
    display: none;
}


.loader {
    /*display: flex;*/
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 10;
    display: none;
}

.lds-spinner,
.lds-spinner div,
.lds-spinner div:after {
    box-sizing: border-box;
}
.lds-spinner {
    color: currentColor;
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}
.lds-spinner div {
    transform-origin: 40px 40px;
    animation: lds-spinner 1.2s linear infinite;
}
.lds-spinner div:after {
    content: " ";
    display: block;
    position: absolute;
    top: 3.2px;
    left: 36.8px;
    width: 6.4px;
    height: 17.6px;
    border-radius: 20%;
    background: antiquewhite;
}
.lds-spinner div:nth-child(1) {
    transform: rotate(0deg);
    animation-delay: -1.1s;
}
.lds-spinner div:nth-child(2) {
    transform: rotate(30deg);
    animation-delay: -1s;
}
.lds-spinner div:nth-child(3) {
    transform: rotate(60deg);
    animation-delay: -0.9s;
}
.lds-spinner div:nth-child(4) {
    transform: rotate(90deg);
    animation-delay: -0.8s;
}
.lds-spinner div:nth-child(5) {
    transform: rotate(120deg);
    animation-delay: -0.7s;
}
.lds-spinner div:nth-child(6) {
    transform: rotate(150deg);
    animation-delay: -0.6s;
}
.lds-spinner div:nth-child(7) {
    transform: rotate(180deg);
    animation-delay: -0.5s;
}
.lds-spinner div:nth-child(8) {
    transform: rotate(210deg);
    animation-delay: -0.4s;
}
.lds-spinner div:nth-child(9) {
    transform: rotate(240deg);
    animation-delay: -0.3s;
}
.lds-spinner div:nth-child(10) {
    transform: rotate(270deg);
    animation-delay: -0.2s;
}
.lds-spinner div:nth-child(11) {
    transform: rotate(300deg);
    animation-delay: -0.1s;
}
.lds-spinner div:nth-child(12) {
    transform: rotate(330deg);
    animation-delay: 0s;
}
@keyframes lds-spinner {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}




