/*
Theme Name: Горки
Theme URI: https://restoran-gorki.tapline.ru
Author: Tapline
Description: Кастомная тема ресторана «Горки».
Version: 1.0.0
Text Domain: gorki
*/

@font-face {
  font-family: "Cormorant";
  src: url("assets/fonts/cormorant/Cormorant-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter/Inter-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter/Inter-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter/Inter-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --colorText: #3b2e22;
  --colorBeige: #d8c8a2;
  --colorBackground: #f8f6f0;
  --colorPrimary: #4f5f3e;
  --colorGold: #c8a96a;
  --colorBrown: #8c6e4a;
  --colorGreenLight: #a7b68a;
  --colorGrayLight: #e9e6df;
  --colorBeigeLight: #efe8d6;
  --fontTitle: "Cormorant", serif;
  --fontText: "Inter", sans-serif;
  --gap: 50px;
  --cardPadding: 25px;
  --transition: 0.5s;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--fontText);
  font-weight: 400;
  color: var(--colorText);
  background: var(--colorBackground);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-family: var(--fontTitle);
  font-weight: 700;
  color: var(--colorText);
}

p {
  margin: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  padding: 0;
  border: 0;
  color: inherit;
  background: none;
}

.siteContainer {
  width: min(calc(100vw - 200px), 1400px);
  margin: 0 auto;
}

.siteContent {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

@media (max-width: 1440px) {
  .siteContainer {
    width: calc(100vw - 100px);
  }
}

@media (max-width: 1200px) {
  .siteContainer {
    width: calc(100vw - 50px);
  }
}

@media (max-width: 700px) {
  :root {
    --gap: 25px;
    --cardPadding: 15px;
  }

  .siteContainer {
    width: calc(100vw - 20px);
  }
}
