/**
Theme Name: Giftery Card
Author: Nikita Rusakov
*/
* {
    padding: 0;
    margin: 0;
    border: none;
    font-family: 'Inter', sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

a, a:link, a:visited {
    text-decoration: none;
    color: var(--primary);
}

a:hover {
    text-decoration: none;
}

aside, nav, footer, header, section, main {
    display: block;
}

h1, h2, h3, h4, h5, h6, p {
    font-size: inherit;
    font-weight: inherit;
}

ul, ul li {
    list-style: none;
}

img {
    vertical-align: top;
}

img, svg {
    max-width: 100%;
    height: auto;
}

address {
    font-style: normal;
}

input, textarea, button, select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background-color: transparent;
}

input::-ms-clear {
    display: none;
}

button, input[type="submit"] {
    display: inline-block;
    box-shadow: none;
    background-color: transparent;
    background: none;
    cursor: pointer;
}

input:focus, input:active,
button:focus, button:active {
    outline: none;
}

button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

label {
    cursor: pointer;
}

legend {
    display: block;
}

:root {
    --primary: #151515;
    --red: #EF3124;
    --second: #434343;
    --purple: rgba(107, 78, 255, 0.2);
    --secondaryPurple: rgba(226, 211, 255, 1);
    --blue: rgba(107, 78, 255, 1);
    --bgSecond: rgba(244, 242, 246, 1);
    --bgTertiary: rgba(233, 230, 235, 1);
}

h1, h2 {
    font-weight: 700;
    font-size: 44px;
    line-height: 52px;
    color: var(--primary);
}

h1 span {
    color: var(--red);
}

body {
    overflow-x: hidden;
}

.wrapper {
    background: #FFFFFF;
}

.new-line {
    display: block;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

.header {
    position: sticky;
    top: 0;
    z-index: 10;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 32px;
    background: #FFFFFF;
    box-shadow: 0 2px 20px rgba(21, 21, 21, 0.08);
    border-radius: 16px;
}

.header-content .button {
    width: 155px;
    white-space: nowrap;
}

.header-block {
    display: flex;
    align-items: center;
    gap: 48px;
}

.header-block:last-child {
    gap: 32px;
}

.header-block ul {
    display: flex;
    align-items: center;
    gap: 32px;
}

.header-block ul li a {
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: var(--primary);
}

.button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 12px 24px;
    gap: 8px;
    background: var(--primary);
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: #FFFFFF !important;
}

.button:hover {
    background: rgba(7, 0, 37, 0.7);
}


.header-block div {
    text-align: end;
}

.header-block .phone {
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    color: var(--primary);
}

.header-block div span {
    display: block;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    color: var(--second);
}

.main-screen {
    overflow: hidden;
    margin-bottom: 30px;
}

.main-screen-content {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 100px 0;
}

.main-screen-content div {
    display: flex;
    flex-direction: column;
    gap: 40px;
    flex-basis: calc(50% - 32px);
}

.main-screen-content .main-screen-banner {
    position: relative;
    max-width: 550px;
    height: 350px;
    z-index: 2;
    transform: translateX(-30px);
}

.main-screen .banner {
    height: 602px;
    align-items: center;
    justify-content: center;
}

.main-screen .coffeti {
    position: absolute;
    z-index: 3;
    transform: translateX(-30px);
}

.main-screen .blue-circle {
    position: absolute;
    z-index: 0;
}

.main-screen-content .description {
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    color: var(--second);
    max-width: 499px;
}

.main-screen-content .description span {
    white-space: nowrap;
}


.main-screen-content .button {
    max-width: 207px;
}

.main-screen-content div:last-child {
    position: relative;
}

.main-screen-content div:last-child .anim {
    position: absolute;
    z-index: 2;
}

.moving-gift-down {
    position: relative;
    animation: moveUpDown 3s infinite;
}

.moving-gift-up {
    position: relative;
    animation: moveDownUp 3s infinite;
}

@keyframes moveUpDown {
    0% {
        top: 30px;
    }
    50% {
        top: 5px;
    }
    100% {
        top: 30px;
    }
}

@keyframes moveUpDownAlfa {
    0% {
        top: 140px;
    }
    50% {
        top: 125px;
    }
    100% {
        top: 140px;
    }
}

@keyframes moveDownUp {
    0% {
        bottom: 50px;
    }
    50% {
        bottom: 75px;
    }
    100% {
        bottom: 50px;
    }
}

@keyframes moveUpDownSmoothBottom {
    0% {
        bottom: 55px;
    }
    50% {
        bottom: 80px;
    }
    100% {
        bottom: 55px;
    }
}

@keyframes moveUpDownAlfaBig {
    0% {
        bottom: 80px;
    }
    50% {
        bottom: 60px;
    }
    100% {
        bottom: 80px;
    }
}

@keyframes moveUpDownGiftSmoothRight {
    0% {
        bottom: 110px;
    }
    50% {
        bottom: 90px;
    }
    100% {
        bottom: 110px;
    }
}

@keyframes moveUpDownGiftSmoothTop {
    0% {
        top: 0;
    }
    50% {
        top: 20px;
    }
    100% {
        top: 0;
    }
}

