* {
  box-sizing: border-box;
}
body {
  font-family: 'Raleway', sans-serif;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
a {
  text-decoration: none;
  color: inherit;
}
.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 20px;
}

/* header */

.header__container,
.footer__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__logo,
.footer__logo {
  font-size: 22px;
  font-weight: 700;
}
.header__navbar,
.footer__navbar {
  display: flex;
  gap: 20px;
}
.header__navbar-list,
.footer__navbar-list {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  font-weight: 600;
}
.header__navbar-item:hover,
.footer__navbar-item:hover {
  text-decoration: underline;
}

.btn {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  border: none;
  background-color: #de9000;
  padding: 15px 25px;
  border-radius: 20px;
  cursor: pointer;
}
.btn:hover,
.btn:focus {
  background-color: #ebac39;
  transition: 0.5s linear;
}

/* hero */
.hero {
  display: flex;
  height: 100vh;
  text-align: center;
}
.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-basis: 50%;
}
.hero__content h1 {
  font-size: 70px;
  max-width: 400px;
  font-weight: 400;
}
.hero__content p {
  font-size: 18px;
  max-width: 400px;
  padding-bottom: 20px;
}

.hero__table-first-row td {
  text-align: center;
  font-size: 18px;
  padding: 10px 30px;
}
.hero__table-sec-row td {
  font-size: 55px;
  letter-spacing: -3px;
}
.hero__img {
  background-image: url(img/hero-img.jpg);
  background-position: center;
  background-size: cover;
  flex-basis: 50%;
}
/* gallery_____________________ */
.gallery {
  padding-top: 50px;
  padding-bottom: 50px;
}
.gallery__title {
  font-size: 42px;
  line-height: 1.23;
  text-align: center;
  font-weight: 600;
}
.gallery__text {
  font-size: 22px;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  padding-bottom: 70px;
}
.slider__img img {
  max-width: 900px;
  max-height: 700px;
  display: block;
  margin: 0 auto;
}

.slick-dots {
  padding-top: 20px;
  display: flex;
  justify-content: center;
}
.slick-dots button {
  font-size: 0;
  height: 10px;
  width: 10px;
  border-radius: 50%;
  border: none;
  background-color: #383838;
  cursor: pointer;
}
.slick-dots li {
  padding: 0 5px;
}
.slick-active button {
  background-color: #8b8b8b;
}
/* advantages____________________________ */
.advantages {
  padding-top: 105px;
  padding-bottom: 0px;
  background-color: #f7f3ed;
  text-align: center;
}
.advantages img {
  width: 70px;
  height: 70px;
  margin-bottom: 50px;
  animation: img 1s linear infinite alternate;
}
@keyframes img {
  from {
    rotate: -15deg;
  }
  to {
    rotate: 25deg;
  }
}
.advantages__text {
  font-size: 28px;
  line-height: 1.45;
  padding-inline: 100px;
  padding-bottom: 50px;
}
.advantages__list {
  display: flex;
  text-align: left;
  padding: 20px;
  gap: 30px;
}
.advantages__list h3 {
  font-size: 20px;
  padding: 10px 0;
}
.advantages__list p {
  font-size: 16px;
  line-height: 1.4;
}
/* benefits___________________________ */
.benefits .container {
  padding-bottom: 0;
}
.benefits__title {
  font-size: 42px;
  line-height: 1.23;
  text-align: center;
  font-weight: 600;
}
.benefits p {
  font-size: 22px;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  padding-bottom: 70px;
}
.benefits-wrapper {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 40px;
  padding-bottom: 50px;
}
.benefits__list {
  flex-basis: 48%;
  padding: 30px 30px 40px;
  border-radius: 5px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 10px 0px;
}
.benefits__list ul {
  list-style: disc;
  list-style: inside;
}
.benefits__list li {
  padding: 10px 0;
}
.benefits__list h3 {
  font-size: 22px;
  line-height: 1.35;
}
.benefits__bottom img {
  vertical-align: bottom;
  animation: scale 2s ease-in infinite alternate;
}
@keyframes scale {
  from {
    scale: 1;
  }
  to {
    scale: 0.9;
  }
}
/* business-model_______________________ */
.business-model {
  display: flex;
  align-items: end;
  height: 60vh;
  background-image: url(img/section-img.jpg);
  background-size: cover;
  background-position: bottom;
}
.business-model h3 {
  color: #fff;
  font-size: 40px;
  line-height: 1.4;
  max-width: 750px;
}
/* formats________________________ */
.formats {
  padding-bottom: 100px;
}
.formats__title {
  font-size: 42px;
  line-height: 1.23;
  text-align: center;
  font-weight: 600;
}
.formats__text {
  font-size: 22px;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  padding-bottom: 70px;
}
.formats__list {
  display: flex;
  justify-content: space-around;
}
.formats__item img {
  max-width: 360px;
  max-height: 270px;
}
.formats__item h4 {
  padding-bottom: 10px;
}
.formats__item p {
  font-size: 12px;
  line-height: 0.9;
  color: #383838;
}
.formats__item a {
  display: block;
  font-size: 14px;
  margin-top: 30px;
  border: 2px solid #de9000;
  border-radius: 20px;
  padding: 10px 20px;
  width: 150px;
}
.formats__item a:hover {
  background-color: #de9000;
  color: #fff;
  transition: 0.4s linear;
}
/* rebrending__________________ */
.rebrending {
  padding-top: 120px;
  padding-bottom: 160px;
  background-color: #f7f3ed;
}
.rebrending .container {
  padding-top: 0;
  padding-bottom: 0;
}
.rebrendering__flex {
  display: flex;
}
.rebrending__content {
  flex-basis: 50%;
}
.rebrending__title {
  font-weight: 600;
  font-size: 40px;
  line-height: 1.23;
  max-width: 450px;
}
.rebrending__text {
  font-size: 18px;
  line-height: 1.55;
  padding-bottom: 40px;
  max-width: 450px;
}
.rebrending__link {
  color: #de9000;
}
.rebrending__link:hover {
  font-weight: 500;
}
.rebrending__img {
  background-image: url(img/rebrending-1.jpg);
  background-size: 450px auto;
  background-position: left;
  background-repeat: no-repeat;
  flex-basis: 50%;
  position: relative;
}

