/* Elements */

:root {
  --primary: hsl(28, 85%, 52%);
  --primary-dark: hsl(
    28,
    85%,
    46%
  ); /* set  -6% of luminosity for primary dark */

  --primary-hell: hsl(25, 62%, 15%);

  --primaryGradient: radial-gradient(
    circle,
    var(--primary) 0%,
    var(--primary-hell) 100%
  );
  --secondary: #eeeeee;
  --secondary-dark: #dadada;
  --light: #e6e6e6;
  --lightGray: #9f9f9f;
  --dark: #242424;
  --primaryFont: "Inter", sans-serif;
  --headingFont: "Inter", sans-serif;
}

@media (max-width: 576px) {
  ::-webkit-scrollbar {
    width: 12px;
    background-color: #f5f5f5;
  }

  /* Track */
  ::-webkit-scrollbar-track {
    background-color: #f5f5f5;
  }

  /* Handle */
  ::-webkit-scrollbar-thumb {
    border-radius: 10px;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: rgb(207, 207, 207);
  }
}

* {
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
}

body {
  font-family: var(--primaryFont, sans-serif);
  font-weight: 400;
}

body.popup-active {
  overflow: hidden;
}

.anchor {
  position: relative;
  top: -40px;
}
@media (max-width: 576px) {
  .anchor {
    top: -40px;
  }
}

a {
  text-decoration: none;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

a:hover,
a:focus {
  text-decoration: none;
}

strong {
  font-weight: 700;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--headingFont, sans-serif);
  font-weight: 700;
}

img {
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  user-select: none;
}

section {
  padding: 80px 0;
}

@media (max-width: 576px) {
  section {
    padding: 60px 0;
  }
  h2 {
    font-size: 24px;
  }
}

span.red {
  color: var(--primary);
}

header {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  flex-direction: column;
  height: 80vh;
  z-index: 0;
  padding: 6.5rem 0;
  background: url(../images/dark-texture.jpg) center / cover;
  clip-path: url(#heroClip);
}

/*header::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 0;
  clip-path: url(#heroClip);
}*/

header svg {
  width: 0;
  height: 0;
}

header h1 {
  color: #fff;
  font-size: 3.7rem;
  text-transform: uppercase;
}

header h1 span {
  font-weight: 200;
}

header .header-bg {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  clip-path: url(#heroClip);
  z-index: -1;
}

header .description {
  color: #fff;
  margin-bottom: 40px;
  font-size: 1.7rem;
  font-weight: 300;
}

header .description span {
  position: relative;
  top: 2px;
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-block;
  margin-right: 0.2rem;
  margin-left: 0.6rem;
}

header .pizza {
  width: 43rem;
  position: absolute;
  right: 0;
  bottom: -25%;
  filter: drop-shadow(0 -23px 20px rgba(255, 255, 255, 0.3)) brightness(92%);
  z-index: 1;
  opacity: 0;
  animation: rotateRight 1.5s forwards;
  transform: translateX(0);
  transform-origin: right;
  transition: 0.4s all;
}

header .pizza:hover {
  transform: rotate(10deg);
}

header .leaf {
  width: 15%;
  position: absolute;
  bottom: 37%;
  right: -2%;
  transform: rotate(25deg);
  z-index: 1;
  filter: drop-shadow(0 0px 4px rgba(0, 0, 0, 0.3));
  opacity: 0;
  animation: fadeIn 1s 1.5s forwards;
}

header .leaf2 {
  width: 15%;
  position: absolute;
  bottom: 0%;
  right: 28%;
  transform: rotate(-176deg);
  opacity: 0;
  animation: fadeIn 1s 1.1s forwards;
}

header .leaves {
  width: 100%;
  position: absolute;
  bottom: -18%;
  right: -50%;
  z-index: 0;
  opacity: 0;
  animation: fadeIn 2s 1.3s forwards;
}

header .leaves2 {
  position: absolute;
  width: 12%;
  bottom: -9%;
  left: -2%;
  opacity: 0;
  animation: fadeIn 2s 1s forwards;
}

header .leaves3 {
  position: absolute;
  width: 14%;
  top: -17%;
  transform: rotate(103deg);
  left: -5%;
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.9)) brightness(88%);
  opacity: 0;
  animation: fadeIn 2s 1.2s forwards;
}

