:root {
  --color1: #403F3D;
  --color2: #E1D4C9;
  --color3: #B0907A;
  --color4: #665F55;
  --color5: #C1B6AD;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html {
  height: 100%;
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--color1);
  background-color: var(--color2);
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

.stop__scroll {
  height: 100%;
  overflow: hidden;
}

.home__container {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.header {
  /* padding-top: 20px; */
}

.container {
  margin: 0 auto;
  max-width: 1440px;
  /* width: 1440px; */
}

.lock {
  overflow: hidden;
}

.header_inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  padding-top: 20px;
}

.menu__wrap {
  padding: 0 40px;
}

.footer__wrap {
  padding-left: 40px;
  padding-right: 40px;
  padding-bottom: 40px;
}

.logo {
  width: 100px;
  height: 60px;
}

.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;
}

.nav_list li {
  position: relative;
  list-style: none;
}

.menu_link::before {
  content: '';
  position: absolute;
  width: 2px;
  height: 2px;
  bottom: 2px;
  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);
}

.menu {
  padding-top: 8px;
  padding-left: 5px;
}

.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;
}

.button__header {
  display: none;
}

.button__header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background-color: var(--color1);
}

.nav_hidden {
  display: none;
}

h1 {
  font-family: 'Inter', sans-serif;
  font-size: 60px;
  font-weight: 600;
  line-height: 75px;
  color: var(--color2);
  color: var(--color1);
  width: 800px;
  text-align: center;
  letter-spacing: 1px;
}

.h1-world {
  color: var(--color3);
  font-style: italic;
  letter-spacing: 1px;
}

h2 {
  font-family: 'Inter', sans-serif;
  font-size: 60px;
  font-weight: 600;
  line-height: 75px;
  color: var(--color1);
}

.h2-wold {
  color: var(--color3);
  font-style: italic;
}

.button {
  width: 200px;
  height: 64px;
  border-radius: 100px;
  border: none;
}

.text {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 24px;
  /* width: 600; */
}

.image__icon {
  width: 36px;
  height: 36px;
}

.button {
  overflow: hidden;
}

.button__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  max-height: 100%;
  gap: 8px;
}

.buttons__text {
  display: flex;
  flex-direction: column;
  max-width: 100%;
}

.button__text-1 {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  line-height: 14px;
  margin: 0;
}

.button__text-2 {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 24px;
  margin: 0;
}

.menu__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  /* justify-content: center; */
  /* text-align: center; */
}

.menu__section {
  padding-top: 20px;
}

.container__menu {
  display: flex;
  flex-direction: column;
}

.menu__button--coffee {}




.menu__tabs {
  display: flex;
  gap: 40px
}

.tabs {
  display: flex;
  gap: 16px;
  row-gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn__circle {
  width: 30px;
  height: 30px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color5);
  margin-left: 8px;
  transition: background-color ease-in-out 1s;
  color: var(--color1);
}

.tabs label {
  text-decoration: none;
  display: flex;
  /* justify-content: center; */
  align-items: center;
  color: var(--color1);
  background-color: var(--color2);
  /* background-color: red; */
  border-color: var(--color5);
  border: 1px solid var(--color5);
  border-radius: 100px;
  gap: 10px;
  height: 46px;
  /* padding: 0 8px; */
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  /* letter-spacing: 1px; */
  order: 0;
  transition-duration: 0.3s;
  cursor: pointer;
  padding-right: 12px;
}

.tabs label:hover {
  color: var(--color2);
  background-color: var(--color4);
}

.tabs label:hover .btn__circle {
  background-color: var(--color2);
}

.tabs__block {
  order: 1;
  /* display: flex; */
  display: none;
  flex-wrap: wrap;
  row-gap: 40px;
  column-gap: 40px;
  justify-content: center;
}

.tabs input[type="radio"] {
  display: none;
}

.tabs input[type="radio"]:checked+label {
  color: var(--color2);
  background-color: var(--color4);
  /* background-color: fuchsia; */
}

input[type="radio"]:checked+label .btn__circle {
  background-color: var(--color2);
}


#tab_coffee:checked~.tabs__body .tabs__block:first-of-type,
#tab_tea:checked~.tabs__body .tabs__block:nth-of-type(2),
#tab_dessert:checked~.tabs__body .tabs__block:nth-of-type(3) {
  display: flex;
  flex-wrap: wrap;
  row-gap: 40px;
  column-gap: 40px;
}

.menu__box {
  max-width: 308px;
  border-radius: 40px;
  border: 1px solid var(--color5);
  height: 506px;
  display: flex;
  flex-direction: column;
}

.box__img {
  max-width: 308px;
  max-height: 308px;
  overflow: hidden;
  border-radius: 40px;
}

.box__photo {
  border-radius: 40px;
  max-width: 100%;
  transform: scale(1.1);
  transition: transform 1s;
}

.menu__box:hover .box__photo {
  transform: scale(1);
  overflow: hidden;
}