@keyframes moveUpDownGiftOpacity {
    0% {
        top: 30px;
        opacity: 1;
    }
    50% {
        top: 80px;
        opacity: 0;
    }
    100% {
        top: 30px;
        opacity: 1;
    }
}

@keyframes moveUpDownGiftOpacitySecond {
    0% {
        top: 30px;
        opacity: 0.75;
    }
    50% {
        top: 80px;
        opacity: 0.75;
    }
    100% {
        top: 30px;
        opacity: 0.75;
    }
}


@keyframes moveUpDownGiftOpacityThree {
    0% {
        top: 30px;
        opacity: 0.5;
    }
    50% {
        top: 80px;
        opacity: 1;
    }
    100% {
        top: 30px;
        opacity: 0.5;
    }
}

.main-screen-content div:last-child .gift-smooth-left {
    top: 0;
    left: -35px;
    width: 104px;
    height: 127px;
}

.main-screen-content div:last-child .alfa-small {
    top: 140px;
    left: 162px;
    width: 65px;
    height: 65px;
    animation: moveUpDownAlfa 3s infinite;
}

.main-screen-content div:last-child .gift-smooth-top {
    top: 0;
    left: 250px;
    width: 78px;
    height: 115px;
    animation: moveUpDownGiftSmoothTop 3s infinite;
}

.main-screen-content div:last-child .gift-big {
    bottom: 50px;
    left: -30px;
    width: 215px;
    height: 188px;
}

.main-screen-content div:last-child .gift-opacity.gift {
    top: 60px;
    right: 80px;
    width: 180px;
    height: 188px;
    animation: moveUpDownGiftOpacity 6s forwards infinite;
    animation-delay: .6s;
}

.main-screen-content div:last-child .gift-opacity-second.gift {
    top: 60px;
    right: 80px;
    width: 180px;
    height: 188px;
    animation: moveUpDownGiftOpacitySecond 6s forwards infinite;
    animation-delay: .3s;
}

.main-screen-content div:last-child .gift-opacity-three.gift {
    top: 60px;
    right: 80px;
    width: 180px;
    height: 188px;
    animation: moveUpDownGiftOpacityThree 6s forwards infinite;

}

.main-screen-content div:last-child .gift-smooth-bottom {
    bottom: 75px;
    left: 235px;
    width: 75px;
    height: 102px;
    animation: moveUpDownSmoothBottom 3s infinite;
    z-index: 1;
}

.main-screen-content div:last-child .alfa-big {
    bottom: 75px;
    right: 165px;
    width: 150px;
    height: 150px;
    animation: moveUpDownAlfaBig 3s infinite;
}

.main-screen-content div:last-child .gift-smooth-right {
    bottom: 110px;
    right: 24px;
    width: 170px;
    height: 150px;
    animation: moveUpDownGiftSmoothRight 3s infinite;
    z-index: 1;
}

.about-us {
    position: relative;
    background: var(--blue);
    overflow: hidden;
}

.about-us-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    z-index: 2;
}

.about-us-content,
.about-us-content h2 {
    color: white;
}

