@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Roboto", sans-serif;
  background-color: #1c1c1c;
  color: #fff;
}

a {
  color: #fff;
  text-decoration: none;
}

p {
  margin: 0;
}

p + p {
  margin-top: 15px;

  /*
  Для случаев, когда в контейнере будет не только 1 абзац (p)
  */
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 500;
  margin: 0px;
}

img {
  max-width: 100%;

  /*
  Мы это указываем, потому что изображения по умолчанию выпадают из контейнеров
  */
}

.container {
  box-sizing: border-box;

  max-width: 1170px;
  margin-right: auto;
  margin-left: auto;
  padding: 0 15px;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 165px;
  height: 50px;

  font-weight: 500;
  font-size: 16px;
  text-transform: uppercase;

  background: #f6762c;
  border-radius: 5px;

  transition: opacity 0.3s;
}

.btn:hover {
  opacity: 0.8;
}

.btn--small {
  width: 140px;
  height: 40px;
  font-size: 12px;
}

.header {
  position: relative;
  z-index: 10;

  /*
  Зет-индекс позволяет выбирать, какой элемент будет ближе к нам по оси z. Чтобы его использовать,
  нужно изменить позиционирования по умолчания с "static" на какое-нибудь другое
  */

  padding: 25px 0;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__logo {
}

.header__nav {
}

.header__list {
  display: flex;
  gap: 30px;
}

.header__nav a {
  font-size: 14px;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.header__nav a.active {
  opacity: 1;
}

.header__nav a:hover {
  opacity: 0.95;
}

.main {
}

.welcome {
  box-sizing: border-box;
  min-height: 100vh;

  margin-top: -100px;
  padding: 240px 0;

  background-image: url("./Images\ for\ landing/welcome-bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.welcome__text {
  width: 550px;
}

.welcome__subtitle {
  margin-bottom: 7px;
  font-size: 14px;
  letter-spacing: 0.1em;
}

.welcome__title {
  font-size: 58px;
}

.welcome__desc {
  margin: 40px 0;
  font-size: 18px;
  opacity: 0.7;
}

/*Список еды*/

.food-list {
  padding: 100px 0;
}

.food-list .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px 10px;
}

.container {
}

.food-list__card {
  width: 260px;

  overflow: hidden;
  text-align: center;

  background: #312f30;
  border-radius: 10px;
}

.food-list__img {
  width: 100%;
  height: 175px;
  object-fit: cover;
}

.food-list__text-wrapper {
  padding: 30px 20px;
}

.food-list__title {
  font-size: 20px;
  margin-bottom: 15px;
}

.food-list__desc {
  font-size: 16px;
  opacity: 0.7;
}

/*Order*/

.order {
  background: #312f30;
  padding: 60px 0;
}

.order .container {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding-right: 90px;
}

.order__img {
  max-width: 470px;
}

.order__text {
  max-width: 360px;
}

.order__title {
  margin-bottom: 25px;
  font-size: 44px;
}

.order__desc {
  margin-bottom: 15px;
  opacity: 0.7;
}

.order__price {
  font-weight: 500; /*Указываем, так как у нас уже новый элемент "span"*/
  font-size: 20px;
  letter-spacing: 0.1em;

  color: #f6762c;
}

.order__price--old {
  font-size: 16px;
  text-decoration-line: line-through;
  opacity: 0.5;
}

.order__price + .order__price {
  margin-left: 3px;
}

.order .btn {
  margin-top: 10px;
}

/*Product Section*/

.product {
  padding: 150px 0;
}

.product .container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.product__card {
  box-sizing: border-box;

  width: 555px;
  min-height: 300px;

  padding: 60px 25px 60px 290px;

  background-color: #4b3a3a;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.product__card:nth-child(even) {
  padding-left: 30px;
  padding-right: 290px;
}

.product__title {
  margin-bottom: 20px;
  font-size: 30px;
}

.product__desc {
  margin-bottom: 10px;
  opacity: 0.7;
}

.product__price {
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #f6762c;
}

.product__price + .product__price {
  margin-left: 5px;
}

.product__price--old {
  text-decoration: line-through;
  opacity: 0.5;
}

.product .btn {
  margin-top: 10px;
}

.card-queen {
  background-image: url(./Images\ for\ landing/product-1.jpg);
}

.card-hut {
  background-image: url(./Images\ for\ landing/product-2.jpg);
}

.card-king {
  background-image: url(./Images\ for\ landing/product-3.jpg);
}

.card-papa {
  background-image: url(./Images\ for\ landing/product-4.jpg);
}

/*Feedback*/

.feedback {
  padding-bottom: 200px;
}

.feedback .container {
  display: flex;
  align-items: center;
  justify-content: space-between;

  max-width: 880px;
}

.feedback__img {
}

.feedback__text {
  margin: 0;
  width: 370px;
  text-align: center;

  /* display: flex;
  flex-direction: column; */
}

.feedback__text::before {
  content: url("./Images\ for\ landing/icons/qoute.svg");
}

.feedback__desc {
  opacity: 0.7;
  margin: 30px 0;
}

.feedback__author {
  font-style: normal;
  font-weight: 500;
  font-size: 24px;
}

.feedback__subauthor {
  font-weight: 500;
  font-size: 12px;
  opacity: 0.7;

  display: block;
}

/*Download Menu*/

.donwload {
  padding: 60px 0;
  background-color: #312f30;
}

.donwload .container {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.download__title {
  font-weight: 500;
  font-size: 40px;
}

/*Footer*/

.footer {
  padding: 120px 0;
}

/* .footer a {
  font-size: 12px;
}

.footer .footer__title a {
  color: rgba(255, 255, 255, 0.8);
  transition: 0.2s color;
}

.footer .footer_title a:hover {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.footer__list-item {
  font-size: 12px;
}

.footer__list-item a:hover {
  color: rgba(255, 255, 255, 0.9);
} */

.footer__link {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  transition: 0.2s color;
}

.footer__link:hover {
  color: rgba(255, 255, 255, 1);
}

.footer__list-title a {
  transition: 0.3s color;
}

.footer__list-title a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.footer__list-item a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  transition: 0.2s color;
}

.footer__list-item a:hover {
  color: rgba(255, 255, 255, 1);
}

.footer__contacts .footer__link a:hover {
  color: rgba(255, 255, 255, 1);
}

.footer .footer__title {
  display: inline-block;
  margin-bottom: 15px;
  font-weight: 500;
  font-size: 16px;
  color: #fff;
}

.footer .container {
  display: grid;
  grid-template-columns: 1fr 3fr 1fr;
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer__logo {
  display: inline-block;
  width: 70px;
  margin-bottom: 20px;
}

.footer__link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__link + .footer__link {
  margin-top: 5px;
}

.footer__link::before {
  width: 12px;
  height: 12px;
}

.footer__link-mail::before {
  content: url("./Images\ for\ landing/icons/mail.svg");
}

.footer__link-web::before {
  content: url("./Images\ for\ landing/icons/global.svg");
}

.footer__nav {
}

.footer_list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.footer__list-title {
}

.footer_inner-list {
}

.footer__list-item + .footer__list-item {
  margin-top: 15px;
}

.footer__socials {
}

.footer__socials-icons {
}

.welcome__desc {
  max-width: 80%;
}

.welcome__title {
  max-width: 88%;
}

.footer__socials-link + .footer__socials-link {
  margin-left: 8px;
}

@media (max-width: 1100px) {
  .welcome__desc {
    opacity: 1;
  }

  .food-list .container {
    justify-content: space-around;
  }

  .product {
    padding: 80px 0;
    padding-bottom: 100px;
  }

  .feedback {
    padding-bottom: 110px;
  }

  .footer {
    padding-bottom: 80px;
  }

  .welcome .container {
    padding: 0 25px;
  }

  .header__nav a {
    font-size: 15px;
  }
}

@media (max-width: 1000px) {
  .welcome__desc {
    max-width: 66%;
  }

  .order__img {
    max-width: 410px;
  }

  .welcome__title {
    max-width: 88%;
    font-size: 42px;
  }
}

@media (max-width: 950px) {
  .order .container {
    flex-direction: column;
    padding-right: 15px;
  }

  .order__text {
    text-align: center;
  }

  .order .btn {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 850px) {
  .food-list .container {
    justify-content: space-evenly;
  }

  .food-list {
    padding: 60px 0;
  }

  .welcome::before {
    background-color: rgb(0 0 0 / 68%);
  }

  .footer .container {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    grid-template-areas:
      "nav        nav"
      "contacts   socials";

    justify-items: center;
    gap: 40px 150px;
  }

  .footer__contacts {
    grid-area: contacts;
    justify-self: end;
  }

  .footer__nav {
    grid-area: nav;
  }

  .footer__socials {
    grid-area: socials;
    align-self: center;
    justify-self: start;
  }

  .footer_list {
    gap: 80px;
  }

  .feedback {
    padding-bottom: 100px;
  }

  .footer {
    padding: 50px 0;
  }

  .welcome {
    position: relative;
  }

  .welcome .container {
    position: relative;
    z-index: 10;
  }

  .welcome::before {
    content: "";
    /* background-color: rgba(0, 0, 0, 0.5); */
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
  }
}

@media (max-width: 650px) {
  .header .btn {
    display: none;
  }

  .feedback__img {
    width: 200px;
  }

  .download__title {
    font-size: 24px;
  }

  .welcome {
    padding: 150px 0 100px;
    min-height: auto;
  }

  .welcome__text {
    width: 100%;
  }

  .welcome__title {
    max-width: 57%;
  }

  .welcome__desc {
    margin: 20px 0;
    font-size: 16px;
    max-width: 50%;
  }

  .product {
    padding: 60px 0 100px;
  }

  .product__card {
    width: 100%;

    padding-left: 50%;
  }

  .product__card:nth-child(even) {
    padding-right: 50%;
  }

  .welcome::before {
    background-color: rgb(0 0 0 / 84%);
  }

  /* */
}

@media (max-width: 500px) {
  .header .container {
    flex-direction: column;
    gap: 10px;
  }

  .header__list {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .welcome {
    margin-top: -240px;
    padding-top: 280px;
    padding-bottom: 80px;
  }

  .welcome__title {
    font-size: 30px;
  }

  .welcome__desc {
    font-size: 12px;
  }

  .food-list {
    padding: 60px 0;
  }

  .order__title {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .order__img {
    width: 80%;
  }

  .product,
  .feedback {
    padding-bottom: 60px;
  }

  .feedback .container {
    flex-direction: column;
  }

  .feedback__img {
    padding-bottom: 50px;
  }

  .donwload .container {
    flex-direction: column;
    gap: 20px;
  }

  .footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer__contacts {
    align-items: center;
  }

  .footer_list {
    gap: 35px;
  }

  .footer__socials-icons {
    display: flex;
    justify-content: center;
  }

  .feedback__author {
    font-size: 18px;
  }

  .feedback__desc {
    font-size: 14px;
  }

  .product__card {
    padding-left: 30px;
  }

  .product__card:nth-child(even) {
    padding-right: 30px;
  }

  .product__desc {
    opacity: 1;
  }

  .product__card {
    position: relative;

    text-align: center;
  }

  .product .btn {
    margin-left: auto;
    margin-right: auto;
  }

  .product__card > * {
    position: relative;
    z-index: 10;
  }

  .feedback__text {
    width: 90%;
  }

  .donwload {
    padding: 40px 0;
  }

  .welcome__text {
    text-align: center;
  }

  .welcome .btn {
    margin-left: auto;
    margin-right: auto;
  }

  .welcome__text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .welcome__desc {
    font-size: 15px;
    max-width: 80%;
  }

  .order__img {
    width: 60%;
  }

  .product__card::before {
    content: "";
    background-color: rgb(0 0 0 / 69%);
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
  }

  .footer__link {
    font-size: 14px;
  }

  .welcome__title {
    max-width: 76%;
  }
}

@media (max-width: 500px) {
  .welcome__desc {
    max-width: 90%;
  }
}
