@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat Alternates", sans-serif;
  color: rgb(69, 64, 61);
  background-color: rgb(246, 245, 244);
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

h2 {
  font-size: 48px;
  font-weight: 700;
  line-height: 59px;
  padding-top: 64px;
  padding-bottom: 48px;
  scroll-margin-top: 120px;
}

.center {
  padding-left: calc(50% - 600px);
  padding-right: calc(50% - 600px);
  scroll-margin-top: 120px;
}

.header {
  display: flex;
  align-items: center;
  background-color: rgb(255, 255, 255);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  justify-content: space-between;
  padding: 31.5px calc(50% - 600px);
  width: 100%;
  z-index: 10;
  height: 120px;
}
.header__logo {
  margin-top: 0;
}
.header__nav {
  margin-left: auto;
}
.header__nav-mobile {
  display: none;
}
.header__nav a {
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  color: rgb(69, 64, 61);
  cursor: pointer;
}
.header__menu {
  display: flex;
  gap: 48px;
}
.header-btn {
  box-sizing: border-box;
  border: 1px solid rgb(162, 101, 57);
  border-radius: 24px;
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  font-family: inherit;
  color: rgb(162, 101, 57);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  text-align: center;
  background-color: rgb(255, 255, 255);
  margin-top: auto;
  margin-left: 48px;
  margin-bottom: auto;
}
.header-btn:hover {
  color: rgb(255, 255, 255);
  background-color: rgb(162, 101, 57);
}

.top-content {
  height: auto;
  padding-top: 120px;
  background-image: url("../image/tray.png");
  background-repeat: no-repeat;
  background-position: calc(100% + 432px) 70px;
  position: relative;
  z-index: 1;
}
.top-content::after {
  content: "";
  position: absolute;
  top: 0px;
  left: 0;
  right: 0;
  height: 890px;
  z-index: 2;
  pointer-events: none;
  transition: all 0.5s ease;
}

.top-content .coffee-img,
.top-content .cookie-img,
.top-content .sinabon-img,
.top-content .zerna-img {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  transition: transform 0.5s ease;
  width: auto;
  height: auto;
}

.top-content .coffee-img {
  right: 368px;
  top: 204px;
}

.top-content .cookie-img {
  right: 449px;
  top: 563px;
}

.top-content .sinabon-img {
  right: 57px;
  top: 445px;
}

.top-content .zerna-img {
  right: 158px;
  top: 220px;
}

/* Анимация при наведении */
.top-content:hover .coffee-img,
.top-content:hover .cookie-img,
.top-content:hover .sinabon-img {
  transform: rotate(40deg);
}

.top-info {
  margin-top: 118px;
}
.top-info__title {
  font-size: 48px;
  font-weight: 600;
  line-height: 59px;
  max-width: 536px;
}
.top-info__name {
  font-size: 24px;
  font-weight: 600;
  line-height: 29px;
  max-width: 498px;
  margin-top: 24px;
}
.top-info__desc {
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  max-width: 498px;
  margin-top: 24px;
}
.top-info__desc-2 {
  margin-top: 6px;
}
.top-info__btn {
  box-sizing: border-box;
  border: 1px solid rgb(162, 101, 57);
  border-radius: 24px;
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  color: rgb(162, 101, 57);
  margin-top: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 96px;
  text-align: center;
  font-family: inherit;
  margin-bottom: 209px;
}
.top-info__btn:hover {
  color: rgb(246, 245, 244);
  background-color: rgb(162, 101, 57);
}
.top-info__image_tablet {
  display: none;
}

