html {
    box-sizing: border-box;
}

*::before,
*::after {
    box-sizing: inherit;
}



@-webkit-keyframes AniFloat {
    0% {
      -webkit-transform: translateY(3.5%);
              transform: translateY(3.5%);
    }
    50% {
      -webkit-transform: translateY(0%);
              transform: translateY(0%);
    }
    100% {
      -webkit-transform: translateY(3.5%);
              transform: translateY(3.5%);
    }
  }
  
  @keyframes AniFloat {
    0% {
      -webkit-transform: translateY(3.5%);
              transform: translateY(3.5%);
    }
    50% {
      -webkit-transform: translateY(0%);
              transform: translateY(0%);
    }
    100% {
      -webkit-transform: translateY(3.5%);
              transform: translateY(3.5%);
    }
  }

@font-face {
    color: white;
    font-family: 'Fred';
    src: local('Fred-Fredburger-Headline'), url(../fonts/Fred-Fredburger-Headline.woff) format("woff");
    /* font-weight: 400; */
    font-style: normal;
    font-display: swap;
}

@font-face {
    color: white;
    font-family: 'Calibri';
    src: local('Calibri'), url(../fonts/CalibriL.woff) format("woff");
    /* font-weight: 500; */
    font-style: normal;
    font-display: swap;
}

@font-face {
    color: white;
    font-family: 'Roboto';
    src: local('Roboto-Bold'), url(../fonts/Roboto-Bold.woff) format("woff");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    background: #8882dd;
    background: url(../img/BG.jpg);
    background-size: 90%;
    font-size: 16px;
    line-height: 150%;
}

/* .containers {
    width: 90%;
    margin: 0 auto;

} */

.flex {
    display: flex;
}

.list-reset {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style-type: none
}

.btn-reset {
    border: none;
    padding: 0;
    background-color: transparent;
    cursor: pointer;
    text-decoration: none;
}

.btn {
    border: 1px solid white;
    display: inline-block;
    padding: 25px 75px;
    font-weight: 700;
    font-size: 18px;
    transition: background-color 0.3s;
    color: white;
    text-decoration: none;
}

section {
    padding-top: 30px;
    padding-bottom: 30px;
}


a {
    color: white;
    text-decoration: none;
}

p {
    color: white;
    text-decoration: none;
}

h1,
h2 {
    color: white;
    text-decoration: none;
}

.outlined {
    outline: 0px solid red;
}

.text-center {
    text-align: center;
}


/* header */

.header {
    height: 170px;
}

.header__img {
    padding-bottom: 60px;
}


/* hero */

.hero {
   position: relative;
    padding-bottom: 60px;
}

/* .hero__garland1 {
    position: absolute;
    top: -20%;
    z-index: 100;
} */

.hero__list {
    /* display: flex; */
    outline: 0px solid red;
}

.hero__container::before {
    content: "";
    position: absolute;
    background-image: url(../img/lights_garland.png);
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
    background-size: contain;
    background-position: center;
    background-repeat: repeat-x;
    top: 49px;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 100;
    height: 50%;
    width:  100%;
}

.hero__container::after {
    content: "";
    position: absolute;
    background-image: url(../img/lights_garland.png);
    background-size: contain;
    background-position: center;
    background-repeat: repeat-x;
    bottom: -35%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 100;
    height: 50%;
    width:  100%;
}

.stories__container::after {
    content: "";
    position: absolute;
    background-image: url(../img/lights_garland.png);
    background-size: contain;
    background-position: center;
    background-repeat: repeat-x;
    bottom: -17%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 100;
    height: 20%;
    width:  100%;

}
.stories__container::before {
    content: "";
    position: absolute;
    background-image: url(../img/lights_garland.png);
    background-size: contain;
    background-position: center;
    background-repeat: repeat-x;
    top: 37px;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 100;
    height: 20%;
    width:  100%;
}  
 



