/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

.body {
  background-color: #000;
  color: #fff;
}

.list {
  list-style: none;
  padding-left: 0;
}

.link {
  text-decoration: none;
}

.btn {
  border: none;
  background: none;
}

.header {
  width: 80vw;
  margin: 0 auto 150px;
  color: #fff;
}

.nav-container {
  margin-bottom: 5%;
  display: flex;
}

.navigation {
  height: 50px;
  min-width: 60%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  column-gap: 10%;
  margin-left: auto;
}
.navigation-item:hover {
  color: #7b1160;
}
.navigation-item:active {
  color: #e0a602;
}
.navigation-link:visited {
  color: currentColor;
}

.logo {
  fill: #7b1160;
  height: 50px;
  align-self: center;
}

.hero {
  width: 70vw;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  position: relative;
  padding: 100px 50px;
  box-sizing: border-box;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index: -1;
  background: url("../img/bg/video-prev.png") no-repeat;
  background-size: cover;
  object-fit: cover;
}
.hero-title {
  width: 100%;
  text-align: center;
  font-size: 62px;
}
.hero-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 310px;
}
.hero-list {
  font-size: 36px;
  display: flex;
  flex-direction: column;
  row-gap: 15px;
  list-style: url("../img/icons/check.png");
}
.hero-btn {
  margin-top: auto;
}

.order-btn {
  font-size: 22px;
  font-weight: bold;
  color: #000;
  border: solid 3px #fdc831;
  display: inline-block;
  padding: 10px 55px;
  background-color: #e0a602;
  border-radius: 10px;
  z-index: 1;
}
.order-btn:hover {
  border-color: #946e01;
}
.order-btn:visited {
  color: #000;
}