.about {
  padding-bottom: 64px;
}
.about-container {
  padding-top: 48px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
}
.about-card {
  display: grid;
  grid-column: span 6;
  display: flex;
  flex-direction: row;
  border-radius: 24px 24px 24px 0px;
  box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.14);
  background: rgb(255, 255, 255);
}
.about-card__image {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
  transform-origin: center center;
  display: block;
}
.about-card__image-wrapper {
  overflow: hidden;
  border-radius: 24px 0px 0px 0px;
}
.about-card__content {
  padding: 20px;
}
.about-card__subtitle {
  font-size: 24px;
  font-weight: 600;
  line-height: 29px;
  padding-bottom: 14px;
}
.about-card__text {
  font-size: 14px;
  font-weight: 400;
  line-height: 17px;
  max-width: 252px;
}
.about-card__text p {
  margin: 0 0 8px 0;
}

.about-card:hover .about-card__image {
  transform: scale(1.5);
}

.menu {
  padding-bottom: 64px;
}
.menu__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.menu-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.menu-item {
  background: rgb(255, 255, 255);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.14);
  transition: all 0.3s ease;
}
.menu-item__info {
  padding: 20px;
}
.menu-item__price {
  font-size: 24px;
  font-weight: 600;
  line-height: 29px;
}
.menu-item__name {
  font-size: 14px;
  font-weight: 400;
  line-height: 17px;
  margin-top: 7px;
}
.menu-item__volume {
  font-size: 14px;
  font-weight: 400;
  line-height: 17px;
  color: rgb(154, 154, 154);
  margin-top: 7px;
}
.menu__filter-list {
  display: flex;
  gap: 7px;
  align-items: center;
}
.menu__filter-button {
  box-sizing: border-box;
  border: 1px solid rgb(162, 101, 57);
  border-radius: 24px;
  background: rgb(255, 255, 255);
  font-size: 14px;
  font-weight: 600;
  line-height: 17px;
  color: rgb(162, 101, 57);
  padding: 14px 48px;
  cursor: pointer;
}
.menu__filter-button:hover {
  background: rgb(162, 101, 57);
  color: rgb(255, 255, 255);
}
.menu__filter-button--active {
  background: rgb(162, 101, 57);
  color: rgb(255, 255, 255);
}

.menu-item:hover .menu-item__image {
  transform: scale(1.15);
}

.reviews {
  padding-bottom: 64px;
}
.reviews__container {
  overflow: hidden;
}
.reviews__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.reviews-card {
  border-radius: 24px;
  box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.14);
  background: rgb(255, 255, 255);
  padding: 20px;
}
.reviews-card__author {
  display: flex;
  gap: 20px;
}
.reviews-card__author-img {
  width: 63px;
  height: 63px;
  border-radius: 60px;
}
.reviews-card__name {
  font-size: 24px;
  font-weight: 600;
  line-height: 29px;
}
.reviews-card__rating {
  padding-top: 7px;
}
.reviews-card__text {
  font-size: 14px;
  font-weight: 400;
  line-height: 17px;
  padding-top: 20px;
}

.contacts {
  padding-bottom: 64px;
}
.contacts__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.contacts__content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contacts__info {
  border-radius: 24px;
  box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.14);
  background: rgb(255, 255, 255);
  padding: 20px;
}
.contacts__subtitle {
  padding-bottom: 24px;
  font-size: 24px;
  font-weight: 600;
  line-height: 29px;
}
.contacts__items {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.contacts__link {
  display: flex;
  gap: 10px;
  color: rgb(69, 64, 61);
  transition: color 0.3s ease;
}
.contacts__link:hover {
  color: rgb(162, 101, 57);
}
.contacts__icon {
  fill: rgb(69, 64, 61);
  transition: fill 0.3s ease;
}
.contacts__text {
  transition: color 0.3s ease;
}
.contacts__form {
  border-radius: 24px;
  box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.14);
  background: rgb(255, 255, 255);
  padding: 20px;
}
.contacts__map {
  width: 789px;
  height: 514px;
  border-radius: 24px;
  box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.14);
  overflow: hidden;
}

.contacts__link:hover .contacts__icon {
  fill: rgb(162, 101, 57);
}

