/*Adaptive Header*/

@media (max-width: 767px) {
  .header {
    padding: 34px 0px;
  }
  .header__container {
    gap: 65px;
  }

  .header__logo {
    flex: 1 1 auto;
  }

  .menu-burger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
  }

  .header__menu {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    background: #121517;
    padding: 20px 0;
    transition: all 0.3s ease;
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
  }

  .header__menu.active {
    visibility: visible;
    opacity: 1;
  }

  .menu__list {
    flex-direction: column;
    gap: 15px;
    align-items: center;
    padding: 120px;
  }

  .menu__link {
    font-size: 22px;
  }

  .menu-burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 4px);
  }

  .menu-burger.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -4px);
  }

  .menu-burger span {
    transition: all 0.3s ease;
  }
}

@media (max-width: 540px) {
  .header {
    padding: 25px 0px;
  }

  .header__container {
    padding: 0px 40px;
  }

  .logo-link img {
    width: 100px;
  }

  .menu__link {
    font-size: 17px;
  }
}

/*==================================*/

/*Adaptive for buttons*/

@media (max-width: 1120px) {
  .button {
    padding: 22px 54px;
    font-size: 17px;
    border-radius: 50px;
  }
}

@media (max-width: 990px) {
  .button {
    padding: 20px 50px;
    font-size: 17px;
  }
}

@media (max-width: 862px) {
  .button {
    padding: 16px 45px;
    font-size: 16px;
  }
}

@media (max-width: 438px) {
  .button {
    padding: 12px 25px;
    font-size: 12px;
  }
}

/*======================*/

/*Adaptive for title and text*/

@media (max-width: 1120px) {
  .title {
    font-size: 60px;
    font-weight: 700;
    line-height: 89%;
  }

  .text {
    font-size: 18px;
    line-height: 133.5%;
  }
}

@media (max-width: 990px) {
  .title {
    font-size: 50px;
    line-height: 99%;
  }

  .text {
    font-size: 17px;
    line-height: 133.5%;
  }
}