.rebrending__pic_2 {
  position: absolute;
  bottom: -20%;
  right: 0%;
  width: 360px;
  height: 220px;
}
/* stages________________________ */
.stages {
  padding-top: 120px;
}
.stages .container {
  padding-bottom: 0;
}
.stages__title {
  font-size: 42px;
  line-height: 1.23;
  text-align: center;
  font-weight: 600;
}
.stages__block {
  display: flex;
  gap: 50px;
}
.stages__number {
  position: relative;
}
.stages__number div {
  width: 44px;
  height: 44px;
  background: #222;
  border-radius: 50%;
  color: #fff;
  text-align: center;
  animation: num 1s linear infinite alternate;
}
.stages__number h3 {
  margin-top: 0px;
  padding-top: 10px;
  font-size: 20px;
}
@keyframes num {
  from {
    scale: 0.9;
  }
  to {
    scale: 1.1;
  }
}
.stages__number::before {
  position: absolute;
  top: 44px;
  left: 20px;
  content: '';
  width: 2px;
  height: 100%;
  background: #e8e8e8;
}
.stage-number-last::before {
  height: 0;
}
.stages__text h3 {
  margin-top: 0;
  font-size: 22px;
  line-height: 1.35;
}
.stages__text p {
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 4px;
  max-width: 560px;
  padding-bottom: 100px;
}
.stages__img img {
  vertical-align: bottom;
  animation: scale 2s ease-in infinite alternate;
}
@keyframes scale {
  from {
    scale: 1;
  }
  to {
    scale: 0.9;
  }
}

/* about________________________ */
.about {
  padding-top: 140px;
  position: relative;
}
.about::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  background-image: url(img/about-bg.jpg);
  background-position: center;
}
.about::after {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}
.about__title {
  margin-top: 0;
  margin-bottom: 50px;
  font-size: 42px;
  color: #fff;
  line-height: 1.23;
  text-align: center;
  font-weight: 600;
}
.about__text {
  color: #fff;
  font-size: 18px;
  line-height: 1.55;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding-bottom: 70px;
}
.about__img {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding-bottom: 140px;
}
.about__img img {
  width: 160px;
  height: 40px;
}
.about__img img:hover {
  opacity: 0.7;
}
/* form_________________________________ */
.form {
  display: flex;
  height: 100vh;
}
.form__img {
  background-image: url(img/popup-img.jpg);
  background-position: center;
  background-size: cover;
  flex-basis: 50%;
}
.form__img img {
  height: 100vh;
}
.form__content {
  background-color: #f7f3ed;
  padding: 10px 20px 10px 70px;
  flex-basis: 50%;
}
.form__content h2 {
  font-size: 42px;
  line-height: 1.25;
  padding-bottom: 20px;
  font-weight: 600;
}
.form__content p {
  font-size: 20px;
  padding-bottom: 20px;
}
.form__form input {
  display: block;
  border: none;
  background-color: transparent;
  border-bottom: 1px solid #b3b3b3;
  width: 100%;
  padding: 30px 0;
}
.form__form input:focus {
  outline-color: #8b8b8b;
}
.form input::placeholder {
  font-size: 14px;
  opacity: 0.7;
}
.form__btn {
  display: block;
  margin-top: 30px;
}
/* footer______________________ */
.footer {
  position: relative;
}
.footer__up {
  font-weight: 700;
  position: absolute;
  content: '';
  right: 100px;
  top: 24px;
}

/* media____________________________ */