.box__title {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  line-height: 30px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.box__text-color {
  color: var(--color1);
}

.box__composition {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 24px;
}

.box__price {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  line-height: 30px;
  font-weight: 600;
  margin-top: auto;
}

.description {
  padding: 20px;
  display: flex;
  flex-direction: column;
  /* gap: 12px */
  justify-content: space-between;
  height: 39%;
}

.title__wrap {
  display: flex;
  flex-direction: column;
  gap: 12px
}


.footer {
  padding-top: 100px;
}

.footer__h2 {
  color: var(--color2);
}

.container__footer {
  background-color: var(--color4);
  border-radius: 40px;
  display: flex;
  /* justify-content: space-between; */
  align-items: center;
  padding: 100px;
  gap: 100px;
}

.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;
}

.footer_social:hover {}


.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 img {
  width: 24px;
  height: 24px;
}

.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;
}

.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;
}

.menu__refresh-button {
  display: none;
}

.modal {
  margin: 0 auto;
  opacity: 1;
  display: none;
}

.modal__menu {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  align-items: center;
  justify-content: center;
}

.modal__menu-active {
  display: flex;
}

.modal__menu-window {
  padding: 16px;
  border-radius: 40px;
  max-width: 800px;
  background: var(--color2);
  background: var(--color2);
  position: relative;
  z-index: 90;
}

.modal__img {
  max-width: 305px;
  max-height: 305px;
  overflow: hidden;
  border-radius: 40px;
}

.modal__photo {
  max-width: 100%;
  transition: transform 1s;
}

.modal__descraption {
  display: flex;
  flex-direction: column;
  padding: 0 0 0 20px;
  gap: 20px;
  width: 458px;
}

.modal__wrap {
  display: flex;
}

.modal__menu .owerlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  background-color: var(--color1);
  opacity: 0.8;
  z-index: 0;
}

.modal__tabs {
  display: flex;
  gap: 16px;
  row-gap: 40px;
  flex-wrap: wrap;
}

.modal__tabs label {
  text-decoration: none;
  display: flex;
  align-items: center;
  color: var(--color1);
  background-color: var(--color2);
  /* background-color: red; */
  border-color: var(--color5);
  border: 1px solid var(--color5);
  border-radius: 100px;
  gap: 10px;
  height: 46px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  order: 0;
  transition-duration: 0.3s;
  cursor: pointer;
  padding-right: 12px;
}

.modal__tabs label:hover {
  color: var(--color2);
  background-color: var(--color4);
}

.modal__tabs label:hover .btn__circle {
  background-color: var(--color2);
}

.modal__tabs input[type="radio"] {
  display: none;
}

.modal__tabs input[type="checkbox"] {
  display: none;
}

.modal__tabs input[type="radio"]:checked+label {
  color: var(--color2);
  background-color: var(--color4);
  /* background-color: fuchsia; */
}

.modal__tabs input[type="checkbox"]:checked+label {
  color: var(--color2);
  background-color: var(--color4);
  /* background-color: fuchsia; */
}

.modal__price {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  line-height: 30px;
  font-weight: 600;
  color: var(--color1);
}

.alert {
  display: flex;
  padding: 12px 0;
  gap: 8px;
}

.total {
  display: flex;
  justify-content: space-between;
}

.alert__text {
  font-size: 10px;
}

.modal__btn {
  border-radius: 100px;
  padding: 10px 78px;
  border: 1px solid var(--color4);
  font-size: 16px;
  line-height: 24px;
  font-family: 'Inter', sans-serif;
  background: var(--color2);
}

@media screen and (max-width: 1439px) {
  .container {
    /* width: 768px; */
    margin: 0 auto;
  }

  h1 {
    width: 688px;
  }


  .container__footer {
    flex-direction: column;
    align-items: stretch;
    padding: 100px 60px;
  }

  .button__primary .menu__cup {
    opacity: 1;
  }

  .button__primary {
    pointer-events: none;
  }

  .menu__refresh-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border-radius: 100px;
    border: 1px solid var(--color4);
    width: 60px;
    height: 60px;
  }

  .tabs__block .menu__box:nth-child(n+5) {
    display: none;
  }
}

@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);
    z-index: 11;
  }

  .button_content {
    display: block;
    width: 16px;
    border-top: 1.5px solid var(--color1);
    transition: 0.4s;
  }

  .burger_active .button_content:nth-child(1) {
    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 {
    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 {
    width: 380px;
    margin: 0 auto;
  }

  .menu__wrap {
    padding: 0 16px;
  }

  h1 {
    font-size: 32px;
    line-height: 40px;
    width: 348px;
    letter-spacing: 0px;
  }

  .tabs {
    column-gap: 8px;
  }

  .menu__box {
    width: 310px;
  }

  h2 {
    font-size: 32px;
    line-height: 40px;
    letter-spacing: 0.2px;
  }

  .favourites__h2 {
    text-align: center;
  }

  .container__footer {
    flex-direction: column;
    align-items: stretch;
    padding: 60px 16px;
    gap: 40px;
  }

  .box__photo {
    border-radius: 40px;
    max-width: 100%;
    transform: none;
    transition: none;
  }

  .header_inner {
    padding: 0 16px;
  }

  .menu {
    padding: 0;
  }

  .menu__refresh-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border-radius: 100px;
    border: 1px solid var(--color4);
    width: 60px;
    height: 60px;
  }

  .tabs__block .menu__box:nth-child(n+5) {
    display: none;
  }

  .footer__wrap {
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 40px;
  }

  .text__footer,
  .footer_tel a,
  .footer__map a {
    letter-spacing: 0.2px;
  }
}