@font-face {
  font-family: "Inter";
  font-weight: 400;
  font-style: normal;
  src: url("../fonts/Inter-Regular.ttf");
}
@font-face {
  font-family: "Inter";
  font-weight: 600;
  font-style: normal;
  src: url("../fonts/Inter-SemiBold.ttf");
}
@font-face {
  font-family: "Inter";
  font-weight: 600;
  font-style: italic;
  src: url("../fonts/Inter-SemiBoldItalic.otf");
}
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

.hero__title {
  font-size: 72px;
  font-weight: 600;
  line-height: 105%;
}
@media (width < 720px) {
  .hero__title {
    line-height: 115%;
    font-size: 42px;
  }
}

.mobile__title, .about__title, .favorite__title, .media__title {
  font-size: 60px;
  font-weight: 600;
  line-height: 125%;
}
@media (width < 720px) {
  .mobile__title, .about__title, .favorite__title, .media__title {
    font-size: 32px;
  }
}

.slider__price, .slider__title, .contact__text {
  font-size: 24px;
  font-weight: 600;
  line-height: 125%;
}

body {
  font-size: 16px;
  font-weight: 400;
  line-height: 150%;
}

.mobile__description {
  font-size: 10px;
  font-weight: 600;
  line-height: 140%;
}

.hero__button, .contact__element, .header__nav, .mobile__link, .slider__button {
  font-size: 16px;
  font-weight: 600;
  line-height: 150%;
}

.contact__link, .header__button, .header__link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.contact__link::after, .header__button::after, .header__link::after {
  content: "";
  display: block;
  height: 2px;
  background-color: #403f3d;
  width: 0;
  margin: 0 auto;
  transition: 0.2s;
}
.active.contact__link, .active.header__button, .active.header__link {
  pointer-events: none;
}
.active.contact__link::after, .active.header__button::after, .active.header__link::after {
  width: 100%;
}
@media (hover: hover) {
  .contact__link:hover::after, .header__button:hover::after, .header__link:hover::after, .active.contact__link::after, .active.header__button::after, .active.header__link::after {
    width: 100%;
  }
}

.mobile__link, .slider__button {
  background-color: transparent;
  color: #403f3d;
  border: 1px solid #665f55;
  transition: 0.2s;
}
.mobile__link svg, .slider__button svg,
.mobile__link svg *,
.slider__button svg * {
  transition: 0.2s;
  stroke: #403f3d;
  fill: #403f3d;
}
.mobile__link .icon, .slider__button .icon {
  transition: 0.2s;
  background-color: #c1b6ad;
}
.active.mobile__link, .active.slider__button {
  pointer-events: none;
}
.active.mobile__link, .active.slider__button, .mobile__link:has(input:checked), .slider__button:has(input:checked) {
  background-color: #665f55;
  border-color: #665f55;
  color: #e1d4c9;
}
.active.mobile__link svg *, .active.slider__button svg *, .mobile__link:has(input:checked) svg *, .slider__button:has(input:checked) svg * {
  stroke: #e1d4c9;
  fill: #e1d4c9;
}
.active.mobile__link .icon, .active.slider__button .icon, .mobile__link:has(input:checked) .icon, .slider__button:has(input:checked) .icon {
  background-color: #e1d4c9;
}
@media (hover: hover) {
  .mobile__link:hover, .slider__button:hover {
    background-color: #665f55;
    border-color: #665f55;
    color: #e1d4c9;
  }
  .mobile__link:hover svg *, .slider__button:hover svg * {
    stroke: #e1d4c9;
    fill: #e1d4c9;
  }
  .mobile__link:hover .icon, .slider__button:hover .icon {
    background-color: #e1d4c9;
  }
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, sans-serif;
  background-color: #e1d4c9;
  color: #403f3d;
}

ul {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  max-width: 1440px;
  padding-left: 40px;
  padding-right: 40px;
  margin: 0 auto;
}

@media (width < 740px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}
.title__cursive {
  font-style: italic;
  color: #b0907a;
}