@media (max-width: 1200px) {
  header .pizza {
    width: 30rem;
  }

  header .leaf {
    bottom: 21%;
  }

  header .container {
    z-index: 1;
  }
}

@media (max-width: 576px) {
  header .pizza {
    right: 0;
    bottom: -20%;
    width: 100%;
    z-index: -1;
  }

  header .leaves {
    width: 200%;
    bottom: 18%;
    right: 0;
    z-index: -2;
  }

  header .leaf,
  header .leaf2,
  header .leaves2,
  header .leaves3 {
    display: none;
  }
}

.header-btns {
  display: flex;
  font-family: var(--headingFont);
}

.order-btn,
.call-btn {
  padding: 12px 33px;
  display: inline-block;
  text-transform: uppercase;
  border-radius: 5px;
  box-shadow: 0 3px 20px rgba(0, 0, 0, 0.3);
  font-family: var(--primaryFont);
  font-size: 1.1rem;
  font-weight: 700;
}

.order-btn {
  background: var(--primary);
  color: #fff;
  margin-right: 1rem;
}

.order-btn:hover,
.order-btn:focus {
  background-color: var(--primary-dark);
  color: #fff;
}

.call-btn {
  background: var(--secondary);
  color: black;
  box-shadow: 0 3px 20px rgba(0, 0, 0, 0.3);
}

.call-btn:hover,
.call-btn:focus {
  background-color: var(--secondary-dark);
  color: black;
}

.order-btn:hover,
.call-btn:hover {
  -webkit-transform: scale(1.05);
  -moz-transform: scale(1.05);
  -ms-transform: scale(1.05);
  -o-transform: scale(1.05);
  transform: scale(1.05);
}

header .social {
  position: absolute;
  bottom: 4rem;
  right: 20px;
}
header .social a {
  font-size: 2.3rem;
  margin: 0 3px;
  color: #fff;
}
header .social a:hover {
  opacity: 0.8;
}

@media (max-width: 992px) {
  header p.description {
    font-size: 1.5rem;
    margin-bottom: 40px;
  }
}

@media (max-width: 576px) {
  header {
    height: auto;
    text-align: center;
    padding: 8rem 0 14rem;
  }

  header h1 {
    font-size: 2.5rem;
    text-align: center;
  }

  header .description {
    font-size: 1.2rem;
    margin-bottom: 35px;
  }
  header .description span {
    font-size: 1.8rem;
  }
  .header-btns {
    flex-direction: column;
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
  }
  .order-btn,
  .call-btn {
    font-size: 1rem;
  }

  .order-btn {
    margin-right: 0;
    margin-bottom: 1rem;
  }
  header .social {
    bottom: 0px;
    right: 5px;
  }
}

#bg-texture {
  background: url("../images/papyrus.png");
  background-size: auto;
  background-repeat: repeat;
  padding-top: 5em;
  margin-top: -7em;
}


/* Popup */

#popup {
  position: fixed;
  top: -100%;
  z-index: 999;
  transition: 0.7s all;
  visibility: hidden;
  border-radius: 0.2rem;
}
#popup::after {
  content: "";
  opacity: 0;
  transition: 0.7s all;
}
#popup.active {
  visibility: visible;
  top: 50%;
}
#popup.active::after {
  position: fixed;
  content: "";
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 1;
}
#popup .content {
  position: fixed;
  max-width: 100%;
  width: 450px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 2rem;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  z-index: 1000;
  overflow: auto;
}
#popup .content img {
  display: block;
  max-width: 100%;
}
#popup .content .close {
  position: absolute;
  top: 15px;
  right: 30px;
  font-size: 1.8rem;
  cursor: pointer;
  color: rgba(0, 0, 0, 0.7);
}

@media (max-width: 576px) {
  #popup.active {
    top: 50%;
    bottom: 30px;
  }

  #popup .content {
    height: 90vh;
    justify-content: unset;
  }
}