@media (max-width: 862px) {
  .title {
    font-size: 40px;
  }

  .text {
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  .title {
    font-size: 48px;
  }
}

@media (max-width: 500px) {
  .text {
    font-size: 12px;
    line-height: 143.5%;
  }
}

@media (max-width: 400px) {
  .title {
    font-size: 35px;
  }
}

/*======================*/

/*Adaptive Section New Cafe*/

@media (max-width: 1360px) {
  .NewCafe__images {
    left: 30px;
  }

  .NewCafe__image-one {
    top: 0px;
    left: 250px;
  }

  .NewCafe__image-one img {
    width: 124px;
    height: 124px;
  }

  .image__text {
    font-size: 25px;
    top: 78%;
    left: 62%;
  }

  .NewCafe__image-two img {
    width: 450px;
    height: 590px;
  }

  .NewCafe-two__container {
    max-width: 1100px;
    padding: 54px 68px;
  }

  .NewCafe-two__image-animation {
    top: -50px;
    left: -50px;
  }

  .NewCafe-two__image-animation img {
    width: 174px;
    height: 174px;
  }

  .NewCafe-two__image {
    width: 150px;
    height: 150px;
    margin-bottom: 25px;
  }

  .NewCafe-two__image img {
    width: 160px;
    height: 160px;
  }

  .NewCafe-two__title {
    font-size: 28px;
    margin-bottom: 15px;
  }
  .NewCafe-two__text {
    font-size: 20px;
    line-height: 133.5%;
  }
}

@media (max-width: 1166px) {
  .NewCafe__container {
    margin-bottom: 83px;
  }

  .NewCafe__images {
    left: 30px;
  }

  .NewCafe__image-one {
    left: 250px;
  }

  .NewCafe__image-two img {
    width: 400px;
    height: 550px;
  }

  .NewCafe-two__container {
    max-width: 1000px;
    padding: 44px 58px;
  }
}

@media (max-width: 1120px) {
  .NewCafe__container {
    margin-bottom: 63px;
  }

  .NewCafe__content {
    position: relative;
    max-width: 574px;
  }

  .NewCafe__content::before {
    content: "";
    top: -100px;
  }

  .NewCafe__title {
    max-width: 443px;
    margin-bottom: 35px;
  }

  .NewCafe__text {
    max-width: 575px;
    margin-bottom: 34px;
  }

  .NewCafe__buttons {
    margin-bottom: 44px;
  }

  .NewCafe__buttons {
    position: relative;
    gap: 10px;
    z-index: 2;
  }

  .NewCafe__more-button {
    border-top: 1px solid #949393;
    border-left: 1px solid #949393;
  }

  .NewCafe__numbers {
    gap: 60px;
  }

  .number__info {
    font-size: 42px;
    margin-bottom: 14px;
  }

  .number__text {
    max-width: 40px;
    font-size: 18px;
    line-height: 124.5%;
  }
}

@media (max-width: 1050px) {
  .NewCafe-two__container {
    max-width: 900px;
    padding: 35px 40px;
  }

  .NewCafe-two__image-animation {
    top: -50px;
    left: -50px;
  }

  .NewCafe-two__image-animation img {
    width: 174px;
    height: 174px;
  }

  .NewCafe-two__image {
    width: 140px;
    height: 140px;
    margin-bottom: 20px;
  }

  .NewCafe-two__image img {
    width: 130px;
    height: 130px;
  }

  .NewCafe-two__title {
    font-size: 23px;
    margin-bottom: 15px;
  }
}

@media (max-width: 990px) {
  .main__NewCafe {
    padding-top: 80px;
    padding-bottom: 100px;
  }

  .NewCafe__title {
    margin-bottom: 30px;
  }

  .NewCafe__text {
    margin-bottom: 30px;
  }

  .NewCafe__buttons {
    margin-bottom: 40px;
  }

  .NewCafe__numbers {
    gap: 60px;
  }

  .number__info {
    font-size: 35px;
    margin-bottom: 12px;
  }

  .number__text {
    font-size: 17px;
  }

  .NewCafe__image-one {
    left: 200px;
  }

  .NewCafe__image-two img {
    width: 330px;
    height: 450px;
  }
}

@media (max-width: 950px) {
  .NewCafe-two__container {
    max-width: 500px;
    gap: 40px;
    flex-direction: column;
  }
}

@media (max-width: 862px) {
  .main__NewCafe {
    padding-top: 60px;
    padding-bottom: 80px;
  }

  .NewCafe__title {
    margin-bottom: 30px;
  }

  .NewCafe__text {
    margin-bottom: 30px;
  }

  .NewCafe__buttons {
    margin-bottom: 32px;
  }

  .NewCafe__numbers {
    gap: 60px;
  }

  .number__info {
    font-size: 30px;
    margin-bottom: 12px;
  }

  .number__text {
    font-size: 16px;
  }

  .NewCafe__image-one {
    left: 150px;
  }

  .NewCafe__image-two img {
    width: 260px;
    height: 350px;
  }
}

@media (max-width: 767px) {
  .main__NewCafe {
    padding-top: 30px;
    padding-bottom: 69px;
  }

  .NewCafe__container {
    flex-direction: column-reverse;
    gap: 40px;
  }

  .NewCafe-two__container {
    max-width: 500px;
    gap: 40px;
    flex-direction: column;
  }

  .NewCafe-two__image-animation {
    top: -100px;
    left: 400px;
  }

  .NewCafe__images {
    margin: 0 auto;
  }

  .NewCafe__images::after,
  .NewCafe__images::before {
    display: none;
  }

  .NewCafe-two__container::after,
  .NewCafe-two__container::before {
    display: none;
  }

  .NewCafe__image-one {
    left: 200px;
  }

  .NewCafe__image-two img {
    width: 350px;
    height: 460px;
  }

  .NewCafe__image-animation {
    top: 100px;
    right: -100px;
    transform: rotate(-5deg) translate(15px, 10px);
  }

  .NewCafe__image-animation img {
    width: 700px;
    height: 450px;
  }
}

@media (max-width: 600px) {
  .NewCafe__image-one {
    top: -20px;
    left: 120px;
  }

  .NewCafe__image-two img {
    width: 250px;
    height: 350px;
  }

  .NewCafe-two__container {
    max-width: 300px;
  }

  .NewCafe-two__image-animation {
    top: -100px;
    left: 200px;
  }

  .NewCafe-two__image {
    width: 90px;
    height: 90px;
    margin-bottom: 25px;
  }

  .NewCafe-two__image img {
    width: 106px;
    height: 107px;
  }

  .NewCafe-two__image {
    margin-bottom: 10px;
  }

  .NewCafe-two__title {
    font-size: 23px;
    margin-bottom: 5px;
  }
}

@media (max-width: 500px) {
  .NewCafe__title {
    margin-bottom: 20px;
  }

  .NewCafe__text {
    margin-bottom: 20px;
  }

  .NewCafe__buttons {
    margin-bottom: 22px;
  }

  .NewCafe__numbers {
    gap: 60px;
  }

  .number__info {
    font-size: 20px;
    margin-bottom: 6px;
  }

  .number__text {
    font-size: 14px;
  }

  .NewCafe__images {
    margin: 0;
  }

  .NewCafe__image-one {
    top: -20px;
    left: 120px;
  }

  .NewCafe__image-two img {
    width: 271.22px;
    height: 381px;
  }

  .NewCafe__image-animation {
    top: 170px;
    right: -40px;
  }

  .NewCafe__image-animation img {
    width: 399.45px;
    height: 292.5px;
  }
}

@media (max-width: 400px) {
  .main__NewCafe {
    padding-top: 10px;
    padding-bottom: 69px;
  }

  .NewCafe-two__container {
    max-width: 250px;
  }

  .NewCafe-two__image-animation {
    top: -70px;
    left: 170px;
  }

  .NewCafe-two__image-animation img {
    width: 124px;
    height: 124px;
  }

  .NewCafe__images {
    margin: 0 auto;
    left: 0;
  }

  .NewCafe__image-one {
    display: none;
  }

  .NewCafe__image-two img {
    width: 220px;
    height: 300px;
  }
}

/*Adaptive Section Delicious*/

@media (max-width: 1335px) {
  .delicious__image-one {
    top: -320px;
    left: 320px;
  }

  .delicious__image-one img {
    width: 124px;
    height: 124px;
  }

  .delicious__image-two img {
    width: 450px;
    height: 600px;
  }

  .delicious__image-two::before {
    content: "";
    width: 330px;
    height: 465px;
  }

  .delicious__images::before {
    content: "";
    top: 10px;
  }

  .delicious__title {
    margin-bottom: 48px;
  }

  .delicious__text {
    margin-bottom: 30px;
  }

  .delicious__image img {
    width: 500px;
    height: 300px;
  }
}

@media (max-width: 1120px) {
  .delicious__image-one {
    top: -360px;
    left: 240px;
  }

  .delicious__image-two img {
    width: 350px;
    height: 600px;
  }

  .delicious__image-two::before {
    content: "";
    width: 250px;
    height: 455px;
  }

  .delicious__image img {
    height: 250px;
  }

  .delicious__button img {
    width: 16px;
    height: 16px;
    margin: 1px 12px 0px 0px;
  }
}

@media (max-width: 1030px) {
  .main__delicious {
    padding-top: 400px;
  }

  .delicious__container {
    flex-direction: column;
    gap: 150px;
  }

  .delicious__images {
    align-self: flex-start;
  }

  .delicious__image-animation {
    position: absolute;
    top: -500px;
    left: -500px;
  }
}

@media (max-width: 767px) {
  .delicious__container {
    gap: 120px;
  }

  .delicious__images::before,
  .delicious__content::before {
    display: none;
  }

  .delicious__image-animation {
    position: absolute;
    top: -500px;
    left: -350px;
  }

  .delicious__image-animation img {
    width: 700px;
    height: 450px;
  }

  .delicious__content {
    align-self: flex-start;
  }

  .delicious__title {
    margin-bottom: 28px;
  }

  .delicious__text {
    max-width: 407px;
    margin-bottom: 15px;
  }

  .delicious__button {
    width: 280px;
  }
}

@media (max-width: 600px) {
  .delicious__item {
    left: -33px;
  }

  .delicious__image img {
    width: 420px;
    height: 240px;
  }

  .delicious__button {
    width: 260px;
  }
}

@media (max-width: 500px) {
  .main__delicious {
    padding-top: 340px;
  }

  .delicious__container {
    gap: 0px;
    justify-content: center;
  }

  .delicious__images {
    top: 70px;
    left: -20px;
  }

  .delicious__image-two img {
    width: 163.21px;
    height: 280.08px;
  }

  .delicious__image-two::before {
    content: "";
    width: 110px;
    height: 230px;
    top: 30px;
    left: 10px;
  }

  .delicious__image-animation {
    position: absolute;
    top: -320px;
    left: -250px;
  }

  .delicious__image-animation img {
    width: 475.87px;
    height: 303.9px;
  }

  .delicious__text {
    max-width: 307px;
  }
}

@media (max-width: 438px) {
  .main__delicious {
    padding-top: 320px;
  }

  .delicious__image-one {
    top: -320px;
    left: 210px;
  }

  .delicious__image-one img {
    width: 85.42px;
    height: 85.42px;
  }

  .delicious__item {
    left: -25px;
  }

  .delicious__image img {
    width: 320px;
    height: 200px;
  }

  .delicious__button {
    width: 190px;
  }

  .delicious__button img {
    width: 12px;
    height: 12px;
    margin: 1px 8px 0px 0px;
  }

  .delicious__text {
    max-width: 260px;
    margin-bottom: 10px;
  }
}

@media (max-width: 360px) {
  .delicious__item {
    left: -20px;
  }

  .delicious__image img {
    width: 255.58px;
    height: 163.07px;
  }
}

/*Adaptive Section NewProducts*/

@media (max-width: 1120px) {
  .main__NewProducts {
    padding-top: 60px;
    padding-bottom: 80px;
  }
}

@media (max-width: 767px) {
  .NewProducts__content {
    flex-direction: column;
    justify-content: flex-start;
    gap: 40px;
  }

  .NewProducts__title-container {
    position: relative;
    left: -20px;
  }
}

@media (max-width: 600px) {
  .main__NewProducts {
    position: relative;
    top: -70px;
    padding-top: 0px;
    padding-bottom: 60px;
  }

  .button-swipe {
    width: 55.52px;
    height: 55.52px;
    border-radius: 15px;
  }

  .button-swipe::before {
    content: "";
    border-radius: 15px;
  }
}

@media (max-width: 500px) {
  .NewProducts__content {
    gap: 20px;
    margin-bottom: 33px;
  }

  .NewProducts__title-container {
    left: -10px;
  }
}

@media (max-width: 480px) {
  .NewProducts__title-container {
    left: 0px;
  }

  .NewProducts-slide {
    padding: 22px 18px;
    min-height: 520px;
  }

  .NewProducts-slide__title {
    font-size: 26px;
    margin-bottom: 23px;
  }

  .NewProducts-slide__text {
    font-size: 16px;
    line-height: 143.5%;
    margin-bottom: 24px;
  }

  .NewProducts-slide__info {
    gap: 24px;
    margin-bottom: 27px;
  }

  .NewProducts-slide__price {
    font-size: 23px;
    color: #fff;
  }

  .NewProducts-slide__volume {
    font-size: 16px;
  }
}

@media (max-width: 400px) {
  .main__NewProducts {
    top: -80px;
  }

  .NewProducts-slide {
    min-height: 490px;
  }
}

/*Adaptive Section NewEvents*/

@media (max-width: 990px) {
  .main__NewEvents {
    padding-top: 60px;
    padding-bottom: 92px;
  }
  .NewEvents__content {
    gap: 70px;
    margin-bottom: 49px;
  }

  .NewEvents__text {
    max-width: 300px;
  }
}

@media (max-width: 861px) {
  .NewEvents__content {
    margin-bottom: 44px;
  }

  .NewEvents__title {
    max-width: 300px;
  }
}

@media (max-width: 767px) {
  .main__NewEvents {
    padding-top: 40px;
    padding-bottom: 62px;
  }

  .NewEvents__content {
    gap: 30px;
    justify-content: center;
    flex-direction: column-reverse;
  }

  .NewEvents__title {
    max-width: 370px;
  }

  .NewEvents__text {
    max-width: 370px;
  }

  .NewEvents__item-content {
    top: 35px;
    left: 30%;
    transform: translateX(-50%);
  }

  .NewEvents__item-title {
    font-size: 22px;
    max-width: 174px;
    line-height: 108.5%;
    margin-bottom: 17px;
  }

  .NewEvents__item-title-small {
    max-width: 100px;
  }
}

@media (max-width: 600px) {
  .main__NewEvents {
    padding-top: 0px;
  }
}

@media (max-width: 540px) {
  .NewEvents__lines {
    display: none;
  }

  .NewEvents__content {
    gap: 17px;
  }

  .NewEvents__title {
    max-width: 340px;
  }

  .NewEvents__text {
    max-width: 340px;
  }

  .image-small {
    max-width: 328.13px;
  }

  .NewEvents__item-content {
    text-align: center;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
  }

  .NewEvents__item-title {
    font-size: 16px;
    max-width: 174px;
    line-height: 108.5%;
    margin-bottom: 10px;
  }

  .NewEvents__item-title-small {
    max-width: 80px;
  }
}

@media (max-width: 480px) {
  .main__NewEvents {
    position: relative;
    top: -60px;
  }
}

@media (max-width: 380px) {
  .NewEvents__item-content {
    text-align: center;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
  }

  .NewEvents__item-title {
    font-size: 13px;

    line-height: 108.5%;
    margin-bottom: 8px;
  }

  .image-big {
    max-width: 814.55px;
  }

  .image-big img {
    max-width: 100%;
  }

  .image-small {
    max-width: 258.13px;
  }
}

/*Adaptive Section Contacts*/

@media (max-width: 1500px) {
  .contacts__images {
    left: 350px;
  }
}

@media (max-width: 1220px) {
  .contacts__images {
    top: -30px;
    left: 300px;
  }
}

@media (max-width: 1100px) {
  .main__contacts {
    padding-top: 100px;
    padding-bottom: 108px;
  }

  .contacts__images {
    left: 200px;
  }

  .contacts__image-one {
    top: -300px;
    left: -400px;
  }

  .contacts__image-one img {
    width: 200px;
    height: 200px;
  }

  .contacts__image-two img {
    width: 353.92px;
    height: 520.6px;
  }

  .contacts__image-two::before {
    content: "";
    width: 260px;
    height: 450px;
  }
}

@media (max-width: 990px) {
  .contacts__title {
    max-width: 303px;
    margin-bottom: 36px;
  }

  .contacts__text {
    max-width: 407px;
    margin-bottom: 46px;
  }

  .contacts__links {
    gap: 25px;
  }
}

@media (max-width: 860px) {
  .main__contacts {
    position: relative;
    top: -50px;
  }

  .contacts__container {
    flex-direction: column-reverse;
    gap: 300px;
  }

  .contacts__title {
    max-width: 273px;
    margin-bottom: 30px;
  }

  .contacts__image-animation {
    top: 100px;
    right: -340px;
  }
}

@media (max-width: 600px) {
  .contacts__image-one {
    top: -250px;
    left: -340px;
  }

  .contacts__image-one img {
    width: 134.42px;
    height: 134.42px;
  }
}

@media (max-width: 500px) {
  .main__contacts {
    top: 100px;
  }

  .contacts__container {
    gap: 100px;
  }

  .contacts__image-one {
    top: -250px;
    left: -200px;
  }

  .contacts__image-one img {
    width: 84px;
    height: 84px;
  }

  .contacts__image-two img {
    width: 204.96px;
    height: 367.1px;
  }

  .contacts__image-two::before {
    content: "";
    width: 160px;
    height: 290px;
  }

  .contacts__title {
    margin-bottom: 26px;
  }

  .contacts__text {
    margin-bottom: 26px;
  }

  .contacts__links {
    gap: 15px;
  }

  .contacts__link img {
    width: 38.19px;
    height: 38.19px;
  }

  .contacts__link img {
    margin: -5px 16px 0px 0px;
  }

  .contacts__link {
    font-size: 22px;
  }

  .contacts__image-animation {
    top: -100px;
    right: -200px;
  }

  .contacts__image-animation img {
    width: 600px;
    height: 400px;
  }
}

@media (max-width: 440px) {
  .main__contacts {
    top: 70px;
  }

  .contacts__container {
    gap: 120px;
  }

  .contacts__images {
    left: 150px;
  }

  .contacts__title {
    max-width: 300px;
  }

  .contacts__text {
    max-width: 300px;
  }

  .contacts__link img {
    width: 38.19px;
    height: 38.19px;
  }

  .contacts__link img {
    margin: -4px 16px 0px 0px;
  }

  .contacts__link {
    font-size: 18px;
  }
}

@media (max-width: 400px) {
  .contacts__title {
    max-width: 200px;
  }
}

@media (max-width: 340px) {
  .contacts__images {
    left: 120px;
  }
}

/*Adaptive Footer*/

@media (max-width: 1200px) {
  .footer__container {
    gap: 30px;
  }

  .footer__content {
    flex-wrap: wrap;
  }
}

@media (max-width: 1140px) {
  .footer__image {
    width: 64px;
    height: 64px;

    border-radius: 20px;
  }

  .footer__image img {
    width: 24px;
    height: 24px;
    left: 29%;
  }
}

@media (max-width: 1010px) {
  .footer__container {
    flex-wrap: wrap;
    margin-bottom: 100px;
  }

  .footer__content {
    display: flex;
    gap: 43px;
  }
}

@media (max-width: 767px) {
  .footer {
    padding-top: 28px;
    padding-bottom: 28px;
  }
  .footer__container {
    margin-bottom: 50px;
  }

  .footer__info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .footer__content {
    gap: 33px;
  }
  .footer__links {
    gap: 8px;
  }

  .footer__logo img {
    width: 133px;
  }

  .footer__item {
    font-size: 15px;
  }

  .footer__image {
    width: 53px;
    height: 53px;
    border-radius: 15px;
  }

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

  .footer__number {
    font-size: 16px;
  }

  .footer__instagram img {
    width: 32.08px;
    height: 32.08px;
  }

  .footer__instagram::before {
    content: "";
    width: 74px;
    height: 74px;
    top: -20px;
    right: -30px;
  }
}
