@font-face {
  font-family: "Akrobat";
  src: url("/fonts/Akrobat/Akrobat-Regular.eot");
  src:
    url("/fonts/Akrobat/Akrobat-Regular.woff") format("woff"),
    url("/fonts/Akrobat/Akrobat-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "Akrobat";
  font-weight: bold;
  src: url("/fonts/Akrobat/Akrobat-Bold.eot");
  src:
    url("/fonts/Akrobat/Akrobat-Bold.woff") format("woff"),
    url("/fonts/Akrobat/Akrobat-Bold.woff2") format("woff2");
}

body {
  font-family: "Akrobat", sans-serif;
  font-size: 25px;
  color: #000;
  margin: 0;
  padding: 0;
}

main {
  margin: 0 auto;
}

.widthBox {
  max-width: 1212px;
  margin: 0 auto;
  position: relative;
}
.descr .widthBox {
  max-width: 1004px;
}

h2 {
  font-weight: bold;
  font-size: 31px;
  text-transform: uppercase;
  margin: 0;
  padding: 75px 0 70px 0;
  text-align: center;
  opacity: 0;
  transform: scale(1.5) translateY(-50%);
}
h2.ON {
  opacity: 1;
  transform: scale(1) translateY(0%);
}

header {
  background: #0B0B0B;
  position: relative;
  padding: 0 0 332px 0;
  overflow: hidden;
}
header::before {
  content: '';
  background: url(/images/bgOrnamert.svg);
  background-size: calc(100% / 6);
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}
header.loaded::before {
  opacity: 0.7;
}
header nav {
  font-size: 21px;
  text-transform: uppercase;
  position: absolute;
  z-index: 2;
  top: 27px;
  right: 0;
}
header nav a {
  display: inline-block;
  margin-left: 40px;
  color: #fff;
  text-decoration: none;
}
header nav a:hover, header nav a:active {
  color: #ff0011;
}
header .logo {
  padding: 67px 0 0 0;
  position: relative;
  z-index: 2;
}
header .logo img {
  width: 246px;
  height: 169px;
}
header .logo:hover img,
header .logo:active img {
  animation: flicker 2s;
}
@keyframes flicker {
  0% {
    filter: brightness(100%);
  }
  50% {
    filter: brightness(150%) drop-shadow(0 0 20px #FCCE75);;
  }
  100% {
    filter: brightness(100%);
  }
}
header h1 {
  color: #fff;
  padding: 73px 0 191px 0;
  margin: 0 0 0 -100px;
  opacity: 0;
  z-index: 2;
  position: relative;
}
header h1 img {
  width: 893px;
  height: 225px;
}
header.loaded h1 {
  margin: 0;
  opacity: 1;
}
header .button_prod {
  position: relative;
  z-index: 2;
}
header .button_prod a {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  font-size: 35px;
  text-transform: uppercase;
  background: #E30613;
  border-radius: 30px;
  padding: 10px 66px;
}
header .button_prod a:hover,
header .button_prod a:active {
  background: #ff0011;
}
header .tins {
  position: absolute;
  z-index: 2;
  top: 224px;
  right: -106px;
}
header .tins img {
  width: 575px;
  height: 653px;
}
header.loaded .tins {
  right: -6px;
}

.prods h2,
footer h2 {
  color: #fff;
}

footer {
  background: #E30613;
  position: relative;
}
footer .widthBox {
  padding-top: 40px;
  padding-bottom: 70px;
}
footer::after {
  content: '';
  background: url(/images/redOrnament.svg);
  background-size: 50px;
  height: 60px;
  position: absolute;
  width: 100%;
  left: 0;
  top: -37px;
  z-index: 1;
}
footer h2 {
  margin: 0;
  padding: 0;
  text-align: left;
}
footer .contacts {
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  text-transform: uppercase;
  text-align: right;
}
footer .contacts a {
  color: #fff;
  text-decoration: none;
}
footer .contacts a:hover,
footer .contacts a:active {
  color: #FCCF76;
}
footer .flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
footer .design {
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 1px;
  background: url(/images/designBy.svg);
  background-size: 41px;
  width: 41px;
  height: 77px;
}

.prods {
  background: #000;
  padding: 0 0 50px 0;
  min-height: 2200px;
  position: relative;
  overflow: hidden;
}
.prods::before,
.prods::after {
  content:'';
  position: absolute;
  z-index: 1;
  width: 129px;
  height: 100%;
  background-size: 100%;
  background-repeat: repeat-y;
  background-position-y: 160px;
}
.prods::before {
  top: 0;
  left: 0;
  background-image: url(/images/bgOrnamertHalf.svg);
  background-position-x: left;
}
.prods::after {
  top: 570px;
  right: 0;
  background-image: url(/images/bgOrnamertHalf.svg);
  background-position-x: right;
  transform: scaleX(-1);
}

.descr {
  padding-bottom: 164px;
  background: url(/images/descrBottomOrnament.svg) repeat-x bottom;
  background-size: 481px;
  text-align: center;
  position: relative;
  font-size: 25px;
  scroll-behavior: smooth;
}
.descr::before {
  content: '';
  background: url(/images/redOrnament.svg);
  background-size: 50px;
  height: 60px;
  position: absolute;
  width: 100%;
  left: 0;
  top: -37px;
  z-index: 1;
}
.descr h2{
  background: url(/images/descrHeaderOrnament.svg) no-repeat bottom center;
  background-size: 390px;
  padding-bottom: 36px;
  margin-bottom: 48px;
}

.prods__prodbox {
  display: flex;
  margin-bottom: 150px;
  justify-content: space-between;
  white-space: nowrap;
}
.prods__prodbox__img {
  margin: 0 auto;
  position: relative;
  z-index: 2;
  opacity: 0;
}
.prods__prodbox:nth-of-type(odd) .prods__prodbox__img {
  transform: translateX(-100%) scale(1.5);
}
.prods__prodbox:nth-of-type(even) .prods__prodbox__img {
  order: 2;
  transform: translateX(100%) scale(1.5);
}
.prods__prodbox__img img {
  width: 276px;
  height: 412px;
}
.prods__prodbox.ON .prods__prodbox__img {
  transform: scale(1) translateX(0%);
  opacity: 1;
}

.prods__prodbox__info {
  display: flex;
  position: relative;
  z-index: 2;
  opacity: 0;
}
.prods__prodbox:nth-of-type(odd) .prods__prodbox__info {
  transform: translateX(100%) scale(1.5);
}
.prods__prodbox:nth-of-type(even) .prods__prodbox__info {
  transform: translateX(-100%) scale(1.5);
}
.prods__prodbox.ON .prods__prodbox__info {
  transform: scale(1) translateX(0%);
  opacity: 1;
}
.prods__prodbox__info::before,
.prods__prodbox__info::after {
  content: '';
  position: absolute;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #B86300 0%, #D38A2D 14.92%, #EAB055 30.45%, #F9C970 43.29%, #FED27A 51.75%, #FBCB71 59.63%, #F1B95A 71.16%, #E19C34 84.93%, #CB7800 99.99%);
}
.prods__prodbox__info::after {
  bottom: 0;
  top: auto;
}
.prods__prodbox__info .content-animal > div {
  display: inline-block;
  vertical-align: top;
}
.prods__prodbox__info .content {
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
  width: 253px;
  height: 200px;
  text-align: center;
  padding-right: 18px;
  white-space: normal;
}
.prods__prodbox__info .content p {
  margin: 10px 0;
}
.prods__prodbox__info .content p:first-of-type {
  font-size: 23px;
  color: #E30613;
  margin-top: 25px;
}
.prods__prodbox__info_left .sep {
  height: 10px;
  background: url(/images/prodboxSep1.svg);
}
.prods__prodbox__info_right .sep {
  height: 10px;
  background: url(/images/prodboxSep2.svg);
}
.prods__prodbox__info .title,
.prods__prodbox__info .stamp {
  height: 194px;
}
.prods__prodbox__info .title img {
  margin: 27px 0 0 97px;
}
.prods__prodbox__info .stamp img {
  margin: 10px 10px 0 0;
}
.prods__prodbox__info_left {
  padding-right: 16px;
}
.prods__prodbox__info_right {
  padding-left: 17px;
  position: relative;
  max-width: 255px;
}
.prods__prodbox__info_right::before {
  content: '';
  position: absolute;
  z-index: 1;
  width: 2px;
  height: calc(100% - 22px);
  left: 0;
  top: 11px;
  background: linear-gradient(180deg, #B86300 -0.01%, #D38A2D 14.91%, #EAB055 30.46%, #F9C970 43.3%, #FED27A 51.76%, #FBCB71 59.64%, #F1B95A 71.17%, #E19C34 84.94%, #CB7800 100%);
}
.prods__prodbox__info .animal {
  position: relative;
  width: 194px;
  height: 200px;
}
.prods__prodbox__info .animal img {
  margin: 70px 0 0 50px;
  transform: rotate(360deg) scale(1.5);
  opacity: 0;
}
.prods__prodbox.ON .prods__prodbox__info .animal img {
  transform: rotate(0deg) scale(1);
  opacity: 1;
}
.prods__prodbox__info .animal::before {
  content: '';
  position: absolute;
  z-index: 1;
  width: 2px;
  height: calc(100% - 11px);
  left: 0;
  top: 11px;
  background: linear-gradient(180deg, #B86300 0.02%, #D38A2D 14.93%, #EAB055 30.47%, #F9C970 43.3%, #FED27A 51.76%, #FBCB71 59.63%, #F1B95A 71.16%, #E19C34 84.92%, #CB7800 99.97%);
}
.prods__prodbox__info .amount {
  color: #fff;
  text-transform: uppercase;
  text-align: center;
}
.prods__prodbox__info .amount p {
  font-size: 22px;
  margin: 0;
  font-weight: bold;
}
.prods__prodbox__info .amount p:first-of-type {
  font-size: 90px;
  line-height: 95px;
  margin-top: 25px;
}

.arrowDN {
  display: block;
  position: absolute;
  z-index: 10;
  right: 0;
  top: 750px;
  width: 69px;
  height: 58px;
  background-image: url(/images/arrowDN.svg);
  background-position-y: 0;
  cursor: pointer;
}
.arrowDN:hover,
.arrowDN:active {
  animation: racing 0.6s infinite;
}
@keyframes racing {
  0% {
    background-position-y: -58px;
  }
  49% {
    background-position-y: -58px;
  }
  50% {
    background-position-y: -116px;
  }
  100% {
    background-position-y: -116px;
  }
}

:root {
  --ratio: calc((100vw - 414px) / (1270 - 414));
  --ratio2: calc((100vw - 375px) / (760 - 375));
}

@media (max-width: 1270px) {
  .widthBox {
    padding: 0 30px;
  }
  h2 {
    font-size: calc(15px + (31 - 15) * var(--ratio));
  }
  header.loaded .tins {
    top: calc(222px + (224 - 222) * var(--ratio));
    right: calc(73px + (24 - 73) * var(--ratio));
  }
  header .tins img {
    width: calc(271px + (575 - 271) * var(--ratio));
    height: calc(307px + (653 - 307) * var(--ratio));
  }
  header h1 {
    padding-top: calc(46px + (73 - 46) * var(--ratio));
    padding-bottom: calc(300px + (191 - 300) * var(--ratio));
  }
  header h1 img {
    width: calc(226px + (893 - 226) * var(--ratio));
    height: calc(60px + (225 - 60) * var(--ratio));
  }
  header .button_prod a {
    font-size: calc(20px + (35 - 20) * var(--ratio));
  }
  header {
    padding-bottom: calc(100px + (332 - 100) * var(--ratio));
  }
  header nav {
    right: 30px;
  }
  .descr {
    font-size: calc(16px + (25 - 16) * var(--ratio));
    background-size: calc(125px + (481 - 125) * var(--ratio));
    padding-bottom: calc(40px + (164 - 40) * var(--ratio));
  }
  .descr::before,
  footer::after {
    background-size: calc(25px + (50 - 25) * var(--ratio));
    height: calc(30px + (60 - 30) * var(--ratio));
    top: calc(-19px + (-37 - -19) * var(--ratio));
  }
  footer .design {
    left: 29px;
  }
  footer .contacts {
    font-size: calc(13px + (18 - 13) * var(--ratio));
  }
  h2 {
    padding-bottom: calc(35px + (70 - 35) * var(--ratio));
    padding-top: calc(37px + (75 - 37) * var(--ratio));
  }
  .descr h2 {
    background-size: calc(188px + (390 - 188) * var(--ratio));
    padding-bottom: calc(21px + (36 - 21) * var(--ratio));
    margin-bottom: calc(12px + (48 - 12) * var(--ratio));
  }
  .descr .widthBox {
    max-width: calc(75% + (82 - 75) * var(--ratio));
  }
  .arrowDN {
    right: 30px;
    top: 740px;
  }
}
@media (max-width: 1108px) {
  header.loaded .tins {
    top: calc(222px + (300 - 222) * var(--ratio));
    right: calc(10px + (24 - 10) * var(--ratio));
  }
  .arrowDN {
    transform: scale(0.8);
    top: 730px;
  }
  header::before {
    background-size: calc(100% / 4);
  }
  .prods__prodbox {
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: calc(50px + (150 - 50) * var(--ratio));
  }
  .prods__prodbox__img,
  .prods__prodbox:nth-of-type(even) .prods__prodbox__img {
    padding-bottom: calc(20px + (40 - 20) * var(--ratio));
    order: 0;
  }
  .prods__prodbox__img img {
    width: calc(168px + (276 - 168) * var(--ratio));
    height: calc(251px + (412 - 251) * var(--ratio));
  }
  .prods::before,
  .prods::after {
    width: calc(105.5px + (109 - 105.5) * ((100vw - 1008px) / (1108 - 1008)));
    background-position-y: calc(97px + (160 - 97) * var(--ratio));
  }
  .prods::after {
    top: 0;
  }
}
@media (max-width: 1008px) {
  .prods::before,
  .prods::after {
    width: calc(101px + (105.5 - 101) * ((100vw - 908px) / (1008 - 908)));
  }
  .arrowDN {
    top: 720px;
  }
}
@media (max-width: 908px) {
  .prods::before,
  .prods::after {
    width: calc(95px + (101 - 95) * ((100vw - 808px) / (908 - 808)));
  }
  .arrowDN {
    top: 710px;
  }
}
@media (max-width: 808px) {
  .prods::before,
  .prods::after {
    width: calc(86.5px + (95 - 86.5) * ((100vw - 708px) / (808 - 708)));
  }
  .arrowDN {
    top: 700px;
  }
}
@media (max-width: 760px) {
  header.loaded .tins {
    top: calc(222px + (250 - 222) * var(--ratio));
    right: calc(10px + (24 - 10) * var(--ratio));
  }
  header nav {
    font-size: calc(10px + (21 - 10) * ((100vw - 360px) / (760 - 360)));
    top: calc(12px + (27 - 12) * var(--ratio2));
    right: calc(15px + (30 - 15) * var(--ratio2));
  }
  header nav a {
    margin-left: calc(14px + (40 - 14) * var(--ratio2));
  }
  header .logo {
    padding-top: calc(33px + (67 - 33) * var(--ratio2));
  }
  header .logo img {
    width: calc(131px + (246 - 131) * var(--ratio2));
    height: calc(94px + (169 - 94) * var(--ratio2));
  }
  header::before {
    background-size: calc(100% / 3);
  }
}
@media (max-width: 708px) {
  .prods::before,
  .prods::after {
    width: calc(78px + (86.5 - 78) * ((100vw - 608px) / (708 - 608)));
  }
  .arrowDN {
    transform: scale(0.75);
    top: 675px;
  }
}
@media (max-width: 608px) {
  .prods::before,
  .prods::after {
    width: calc(69px + (78 - 69) * ((100vw - 508px) / (608 - 508)));
  }
  .arrowDN {
    transform: scale(0.65);
    top: 635px;
  }
}
@media (max-width: 508px) {
  .prods::before,
  .prods::after {
    width: calc(60.5px + (69 - 60.5) * ((100vw - 408px) / (508 - 408)));
  }
  .arrowDN {
    transform: scale(0.55);
    top: calc(560px + (600 - 560) * ((100vw - 408px) / (508 - 408)));
  }
}
@media (max-width: 414px) {
  h2 {
    font-size: 15px;
  }
  .descr {
    font-size: 16px;
  }
  header.loaded .tins {
    top: 222px;
    right: calc((100vw - 271px) / 2);
  }
  header .tins img {
    width: 271px;
    height: 307px;
  }
  header h1 {
    padding-top: 46px;
    padding-bottom: 300px;
  }
  header h1 img {
    width: 226px;
    height: 60px;
  }
  header .button_prod {
    text-align: center;
  }
  header .button_prod a {
    font-size: 20px;
  }
  header {
    padding-bottom: 100px;
  }
  header::before {
    background-size: 50%;
  }
  .descr {
    text-align: justify;
    background-size: 125px;
    padding-bottom: 40px;
  }
  .descr::before {
    background-size: 25px;
    height: 30px;
    top: -19px;
  }
  h2 {
    padding-bottom: 35px;
    padding-top: 37px;
  }
  .descr h2 {
    background-size: 188px;
    padding-bottom: 21px;
    margin-bottom: 12px;
  }
  .descr .widthBox {
    max-width: 75%;
  }
  .prods {
    padding-bottom: 0;
  }
  .prods__prodbox {
    margin-bottom: 50px;
  }
  .prods__prodbox__img,
  .prods__prodbox:nth-of-type(even) .prods__prodbox__img {
    padding-bottom: 20px;
    order: 0;
  }
  .prods__prodbox__img img {
    width: 168px;
    height: 251px;
  }
  .prods::before,
  .prods::after {
    background-position-y: 97px;
  }
  footer .contacts {
    font-size: 13px;
  }
  .arrowDN {
    transform: scale(0.45);
    top: 460px;
    right: calc(50% - 120px);
  }
}
@media (max-width: 408px) {
  .prods::before,
  .prods::after {
    width: calc(58.5px + (60.5 - 58.5) * ((100vw - 308px) / (408 - 308)));
  }
}
@media (max-width: 375px) {
  .prods::before,
  .prods::after {
    background-position-y: 105px;
  }
}

@media (min-width: 415px) {
  h2 {
    transition: all 0.8s ease;
  }
  header::before {
    transition: all 1.5s ease;
  }
  header nav a,
  header .logo,
  header .button_prod,
  header .button_prod a,
  .arrowDN {
    transition: all 0.5s ease;
  }
  header h1,
  header .tins,
  .prods__prodbox__img,
  .prods__prodbox__info,
  .prods__prodbox__info .animal img {
    transition: all 1s ease;
  }
  .prods__prodbox__info {
    transition-delay: 0.5s;
  }
  .prods__prodbox__info .animal img {
    transition-delay: 1s;
  }
}