.booking-form__title {
  font-size: 24px;
  font-weight: 600;
  line-height: 29px;
  padding-bottom: 24px;
}
.booking-form__input {
  width: 100%;
  padding: 14px 48px 16px 24px;
  box-sizing: border-box;
  border: 1px solid rgb(246, 245, 244);
  border-radius: 24px;
  margin-bottom: 7px;
  color: #45403D;
}
.booking-form__input:focus {
  border-color: #9A9A9A;
  outline: none;
}
.booking-form__input::-moz-placeholder {
  color: #9A9A9A;
}
.booking-form__input::placeholder {
  color: #9A9A9A;
}
.booking-form__button {
  box-sizing: border-box;
  border: 1px solid rgb(162, 101, 57);
  border-radius: 24px;
  margin-top: 17px;
  font-size: 14px;
  font-weight: 600;
  line-height: 17px;
  color: rgb(162, 101, 57);
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 48px;
  background-color: rgb(255, 255, 255);
}
.booking-form__button:hover {
  color: rgb(255, 255, 255);
  background-color: rgb(162, 101, 57);
}

.confirmation-message {
  font-family: inherit;
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  line-height: 29px;
  padding-top: 120px;
  line-height: 1.5;
}

.footer {
  display: flex;
  background-color: rgb(255, 255, 255);
  justify-content: space-between;
  align-items: center;
}
.footer__logo {
  padding-top: 43px;
  padding-bottom: 43px;
}
.footer__logo-text {
  font-size: 14px;
  font-weight: 400;
  line-height: 17px;
  color: rgb(154, 154, 154);
  margin-top: 14px;
}
.footer__menu {
  display: flex;
  gap: 24px;
  margin-top: 60px;
  margin-bottom: 21px;
}
.footer__menu a {
  font-size: 14px;
  font-weight: 600;
  line-height: 17px;
  cursor: pointer;
  color: rgb(69, 64, 61);
}
.footer__icon {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
}