.about-us-content div {
    flex-basis: calc(50% - 20px);
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.about-us:before {
    position: absolute;
    content: '';
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: url("../img/main-screen/bg-main-screen.svg") no-repeat center;
    background-size: cover;
    width: 110%;
    height: 100%;
    z-index: 1;
}

.about-us-content img {
    position: relative;
    z-index: 2;
}

.about-us-content .description {
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
}

.how-work {
    padding: 200px 0;
    background: var(--bgSecond);
}

.how-work h2 {
    margin-bottom: 56px;
}

.how-work-rows {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.how-work-blocks {
    display: flex;
    gap: 20px;
}

.how-work-blocks:nth-child(2) .how-work-item {
    flex-basis: calc(50% - 20px);
}

.how-work-item {
    flex-basis: calc(33% - 15px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding: 32px;
    gap: 36px;
    background: #FFFFFF;
    border-radius: 16px;
    align-self: stretch;
}

.how-work-item p {
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    color: var(--primary);
}

.how-work-item .images {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
}

.how-work-item span {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--secondaryPurple);
    border-radius: 100px;
    font-weight: 700;
    font-size: 22px;
    text-align: center;
    color: var(--blue);
    width: 36px;
    height: 36px;
}

.how-work-blocks:first-child .how-work-item:first-child span:before {
    position: absolute;
    content: '';
    width: 75px;
    height: 38px;
    top: 39px;
    right: -73px;
    background: url("../img/how-work/arrow-first.svg") no-repeat;
    z-index: 3;
}

.how-work-blocks:first-child .how-work-item:nth-child(2) span:before {
    position: absolute;
    content: '';
    width: 80px;
    height: 62px;
    top: -44px;
    right: -86px;
    background: url("../img/how-work/arrow-second.svg") no-repeat;
    z-index: 3;
}

.how-work-blocks:last-child .how-work-item:first-child span:before {
    position: absolute;
    content: '';
    width: 85px;
    height: 60px;
    top: -46px;
    right: -82px;
    background: url("../img/how-work/arrow-three.svg") no-repeat;
    z-index: 3;
}

.why-giftery {
    padding: 200px 0 100px;
}

.why-giftery h2 {
    margin-bottom: 32px;
}

.why-giftery .caption {
    display: block;
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    color: var(--second);
    margin-bottom: 56px;
}

.why-giftery-content {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}

.why-giftery-block {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-basis: calc(50% - 20px);
}

.why-giftery-block:first-child {
    background: rgba(247, 247, 247, 1);
    padding: 125px 128px;
    border-radius: 16px;
}

.why-giftery-block:first-child .why-giftery-item {
    position: relative;
    background: #E7E7E7;
    border: 1px solid #FFFFFF;
    border-radius: 37.14px;
    padding: 85px 72px;
}

.why-giftery-block:first-child .why-giftery-item .title {
    display: block;
    font-weight: 600;
    font-size: 30px;
    line-height: 40px;
    text-align: center;
    color: var(--second);
}

.why-giftery-block:first-child .why-giftery-item .annotation {
    position: absolute;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: #F7F7F7;
    border: 1px solid #FFFFFF;
    box-shadow: 0 2px 20px rgba(21, 21, 21, 0.08);
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    color: var(--second);
    height: 84px;
}

.why-giftery-block:first-child .why-giftery-item .annotation:first-child {
    max-width: 198px;
    top: -68px;
    left: -99px;
    border-radius: 16px 16px 0 16px;
}

.why-giftery-block:first-child .why-giftery-item .annotation:nth-child(2) {
    max-width: 160px;
    top: -14px;
    right: -47px;
    border-radius: 16px 16px 16px 0;
}

.why-giftery-block:first-child .why-giftery-item .annotation:nth-child(3) {
    max-width: 185px;
    bottom: -65px;
    left: -31px;
    border-radius: 16px 0 16px 16px;
}

.why-giftery-block:last-child {
    position: relative;
    background: url("../img/why-giftery/giftery-background.png") no-repeat center;
    padding: 125px 128px;
    border-radius: 16px;
    overflow: hidden;
    background-size: cover;
}

@keyframes gifteryLogoAnim {
    0% {
        transform: scale(1.05) rotate(0deg);
    }
    50% {
        transform: scale(1) rotate(-0.75deg);
    }
    100% {
        transform: scale(1.05) rotate(0deg);
    }
}

.why-giftery-block:last-child .why-giftery-item {
    position: relative;
    background: rgba(107, 78, 255, 1);
    padding: 87px 68px;
    border-radius: 37px;
    animation: gifteryLogoAnim 5s infinite;
    z-index: 1;
}

.why-giftery-block:last-child .annotation {
    position: absolute;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 20px;
    gap: 10px;
    background: #FFFFFF;
    border: 1px solid #FFFFFF;
    font-weight: 500;
    font-size: 16px;
    line-height: 22px;
    color: #6B4EFF;
    z-index: 2;
}

.why-giftery-block:last-child .annotation:first-child {
    top: 60px;
    left: 39px;
    border-radius: 16px 16px 0 16px;
    max-width: 219px;
}

.why-giftery-block:last-child .annotation:nth-child(2) {
    top: 72px;
    right: 40px;
    border-radius: 16px 16px 16px 0;
    max-width: 227px;
}

.why-giftery-block:last-child .annotation:nth-child(3) {
    bottom: 65px;
    left: 49px;
    border-radius: 16px 0 16px 16px;
    max-width: 219px;
}

.why-giftery-block:last-child .annotation:nth-child(4) {
    bottom: 69px;
    right: 28px;
    border-radius: 0 16px 16px 16px;
    max-width: 213px;
}

.why-confetti {
    position: absolute;
    z-index: 2;
}

.why-confetti.rectangular {
    bottom: 70px;
    left: 10px;
}

.why-confetti.rectangular-second {
    top: 151px;
    left: 56px;
}

.why-confetti.rectangular-three {
    bottom: 227px;
    right: 88px;
}

.why-confetti.green-confetti {
    bottom: 15px;
    left: 76px;
}

.why-confetti.green-confetti-second {
    top: 144px;
    right: 47px;
}

.why-confetti.green-confetti-smooth {
    top: 27px;
    left: 148px;
}

.why-confetti.green-confetti-smooth-second {
    bottom: 74px;
    right: 258px;
}

.why-confetti.yellow-confetti-smooth {
    bottom: 180px;
    left: 48px;
}

.why-confetti.yellow-confetti-smooth-second {
    top: 15px;
    right: 231px;
}

.why-confetti.yellow-confetti-big {
    bottom: 6px;
    right: 57px;
}

.why-confetti.red-confetti-big {
    top: 112px;
    left: 234px;
}

.why-confetti.red-confetti-medium {
    bottom: 94px;
    left: 284px;
    z-index: 0;
}

.why-confetti.red-confetti-smooth {
    bottom: 14px;
    right: 165px;
    z-index: 0;
}

.why-confetti.red-confetti-small {
    bottom: 181px;
    right: 28px;
    z-index: 0;
}

.anim-up {
    animation: coffetiRectangular 5s infinite;
}

.anim-down {
    animation: coffetiDown 5s infinite;
}

@keyframes coffetiRectangular {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(25px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes coffetiDown {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-25px);
    }
    100% {
        transform: translateY(0);
    }
}

.advantages {
    padding: 200px 0;
}

.advantages h2 {
    margin-bottom: 56px;
}

.advantages-content {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 20px;
}

.advantages-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 32px;
    gap: 32px;
    background: #E2D3FF;
    border-radius: 16px;
    flex-basis: calc(25% - 15px);
}

.advantages-item img {
    max-width: 64px;
    max-height: 64px;
}

.advantages-item p {
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;
    color: var(--second);
}

.brands {
    padding: 100px 0 200px;
}

.brands h2 {
    margin-bottom: 32px;
}

.brands h3 {
    font-weight: 700;
    font-size: 30px;
    line-height: 40px;
    color: var(--primary);
    margin-bottom: 16px;
}

.brands .description {
    max-width: 668px;
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    color: var(--second);
    margin-bottom: 56px;
}

.brands-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.brands-item {
    position: relative;
    padding: 24px 24px 0;
    flex-basis: calc(25% - 20px);
    border-radius: 16px;
    min-height: 290px;
    overflow: hidden;
}

.brands-item span {
    position: relative;
    font-weight: 700;
    font-size: 22px;
    line-height: 32px;
    color: #FFFFFF;
    text-transform: uppercase;
    z-index: 1;
}

.pink {
    background: rgba(255, 116, 141, 1);
}

.blue {
    background: rgba(61, 176, 240, 1);
}

.orange {
    background: rgba(252, 154, 64, 1);
}

.purple {
    background: rgba(243, 117, 207, 1);
}

.yellow {
    background: rgba(234, 170, 0, 1);
}

.green {
    background: rgba(87, 187, 95, 1);
}

.violet {
    background: rgba(138, 109, 235, 1);
}

.violet-50 {
    background: rgba(226, 211, 255, 1);
}

.brands-item.violet-50 span {
    color: rgba(107, 78, 255, 1);
}

.brands-item img {
    position: absolute;
    bottom: 0;
    left: 0;
}

.brands-item .arrow {
    position: absolute;
    content: '';
    bottom: 24px;
    left: 24px;
    width: 24px;
    height: 24px;
}

.brands-item .description {
    display: none;
    color: white;
    font-size: 16px;
    line-height: 20px;
    transition: display .5s;
}

.brands-item:hover span,
.brands-item:hover img {
    display: none;
}

.brands-item:hover .description {
    display: block;
}

.brands-item:hover.giftery {
    background: var(--bgTertiary);
}

.brands-item:hover.giftery .description {
    color: #6B4EFF;
}

.brands-item:hover.giftery img {
    display: block;
}

.faq {
    padding: 200px 0;
}

.faq h2 {
    margin-bottom: 56px;
}

.faq-content {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: flex-start;
}


.faq-item {
    flex-basis: calc(50% - 20px);
    cursor: pointer;
    padding: 24px 10px 24px 12px;
    border-bottom: 1px solid rgba(223, 223, 223, 1);
    height: 75px;
    transition: all .5s;
    width: 100%;
}

.faq-item.show {
    height: 100%;
}

.faq-item .title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: margin .5s;
}