#kontakt {
  background: url("../images/dark-texture.jpg") center / cover;
  padding: 70px 0 60px;
  margin: 0;
  position: relative;
  overflow: hidden;
  font-size: 1.1rem;
  z-index: 1;
  -webkit-box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.3);
  box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.3);
  color: #fff;
}

#kontakt h2 {
  margin-bottom: 50px;
  font-weight: 700;
  font-size: 2.5rem;
  text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
  color: #fff;
}

#kontakt #contact-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 2fr;
  grid-gap: 2rem;
  margin-top: 4rem;
}

#kontakt #contact-blocks .block {
  background: #fff;
  border-radius: 0.2rem;
  padding: 2rem;
  text-align: center;
  font-size: 1.2rem;
  font-weight: bolder;
  color: var(--dark);
}

#kontakt #contact-blocks .block.large {
  grid-column: span 2;
  text-align: unset;
}

#kontakt #contact-blocks .block.large p {
  display: flex;
  justify-content: space-between;
}

#kontakt #contact-blocks .block p {
  margin-bottom: 0;
}

#kontakt #contact-blocks a {
  color: var(--dark);
}

#kontakt #contact-blocks a:hover,
#kontakt #contact-blocks a:focus {
  color: var(--dark);
}

#kontakt #contact-blocks .block i {
  margin: -3.5rem auto 1rem;
  width: 4rem;
  height: 4rem;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.4rem;
  box-shadow: 0 8px 20px -5px rgba(0, 0, 0, 0.5);
  transition: 0.25s all;
}

#kontakt #contact-blocks .block i:hover {
  transform: translateY(-0.5rem);
}

#kontakt a {
  color: var(--dark);
}
#kontakt a:hover {
  color: var(--primary);
}

#kontakt .card {
  height: 100%;
}

#kontakt h3 {
  font-size: 1.6rem;
  color: var(--dark);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 25px;
  text-align: center;
  display: block;
  position: relative;
}

#kontakt .social a {
  margin-right: 10px;
  color: #fff;
}

#kontakt .social i {
  font-size: 2rem;
}

@media (max-width: 992px) {
  #kontakt #contact-blocks {
    margin-bottom: 4rem;
  }
}

@media (max-width: 576px) {
  #kontakt {
    padding: 50px 0;
  }
  #kontakt h2 {
    margin-bottom: 1rem;
    font-size: 2.2rem;
  }
  #kontakt h3 {
    font-size: 1.2rem;
  }

  #kontakt #contact-blocks {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    margin: 4rem 0;
  }

  #kontakt #contact-blocks .block.large {
    grid-column: span 1;
  }
}

.business-hours {
  position: relative;
  height: 100%;
}

.business-hours p {
  margin-bottom: 0;
  color: var(--dark-on-light);
  font-size: 1rem;
}

.business-hours li {
  font-size: 1.05rem;
  color: #000;
  line-height: 2rem;
  border-bottom: 1px solid #e4e4e4;
}

.business-hours li:last-child {
  border-bottom: none;
}

.business-hours ul {
  margin-bottom: 0px;
  list-style: none;
}

.business-hours .opening-hours li.today {
  color: var(--primary);
  font-weight: 600;
}

iframe {
  min-height: 200px;
}

footer {
  padding: 5rem 0 0;
  background: #131313;
  color: #939393;
}

footer h3 {
  font-weight: bolder;
  margin-bottom: 1.5rem;
  color: var(--lightText);
}

footer img {
  width: 120px;
  max-width: 100%;
}

footer a {
  color: var(--primary);
}

footer a:hover,
footer a:focus {
  color: var(--primary-dark);
}

footer ul {
  list-style: none;
}

footer .footer__copyright {
  padding: 3rem 0;
  margin-top: 3rem;
  text-align: center;
  border-top: 1px solid #292929;
}

footer .social {
  font-size: 1.5rem;
  margin-top: 3.6rem;
}

footer .social a,
footer ul li,
footer #important-links a {
  color: var(--lightGray);
}

