:root {
  --color1: #403F3D;
  --color2: #E1D4C9;
  --color3: #B0907A;
  --color4: #665F55;
  --color5: #C1B6AD;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* background-color: var(--color2); */
}

body {
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

.lock {
  overflow: hidden;
}

.home__container {
  /* max-width: 1440px; */
  background-color: var(--color2);
  margin: 0 auto;
}

.container {
  margin: 0 auto;
  max-width: 1440px;
}

.header_inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  padding-top: 20px;
}

.enjoy__wrap,
.favourites_coffee__wrap,
.about__wrap,
.mobile_app__wrap {
  padding: 0 40px;
}

.footer__wrap {
  padding-left: 40px;
  padding-right: 40px;
  padding-bottom: 40px;
}

.nav_list {
  display: flex;
  list-style: none;
  gap: 40px;
  margin: 0;
}

.menu_link {
  text-decoration: none;
  color: var(--color1);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.2px;
}

.button__primary-link {
  display: flex;
  text-decoration: none;
  max-width: 200px;
  width: 100%;
  justify-content: center;
  align-items: center;
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  font-style: normal;
  line-height: 150%;
  padding: 20px 0px 20px;
  color: var(--color1);
  background: var(--color2);
}

.menu__cup {
  margin-left: 0px;
  width: 0px;
  height: 0px;
  visibility: hidden;
  transition: ease-in-out 0.75s;
}

.button__primary-link:hover {
  cursor: pointer;
}

.button__primary-link:hover .menu__cup {
  transition: ease-in-out 0.75s;
  margin-left: 8px;
  width: 20px;
  height: 20px;
  visibility: visible;
}

.nav_list li {
  position: relative;
  list-style: none;
}

.menu_link::before {
  content: '';
  position: absolute;
  width: 2px;
  height: 2px;
  /* bottom: -5px; */
  bottom: 0;
  left: 0;
  background-color: var(--color1);
  transform: scaleX(0);
  transition: transform 1s ease;
  transform-origin: center;
}

.menu_link:hover::before {
  width: 100%;
  transform: scaleX(1);
}

.button_content {
  display: none;
}

.button__header {
  display: none;
  z-index: 11;
}

.menu:hover {
  position: relative;
}

.menu::before {
  content: "";
  position: absolute;
  width: 2px;
  height: 2px;
  background-color: var(--color1);
  bottom: 2px;
  left: 0;
  transform: scaleX(0);
  transition: transform 1s ease;
  transform-origin: center;
}

.menu:hover::before {
  width: 100%;
  transform: scaleX(1);
}

.header__menu {
  text-decoration: none;
  display: flex;
  gap: 8px;
  color: var(--color1);
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 150%;
  border-bottom: 2px solid transparent;
  transition: border-bottom ease-in-out 1s;
  line-height: 24px;
  font-family: 'Inter', sans-serif;
}

.nav_hidden {
  display: none;
}

.enjoy {
  border-radius: 40px;
  background-repeat: no-repeat;
  padding: 100px 0 100px 100px;
  position: relative;
  overflow: hidden;
}

.enjoy::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.offer {
  display: flex;
  flex-direction: column;
  max-width: 530px;
  gap: 40px;
  position: relative;
  z-index: 2;
}


.hero {
  padding-top: 20px;
}

h1 {
  font-family: 'Inter', sans-serif;
  font-size: 72px;
  font-weight: 600;
  line-height: 105%;
  color: var(--color2);
  letter-spacing: 1px;
}

.text {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 24px;
}

.text__slider {
  color: var(--color1);
}

.enjoy__h1-world {
  color: var(--color3);
  font-style: italic;
  letter-spacing: 1px;
}

.enjoy__text {
  color: var(--color2);
}

h2 {
  font-family: 'Inter', sans-serif;
  font-size: 60px;
  font-weight: 600;
  line-height: 75px;
  color: var(--color1);
  letter-spacing: 0.2px;
  line-height: 75px;
}

.h2-wold {
  color: var(--color3);
  font-style: italic;
  letter-spacing: 0.5px;
}

.button {
  width: 200px;
  height: 64px;
  border-radius: 100px;
  border: none;
}

.button__mobile {
  /* display: none; */
}

.button__primary {
  position: relative;
  padding: 10px 20px;
  border: none;
  background-color: var(--color2);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  cursor: pointer;
  overflow: hidden;
}

.button__cup {
  transition: transform 0.3s ease;
}

/* .menu__cup */
.button__primary {
  position: absolute;
  right: 50px;
  top: 47%;
  transform: translateY(-50%);
  transition: opacity 0.3s ease;
  opacity: 0;
}



.button__primary:hover .button__cup {
  transform: translateX(-8px);
}

.button__primary:hover .menu__cup {
  opacity: 1;
}



.favourites_coffee,
.about,
.mobile_app,
.footer {
  padding-top: 100px;
}