.faq-item.show .title {
    margin-bottom: 30px;
}

.faq-item .description {
    overflow: hidden;
    max-height: 0;
    height: 0;
    opacity: 0;
    transition: all .5s;
}

.faq-item.show .description {
    max-height: 100%;
    opacity: 1;
}

.faq-item .description ul,
.faq-item .description ol {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-left: 20px;
}

.faq-item .description ul {
    padding-left: 0;
}

.faq-item .description ol a,
.faq-item .description ul a {
    text-decoration: underline;
}

.faq-item .arrow {
    transition: transform .5s;
}

.faq-item.show .arrow {
    transform: rotate(180deg);
}

.faq-item:hover {
    border-radius: 8px;
    background: rgba(226, 211, 255, 1);
}

.footer {
    padding: 100px 0;
    background: rgba(233, 230, 235, 1);
}

.footer-content {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 40px;
}

.footer-item {
    display: flex;
    flex-direction: column;
    align-items: start;
    flex-basis: calc(33% - 40px);
}

.footer-item h4 {
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
    color: var(--primary);
    margin-bottom: 24px;
}

.footer-item p {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: var(--primary);
}

.footer-item .description {
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: var(--second);
    margin-bottom: 10px;
    max-width: 285px;
}

.footer-item ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-item ul li a {
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: var(--second);
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-social a svg rect,
.footer-social a svg path {
    transition: fill .3s;
}

.footer-social a:hover svg rect,
.footer-social a:hover svg path.bg,
.footer-social a:hover svg path:first-child {
    fill: rgba(226, 211, 255, 1);
}

.footer-social a:hover svg path.black {
    fill: var(--primary);
}

.mobile-menu {
    display: block;
    position: absolute;
    top: 25px;
    right: -24px;
    transform: translateX(200%);
    transition: transform .5s;
    max-width: 375px;
    width: 375px;
    background: white;
    padding: 32px 16px;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.mobile-menu-content .button {
    margin-bottom: 16px;
    width: 100%;
}

.mobile-menu-item:first-child {
    border-bottom: 1.5px solid rgba(223, 223, 223, 1);
    padding-bottom: 32px;
}

.mobile-phone {
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    color: #151515;
    max-width: max-content;
}

.mobile-phone sub {
    display: block;
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    color: #545454;
    text-align: left;
}

.mobile-menu-item ul {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.mobile-menu-item ul li a {
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #151515;
}

.burger {
    display: none;
    width: 18px;
    height: 12px;
    position: relative;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    z-index: 10;
}

.burger span {
    width: 100%;
    height: 2px;
    background: black;
    border-radius: 4px;
    transition: 0.3s;
    position: absolute;
}

.burger span:nth-child(1) {
    top: 0;
}

.burger span:nth-child(2) {
    top: 42%;
}

.burger span:nth-child(3) {
    bottom: 0;
    width: 75%;
}

.burger input {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.burger input:checked ~ span {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.burger input:checked ~ span:nth-child(2) {
    opacity: 0;
}

.burger input:checked ~ span:nth-child(3) {
    top: auto;
    width: 100%;
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

.mobile-menu.open {
    transform: translateX(-30px);
}

.burger-close {
    cursor: pointer;
}

@media screen and (max-width: 1405px) {
    .why-giftery-content {
        flex-direction: column;
        justify-content: center;
    }

    .why-giftery-block {
        max-width: 672px;
    }
}

@media screen and (max-width: 1280px) {
    .header-block {
        gap: 24px;
    }

    .header-block ul,
    .header-block:last-child {
        gap: 10px;
    }

    .container {
        padding: 0 20px;
    }

    h1, h2 {
        font-size: 30px;
        line-height: 40px;
    }

    .about-us-content .description {
        font-size: 16px;
        line-height: 22px;
    }

    .about-us-content div {
        gap: 24px;
    }
}

@media screen and (max-width: 1130px) {
    .header {
        top: 24px;
    }

    .header-content {
        padding: 12px 24px;
    }

    .header-block ul {
        display: none;
    }

    .header-block:last-child {
        display: none;
    }

    .burger {
        display: flex;
    }
}

.grid-mobile {
    display: none;
}

.how-work-blocks-mobile {
    display: none;
}

@media screen and (max-width: 1076px) {
    .grid {
        display: none;
    }

    .grid-mobile {
        display: block;
    }

    .about-us-content {
        flex-direction: column;
        flex-wrap: wrap;
        padding: 110px 0;
    }

    .how-work-blocks {
        display: none;
    }

    .how-work-blocks-mobile {
        display: flex;
        gap: 20px;
        flex-wrap: wrap;
    }

    .how-work-item {
        flex-basis: calc(50% - 20px);
    }

    .how-work {
        padding: 120px 0;
    }

    .why-giftery {
        padding: 120px 0 60px;
    }

    .mobile-none {
        display: none;
    }

    .advantages {
        padding: 60px 0;
    }

    .advantages-content {
        flex-wrap: wrap;
    }

    .advantages-item {
        flex-basis: calc(50% - 20px);
    }

    .brands h3 {
        font-size: 22px;
        line-height: 30px;
    }

    .brands .description {
        font-size: 16px;
        line-height: 22px;
    }

    .brands-item {
        flex-basis: calc(33% - 20px);
    }

    .brands {
        padding: 60px 0 120px;
    }

    .faq-content {
        flex-direction: column;
        gap: 0;
    }

    .faq h2 {
        margin-bottom: 32px;
    }

    .faq {
        padding: 120px 0;
    }

    .main-screen-content {
        flex-direction: column;
    }

    .main-screen-content div {
        flex-basis: auto;
        width: 100%;
    }

    .main-screen-content .banner {
        max-width: 701px;
    }
}

@media screen and (max-width: 950px) {
    .footer-content {
        flex-wrap: wrap;
    }

    .footer-item {
        flex-basis: calc(50% - 20px);
    }
}

@media screen and (max-width: 850px) {
    .brands-item {
        flex-basis: calc(50% - 20px);
    }
}

.mobile-menu-content .header-block {
    justify-content: space-between;
}

.mobile-menu-content .header-block {
    display: none;
}

@media screen and (max-width: 768px) {
    .mobile-menu-content .header-block {
        display: flex;
    }

    .mobile-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        max-width: 100%;
        height: 100%;
        z-index: 38;
    }

    .mobile-menu.open {
        transform: translateX(0);
    }

    .how-work-item {
        gap: 24px;
    }

    .main-screen-content {
        padding: 80px 0;
    }

    .main-screen-content .button {
        width: 100%;
        max-width: 100%;
    }

    .mobile-none-768 {
        display: none;
    }

    .main-screen-content .main-screen-banner {
        transform: translateX(0);
        max-width: 450px;
        width: 100%;
    }

    .main-screen .coffeti {
        max-width: 509px;
        width: 100%;
        transform: translateX(0);
    }

    .main-screen .blue-circle {
        position: absolute;
        z-index: 0;
        max-width: 550px;
        width: 100%;
        transform: translateX(0);
    }

}

@media screen and (max-width: 680px) {
    .how-work-item .images img {
        height: 100px;
        width: 100px;
    }

    .why-giftery-block:last-child,
    .why-giftery-block:first-child {
        padding: 120px;
        width: 100%;
    }

    .why-giftery-block:first-child .why-giftery-item .annotation:first-child {
        left: -50px;
    }

    .why-giftery-block:last-child .why-giftery-item,
    .why-giftery-block:first-child .why-giftery-item {
        padding: 80px 68px;
    }
}

@media screen and (max-width: 600px) {

    .why-giftery .caption {
        font-size: 16px;
        line-height: 22px;
        margin-bottom: 48px;
    }

    .header .container {
        padding: 0 10px;
    }

    .header-content {
        padding: 14px 20px;
    }

    .header-block img {
        width: 182px;
        height: 20px;
    }

    .footer-item {
        flex-basis: 100%;
    }

    .footer-item:first-child {
        order: 1;
    }

    .footer-item:nth-child(2) {
        order: 3;
    }

    .footer-item:last-child {
        order: 2;
    }

    .brands {
        padding: 50px 0 100px;
    }

    .brands .description {
        margin-bottom: 32px;
    }

    .how-work {
        padding: 100px 0;
    }

    .how-work-item {
        flex-basis: 100%;
    }

    .how-work-item p {
        font-size: 14px;
        line-height: 20px;
    }

    .why-giftery-block:last-child {
        background-size: cover;
        padding: 120px 69px;
    }

    .why-giftery-block:last-child .annotation {
        font-size: 12px;
        line-height: 16px;
        padding: 10px;
    }

    .why-giftery-block:last-child .annotation:first-child {
        top: 63px;
        left: 44px;
        max-width: 127px;
    }

    .why-giftery-block:last-child .annotation:nth-child(2) {
        top: 74px;
        right: 31px;
        max-width: 113px;
    }

    .why-giftery-block:last-child .annotation:nth-child(3) {
        bottom: 77px;
        left: 49px;
        max-width: 108px;
    }

    .why-giftery-block:last-child .annotation:nth-child(4) {
        bottom: 57px;
        right: 25px;
        max-width: 97px;
    }

    .gift-opacity,
    .gift-opacity-second,
    .gift-opacity-three {
        right: 0 !important;
        height: 150px !important;
        width: 150px !important;
    }

    @keyframes moveUpDownGiftOpacity {
        0% {
            top: 50px;
            opacity: 1;
        }
        50% {
            top: 100px;
            opacity: 0;
        }
        100% {
            top: 50px;
            opacity: 1;
        }
    }

    @keyframes moveUpDownGiftOpacitySecond {
        0% {
            top: 50px;
            opacity: 0.75;
        }
        50% {
            top: 100px;
            opacity: 0.75;
        }
        100% {
            top: 50px;
            opacity: 0.75;
        }
    }


    @keyframes moveUpDownGiftOpacityThree {
        0% {
            top: 50px;
            opacity: 0.5;
        }
        50% {
            top: 100px;
            opacity: 1;
        }
        100% {
            top: 50px;
            opacity: 0.5;
        }
    }

    .main-screen-content .main-screen-banner {
        padding: 0 20px;
    }

    .main-screen-content div:last-child .gift-smooth-right {
        right: -40px;
    }

    .main-screen-content div:last-child .alfa-big {
        bottom: 72px;
        right: 75px;
        width: 150px;
        height: 106px;
        animation: moveUpDownAlfaBig 3s infinite;
    }

    @keyframes moveUpDownAlfaBig {
        0% {
            bottom: 150px;
        }
        50% {
            bottom: 130px;
        }
        100% {
            bottom: 150px;
        }
    }
    .main-screen-content div:last-child .gift-smooth-bottom {
        left: 155px;
        animation: moveUpDownSmoothBottom 3s infinite;
    }

    @keyframes moveUpDownSmoothBottom {
        0% {
            bottom: 75px;
        }
        50% {
            bottom: 100px;
        }
        100% {
            bottom: 75px;
        }
    }

    .main-screen-content div:last-child .gift-big {
        width: 150px;
    }

    @keyframes moveUpDown {
        0% {
            top: 60px;
        }
        50% {
            top: 35px;
        }
        100% {
            top: 60px;
        }
    }
    @keyframes moveUpDownAlfa {
        0% {
            top: 175px;
        }
        50% {
            top: 150px;
        }
        100% {
            top: 175px;
        }
    }
    .main-screen-content div:last-child .gift-smooth-top {
        left: 190px;
    }

    @keyframes moveUpDownGiftSmoothTop {
        0% {
            top: 50px;
        }
        50% {
            top: 70px;
        }
        100% {
            top: 50px;
        }
    }

}

@media screen and (max-width: 550px) {
    .why-giftery-block:last-child .annotation:first-child {
        top: 24px;
        left: 44px;
        max-width: 127px;
    }

    .why-giftery-block:last-child .annotation:nth-child(2) {
        top: 33px;
        right: 31px;
        max-width: 113px;
    }

    .why-giftery-block:last-child .annotation:nth-child(3) {
        bottom: 27px;
        left: 49px;
        max-width: 108px;
    }

    .why-giftery-block:last-child .annotation:nth-child(4) {
        bottom: 19px;
        right: 25px;
        max-width: 97px;
    }

    .container {
        padding: 0 12px;
    }

    .advantages h2 {
        margin-bottom: 32px;
    }

    .advantages {
        padding: 50px 0;
    }

    .advantages-item {
        flex-basis: 100%;
        padding: 24px;
        gap: 20px;
    }

    .advantages-item p {
        font-size: 14px;
        line-height: 20px;
    }

    .brands-item {
        flex-basis: 100%;
        min-height: 300px;
    }

    .brands-item img {
        bottom: -51px;
        height: 100%;
        width: 100%;
        z-index: 0;
    }

    .brands h2 {
        margin-bottom: 24px;
    }

    .brands h3 {
        margin-bottom: 12px;
    }

    .why-giftery-block:first-child .why-giftery-item .annotation {
        font-size: 12px;
        line-height: 16px;
        padding: 10px;
    }

    .why-giftery-block:first-child .why-giftery-item .annotation:first-child {
        max-width: 140px;
        max-height: 52px;
        left: -46px;
        top: -43px;
    }

    .why-giftery-block:first-child .why-giftery-item .title {
        font-size: 16px;
        line-height: 22px;
    }

    .why-giftery-block:last-child .why-giftery-item,
    .why-giftery-block:first-child .why-giftery-item {
        padding: 40px 36px;
        border-radius: 18px;
    }

    .why-giftery-block:first-child .why-giftery-item .annotation:nth-child(2) {
        max-width: 125px;
        max-height: 52px;
        top: -35px;
        right: -49px;
    }

    .why-giftery-block:first-child .why-giftery-item .annotation:nth-child(3) {
        max-width: 149px;
        max-height: 52px;
        bottom: -41px;
        left: -40px;
    }


    .why-giftery-block:first-child {
        padding: 72px 64px;
    }

    .why-giftery-block:last-child {
        background-size: cover;
        max-height: 270px;
    }

    .why-giftery-block:last-child .why-giftery-item {
        padding: 40px 40px;
    }

    .why-giftery-item .logo {
        width: 220px;
        height: 37px;
    }

    .why-confetti.red-confetti-big,
    .why-confetti.green-confetti-smooth-second,
    .why-confetti.green-confetti-smooth,
    .why-confetti.rectangular-three,
    .why-confetti.yellow-confetti-big,
    .why-confetti.rectangular-second {
        display: none;
    }

    .why-confetti.green-confetti-second {
        top: 89px;
        right: 36px;
        width: 25px;
    }

    .why-confetti.red-confetti-smooth {
        bottom: 14px;
        right: 95px;
        z-index: 2;
        width: 24px;
    }

    .why-confetti.green-confetti {
        bottom: 1px;
        left: 54px;
        width: 30px;
    }

    .why-confetti.rectangular {
        bottom: 60px;
        left: 10px;
        width: 15px;
    }

    .why-confetti.yellow-confetti-smooth {
        bottom: 110px;
        left: 48px;
        width: 22px;
    }

    .why-confetti.yellow-confetti-smooth-second {
        top: 21px;
        right: 121px;
        width: 22px;
    }

    .why-confetti.red-confetti-medium {
        bottom: 63px;
        left: 219px;
        z-index: 0;
        width: 13px;
    }
}

@media screen and (max-width: 450px) {
    .brands-item {
        min-height: 240px;
    }

    .why-giftery-block:last-child .annotation:first-child {
        top: 19px;
        left: 24px;
        max-width: 140px;
    }

    .why-giftery-block:last-child .annotation:nth-child(2) {
        top: 24px;
        right: 28px;
        max-width: 117px;
    }

    .why-giftery-block:last-child .annotation:nth-child(3) {
        bottom: 21px;
        left: 25px;
        max-width: 121px;
    }

    .why-giftery-block:last-child .annotation:nth-child(4) {
        right: 26px;
        bottom: 17px;
        max-width: 115px;
    }

    .why-confetti.green-confetti-second {
        top: 97px;
        right: 31px;
        width: 25px;
    }

    .why-confetti.red-confetti-smooth {
        bottom: 36px;
        right: 85px;
        z-index: 2;
        width: 24px;
    }

    .why-confetti.green-confetti {
        bottom: 1px;
        left: 32px;
        width: 30px;
    }

    .why-confetti.rectangular {
        bottom: 60px;
        left: 4px;
        width: 15px;
    }

    .why-confetti.yellow-confetti-smooth {
        bottom: 110px;
        left: 31px;
        width: 22px;
    }

    .why-confetti.yellow-confetti-smooth-second {
        top: 21px;
        right: 121px;
        width: 22px;
    }

    .why-confetti.red-confetti-medium {
        bottom: 63px;
        left: 141px;
        z-index: 0;
        width: 13px;
    }

    .main-screen-content div:last-child .alfa-small {
        left: 100px;
    }

    .main-screen-content div:last-child .gift-smooth-top {
        left: 160px;
    }

    .main-screen-content div:last-child .gift-smooth-bottom {
        left: 100px;
    }

    @keyframes moveUpDownSmoothBottom {
        0% {
            bottom: 90px;
        }
        50% {
            bottom: 115px;
        }
        100% {
            bottom: 90px;
        }
    }
}

@media screen and (max-width: 420px) {
    .gift-opacity, .gift-opacity-second, .gift-opacity-three {
        height: 110px !important;
        width: 110px !important;
    }

    @keyframes moveUpDownGiftOpacity {
        0% {
            top: 0;
            opacity: 1;
        }
        50% {
            top: 50px;
            opacity: 0;
        }
        100% {
            top: 0;
            opacity: 1;
        }
    }

    @keyframes moveUpDownGiftOpacitySecond {
        0% {
            top: 0;
            opacity: 0.75;
        }
        50% {
            top: 50px;
            opacity: 0.75;
        }
        100% {
            top: 0;
            opacity: 0.75;
        }
    }


    @keyframes moveUpDownGiftOpacityThree {
        0% {
            top: 0;
            opacity: 0.5;
        }
        50% {
            top: 50px;
            opacity: 1;
        }
        100% {
            top: 0;
            opacity: 0.5;
        }
    }
    .main-screen-content div:last-child .alfa-big {
        right: 75px;
        width: 116px;
        height: 72px;
    }

    .main-screen .banner {
        height: 400px;
    }

    @keyframes moveUpDownGiftSmoothTop {
        0% {
            top: -20px;
        }
        50% {
            top: 10px;
        }
        100% {
            top: -20px;
        }
    }

    @keyframes moveUpDown {
        0% {
            top: 0;
        }
        50% {
            top: 20px;
        }
        100% {
            top: 0;
        }
    }
    .main-screen-content div:last-child .gift-smooth-left {
        top: 0;
        left: -25px;
        width: 74px;
        height: 114px;
    }

    .main-screen-content div:last-child .gift-big {
        width: 123px;
    }

    @keyframes moveDownUp {
        0% {
            bottom: 0;
        }
        50% {
            bottom: 20px;
        }
        100% {
            bottom: 0;
        }
    }
    .main-screen-content div:last-child .alfa-small {
        left: 85px;
    }

    @keyframes moveUpDownAlfa {
        0% {
            top: 65px;
        }
        50% {
            top: 80px;
        }
        100% {
            top: 65px;
        }
    }
    .main-screen-content div:last-child .alfa-big {
        right: 75px;
        width: 129px;
        height: 83px;
    }

    @keyframes moveUpDownAlfaBig {
        0% {
            bottom: 45px;
        }
        50% {
            bottom: 65px;
        }
        100% {
            bottom: 45px;
        }
    }
    .main-screen-content div:last-child .gift-smooth-right {
        width: 125px;
        right: -35px;
    }

    @keyframes moveUpDownGiftSmoothRight {
        0% {
            bottom: 45px;
        }
        50% {
            bottom: 65px;
        }
        100% {
            bottom: 45px;
        }
    }
    .main-screen-content div:last-child .gift-smooth-bottom {
        left: 82px;
    }

    @keyframes moveUpDownSmoothBottom {
        0% {
            bottom: 50px;
        }
        50% {
            bottom: 25px;
        }
        100% {
            bottom: 50px;
        }
    }
    .mobile-menu {
        width: 100vw;
        height: 100vh;
    }
}

@media screen and (max-width: 923px) {
    .mobile-none-923 {
        display: none;
    }
}

@media screen and (max-width: 550px) {
    .mobile-none-923 {
        display: block;
    }
}

#giftery-widget {
    position: relative;
    width: 100%;
    max-width: 860px;
    height: 685px;
    z-index: 100;
}

.iframe {
    position: relative;
    background: rgba(107, 78, 255, 1);
    padding: 100px 40px;
    overflow: hidden;
}

.iframe:before {
    position: absolute;
    content: '';
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: url(../img/main-screen/bg-main-screen.svg) no-repeat center;
    background-size: cover;
    width: 110%;
    height: 100%;
    z-index: 0;
}

.iframe-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 2;
}

.iframe-content h2 {
    font-weight: 700;
    font-size: 44px;
    line-height: 52px;
    color: #FFFFFF;
    margin-bottom: 32px;
}

.iframe-content .description {
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    color: #FFFFFF;
}

@media screen and (max-width: 1420px) {
    .iframe-content {
        flex-direction: column;
        align-items: start;
    }

    .iframe-content .title {
        margin-bottom: 56px;
        padding: 0 1.25rem;
    }
}

@media screen and (max-width: 1076px) {
    .iframe-content h2 {
        font-size: 30px;
        line-height: 40px;
    }

    .iframe-content .description {
        font-size: 16px;
        line-height: 22px;
    }

    .iframe {
        padding: 50px 0 100px;
    }
}

@media screen and (max-width: 816px) {
    #giftery-widget {
        height: 985px;
    }
}

@media screen and (max-width: 750px) {
    #giftery-widget {
        height: 870px;
    }
}

@media screen and (max-width: 650px) {
    #giftery-widget {
        height: 800px;
    }
}

@media screen and (max-width: 575px) {
    #giftery-widget {
        height: 725px;
    }
}

@media screen and (max-width: 550px) {
    .iframe-content .title {
        margin-bottom: 32px;
        padding: 0 .625rem;
    }
}

@media screen and (max-width: 500px) {
    #giftery-widget {
        height: 665px;
    }
}

@media screen and (max-width: 430px) {
    #giftery-widget {
        height: 595px;
    }
}

.mobile-new-line {
    display: none;
}

@media screen and (max-width: 395px) {
    .mobile-new-line {
        display: block;
    }
}

@media screen and (max-width: 380px) {
    #giftery-widget {
        height: 555px;
    }
}