footer .social a:hover {
  color: #fff;
}

footer .social a:nth-child(1) {
  margin-right: 1rem;
}

footer h3 {
  color: var(--light);
}

@media (max-width: 768px) {
  footer {
    text-align: center;
  }
  footer img {
    margin-bottom: 2rem;
  }
}

/* ===================
		  arrow to Top
		  ================
   */

.arrowToTop {
  cursor: pointer;
  position: fixed;
  text-align: center;
  z-index: 9999;
  right: 40px;
  bottom: 40px;
  opacity: 0;
  pointer-events: none;
}

.arrowToTop button {
  text-decoration: none;
  padding: 9px 15px;
  color: #fff;
  background: var(--primary);
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
  transition: all 0.4s ease-in-out;
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  border-radius: 8px;
  font-size: 19px;
  display: inline-block;
  outline: none;
  border: none;
  cursor: pointer;
}

.arrowToTop button:hover {
  background: var(--primary);
  -webkit-transform: translateY(-8px);
  -moz-transform: translateY(-8px);
  -ms-transform: translateY(-8px);
  -o-transform: translateY(-8px);
  transform: translateY(-8px);
  -webkit-box-shadow: 0 10px 8px rgba(0, 0, 0, 0.25);
  -moz-box-shadow: 0 10px 8px rgba(0, 0, 0, 0.25);
  box-shadow: 0 10px 8px rgba(0, 0, 0, 0.25);
}

.arrowToTop.show {
  opacity: 1;
  pointer-events: all;
}

@media (max-width: 576px) {
  .arrowToTop {
    right: 0;
  }

  .arrowToTop button {
    padding: 8px 13px;
    font-size: 18px;
  }
}