.contest__container::before {
    content: "";
    position: absolute;
    background-image: url(../img/lights_garland.png);
    background-size: contain;
    background-position: center;
    
    background-repeat: repeat-x;
    top: 42%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 100;
    height: 20%;
    width:  100%;
}  






.hero__garland2 {
    position: absolute;
    bottom: 0%;
    z-index: 100;
}

.hero__img1,
.hero__img2,
.hero__img3 {
    position: relative;
    /* z-index: -10; */
}


/* about */










/* stories */

.stories {
    position: relative;
}

.hero__garland3 {
    position: absolute;
    width: 100%;
    top: -15%;
    left:50%;
    transform: translate(-50%);
    z-index: 100;
}

.hero__garland4 {
    position: absolute;
    top: 37%;
    z-index: 100;
}

.hero__garland5 {
    position: absolute;
    bottom: -7%;
    z-index: 100;
}



.stories__descr-mod1 {
    line-height: 180%;
    letter-spacing: 0.1rem;
    font-family: 'Fred';
    font-weight: 400;
    font-size: 16px;
    color: white;
}




/* .contest__container::before {
    content: "";
    position: absolute;
    background-image: url(../img/Герлянда\ copy\ 1.png);
    background-size: contain;
    background-position: center;
    background-repeat: repeat-x;
    bottom: -37%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 100;
    height: 100%;
    width:  100%;
}   */





/* .stories__item {
    margin-bottom: 15px;
} */

.stories__list-block-mob {
    display: none;
}

.stories__list-mod {
    padding-top: 115px;
}

.stories__descr-mod {
    padding-bottom: 29px;
}

.stories__descr {
    margin-bottom:38px;
}

.text-right {
    text-align: right;
}

.stories__list {
    margin-right: 40px;
}

.stories__item-sale-img {
    margin-bottom: 81px;
}


/* contest */ 

.contest__prize img.gift{
	position: absolute;
	max-height: 702px;
	    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
	    -webkit-animation-name: AniFloat;
    animation-name: AniFloat;
    -webkit-animation-duration: 2.5s;
    animation-duration: 2.5s;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
	z-index: 5;
}

.hero__garland6 {
   
    outline: 0px solid red;
    position: absolute;
    top: 23%;
    
}



.contest .contest__prize {
    position: relative;
	margin: 0 0;
    
}
.contest__prize img.box{
	outline: 0px solid red;
	position: absolute;
	max-height: 702px;
	left: -1px;
	top: 1px;
	z-index: 1;
}
.contest__prize img.gift{
	position: absolute;
	max-height: 702px;
	z-index: 5;
}
.contest__prize img.box1{
	position: absolute;
	max-height: 702px;
	left: -1px;
	top: 1px;
	z-index: 10;
}
.contest__btn {
    padding-top: 13px;
    padding-bottom: 10px;
    padding-left: 50px;
    padding-right: 50px;
    background-color: #bb00ff;
    border-radius: 20px;
    font-family: 'Calibri';
    font-weight: 400;
    font-size: 16px;
    border: 0px;
}

.contest__wrapper {
    position: relative;
    width: 90%;
    height: 12vh;
    margin: 0 auto;
    text-align: center;
    padding-bottom: 60px;
    outline: 0px solid red;
}






.contest__descr {
    line-height: 170%;
    letter-spacing: 0.05rem;
    font-family: 'Fred';
    font-weight: 400;
    font-size: 16px;
    color: white;
    text-align: center;
  
    margin-top: 0;
}


/* offer */

.offer__content {
    padding-top: 40px;
    padding-bottom: 40px;
    position: relative;
    min-height: 480px;
    outline: 0px solid red;

}

.offer__title {
    color: white;
    font-family: 'Fred';
    font-size: 15px;
    margin-bottom: 10px;
}