@media (max-width: 1200px) {
  .hero__content h1 {
    font-size: 60px;
  }
  .hero__table-sec-row td {
    font-size: 40px;
  }

  .benefits__title {
    font-weight: 600;
    font-size: 38px;
  }
  .benefits p {
    padding-bottom: 60px;
  }
  .benefits__list {
    flex-basis: 45%;
  }
  .benefits__list h3 {
    font-size: 20px;
  }
  .benefits__list li {
    font-size: 14px;
    padding: 5px 0;
  }
  .formats {
    padding-bottom: 80px;
  }
  .formats__item img {
    max-width: 280px;
    max-height: 200px;
  }

  .rebrending {
    padding-top: 100px;
    padding-bottom: 150px;
  }
  .rebrending .container {
    max-width: 900px;
  }
  .rebrendering__flex {
    gap: 10px;
  }
  .rebrending__img {
    background-size: 350px auto;
    background-position: center;
  }

  .rebrending__pic_2 {
    position: absolute;
    bottom: -10%;
    width: 300px;
    height: 210px;
  }

  .form__content h2 {
    font-size: 36px;
  }
}

@media (max-width: 900px) {
  .hero {
    flex-direction: column;
  }
  .hero__content h1 {
    font-size: 45px;
    margin-bottom: 0;
  }
  .hero__content p {
    margin-bottom: 0;
  }

  .advantages {
    padding-top: 60px;
  }
  .advantages img {
    margin-bottom: 30px;
  }

  .advantages__text {
    padding-bottom: 0px;
  }
  .advantages__list {
    display: block;
  }
  .benefits__list {
    flex-basis: 70%;
  }
  .formats {
    padding-bottom: 50px;
  }
  .formats__text {
    padding-bottom: 30px;
  }
  .formats__list {
    flex-direction: column;
  }
  .formats__item h4 {
    padding-bottom: 0;
  }
  .formats__item a {
    margin-top: 0;
    margin-bottom: 10px;
  }
  .formats__item img {
    max-height: 450px;
    min-width: 100%;
  }
  .rebrendering__flex {
    flex-direction: column;
  }

  .rebrending {
    padding-top: 70px;
    padding-bottom: 130px;
  }

  .rebrending__title {
    font-size: 38px;
    max-width: 550px;
  }
  .rebrending__text {
    max-width: 550px;
  }
  .rebrending__content {
    padding-bottom: 40px;
  }
  .rebrending__img {
    min-height: 50vh;
    background-image: url(img/rebrending-1.jpg);
    background-size: 80% auto;
    background-position: center;
  }
  .rebrending__pic_2 {
    position: absolute;
    bottom: -20%;
    right: 25%;
    width: 360px;
    height: 220px;
  }

  .form {
    flex-direction: column;
  }
  .form__content {
    padding-left: 20px;
  }
  .footer {
    padding: 10px 0;
  }
  .footer__logo {
    display: none;
  }
  .footer__container {
    justify-content: center;
  }
  .footer__up {
    font-weight: 700;
    position: absolute;
    content: '';
    right: 50px;
    top: 29px;
  }
}
@media (max-width: 600px) {
  .header__container,
  .header__navbar,
  .header__navbar-list {
    flex-direction: column;
  }
  .header__navbar {
    padding-top: 100px;
  }
  .header__navbar-btn {
    margin-top: 50px;
  }
  .hero__content h1 {
    font-size: 35px;
    max-width: 320px;
    padding: 0 10px;
  }
  .hero__table-first-row td {
    padding: 10px;
    font-size: 14px;
  }
  .hero__table-sec-row td {
    font-size: 40px;
  }
  .slider__img img {
    max-width: 600px;
    max-height: 300px;
  }

  .advantages {
    padding-top: 50px;
  }
  .advantages__text {
    padding-inline: 20px;
    font-size: 22px;
  }
  .advantages__list {
    text-align: center;
  }
  .benefits-wrapper {
    gap: 20px;
    padding-bottom: 10px;
  }
  .benefits__list {
    flex-basis: 100%;
  }
  .benefits__list h3 {
    font-size: 18px;
  }
  .benefits__title {
    font-size: 30px;
  }
  .benefits p {
    padding-bottom: 40px;
    font-size: 20px;
  }
  .formats {
    padding-bottom: 20px;
  }

  .rebrending {
    padding-top: 30px;
    padding-bottom: 500px;
  }

  .rebrending__title {
    font-size: 36px;
    max-width: 450px;
  }
  .rebrending__text {
    max-width: 450px;
  }
  .rebrending__img {
    min-height: 50vh;
    background-image: url(img/rebrending-1.jpg);
    background-size: 100% auto;
    background-position: center;
  }
  .rebrending__pic_2 {
    position: relative;
    top: 470px;
    left: 0px;
    width: 100%;
    height: 450px;
  }
  .stages {
    padding-top: 30px;
  }
  .stages__title {
    font-size: 32px;
  }
  .stages__block {
    gap: 30px;
    margin-bottom: 40px;
  }
  .stages__text p {
    padding-bottom: 30px;
  }
  .stages__text p {
    max-width: 320px;
  }

  .about {
    padding-top: 50px;
  }
  .about__title {
    font-size: 38px;
  }
  .about__text {
    font-size: 16px;
  }
  .about__img {
    flex-wrap: wrap;
    padding-bottom: 50px;
  }

  .form__content h2 {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.4;
  }
  .footer__container {
    display: block;
  }
  .footer__navbar {
    justify-content: center;
  }
  .footer__arrow {
    display: block;
    position: initial;
    text-align: center;
    padding-top: 20px;
  }
  .footer__up {
    position: initial;
  }
}