.header {
  z-index: 999;
  padding: 20px 0;
  position: sticky;
  top: 0;
  background-color: #e1d4c9;
}
.header__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header__home {
  height: 60px;
}
.header__nav {
  width: 100%;
  display: flex;
  background-color: #e1d4c9;
}
.header__list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  width: 100%;
}
@media (hover: none) {
  .header__link {
    display: inline;
  }
  .header__link::after {
    display: none;
  }
}
.header__button span {
  display: inline-flex;
  justify-content: center;
  align-items: start;
}
.header__button img {
  margin-left: 8px;
}
@media (hover: none) {
  .header__button {
    display: inline;
  }
  .header__button::after {
    display: none;
  }
  .header__button.active {
    cursor: default;
    pointer-events: all;
  }
  .header__button.active::after {
    display: block;
    width: 100%;
  }
}
.header__burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid #665f55;
  border-radius: 50%;
  position: relative;
}
.header__burger .bottom,
.header__burger .top {
  position: absolute;
  left: 50%;
  transform: translate(-50%);
  transition: 0.2s;
}
.header__burger .top {
  top: 16px;
}
.header__burger .bottom {
  top: 24px;
}
.header__burger.active .bottom,
.header__burger.active .top {
  top: 50%;
}
.header__burger.active .top {
  transform: translate(-50%) rotate(45deg);
}
.header__burger.active .bottom {
  transform: translate(-50%) rotate(-45deg);
}

@media (max-width: 768px) {
  .header__nav {
    transition: 0.2s;
    transform: translateX(100%);
    font-size: 32px;
    font-weight: 600;
    line-height: 125%;
    position: fixed;
    z-index: -1;
    top: 100px;
    left: 0;
    bottom: 0;
    right: 0;
    flex-direction: column;
    align-items: center;
    padding: 60px 40px;
    gap: 100px;
    overflow-y: auto;
  }
  .header__nav img {
    margin-left: 16px;
    width: 40px;
    height: 40px;
  }
  .header__list {
    flex-direction: column;
    gap: 60px;
  }
  .header__burger {
    display: block;
  }
}
.footer {
  color: #e1d4c9;
  margin-bottom: 40px;
}
.footer__content {
  background-color: #665f55;
  border-radius: 40px;
  padding: 100px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 100px;
}

.media {
  flex-basis: 530px;
  flex-grow: 1;
  flex-shrink: 1;
}
.media__title {
  margin-bottom: 40px;
}
.media__list {
  display: flex;
  align-items: center;
  gap: 12px;
}
.media__link {
  display: block;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #c1b6ad;
  transition: 0.2s;
}
.media__link svg path {
  stroke: #c1b6ad;
  transition: 0.2s;
}
@media (hover: hover) {
  .media__link:hover {
    background-color: #e1d4c9;
  }
  .media__link:hover svg path {
    stroke: #403f3d;
  }
}

.contact {
  flex-basis: 530px;
  flex-grow: 1;
  flex-shrink: 1;
}
.contact__text {
  margin-bottom: 40px;
}
.contact__element:not(:last-child) {
  margin-bottom: 16px;
}
.contact__element:last-child {
  margin-bottom: 4px;
}
.contact__element span {
  display: flex;
  align-items: start;
  gap: 8px;
}
.contact__link::after {
  background-color: #e1d4c9;
}
.contact__icon {
  width: 20px;
  height: 20px;
}

@media (max-width: 768px) {
  .footer__content {
    padding-left: 60px;
    padding-right: 60px;
  }
}
@media (width < 720px) {
  .footer__content {
    padding: 60px 16px;
    gap: 40px;
  }
}
.hero {
  margin-bottom: 100px;
}
.hero__wrapper {
  border-radius: 40px;
  padding: 100px;
  background: url("../images/home/img-hero.jpg") lightgray 50%/cover no-repeat;
  color: #e1d4c9;
  position: relative;
  overflow: hidden;
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 530px;
}
.hero__title {
  margin-bottom: 40px;
}
.hero__text {
  margin-bottom: 40px;
}
.hero__button {
  border-radius: 100px;
  width: 200px;
  padding-top: 20px;
  padding-bottom: 20px;
  color: #403f3d;
  background-color: #e1d4c9;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  transition: 0.2s;
}
.hero__button::after {
  content: "";
  display: block;
  background: url("../images/common/coffee-cup.svg") 50%/cover no-repeat;
  width: 0;
  height: 0;
  opacity: 0;
  transition: 0.2s;
}
@media (hover: hover) {
  .hero__button:hover {
    gap: 8px;
  }
  .hero__button:hover::after {
    width: 20px;
    height: 20px;
    opacity: 1;
  }
}
@media (hover: none) {
  .hero__button {
    gap: 8px;
  }
  .hero__button::after {
    width: 20px;
    height: 20px;
    opacity: 1;
  }
}
.hero video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transform: translate(-50%, -50%);
}