/* Nav bar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: transparent;
  padding: 10px 0;
  position: fixed;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  width: 100%;
  height: 80px;
  z-index: 100;

  font-family: var(--font-heading);
  font-size: 1.2rem;
}

.navbar .container {
  position: relative;
}

@media (max-width: 568px) {
  .navbar {
    padding: 5px 20px;
    height: auto;
    background: var(--dark);
  }
}

.navbar.sticky {
  height: 80px;
  box-shadow: 1px 1px 13px -1px rgba(0, 0, 0, 0.4);
  background: var(--dark);
}

@media (min-width: 992px) {
  .navbar.sticky .brand-logo {
    max-width: 100px;
    top: 0;
    padding: 10px;
  }
}

.navbar-toggler:focus,
.navbar-toggler:hover {
  outline: none !important;
  border: none;
}

.navbar-links {
  height: 100%;
}

.navbar-links ul {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.navbar-links li {
  list-style: none;
  margin: 0 10px;
}

.navbar-links li a {
  position: relative;
  display: block;
  text-decoration: none;
  color: #fff;
  margin: 10px 10px;
  font-family: var(--font-primary);
  font-weight: 500;
}
.navbar-links li a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.navbar-links li.social {
  font-size: 2rem;
}
.navbar-links li.social a {
  margin: 10px 15px;
}

@media (max-width: 768px) {
  .navbar-links li {
    margin: 0;
  }
}

@media (max-width: 568px) {
  .navbar.sticky {
    height: auto;
  }

  .navbar .order-btn {
    display: none;
  }

  .navbar-links li a::before {
    height: 2px;
  }

  .navbar-links {
    margin-right: 0;
  }

  .navbar-links ul {
    display: table;
    width: 100%;
    text-align: center;
  }

  .navbar-links li a {
    margin: 13px 15px;
    display: inline-block;
  }
}

.navbar-dark .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-dark .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.4) !important;
  margin-left: auto;
}

.navbar-toggler {
  border: none;
  padding: 12px 20px;
}

.toggle-button {
  position: absolute;
  top: 24px;
  right: 1rem;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
}

.toggle-button .bar {
  height: 3px;
  width: 100%;
  background-color: white;
  border-radius: 10px;
}

.toggle-button {
  display: flex;
}

.absolute-btn {
  display: none;
  position: absolute;
  background: var(--primary);
  transform: translateX(-50%);
  left: 50%;
  padding: 10px 20px;
  text-transform: uppercase;
  border-radius: 5px;
  box-shadow: 0 3px 20px rgba(0, 0, 0, 0.3);
  font-weight: 700;
  color: #fff;
  font-size: 0.8rem;
}

.absolute-btn:hover,
.absolute-btn:focus {
  color: #fff;
  background: var(--primary-dark);
}

@media (max-width: 576px) {
  .absolute-btn {
    top: 12px;
    display: block;
  }
}

@media (max-width: 330px) {
  .absolute-btn {
    padding: 10px;
  }
}

.brand-logo {
  position: relative;
  top: 30px;
  max-width: 160px;
  -webkit-transition: 0.3s all;
  -moz-transition: 0.3s all;
  -ms-transition: 0.3s all;
  -o-transition: 0.3s all;
  transition: 0.3s all;
  filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.9));
  -webkit-filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.9));
}

@media (max-width: 1200px) {
  .brand-logo {
    position: relative;
    top: 0;
    max-width: 80px;
  }
}

@media (max-width: 576px) {
  .brand-logo {
    max-width: 60px;
  }
}

#preloader {
  overflow: hidden;
  background-color: var(--primary);
  background: var(--primaryGradient);
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: fixed;
  z-index: 99999;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

#preloader p {
  font-size: 1.4rem;
  font-weight: bold;
  margin-left: 1rem;
}

#preloader .jumper {
  left: 0;
  top: 6rem;
  right: 0;
  bottom: 0;
  display: block;
  position: absolute;
  margin: auto;
  width: 50px;
  height: 50px;
}

#preloader .jumper > div {
  background-color: #fff;
  width: 10px;
  height: 10px;
  border-radius: 100%;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  position: absolute;
  opacity: 0;
  width: 50px;
  height: 50px;
  -webkit-animation: jumper 1s 0s linear infinite;
  animation: jumper 1s 0s linear infinite;
}

#preloader .jumper > div:nth-child(2) {
  -webkit-animation-delay: 0.33333s;
  animation-delay: 0.33333s;
}

#preloader .jumper > div:nth-child(3) {
  -webkit-animation-delay: 0.66666s;
  animation-delay: 0.66666s;
}

#popover {
  position: fixed;
  bottom: 0.5rem;
  left: 0.5rem;
  z-index: 150;
  max-width: 35vw;
  padding: 0.75rem 1rem;
  background-color: rgba(241, 243, 246, 0.8);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  border-radius: var(--border-radius);
  opacity: 0;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  -webkit-transition: var(--transition-medium);
  transition: var(--transition-medium);
  -webkit-box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
          box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
@media (max-width: 767.98px) {
  #popover {
    max-width: 100%;
  }
}
@media (max-width: 575.98px) {
  #popover {
    right: 0.5rem;
  }
}
#popover.slide-in {
  opacity: 1;
  -webkit-transform: translateX(0);
          transform: translateX(0);
}
#popover .popover-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
#popover .popover-header .popover-heading {
  font-size: 1.2rem;
  margin-bottom: 0;
  margin-right: 2rem;
  font-weight: var(--weight-bold);
  letter-spacing: -0.02em;
}
@media (max-width: 575.98px) {
  #popover .popover-header .popover-heading {
    font-size: 1rem;
  }
}
#popover .popover-close-button {
  position: absolute;
  right: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 2.75rem;
  font-size: 1.1rem;
  cursor: pointer;
}
#popover .popover-content {
  margin-bottom: 0;
}
@media (max-width: 575.98px) {
  #popover .popover-content {
    font-size: 0.875rem;
  }
}

@keyframes rotateRight {
  from {
    transform: rotate(-360deg) translateX(1200%);
    opacity: 0;
  }
  to {
    transform: rotate(0deg) translateX(0);
    opacity: 1;
  }
}

@-webkit-keyframes jumper {
  0% {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  5% {
    opacity: 1;
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 0;
  }
}

@keyframes jumper {
  0% {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  5% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* End of Navbar */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(400px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