@media only screen and (max-width: 812px) {
  .nav-container {
    margin-top: 20px;
    align-items: center;
    justify-content: space-between;
    position: relative;
  }
  .nav__mobile {
    cursor: pointer;
    display: inline-block;
    width: 75px;
    height: 27px;
    border: none;
    background: linear-gradient(#7b1160 20%, transparent 20%, transparent 40%, #7b1160 40%, #7b1160 60%, transparent 60%, transparent 80%, #7b1160 80%);
  }
  .nav__mobile:hover {
    background: linear-gradient(#e0a602 20%, transparent 20%, transparent 40%, #e0a602 40%, #e0a602 60%, transparent 60%, transparent 80%, #e0a602 80%);
  }
  .navigation {
    flex-direction: column;
    row-gap: 20px;
    position: absolute;
    top: 65px;
    right: 0;
    min-width: auto;
    z-index: 2;
  }
  .hero {
    flex-direction: column;
  }
}
@media only screen and (max-width: 480px) {
  .hero-title {
    font-size: 2em;
  }
}
@media only screen and (max-width: 400px) {
  .header {
    margin-bottom: 50px;
  }
  .hero {
    padding: 0;
  }
  .hero-video {
    display: none;
  }
  .nav-container {
    margin-bottom: 100px;
  }
  .navigation {
    width: 90%;
    flex-direction: row;
    flex-wrap: wrap;
  }
}
.main {
  margin: auto;
}

.composition {
  width: 70vw;
  margin: 0 auto 100px;
  position: relative;
  background: radial-gradient(50% 300%, #000 25%, transparent 25%, transparent 40%, #000 40%), linear-gradient(transparent 49.6%, #e0a602 50%, transparent 50.4%), linear-gradient(38deg, transparent 49.8%, #e0a602 50%, transparent 50.2%), linear-gradient(-38deg, transparent 49.8%, #e0a602 50%, transparent 50.2%);
}
.composition-container {
  position: absolute;
  left: calc(50% - 100px);
  width: 200px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 30px;
  justify-content: center;
}
.composition-list {
  display: flex;
  flex-wrap: wrap;
  gap: 150px 60%;
}
.composition-item {
  width: 20%;
  height: 100px;
  text-align: center;
  position: relative;
  display: flex;
  align-items: center;
  background: radial-gradient(rgba(123, 17, 96, 0.5) 33%, rgba(123, 17, 96, 0));
}
.composition-item::before {
  content: "";
  background: url("../img/bg/ingredient 1.jpeg") no-repeat center;
  background-size: cover;
  width: 100px;
  height: 100px;
  position: absolute;
  top: 0;
  bottom: 0;
  right: -100px;
  border-radius: 50%;
}
.composition-item:nth-child(2n)::before {
  left: -100px;
  background: url("../img/bg/ingredient 2.jpeg") no-repeat center;
  background-size: cover;
}

.feedback {
  width: 95vw;
  position: relative;
  padding: 25px 100px 50px;
  margin: 0 auto 150px;
  box-sizing: border-box;
  background: repeating-linear-gradient(45deg, rgba(224, 166, 2, 0.1) 10px, rgba(224, 166, 2, 0.1) 15px, #000 15px, #000 25px);
}
.feedback-title {
  font-size: 36px;
}
.feedback-list {
  width: 50%;
  display: flex;
  margin: auto;
}
.feedback-photo {
  width: 100%;
}
.feedback-author {
  text-transform: uppercase;
}
.feedback-text {
  text-align: justify;
}
.feedback-btn {
  width: 80px;
  height: 80px;
  background-color: #7b1160;
  border-radius: 50%;
  position: absolute;
  top: 400px;
  cursor: pointer;
}
.feedback-btn::after {
  content: "";
  width: 30px;
  height: 30px;
  position: absolute;
  top: 25px;
  left: 20px;
  box-sizing: border-box;
  border: 5px solid #fff;
  transform: rotate(45deg);
}
.feedback-btn__next {
  right: 100px;
}
.feedback-btn__next::after {
  border-bottom: none;
  border-left: none;
}
.feedback-btn__prev::after {
  border-top: none;
  border-right: none;
  left: 30px;
}

.promo {
  width: 60vw;
  margin: 0 auto 150px;
  display: grid;
  grid-template-columns: 400px 1fr;
  grid-template-rows: 500px 1fr;
  gap: 50px 100px;
}
.promo-img {
  grid-column: 1/2;
  grid-row: 1/2;
}
.promo-text {
  grid-column: 2/3;
  grid-row: 1/2;
  font-size: 18px;
  text-align: justify;
}
.promo-list {
  grid-column: 1/3;
  grid-row: 2/3;
  list-style: disc;
}
.promo-item {
  margin-left: 20px;
  text-align: justify;
}
.promo-btn {
  grid-column: 2/3;
  grid-row: 1/2;
  margin-top: auto;
  margin-bottom: 50px;
  text-align: center;
}

@media only screen and (max-width: 1550px) {
  .composition {
    position: relative;
    background: radial-gradient(50% 300%, #000 25%, transparent 25%, transparent 40%, #000 40%), linear-gradient(transparent 49.6%, #e0a602 50%, transparent 50.4%), linear-gradient(50deg, transparent 49.8%, #e0a602 50%, transparent 50.2%), linear-gradient(-50deg, transparent 49.8%, #e0a602 50%, transparent 50.2%);
  }
  .promo {
    column-gap: 20px;
    width: 70vw;
  }
  .promo-text {
    margin-top: 0;
  }
}
@media only screen and (max-width: 961px) {
  .composition {
    position: relative;
    background: none;
    display: flex;
    flex-direction: column;
  }
  .composition-container {
    position: relative;
    width: 200px;
    height: auto;
    order: 2;
    margin-top: 50px;
  }
  .composition-img {
    display: none;
  }
  .composition-list {
    justify-content: center;
  }
  .composition-item {
    width: auto;
  }
  .composition-item::before {
    top: -120px;
    left: calc(50% - 50px);
  }
  .composition-item:nth-child(2n)::before {
    left: calc(50% - 50px);
  }
  .feedback {
    padding-bottom: 150px;
  }
  .feedback-list {
    width: 100%;
  }
  .feedback-btn {
    margin-top: 50px;
    top: calc(100% - 150px);
  }
  .promo {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}
@media only screen and (max-width: 580px) {
  .feedback {
    padding-right: 15px;
    padding-left: 15px;
  }
  .feedback-btn__next {
    right: 30px;
  }
}
@media only screen and (max-width: 400px) {
  .composition,
  .feedback,
  .promo {
    margin-bottom: 50px;
  }
  .promo {
    width: 95vw;
    overflow: hidden;
  }
}
.footer {
  background-color: rgba(123, 17, 96, 0.3);
  width: 100vw;
  min-height: 100px;
  padding: 25px 0 50px;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}
.footer-title {
  font-size: 36px;
  text-align: center;
  width: 100%;
}
.footer-timer {
  background-color: #000;
  width: 100%;
  min-height: 100px;
  margin-bottom: 50px;
}

.price {
  width: 25%;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 75px 50px;
  display: grid;
  column-gap: 50px;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(5, 60px);
  align-items: center;
}
.price-photo {
  grid-column: 1/2;
  grid-row: 1/6;
  width: 100%;
  height: auto;
}
.price-new {
  grid-column: 2/3;
  grid-row: 1/4;
}
.price-old {
  grid-column: 2/3;
  grid-row: 4/5;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.price-old:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top right, transparent 49%, red 50%, transparent 51%), linear-gradient(to top left, transparent 49%, red 50%, transparent 51%);
}
.price-title {
  text-align: center;
}
.price-title__new {
  font-size: 30px;
  animation: price-animation 3s ease-in-out infinite;
}
.price-title__old {
  font-size: 16px;
  position: relative;
}

.orderform {
  width: 25%;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 105px 50px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.orderform-input {
  width: 100%;
  min-height: 50px;
}
.orderform-input:focus ~ .example {
  display: inline-block;
}

.label-tel {
  position: relative;
}

.label-name {
  position: relative;
}

.example {
  position: absolute;
  top: 20px;
  right: 0;
  color: #7b1160;
  display: none;
}

.timer {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 48px;
}

@keyframes price-animation {
  from {
    text-shadow: 1px 1px 2px red, 0 0 1em blue, 0 0 0.2em blue;
  }
  50% {
    text-shadow: 2px 2px 5px red, 0 0 1em blue, 0 0 1em blue;
  }
  100% {
    text-shadow: 1px 1px 2px red, 0 0 1em blue, 0 0 0.2em blue;
  }
}
@media only screen and (max-width: 880px) {
  .footer {
    flex-direction: column;
    row-gap: 50px;
    align-items: center;
  }
  .price {
    width: 75vw;
  }
  .orderform {
    width: 75vw;
    row-gap: 30px;
  }
}
.non-displayed {
  display: none;
}

.hidden {
  visibility: hidden;
}