/*Header adaptive*/

@media (max-width: 1100px) {
  .header {
    padding-top: 35px;
    padding-bottom: 35px;
  }
  .menu__list {
    gap: 50px;
  }
}

@media (max-width: 890px) {
  .header {
    padding-top: 29px;
    padding-bottom: 29px;
  }
  .menu__list {
    gap: 35px;
  }
}

@media (max-width: 850px) {
  .header__container {
    flex-wrap: wrap;
  }
  .header__logo {
    margin-bottom: 10px;
  }
  .header__menu {
    margin-bottom: 10px;
  }
  .menu__list {
    gap: 70px;
  }

  .header__buttons {
    margin: 0 auto;
    gap: 10px;
  }
}

@media (max-width: 767.98px) {
  .menu-burger {
    display: flex;
    position: relative;
    z-index: 1002;
  }

  .button {
    font-size: 16px;
    padding: 10px 40px;
  }

  .header__shop {
    width: 35px;
    height: 35px;
  }

  .header__shop img {
    width: 20px;
    height: 20px;
  }

  .header__container {
    gap: 10px;
  }

  .header__logo {
    margin: 0;
    margin-bottom: 0px;
    flex: 1 1 auto;
  }
  .logo {
    width: 113px;
    height: 26px;
  }

  .header__buttons {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .header__actions {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .header__menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    right: auto;
    margin-bottom: 0px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1001;
  }

  .header__menu.active {
    transform: translateX(0);
  }

  .menu__body {
    margin-bottom: 20px;
  }

  .menu__list {
    flex-direction: column;
    width: 100%;
    text-align: center;
    gap: 15px;
  }

  .menu__link {
    font-size: 16px;
  }

  .menu__link::after {
    content: "";
    top: 21px;
  }

  .menu-burger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(11px);
  }
  .menu-burger.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-burger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-10px);
  }
}

@media (max-width: 600px) {
  .form__name,
  .form__email,
  .form__password {
    font-size: 16px;
  }

  .form__password {
    margin-bottom: 10px;
  }
}

@media (max-width: 500px) {
  .form__name,
  .form__email,
  .form__password {
    font-size: 14px;
  }
}

@media (max-width: 400px) {
  .button {
    font-size: 14px;
    padding: 8px 20px;
  }
}

