/*! 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;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* 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;
}

:root {
  --white: #fff;
  --black: #222;
  --main: #FF896F;
  --btnColor: #DF4E2E;
  --btnHover: #B43316;
}

html {
  box-sizing: border-box;
}

* {
  padding: 0;
  margin: 0;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.4s ease-in-out;
}

img {
  max-width: 100%;
}

input {
  border: none;
}

input,
button {
  font-family: "Poppins", sans-serif;
}

button,
input[type=submit] {
  cursor: pointer;
  border: none;
  outline: none;
}

textarea {
  font-family: "Poppins", sans-serif;
}

body {
  font-family: "Poppins", sans-serif;
  font-weight: normal;
  font-size: 12px;
  line-height: 1.4;
  color: var(--black);
  background-color: var(--white);
}

iframe {
  border: none;
}

.flex {
  display: flex;
}

.flex-c {
  display: flex;
  align-items: center;
}

.flex-c-j {
  display: flex;
  align-items: center;
  justify-content: center;
}

h1, h2, h3, h4, h5, p, ul {
  padding: 0;
  margin: 0;
}

button, input[type=submit] {
  cursor: pointer;
}

.list-reset {
  list-style: none;
}

.container {
  position: relative;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 0 80px;
}

.btn {
  border-radius: 14px;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  color: var(--white);
  background-color: var(--btnColor);
  box-shadow: 0 4px 12px 0 rgba(230, 57, 70, 0.15);
  transition: background-color 0.4s ease-in-out;
}
.btn:hover {
  background-color: var(--btnHover);
  box-shadow: 0 4px 12px 0 rgba(230, 57, 70, 0.15);
}

.main-title {
  color: var(--black);
  text-align: center;
  font-size: 40px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.subTitle {
  padding-top: 7px;
  display: flex;
  justify-content: center;
  color: #666;
  text-align: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

@font-face {
  font-family: "Poppins";
  src: url("Poppins-Regular.eot");
  src: local("Gilroy Medium"), local("Poppins-Regular"), url("../fonts/Poppins-Regular.eot?#iefix") format("embedded-opentype"), url("../fonts/Poppins-Regular.woff") format("woff"), url("../fonts/Poppins-Regular.woff2") format("woff2"), url("../fonts/Poppins-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Poppins";
  src: url("Poppins-SemiBold.eot");
  src: local("Gilroy Bold"), local("Poppins-SemiBold"), url("../fonts/Poppins-SemiBold.eot?#iefix") format("embedded-opentype"), url("../fonts/Poppins-SemiBold.woff") format("woff"), url("../fonts/Poppins-SemiBold.woff2") format("woff2"), url("../fonts/Poppins-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}
.header {
  height: 779px;
  background-image: url("../images/bg.jpg");
  background-position: top top;
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--white);
}
.headerTopBar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  align-items: center;
  padding: 12px 0;
  z-index: 91;
  transition: background-color 0.4s ease-in-out;
}
.headerTopBar.fixed {
  background-color: var(--white);
}
.headerTopBar.fixed .headerNavigationHref, .headerTopBar.fixed .logo {
  color: var(--black);
}
.headerTopBar.fixed .headerNavigationHref:hover {
  color: var(--btnColor);
}
.headerNavigation {
  margin: 0 auto;
}
.headerNavigationCard {
  gap: 46px;
}
.headerNavigationHref {
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
}
.headerNavigationHref:hover {
  color: var(--main);
}
.headerOrderNow {
  padding: 18px 29px;
}
.headerContent {
  max-width: 600px;
  width: 100%;
  padding-top: 230px;
  margin-left: auto;
  margin-right: auto;
  flex-direction: column;
  text-align: center;
}
.headerContentSlogon {
  padding: 6px 14px;
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  border-radius: 100px;
  background-color: rgba(244, 162, 97, 0.13);
  transition: background-color 0.4s ease-in-out;
}
.headerContentSlogon:hover {
  background-color: rgba(244, 162, 97, 0.23);
}
.headerContentTitle {
  margin-top: 26px;
  font-size: 56px;
  font-style: normal;
  font-weight: 600;
  line-height: 110%;
}
.headerContentTitle span {
  display: block;
}
.headerContentText {
  margin-top: 18px;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
}
.headerContentActions {
  margin-top: 30px;
  gap: 16px;
}
.headerContentActionsHref {
  display: flex;
  padding: 18px 29px;
}
.headerContentActionsCallUs {
  padding: 15px 29px;
  border-radius: 14px;
  border: 2px solid var(--white);
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  transition-timing-function: ease-in-out;
  transition-property: background-color, color;
  transition-duration: 0.4s;
}
.headerContentActionsCallUs:hover {
  color: var(--black);
  background-color: var(--white);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 22px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.ourPizza {
  padding: 100px 0;
  background-color: #FFF8F2;
}
.ourPizzaProducts {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ourPizzaItem {
  flex-direction: column;
  padding: 16px;
  border-radius: 20px;
  background-color: var(--white);
  box-shadow: 0 12px 24px 0 rgba(44, 27, 16, 0.05);
}
.ourPizzaImage {
  width: 100%;
  height: 199px;
  font-size: 0;
  line-height: 0;
  border-radius: 16px;
  background-color: #F5E6D3;
}
.ourPizzaInfo {
  width: 100%;
  margin-top: 12px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
}
.ourPizzaTitle {
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
}
.ourPizzaComposition {
  color: #666;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
}
.ourPizzaFooter {
  width: 100%;
  margin-top: 12px;
}
.ourPizzaPrice {
  color: #222;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
.ourPizzaOrder {
  margin-left: auto;
  padding: 14px 17px;
}

.placeOrder {
  padding-top: 80px;
  width: 100%;
  height: 1440px;
  background-image: url("../images/bg1.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.placeOrder .subTitle, .placeOrder .main-title {
  color: var(--white);
}
.placeOrderContent {
  margin-left: auto;
  margin-right: auto;
  margin-top: 48px;
  max-width: 880px;
  width: 100%;
  padding: 40px;
  border-radius: 24px;
  background-color: var(--white);
  box-shadow: 0 12px 24px 0 rgba(44, 27, 16, 0.05);
}
.placeOrderContentUserForm {
  flex-wrap: wrap;
  gap: 18px;
}
.placeOrderContentHr {
  display: block;
  margin: 30px 0;
  width: 100%;
  height: 1px;
  background-color: #F0E4DC;
}
.placeOrderContentUserItem {
  max-width: calc(50% - 20px);
  width: 100%;
  flex-direction: column;
  gap: 8px;
}
.placeOrderContentUserItemLast {
  margin-left: auto;
}
.placeOrderContentUserItemFull {
  max-width: 100%;
}
.placeOrderContentUserItemLabel {
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
}
.placeOrderContentUserItemInput {
  padding: 0 16px;
  width: 100%;
  height: 48px;
  border-radius: 12px;
  border: 2px solid #F0E4DC;
  background-color: #FFF8F2;
  outline: none;
}
.placeOrderContentUserItemInput.error {
  border-color: var(--btnColor);
}
.placeOrderContentSizeWrapp {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.placeOrderContentSizeInput {
  display: none;
}
.placeOrderContentSizeLabel {
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  border-radius: 14px;
  border: 2px solid #F0E4DC;
  transition: border-color 0.4s ease-in-out;
  cursor: pointer;
}
.placeOrderContentSizeLabel:has(.placeOrderContentSizeInput:checked) {
  border-color: var(--btnColor);
}
.placeOrderContentSizeTitle {
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
}
.placeOrderContentSizeInfo {
  color: #666;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}
.placeOrderContentRadio {
  padding: 8px 12px;
  line-height: 1;
  border-radius: 10px;
  border: 1.5px solid #F0E4DC;
  background-color: var(--white);
  gap: 10px;
  cursor: pointer;
}
.placeOrderContentRadio:has(.placeOrderContentRadioInput:checked) {
  border-radius: 10px;
  border-color: var(--btnColor);
  background-color: rgba(223, 78, 46, 0.03);
}
.placeOrderContentRadioInput {
  display: none;
}
.placeOrderContentRadioInput:checked ~ .placeOrderContentRadioCustom {
  background-image: url("../images/check2.svg");
}
.placeOrderContentRadioCustom {
  width: 20px;
  height: 20px;
  background-image: url("../images/check1.svg");
}
.placeOrderContentRadioCustomText {
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
}
.placeOrderContentSlices {
  margin-top: 18px;
}
.placeOrderContentCommentText {
  margin-top: 8px;
  width: 100%;
  height: 100px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 2px solid #F0E4DC;
  background-color: #FFF8F2;
  outline: none;
}
.placeOrderContentSubmit {
  margin-top: 30px;
  padding: 18px 0;
  width: 100%;
}
.placeOrderContentIngredientsNotice {
  margin-left: auto;
  color: #666;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
.placeOrderContentIngredientsList {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.footer {
  padding: 35px 0;
  background-color: #151515;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

.errorText {
  color: #DB5C6B;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.modal {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out;
}

.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal.is-open .modalCard {
  transform: translateY(0);
}

.modalCard {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: var(--white);
  border-radius: 24px;
  padding: 48px 40px 40px;
  max-width: 420px;
  width: calc(100% - 32px);
  transform: translateY(20px);
  transition: transform 0.3s ease-in-out;
}

.modalClose {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  border-radius: 50%;
  transition: background-color 0.2s;
}

.modalClose:hover {
  background-color: #f5f5f5;
}

.modalIcon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background-color: #EAF6EA;
  margin-bottom: 24px;
}

.modalTitle {
  font-size: 26px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 12px;
}

.modalText {
  font-size: 15px;
  font-weight: 400;
  color: #666;
  line-height: 1.6;
  margin-bottom: 28px;
}

.modalBtn {
  width: 100%;
  padding: 18px 0;
  font-size: 16px;
  font-weight: 700;
  border-radius: 14px;
  margin-bottom: 16px;
  cursor: pointer;
}

.modalLink {
  font-size: 14px;
  font-weight: 600;
  color: var(--btnColor);
  text-decoration: none;
  transition: color 0.2s;
}

.modalLink:hover {
  color: var(--btnHover);
}

.burger {
  margin-left: auto;
  display: none;
  background-color: transparent;
}

.mobileMenu {
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0;
  background-color: #111;
  z-index: 200;
  padding: 4px 15px 30px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out;
}
.mobileMenu.is-open {
  opacity: 1;
  pointer-events: auto;
}
.mobileMenuTop {
  justify-content: space-between;
  padding: 4px 0;
}
.mobileMenuClose {
  background: transparent;
  padding: 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}
.mobileMenuClose:hover {
  background-color: rgba(255, 255, 255, 0.1);
}
.mobileMenuNav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobileMenuList {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.mobileMenuLink {
  display: block;
  padding: 20px 0;
  font-size: 30px;
  font-weight: 600;
  color: var(--white);
  text-align: center;
  transition: color 0.3s ease-in-out;
}
.mobileMenuLinkActive {
  color: var(--main);
}
.mobileMenuLink:hover {
  color: var(--main);
}
.mobileMenuActions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mobileMenuOrderNow {
  display: block;
  padding: 18px 0;
  text-align: center;
}
.mobileMenuCallUs {
  display: block;
  padding: 16px 0;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  border-radius: 14px;
  border: 2px solid var(--white);
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}
.mobileMenuCallUs:hover {
  background-color: var(--white);
  color: var(--black);
}

@media screen and (max-width: 950px) {
  .container {
    padding: 0 30px;
  }
}
@media screen and (max-width: 780px) {
  .ourPizzaProducts {
    grid-template-columns: 1fr;
  }
  .container {
    padding: 0 15px;
  }
  .headerNavigationCard {
    display: none;
  }
  .headerOrderNow {
    display: none;
  }
  .headerContentTitle {
    font-size: 34px;
  }
  .header {
    height: 670px;
  }
  .headerContent {
    padding-top: 190px;
  }
  .headerContentActions {
    width: 100%;
    flex-direction: column;
  }
  .headerContentActionsItem {
    width: 100%;
  }
  .headerContentActionsHref {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .ourPizza {
    padding: 55px 15px;
  }
  .main-title {
    font-size: 28px;
  }
  .subTitle,
  body {
    font-size: 14px;
  }
  .ourPizzaProducts {
    margin-top: 36px;
  }
  .placeOrderContentUserItem {
    max-width: 100%;
  }
  .placeOrderContent {
    padding: 16px;
  }
  .placeOrderContentSizeWrapp {
    grid-template-columns: 1fr;
  }
  .placeOrderContentSizeTitle {
    font-size: 16px;
  }
  .placeOrderContentSizInfo {
    font-size: 12px;
  }
  .placeOrderContentIngredientsList {
    grid-template-columns: 1fr;
  }
  .placeOrder {
    padding: 55px 0;
    height: auto;
  }
  .burger {
    display: flex;
  }
  .headerTopBar.fixed svg rect {
    fill: #222;
  }
}