@media (max-width: 1300px) {
  .hero video {
    width: auto;
    height: 100%;
  }
}
@media (max-width: 768px) {
  .hero__wrapper {
    padding-left: 60px;
    padding-right: 60px;
  }
}
@media (width < 720px) {
  .hero__wrapper {
    padding: 60px 16px;
  }
}
.favorite {
  text-align: center;
  margin-bottom: 100px;
}
.favorite__title {
  margin-bottom: 40px;
}

.slider__wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
  max-width: 1352px;
  margin-left: auto;
  margin-right: auto;
}
.slider__button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.slider__button-prev {
  transform: rotate(180deg);
}
.slider__window {
  max-width: 1152px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slider__body {
  width: 1152px;
}
.slider__items {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 1;
  z-index: -1;
  transition: 0.7s;
}
.slider__item {
  width: 1152px;
  flex-shrink: 0;
}
.slider__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  max-width: 480px;
}
.slider__image {
  margin-bottom: 20px;
  width: 480px;
  height: 480px;
}
.slider__title {
  margin-bottom: 16px;
}
.slider__text {
  margin-bottom: 16px;
}
.slider__indicators {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.slider__indicator {
  width: 40px;
  height: 4px;
  border-radius: 100px;
  background-color: #c1b6ad;
}
.slider__indicator div {
  background-color: #665f55;
  border-radius: 100px;
  width: 0;
  height: 100%;
  transition: 0.2s;
}

@media (width < 768px) {
  .slider__button {
    display: none;
  }
}
@media (max-width: 678px) {
  .slider__content {
    max-width: 348px;
  }
  .slider__image {
    max-width: 348px;
    max-height: 348px;
  }
}
.about {
  margin-bottom: 100px;
}
.about__title {
  margin-bottom: 40px;
}
.about__photos {
  display: grid;
  grid-template-areas: "a c" "a d" "b d";
  gap: 40px;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 430px 120px 430px;
}
.about__photo {
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about__photo:nth-child(1) {
  grid-area: a;
}
.about__photo:nth-child(2) {
  grid-area: b;
}
.about__photo:nth-child(3) {
  grid-area: c;
}
.about__photo:nth-child(4) {
  grid-area: d;
}
@media (hover: hover) {
  .about__photo:hover .about__image {
    transform: scale(0.91);
  }
}
.about__image {
  transition: 0.2s;
  transform: scale(1);
}

@media (max-width: 790px) {
  .about__photos {
    grid-template-areas: "a" "d";
    grid-template-columns: 1fr;
    grid-auto-rows: 590px;
  }
  .about__photo:nth-child(2) {
    display: none;
  }
  .about__photo:nth-child(3) {
    display: none;
  }
}
.mobile {
  margin-bottom: 100px;
}
.mobile__wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 100px;
}
.mobile__content {
  flex: 1 1 630px;
}
.mobile__title {
  margin-bottom: 40px;
}
.mobile__text {
  margin-bottom: 40px;
}
.mobile__links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.mobile__link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid #665f55;
  border-radius: 100px;
  width: 200px;
}
.mobile > span {
  display: block;
}
.mobile__description {
  margin-bottom: 2px;
  display: block;
}
.mobile__store {
  display: block;
}
.mobile__image {
  flex: 2 1 630px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile__image img {
  width: 100%;
}

@media (max-width: 1100px) {
  .mobile__content {
    flex-basis: 0;
  }
  .mobile__image {
    flex-basis: 0;
  }
  .mobile__wrapper {
    flex-direction: column;
  }
}
@media (max-width: 678px) {
  .mobile__wrapper {
    gap: 40px;
  }
}