@media (max-width: 500px) {
  .modal__title {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .modal__text {
    font-size: 16px;
  }
  .modal-close {
    font-size: 30px;
  }
}

@media (max-width: 400px) {
  .modal__title {
    font-size: 16px;
    margin-bottom: 10px;
  }
}

/*Section Home*/

@media (max-width: 1540px) {
  .image-pizza {
    top: -110px;
    right: -70px;
  }
}

@media (max-width: 1460px) {
  .image-pizza {
    top: -150px;
    right: -60px;
  }
}

@media (max-width: 1065px) {
  .home__container {
    flex-direction: column-reverse;
    gap: 60px;
  }

  .home__pizza {
    display: none;
  }

  .image-pizza {
    width: 250px;
    height: 270px;
    top: -100px;
    right: -80px;
  }

  .image-potatoFree {
    width: 250px;
    height: 270px;
    left: -80px;
    bottom: -30px;
  }
}

@media (max-width: 767.98px) {
  .home__container {
    gap: 48px;
  }
  .icon-arrow,
  .content__icon-arrow {
    display: none;
  }
  .home__title {
    max-width: 430px;
    margin-bottom: 30px;
  }

  .title {
    font-size: 48px;
  }

  .home__text {
    margin-bottom: 20px;
  }
  .text {
    font-size: 20px;
  }

  .item-content__text {
    margin-bottom: 15px;
  }
  .item-content__video {
    margin-bottom: 20px;
  }
}

@media (max-width: 550px) {
  .main__home {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .home__container {
    gap: 20px;
  }

  .home__title {
    max-width: 343px;
    margin-bottom: 20px;
  }

  .title {
    font-size: 38px;
  }

  .home__text {
    margin-bottom: 15px;
  }
  .text {
    font-size: 14px;
  }

  .item-content__text {
    margin-bottom: 10px;
  }
  .item-content__video {
    width: 192px;
    margin-bottom: 20px;
  }
  .item-content__play {
    width: 57px;
    height: 57px;
    padding: 20px 20px;
    border-radius: 50%;
    background-color: #1d0800;
    transform: translate(-50%, -50%);
    z-index: 2;
    cursor: pointer;
    transition: all 0.2s ease 0.2s;
  }

  .item-content__play:hover {
    width: 47px;
    height: 47px;
    padding: 15px 15px;
    background: #c57915;
  }

  .item-content__play img {
    width: 20px;
    height: 20px;
  }

  .home__buttons {
    gap: 5px;
  }

  .image-pizza {
    width: 160px;
    height: 160px;
    top: -50px;
    right: -10px;
  }

  .image-potatoFree {
    width: 140px;
    height: 148px;
    left: -40px;
    bottom: -30px;
  }
}

@media (max-width: 510px) {
  .home__text {
    margin-bottom: 37px;
  }

  .item-content__video {
    margin-bottom: 0px;
  }

  .home__buttons {
    margin-bottom: 30px;
  }
}

@media (max-width: 403px) {
  .home__title {
    max-width: 270px;
  }

  .home__title img {
    width: 30px;
    height: 50px;
  }

  .title {
    font-size: 30px;
  }

  .image-pizza {
    width: 100px;
    height: 100px;
    top: 0px;
    right: 0px;
  }

  .image-potatoFree {
    width: 110px;
    height: 118px;
    left: 0px;
    bottom: 0px;
  }
}

/*Section Menu*/

@media (max-width: 1300px) {
  .menu__items1,
  .menu__items2 {
    flex-wrap: wrap;
  }
}

@media (max-width: 1200px) {
  .menu__tabs {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 25px;
  }
}

@media (max-width: 767.98px) {
  .menu__menu {
    display: none;
  }
  .menu__title {
    margin-bottom: 23px;
  }
  .menu__tabs {
    gap: 20px;
  }

  .tabs__button {
    font-size: 16px;
    padding: 12px 50px;
  }

  .menu__image-bg {
    height: 175px;
  }

  .image-bg__title {
    font-size: 30px;
  }

  .content__product {
    padding: 0px 15px 20px 15px;
    width: 230px;
  }

  .product__image {
    max-width: 260px;
    margin: 0 auto;
  }

  .product__image img {
    max-width: 100%;
  }

  .product__title {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .product__text {
    margin-bottom: 15px;
  }

  .product__text p {
    font-size: 12px;
    line-height: 1.4;
    max-width: 229px;
  }

  .product__buttons-size {
    margin-bottom: 20px;
    justify-content: center;
    gap: 30px;
  }

  .button-size {
    width: 40px;
    height: 40px;
    font-size: 10px;
  }

  .product__button-ingridients {
    position: relative;
    margin: 0 auto;
    margin-bottom: 25px;
    max-width: 297px;
  }

  .product__info {
    margin-bottom: 22px;
  }

  .info-product__price {
    font-size: 20px;
  }

  .info-product__buttons {
    display: flex;
    gap: 10px;
    align-items: center;
  }

  .info-product__quantity {
    font-size: 20px;
  }

  .info-product__button-minus,
  .info-product__button-plus {
    width: 23px;
    height: 23px;
    font-size: 10px;
  }

  .basket-item {
    gap: 20px;
    font-size: 20px;
    margin-bottom: 7px;
  }

  .basket-item__btn-delete {
    font-size: 30px;
  }
}

@media (max-width: 595px) {
  .menu__tabs {
    margin-bottom: 40px;
  }

  .menu__image-bg {
    max-width: 1000px;
    height: 150px;
    padding: 0px 50px;
    margin-bottom: 50px;
  }

  .image-bg__title {
    font-size: 25px;
  }
}

@media (max-width: 550px) {
  .basket-item {
    font-size: 16px;
    padding: 5px;
    margin-bottom: 7px;
  }
}

@media (max-width: 451px) {
  .menu__tabs {
    gap: 6px;
  }

  .tabs__button {
    font-size: 12px;
    padding: 8px 20px;
  }

  .menu__image-bg {
    max-width: 900px;
    height: 140px;
    padding: 0px 30px;
  }

  .image-bg__title {
    font-size: 25px;
  }

  .basket-item {
    font-size: 12px;
  }
}

@media (max-width: 380px) {
  .menu__image-bg {
    padding: 0px 20px;
  }

  .image-bg__title {
    font-size: 20px;
  }

  .basket-item {
    font-size: 12px;
  }
}

@media (max-width: 340px) {
  .menu__tabs {
    gap: 6px;
  }

  .tabs__button {
    font-size: 10px;
    padding: 7px 15px;
  }

  .basket-item {
    font-size: 10px;
  }
}

/*Section Events*/

@media (max-width: 1090px) {
  .events__container {
    gap: 20px;
  }
  .events__items {
    flex-wrap: wrap;
  }

  .items-events1 {
    display: flex;
    justify-content: center;
    flex-direction: column-reverse;
  }

  .events__content {
    display: flex;
    flex-direction: column;
    text-align: center;
  }

  .items-events2 {
    display: flex;
    justify-content: center;
    gap: 20px;
  }

  .item-events {
    display: flex;
    justify-content: center;
    gap: 20px;
  }
  .events__title {
    margin-bottom: 10px;
  }
}

@media (max-width: 767.98px) {
  .events1,
  .events2 {
    display: none;
  }

  .image-EggAndBacon {
    width: 150px;
    width: 150px;
    top: 120px;
    left: 0px;
    z-index: 2;
  }

  .image-Buritto {
    width: 150px;
    width: 150px;
    top: 100px;
    right: -30px;
    z-index: 2;
  }

  .image-Coffee {
    width: 150px;
    width: 150px;
    left: 30px;
    bottom: -50px;
  }
}

@media (max-width: 650px) {
  .image-Coffee {
    left: 50px;
    bottom: -90px;
    z-index: 2;
  }
}

@media (max-width: 550px) {
  .image-EggAndBacon {
    width: 100px;
    width: 100px;
    top: 120px;
    left: 20px;
    z-index: 2;
  }

  .image-Buritto {
    width: 100px;
    width: 100px;
    top: 50px;
    right: -30px;
    z-index: 2;
  }

  .image-Coffee {
    width: 100px;
    width: 100px;
    left: -10px;
    bottom: -40px;
    z-index: 2;
  }
}

@media (max-width: 500px) {
  .item-events__content {
    text-align: center;
  }

  .item-events__title {
    font-size: 18px;
    max-width: 300px;
    margin-bottom: 10px;
    margin: 0 auto;
  }

  .item-events__button {
    text-align: center;
    width: 150px;
    margin: 0 auto;
  }
}

@media (max-width: 400px) {
  .image-EggAndBacon {
    width: 80px;
    width: 80px;
    top: 120px;
    left: 20px;
    z-index: 2;
  }

  .image-Buritto {
    width: 80px;
    width: 80px;
    top: 50px;
    right: -30px;
    z-index: 2;
  }

  .image-Coffee {
    width: 80px;
    width: 80px;
    left: -10px;
    bottom: -40px;
    z-index: 2;
  }
}

/*Section Events*/

@media (max-width: 1340px) {
  .aboutUs__arrow {
    display: none;
  }
}

@media (max-width: 1100px) {
  .aboutUs__container {
    flex-direction: column-reverse;
    gap: 20px;
  }
}

@media (max-width: 767.98px) {
  .aboutUs1,
  .aboutUs2 {
    display: none;
  }

  .aboutUs-content__title,
  .aboutUs-content__image {
    margin-bottom: 20px;
  }

  .aboutUs-pizza {
    width: 150px;
    width: 150px;
    top: 30px;
    right: 50px;
  }

  .aboutUs-potatoFree {
    width: 150px;
    width: 150px;
    bottom: 50px;
    left: 50px;
  }
}

@media (max-width: 600px) {
  .aboutUs-pizza {
    width: 100px;
    width: 100px;
    top: -10px;
    right: -20px;
  }

  .aboutUs-potatoFree {
    width: 100px;
    width: 100px;
    bottom: 10px;
    left: -20px;
  }
}

/*Footer*/

@media (max-width: 1250px) {
  .footer__items1 {
    justify-content: center;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 48px;
  }
}

@media (max-width: 1000px) {
  .footer {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .footer-content__items {
    flex-wrap: wrap;
    gap: 100px;
  }
}

@media (max-width: 600px) {
  .footer__container {
    gap: 67px;
  }

  .footer-content__items {
    gap: 47px;
  }

  .item-footer__title {
    font-size: 16px;
  }

  .item-footer__link {
    font-size: 14px;
  }

  .number__link {
    font-size: 16px;
  }

  .footer__links {
    gap: 10px;
  }
}