.text__coffee {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  line-height: 30px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.container__favourites {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  position: relative;
}

.favourites__slider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.sliders {
  overflow: hidden;
  width: 490px;

}

.sliders__line {

  /* align-items: center; */

  position: relative;
  /* padding-top: 20px; */
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 25px;
  left: 0;
  transition: 1s;
}

.button__circle--left {
  border-radius: 100px;
  width: 60px;
  height: 60px;
  background-color: var(--color2);
  border-color: var(--color4);
  border: 1px solid var(--color4);
  position: relative;
  left: 4px;
  top: 406px;
  cursor: pointer;
  transition-duration: 1s;
  position: absolute;
}

.button__circle--right {
  border-radius: 100px;
  width: 60px;
  height: 60px;
  background-color: var(--color2);
  border-color: var(--color4);
  border: 1px solid var(--color4);
  position: relative;
  right: 4px;
  top: 406px;
  cursor: pointer;
  transition-duration: 1s;
  position: absolute;
}

.button__circle--left:hover,
.button__circle--right:hover {
  background-color: var(--color4);
}


.button__circle--left:hover img,
.button__circle--right:hover img {
  filter: invert(1);
}

.slider__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 480px;
  gap: 20px;
}

.slider__description {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.slider__controls {
  display: flex;
  gap: 12px
}


.line {
  /* width: 0; */
  width: 40px;
  height: 4px;
  background-color: var(--color5);
  /* background-color: red; */
  border-radius: 100px;
  transition: width 5s linear;
}


.line__active {
  background-color: var(--color4);
  /* background-color: green; */
  /* width: 0; */
}

progress::-webkit-progress-value {
  background-color: var(--color4);
}



.container__about {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

img {
  max-width: 100%;
}

.box__img {
  overflow: hidden;
  border-radius: 20px;
}

.box__photo {
  display: flex;
  width: 660px;
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
  position: relative;
  object-fit: cover;
  transition: transform 0.3s ease;
  transform: scale(1.1);
}

.box__img:hover .box__photo {
  transform: scale(1);
  overflow: hidden;
}

.image__big {
  height: 590px;
}

.image__small {
  height: 430px;
}

.about__image {
  display: flex;
  gap: 40px;
}


.image__column-1,
.image__column-2 {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.container__mobile {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.buttons__app-google {
  display: flex;
  gap: 20px;
}

.buttons__app {
  background-color: var(--color2);
  border: 1px solid var(--color4);
  cursor: pointer;
  transition-duration: 0.3s;
  display: flex;
  align-items: center;

}

.buttons__app:hover {
  background-color: var(--color4);
}


.buttons__app:hover .image__icon path {
  fill: #E1D4C9;
}

.buttons__app:hover .buttons__text {
  color: var(--color2);
}

.offer__mobile {
  display: flex;
  flex-direction: column;
  width: 628px;
  gap: 40px;
}

.image__icon {
  /* width: 36px;
  height: 36px; */
  fill: #403F3D;
  transition: fill 0.3s ease;
}

.image__icon path:hover {
  /* filter: invert(100%); */
  fill: #E1D4C9;
}

.button {
  overflow: hidden;
}

.button__icon {
  display: flex;
  max-width: 100%;
  max-height: 100%;
  gap: 12px;
  padding-left: 22px;
}

.button__icon-apple {
  display: flex;
  max-width: 100%;
  max-height: 100%;
  gap: 12px;
  padding-left: 25px;
}

.buttons__text {
  display: flex;
  flex-direction: column;
  max-width: 100%;
  /* padding-left: 8px; */
}



.button__text-1 {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  line-height: 14px;
  margin: 0;
  text-align: start;
}

.button__text-2 {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 24px;
  margin: 0;
}

.container__footer {
  background-color: var(--color4);
  border-radius: 40px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding: 100px;
  gap: 100px;
}

.footer__h2 {
  color: var(--color2);
}

.footer__text {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  line-height: 30px;
  font-weight: 600;
  color: var(--color2);
}

.footer_social {
  display: flex;
  gap: 12px;
  margin: 0;
  text-align: center;
  align-items: center;
  list-style: none;
}



.button__social {
  width: 60px;
  height: 60px;
  border-radius: 100px;
  background-color: var(--color4);
  border: 1px solid var(--color5);
  cursor: pointer;
  transition-duration: 1s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.button__social:hover {
  background-color: var(--color2);
}

.button__social:hover img {
  filter: invert(1);
}

.footer__offer {
  display: flex;
  flex-direction: column;
  max-width: 530px;
  gap: 40px;
}

.footer_tel {}

.text__footer,
.footer_tel a,
.footer__map a {
  color: var(--color2);
  list-style: none;
  text-decoration: none;
  letter-spacing: 0.2px;
}

.footer__map,
.footer_tel,
.footer_clock,
.footer__map-underliling {
  display: flex;
  gap: 8px;
}


.footer__map-underliling:hover {
  position: relative;
}

.footer__map-underliling::before {
  content: "";
  position: absolute;
  width: 2px;
  height: 2px;
  background-color: var(--color2);
  bottom: 0;
  left: 0;
  transform: scaleX(0);
  transition: transform 1s ease;
  transform-origin: center;
}

.footer__map-underliling:hover::before {
  width: 100%;
  transform: scaleX(1);
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 16px
}

.foooter__contacts-info {
  display: flex;
  flex-direction: column;
  gap: 40px;
}



@media screen and (max-width: 1439px) {

  /* .hero {
    width: 768px;
  } */

  .container {
    /* max-width: 768px; */
    margin: 0 auto;
  }

  .slider__content {
    max-width: 480px;
  }

  .button__primary-link {
    cursor: auto;
  }

  .buttons__app,
  .button__social {
    pointer-events: none;
  }

  /* .menu {
    pointer-events: none;
  } */

  .menu__cup {
    width: auto;
    height: auto;
    visibility: visible;
    margin-left: 8px;
  }

  /*.button__header-img {
    display: none;
    opacity: 0;
  }

  .hidden {
    display: none;
    opacity: 0;
  } */

  .favourites__h2 {
    text-align: center;
  }

  .enjoy {
    padding: 100px 60px;
  }

  .button__circle--left {
    left: 0px;
    pointer-events: none;
  }

  .button__circle--right {
    right: 0px;
    pointer-events: none;
  }

  .image__small {
    display: none;
  }

  .about__image {
    flex-direction: column;
  }

  .box__photo {
    width: 100%;
    transform: none;
  }

  .image__column-1,
  .image__column-2 {
    gap: 0;
  }

  .container__mobile {
    flex-direction: column;
    gap: 100px;
  }

  .offer__mobile {
    width: auto;
  }

  .container__footer {
    /* flex-direction: column; */
    align-items: stretch;
    padding: 100px 60px 105px;
  }

  .button__primary .menu__cup {
    opacity: 1;
  }

  .button__primary {
    pointer-events: none;
  }

  .footer__contacts {
    gap: 20px
  }


}

@media (max-width: 768px) {
  .nav_hidden {
    display: flex;
    font-size: 32px;
    line-height: 40px;
    gap: 17px;
  }

  .button__header-img {
    width: 40px;
    height: 40px;
  }

  .menu_link {
    font-size: 32px;
    line-height: 40px;
  }

  .button__header {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    opacity: 1;
    width: 44px;
    height: 44px;
    border-radius: 100px;
    border: 1px solid var(--color4);
    line-height: 24px;
    /* pointer-events: none; */
    background-color: var(--color2);
  }

  .button_content {
    display: block;
    width: 16px;
    /* width: 30px; */
    border-top: 1.5px solid var(--color1);
    /* cursor: pointer; */
    transition: 0.4s;
  }

  .burger_active .button_content:nth-child(1) {
    /* display: block; */

    transform: translateY(1px) rotate(45deg);
  }

  .burger_active .button_content:nth-child(2) {
    transform: translateY(0) rotate(-45deg);
  }

  .burger_active {
    gap: 0;
  }

  .navigation {
    display: flex;
    transform: translateX(100%);
    width: 100%;
    height: 100%;
    max-width: 100vw;
    position: absolute;
    /* right: 0; */
    top: 5px;
    background: var(--color2);
    transition: 2s;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 100px;
    z-index: 10;
  }

  .navigation__active {
    /* width: 100%; */
    right: 0;
    transform: translateX(0);
  }

  .nav_list {
    flex-direction: column;
    align-items: center;
    gap: 60px;
  }

  .logo {
    z-index: 11;
  }

  .hidden {
    display: none;
    opacity: 0;
  }
}

@media (max-width: 700px) {
  .container {
    /* max-width: 380px; */
    margin: 0 auto;
  }

  /*  */

  h1 {
    font-size: 42px;
    line-height: 48.3px;
  }

  .offer {
    /* width: 316px; */
    /* padding: 60px 16px; */
  }

  .enjoy__wrap,
  .favourites_coffee__wrap,
  .about__wrap,
  .mobile_app__wrap {
    padding: 0 16px;
  }

  .footer__wrap {
    padding: 0 16px 16px 16px;
  }

  .enjoy {
    padding: 60px 16px;
    /* padding-top: px;
    padding-left: 100px;
    padding-bottom: 100px; */
  }

  .button__primary .menu__cup {
    opacity: 1;
  }

  .header_inner {
    padding: 0 16px;
  }

  h2 {
    font-size: 32px;
    line-height: 40px;
    letter-spacing: 0.2px;
  }

  .favourites__h2 {
    text-align: center;
  }

  .button__circle--right,
  .button__circle--left {
    display: none;
  }

  /* .slider__img {
    width: auto;
    height: auto;
  } */

  .image__small {
    display: none;
  }

  .about__image {
    flex-direction: column;
  }

  .box__photo {
    /* width: 720px; */
    transform: none;
  }

  .image__column-1,
  .image__column-2 {
    gap: 0;

  }

  .container__mobile {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    flex-direction: column;
  }

  .offer__mobile {
    width: auto;
  }

  .buttons__app-google {
    flex-direction: column;
  }

  /* .mobile__img {
    width: auto;
    height: auto;
  } */

  .container__footer {
    flex-direction: column;
    align-items: stretch;
    padding: 60px 16px;
    gap: 40px;
  }
}