.offer__button {
    padding-top: 13px;
    padding-bottom: 10px;
    padding-left: 16px;
    padding-right: 16px;
    background-color: #bb00ff;
    border-radius: 20px;
    font-family: 'Calibri';
    font-weight: 400;
    font-size: 12px;
    border: 0px;
}

.offer__descr {
    color: white;
    font-family: 'Fred';
    font-size: 24px;
    margin-bottom: 20px;
}


/* footer */

.footer {
    background-color:#532194;
    height: 30px;
    padding-top: 13px;
    padding-bottom: 0;
}




/* animation */

.sale:hover {
    transform-origin: top center;
    animation-name: sale;
    animation-duration: 1s;
    animation-fill-mode: both;
}

@keyframes sale {
    20% {
        transform: rotate3d(0, 0, 1, 15deg);
    }
    40% {
        transform: rotate3d(0, 0, 1, -10deg);
    }
    60% {
        transform: rotate3d(0, 0, 1, 5deg);
    }
    70% {
        transform: rotate3d(0, 0, 1, 0deg);
    }
    80% {
        transform: rotate3d(0, 0, 1, -5deg);
    }
    90% {
        transform: rotate3d(0, 0, 1, -3deg);
    }
    100% {
        transform: rotate3d(0, 0, 1, 0deg);
    }
}


/* anim-btn */

.btn-mod {
    position: relative;
    display: inline-block;
    padding-top: 10px;
    padding-bottom: 7px;
    padding-left: 25px;
    padding-right: 25px;
    text-align: center;
    /* line-height: 60px; */
    color: #fff;
    /* font-size: 24px; */
    text-transform: uppercase;
    text-decoration: none;
    font-family: sans-serif;
    box-sizing: border-box;
    background: #bb00ff;
    background-size: 400%;
    border-radius: 12px;
    z-index: 1;
}

.btn-mod:hover {
    animation: animate 8s linear infinite;
}

@keyframes animate {
    0% {
        background-position: 0%;
    }
    100% {
        background-position: 400%;
    }
}

.btn-mod:before {
    content: "";
    position: absolute;
    top: -5px;
    right: -5px;
    bottom: -5px;
    left: -5px;
    z-index: -1;
    background: #bb00ff;
    background-size: 400%;
    border-radius: 40px;
    opacity: 0;
    transition: .5s;
}

.btn-mod:hover:before {
    filter: blur(20px);
    opacity: 1;
    animation: animate 8s linear infinite;
}

.btn {
    position: relative;
    display: inline-block;
    padding-top: 13px;
    padding-bottom: 10px;
    padding-left: 50px;
    padding-right: 50px;
    text-align: center;
    /* line-height: 60px; */
    color: #fff;
    /* font-size: 24px; */
    text-transform: uppercase;
    text-decoration: none;
    font-family: sans-serif;
    box-sizing: border-box;
    background: #bb00ff;
    background-size: 400%;
    border-radius: 30px;
    z-index: 1;
}

.btn:hover {
    animation: animate 8s linear infinite;
}

@keyframes animate {
    0% {
        background-position: 0%;
    }
    100% {
        background-position: 400%;
    }
}

.btn:before {
    content: "";
    position: absolute;
    top: -5px;
    right: -5px;
    bottom: -5px;
    left: -5px;
    z-index: -1;
    background: linear-gradient(90deg, #03a9f4, #f441a5, #03a9f4);
    background-size: 400%;
    border-radius: 40px;
    opacity: 0;
    transition: .5s;
}

.btn:hover:before {
    filter: blur(20px);
    opacity: 1;
    animation: animate 8s linear infinite;
}


/* 
/* paralaks */


/* 
.parallax {
    perspective: 1px;
    height: 100vh;
    overflow-y: auto;
}

.parallax-layer {
    position: absolute;
    inset: 0; // вместо top, bottom, left, right: 0;
}

.parallax-image {
    transform: translateZ(0);
}

.parallax-text {
    transform: translateZ(-2px);
} */

*/