/*Normalize*/
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  line-height: 1.2;
  color: #212529;
  margin: 0;
}

main {
  display: block;
}

h1 {
  font-size: 2em;
  font-weight: 300;
}

h2,
h3 {
  font-weight: 300;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

a {
  background-color: transparent;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

b,
strong {
  font-weight: bolder;
}

code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

img {
  border-style: none;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
  appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

progress {
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

[type="search"] {
  -webkit-appearance: textfield;
  appearance: textfield;
  outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

details {
  display: block;
}

summary {
  display: list-item;
}

template {
  display: none;
}

[hidden] {
  display: none;
}

/*Main styles*/

.container {
  max-width: 1170px;
  width: 100%;
  padding: 0 15px;
  margin: 0 auto;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #687ced;
  padding: 10px 0;
  z-index: 1000;
}

.header__wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.header__btn {
  display: inline-block;
  font-size: 18px;
  color: black;
  text-decoration: none;
  background: #ffca2c;
  border-radius: 10px;
  transition: all .3s ease-in-out;
  padding: 5px 10px;
  margin: 0 auto;
}

.header__btn:hover {
  background: #fab803;
}

.intro {
  background: #4545c1;
  padding-top: 80px;
  padding-bottom: 30px;
}

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

.intro__title {
  font-size: 24px;
  color: white;
  margin-bottom: 15px;
}

.intro__picture {
  position: relative;
  max-width: 520px;
  width: 100%;
  margin-bottom: 15px;
}

.intro__img {
  width: 100%;
}

.intro__text-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: absolute;
  bottom: 20px;
  left: 20px;
}

.intro__text {
  display: inline-block;
  color: white;
  background: #687ced;
  padding: 5px 10px;
}

.intro__text--top {
  position: absolute;
  top: 5px;
  left: 50%;
  border-radius: 5px;
  background: #4545c1;
  transform: translateX(-50%);
}

.intro__text--attention {
  font-size: 24px;
  background: #dc3545;
}

.intro__description {
  color: black;
  line-height: 1.5;
  text-align: center;
  background: white;
  max-width: 520px;
  width: 100%;
  padding: 10px;
}

.feedback {
  background: #dadaf3;
  padding: 30px 0;
}

.feedback__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.feedback__title {
  font-size: 40px;
  margin-bottom: 15px;
}

.feedback .awards {
  margin-bottom: 15px;
}

.awards {
  display: flex;
  justify-content: center;
  align-items: center;
}

.awards__item {
  width: 90px;
  height: 90px;
}

.awards picture:not(:last-of-type) {
  margin-right: 5px;
}

.comments {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin-bottom: 30px;
}

.comments__item {
  width: 50%;
  background: white;
  box-shadow: 0 5px 10px rgba(0, 0, 0, .15);
  padding: 15px;
}

.comments__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.comments__stars {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 10px;
}

.comments__star {
  display: block;
  width: 25px;
  height: 25px;
  background: url("../images/star.svg") no-repeat center / contain;
}

.comments__star:not(:last-of-type) {
  margin-right: 3px;
}

.comments__text {
  text-align: center;
}

.collage {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
}

.collage__item {
  width: calc(100% / 3);
  background: white;
  box-shadow: 0 5px 10px rgba(0, 0, 0, .15);
  padding: 10px;
}

.collage__iframe {
  width: 100%;
  height: 100%;
}

.collage__img {
  width: 100%;
}

.diet {
  background: #b5b5e7;
  padding: 30px 0;
}

.diet__title {
  font-size: 40px;
  text-align: center;
  margin-bottom: 15px;
}

.benefits {
  list-style: none;
  background: white;
  box-shadow: 0 5px 10px rgba(0, 0, 0, .15);
  padding: 15px;
}

.benefits__item {
  min-height: 30px;
  padding-left: 40px;
  position: relative;
}

.benefits__item:not(:last-of-type) {
  border-bottom: 1px solid #dee2e6;
  padding-bottom: 5px;
  margin-bottom: 5px;
}

.benefits__item::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  flex-shrink: 0;
  width: 25px;
  height: 25px;
  background: #4545c1 url("../images/checkmark-white.svg") no-repeat center / 50%;
  border-radius: 50%;
  margin-right: 10px;
}

.outro {
  padding: 30px 0;
}

.form {
  max-width: 540px;
  width: 100%;
  background: #dadaf3;
  border-radius: 5px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, .15);
  padding: 15px;
  margin: 0 auto 15px;
}

.form__title {
  margin-bottom: 15px;
  font-size: 35px;
  text-align: center;
  text-transform: uppercase;
}

.form__field {
  position: relative;
}

.form__field:not(:last-of-type) {
  margin-bottom: 10px;
}

.form__field:last-of-type {
  margin-bottom: 15px;
}

.form__label {
  font-size: 14px;
  width: 100%;
  opacity: .65;
  position: absolute;
  top: 10px;
  left: 10px;
  pointer-events: none;
}

.form__input {
  font-weight: 400;
  border: 1px solid #ced4da;
  border-radius: 10px;
  padding: 30px 10px 10px;
  width: 100%;
}

.form__input:focus {
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, .25);
}

.form .benefits {
  background: none;
  box-shadow: none;
  padding: 0;
  margin-bottom: 15px;
}

.form .benefits__item:not(:last-of-type) {
  border: none;
  margin-bottom: 10px;
}

.form__btn {
  display: block;
  font-size: 20px;
  font-weight: 400;
  text-align: center;
  text-transform: uppercase;
  color: white;
  background: #2378a3;
  border: none;
  border-radius: 10px;
  width: 100%;
  padding: 15px;
  cursor: pointer;
  transition: all .3s ease-in-out;
}

.form__btn:hover {
  background: #1a5a7a;
}

.price {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.price__item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.price__item:not(:last-of-type) {
  margin-right: 20px;
}

.price__title {
  font-size: 35px;
  font-weight: 400;
  text-align: center;
  margin-bottom: 5px;
}

.price__amount {
  font-size: 40px;
  font-weight: 700;
  color: #198756;
}

.price__amount--old {
  text-decoration: line-through;
  color: #acadc1;
}

.footer {
  text-align: center;
  color: white;
  background: #687ced;
  padding: 15px 0;
}

.terms {
  margin-bottom: 15px !important;
  text-align: center !important;
  font-size: 16px !important;
  line-height: 1.4;
}

.order__info {
  margin-top: 15px;
  margin-bottom: 0 !important;
  font-size: 14px !important;
  text-align: center !important;
  line-height: 1.3 !important;
  color: #8597a3;
}

.ro-notes {
  max-width: 900px;
  margin: 0 auto 15px !important;
  font-size: 14px !important;
  text-align: center;
  color: #dcdcdc !important;
}

@media (max-width: 639px) {
  .comments {
    flex-direction: column;
  }

  .comments__item {
    width: 100%;
  }
}

@media (max-width: 479px) {
  .intro__text--attention {
    font-size: 20px;
  }


  .feedback__title,
  .diet__title,
  .form__title {
    font-size: 32px;
  }

  .price__title {
    font-size: 24px;
  }

  .price__amount {
    font-size: 30px;
  }

  .collage {
    max-width: 250px;
  }

  .collage__item {
    width: 100%;
  }

  .collage__item--video {
    height: 395px;
  }
}