@media (max-width: 1230px) {
  .center {
    padding-left: calc(50% - 480px);
    padding-right: calc(50% - 480px);
  }
  h2 {
    font-size: 40px;
    line-height: 48px;
    padding-top: 52px;
    padding-bottom: 24px;
  }
  .header {
    padding: 25px calc(50% - 480px);
    height: 100px;
  }
  .header__menu {
    gap: 32px;
  }
  .header-btn {
    padding: 14px 28px;
    margin-left: 32px;
  }
  .top-content {
    background-image: url("../image/tray_tablet.png");
    background-repeat: no-repeat;
    background-position: calc(100% + 360px) 90px;
  }
  .top-info__title {
    font-size: 43px;
    line-height: 53px;
  }
  .top-info__name {
    font-size: 21px;
    line-height: 26px;
    max-width: 329px;
    margin-top: 17px;
  }
  .top-info__desc {
    font-size: 14px;
    line-height: 18px;
    max-width: 390px;
    margin-top: 19px;
  }
  .top-info__btn {
    font-size: 14px;
    line-height: 18px;
    margin-top: 36px;
    margin-bottom: 120px;
  }
  .top-info__image {
    display: none;
  }
  .top-info__image_tablet {
    display: block;
  }
  .about-card__content {
    padding: 18px;
  }
  .about-card__subtitle {
    font-size: 20px;
    line-height: 22px;
    padding-bottom: 12px;
  }
  .about-card__text {
    font-size: 12px;
    line-height: 15px;
  }
  .about-card__image {
    transition: none;
    transform: none;
  }
  .about-card:hover .about-card__image {
    transform: none;
  }
  .menu-items {
    grid-template-columns: repeat(3, 1fr);
    gap: 66px;
  }
  .menu__filter-button {
    padding: 12px 36px;
  }
  .menu-item:hover .menu-item__image {
    transform: none;
  }
  .contacts__container {
    gap: 24px;
  }
  .contacts__subtitle {
    font-size: 21px;
    line-height: 26px;
    padding-bottom: 18px;
  }
  .contacts__map {
    width: 100%;
    height: 486px;
  }
  .contacts__content {
    gap: 12px;
  }
  .contacts__icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }
  .contacts__text {
    font-size: 18px;
  }
  .contacts__info,
  .contacts__form {
    padding: 18px;
  }
  .booking-form__title {
    font-size: 21px;
    line-height: 26px;
    padding-bottom: 18px;
  }
  .booking-form__input {
    padding: 12px 40px 14px 20px;
  }
  .booking-form__button {
    padding: 14px 40px;
  }
}
@media (max-width: 1024px) {
  .center {
    padding-left: calc(50% - 400px);
    padding-right: calc(50% - 400px);
  }
  .header {
    padding: 20px calc(50% - 400px);
    height: 90px;
  }
  .header__menu {
    gap: 24px;
  }
  .header__nav a {
    font-size: 14px;
    padding: 6px 10px;
  }
  .header-btn {
    padding: 12px 24px;
    margin-left: 24px;
    font-size: 14px;
  }
  .header__logo img {
    max-height: 40px;
  }
  .top-content {
    background-position: calc(100% + 390px) 90px;
  }
  .top-info__title {
    max-width: 467px;
    font-size: 40px;
    line-height: 51px;
  }
  .about-container {
    grid-template-columns: repeat(8, 1fr);
    gap: 20px;
  }
  .about-card {
    grid-column: span 4;
    flex-direction: column;
    border-radius: 16px 16px 16px 0;
  }
  .about-card__image-wrapper {
    border-radius: 16px 16px 0 0;
  }
  .about-card__content {
    padding: 12px;
  }
  .about-card__subtitle {
    font-size: 18px;
    padding-bottom: 10px;
  }
  .about-card__text {
    max-width: 100%;
    font-size: 13px;
  }
  .contacts__container {
    grid-template-columns: 1fr;
  }
  .contacts__map {
    height: 400px;
    order: -1;
  }
  .contacts__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .contacts__subtitle {
    font-size: 20px;
    line-height: 24px;
    padding-bottom: 40px;
  }
  .menu-items {
    gap: 20px;
  }
  .menu__nav {
    gap: 20px;
  }
  .menu-item__info {
    padding: 16px;
  }
  .menu-item__price {
    font-size: 20px;
    line-height: 24px;
  }
  .reviews__list {
    gap: 20px;
  }
  .reviews-card__author {
    gap: 16px;
  }
  .reviews-card__name {
    font-size: 20px;
    line-height: 24px;
  }
  .reviews-card__text {
    font-size: 14px;
    line-height: 19px;
  }
  .booking-form__title {
    font-size: 20px;
    line-height: 24px;
    padding-bottom: 16px;
  }
  .confirmation-message {
    padding-top: 80px;
    font-size: 20px;
  }
}
@media (max-width: 970px) {
  h2 {
    font-size: 36px;
    line-height: 44px;
  }
  .top-content {
    background-position: calc(100% + 443px) 90px;
  }
}
@media (max-width: 870px) {
  .top-content {
    background-position: calc(100% + 489px) 130px;
  }
  .reviews__list {
    gap: 12px;
  }
}
@media (max-width: 767px) {
  h2 {
    font-size: 28px;
    line-height: 34px;
    padding-top: 30px;
    padding-bottom: 20px;
  }
  .center {
    padding-left: 16px;
    padding-right: 16px;
  }
  .header {
    justify-content: space-between;
  }
  .header__logo img {
    width: 160px;
  }
  .header__nav, .header-btn {
    display: none;
  }
  .header__nav-mobile, .header-btn-mobile {
    display: flex;
    align-items: center;
    gap: 32px;
  }
  .top-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: none;
  }
  .top-content::after {
    display: none;
  }
  .top-info {
    margin-top: 86px;
  }
  .top-info__title {
    font-size: 40px;
    line-height: 51px;
  }
  .top-info__name {
    font-size: 20px;
    line-height: 28px;
  }
  .top-info__desc {
    font-size: 14px;
    line-height: 20px;
  }
  .top-info__btn {
    display: flex;
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 86px;
  }
  .coffee-img,
  .cookie-img,
  .sinabon-img,
  .zerna-img {
    display: none;
  }
  .about-container {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 32px;
  }
  .about-card {
    grid-column: span 1;
    flex-direction: column;
    border-radius: 16px;
  }
  .about-card:hover {
    transform: none;
  }
  .about-card__image-wrapper {
    border-radius: 16px 16px 0 0;
    max-height: 200px;
    overflow: hidden;
  }
  .about-card__image {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: center;
       object-position: center;
    transform: none;
  }
  .about-card__content {
    padding: 16px;
  }
  .about-card__subtitle {
    font-size: 20px;
    line-height: 24px;
    padding-bottom: 12px;
  }
  .about-card__text {
    max-width: 100%;
    font-size: 13px;
    line-height: 16px;
  }
  .about-card__text p {
    margin-bottom: 12px;
  }
  .menu__nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
  }
  .menu__filter-list {
    flex-wrap: wrap;
    gap: 8px;
  }
  .menu__filter-button {
    padding: 10px 24px;
    font-size: 13px;
    border-radius: 16px;
  }
  .menu-items {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .menu-item {
    border-radius: 16px;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 12px;
    gap: 12px;
  }
  .menu-item__image {
    width: 80px;
    height: 80px;
    min-width: 80px;
    border-radius: 12px;
    -o-object-fit: cover;
       object-fit: cover;
    transition: none;
  }
  .menu-item__info {
    padding: 0;
    flex-grow: 1;
  }
  .menu-item__price {
    font-size: 18px;
    line-height: 22px;
  }
  .menu-item__name {
    font-size: 13px;
    line-height: 16px;
    margin-top: 4px;
  }
  .menu-item__volume {
    font-size: 12px;
    margin-top: 4px;
  }
  .reviews__list {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 8px;
  }
  .reviews-card__name {
    font-size: 18px;
    line-height: 22px;
  }
  .reviews-card__text {
    font-size: 13px;
    line-height: 16px;
  }
  .contacts__container {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .contacts__content {
    gap: 20px;
    order: 2;
  }
  .contacts__info, .contacts__form {
    border-radius: 16px;
    padding: 16px;
  }
  .contacts__subtitle {
    font-size: 20px;
    line-height: 24px;
    padding-bottom: 16px;
  }
  .contacts__items {
    gap: 12px;
  }
  .contacts__link {
    align-items: center;
    gap: 8px;
  }
  .contacts__icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
  }
  .contacts__text {
    font-size: 14px;
  }
  .contacts__map {
    width: 100%;
    height: 300px;
    border-radius: 16px;
    order: 1;
    margin-bottom: 20px;
  }
  .booking-form__title {
    font-size: 20px;
    line-height: 24px;
    padding-bottom: 16px;
  }
  .booking-form__input {
    padding: 12px 16px;
    border-radius: 16px;
    margin-bottom: 8px;
  }
  .booking-form__button {
    padding: 14px;
    border-radius: 16px;
    margin-top: 12px;
  }
  .confirmation-message {
    font-size: 18px;
    line-height: 22px;
    padding: 20px 0;
  }
  .footer {
    flex-direction: column;
    text-align: center;
    padding: 32px 16px;
    gap: 24px;
  }
  .footer__logo {
    padding-top: 0;
    padding-bottom: 0;
  }
  .footer__logo img {
    width: 160px;
  }
  .footer__logo-text {
    margin-top: 6px;
    font-size: 11px;
  }
  .footer__nav {
    width: 100%;
  }
  .footer__menu {
    display: none;
  }
  .footer__icon {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 0;
  }
  .footer__icon img {
    width: 32px;
    height: 32px;
  }
}
@media (max-width: 414px) {
  .header__nav-mobile {
    gap: 12px;
  }
  .top-info__btn {
    padding: 15px 70px;
  }
}/*# sourceMappingURL=style.css.map */