@import url("../css2");
@import url("../css-1");

/* Elements */

:root {
  --primary: #d83422;
  --primary-dark: #c4200e;
  --secondary: #e2e2e2;
  --secondary-dark: #cecece;
  --tertiary: #eba43c;
  --light: #e2e2e2;
  --dark: #131315;

  --heading-font: "Bebas Neue";
  --text-font: "Work Sans";
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--text-font), sans-serif;
}

* {
  margin: 0;
  padding: 0;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s;
}

a:hover,
a:focus {
  color: var(--secondary);
  text-decoration: none;
}

h2 {
  font-family: var(--heading-font);
  font-size: 38px;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
}

img {
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  user-select: none;
}

footer {
  background-color: #171717;
  padding: 30px 0;
  color: #8c8c8c;
  text-align: center;
}
footer p {
  margin: 0;
}

section {
  padding: 100px 0;
}

@media (max-width: 576px) {
  section {
    padding: 30px 0;
  }
  h2 {
    font-size: 40px;
  }
}

/* IDs */

#about {
  position: relative;
  background-color: var(--primary);
}

#about h2 {
  font-size: 55px;
}

@media (max-width: 576px) {
  #about h2 {
    font-size: 40px;
  }
}

#about p {
  color: #fff1f1;
  font-size: 17px;
}

#about a {
  color: var(--secondary);
  font-weight: 700;
}

#about .pizza {
  position: absolute;
  content: "";
  right: 0px;
  top: -20px;
  height: 100%;
  z-index: 0;
  filter: drop-shadow(2px 5px 10px rgba(0, 0, 0, 0.3));
}

@media (max-width: 1200px) {
  #about .pizza {
    top: -5px;
  }
  @media (max-width: 992px) {
    #about .pizza {
      top: 60px;
    }
  }
  @media (max-width: 768px) {
    #about .pizza {
      display: none;
    }
  }
}

#rozvoz {
  background: #232323;
  color: #eaeaea;
  position: relative;
  z-index: 2;
  overflow: hidden;
}
#rozvoz::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: -webkit-linear-gradient(
    30deg,
    rgba(0, 0, 0, 0.6) 40%,
    rgba(0, 0, 0, 0.02) 100%
  );
  background-image: -moz-linear-gradient(
    30deg,
    rgba(0, 0, 0, 0.6) 40%,
    rgba(0, 0, 0, 0.02) 100%
  );
  background-image: -ms-linear-gradient(
    30deg,
    rgba(0, 0, 0, 0.6) 40%,
    rgba(0, 0, 0, 0.02) 100%
  );
  background-image: -o-linear-gradient(
    30deg,
    rgba(0, 0, 0, 0.6) 40%,
    rgba(0, 0, 0, 0.02) 100%
  );
  background-image: linear-gradient(
    30deg,
    rgba(0, 0, 0, 0.6) 40%,
    rgba(0, 0, 0, 0.1) 100%
  );
}

#rozvoz h2 {
  color: #eaeaea;
  font-size: 3.8rem;
  margin-bottom: 30px;
}

#rozvoz p {
  font-size: 1.2rem;
}

#rozvoz .order-btn {
  margin-top: 20px;
  padding-right: 23px;
  padding-left: 23px;
}

#rozvoz .pizza {
  position: absolute;
  right: -500px;
  bottom: -330px;
  z-index: -1;
}
#rozvoz .pizza img {
  width: 950px;
}

@media (min-width: 1600px) {
  #rozvoz .pizza img {
    width: 850px;
  }
}

@media (max-width: 576px) {
  #rozvoz h2 {
    font-size: 3rem;
  }
  #rozvoz p {
    font-size: 1rem;
  }
}

#kontakt {
  padding: 100px 0;
  position: relative;
  background-image: url("../images/pizzozmrzka.svg");
  background-size: auto;
  background-repeat: repeat;
  box-shadow: inset 0 10px 40px 0 rgba(0, 0, 0, 0.3);
}
#kontakt::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.2);
}

#kontakt h2 {
  color: var(--dark);
  margin-bottom: 50px;
  font-size: 4.2rem;
}

@media (max-width: 576px) {
  #kontakt h2 {
    font-size: 3rem;
  }
}

#kontakt .card {
  height: 100%;
}

@media screen and (max-width: 768px) {
  #kontakt .card {
    height: auto;
  }
}

#kontakt h3 {
  font-size: 1.3rem;
  color: black;
  text-transform: uppercase;
  text-align: center;
  border-bottom: 3px dashed rgba(0, 0, 0, 0.3);
  font-weight: 700;
  padding-bottom: 4px;
  margin-bottom: 20px;
  display: block;
}

.contact-info ul {
  list-style: none;
  margin-bottom: 0;
}

.contact-info ul li {
  display: flex;
  align-items: baseline;
  margin-bottom: 20px;
}

.contact-info ul li i {
  font-size: 20px;
  color: var(--primary);
  width: 100%;
  max-width: 40px;
}

.contact-info ul a {
  width: 100%;
  color: inherit;
  font-weight: 600;
}

.contact-info .social i {
  font-size: 30px;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
  font-weight: 500;
}

.contact-info .social i:hover {
  opacity: 0.7;
}

.contact-info ul li i.order {
  color: inherit;
  display: inline-block;
  padding-top: 0.15rem;
  font-size: 1rem;
}

.business-hours {
  position: relative;
  height: 100%;
}

.business-hours p {
  margin-bottom: 0;
  color: var(--dark-on-light);
  font-size: 14px;
}

.business-hours li {
  color: #000;
  line-height: 30px;
  border-bottom: 1px solid #e4e4e4;
}

.business-hours li:last-child {
  border-bottom: none;
}

.business-hours ul {
  margin-bottom: 0px;
}

.business-hours .opening-hours li.today {
  color: var(--primary);
  font-weight: 600;
}

.business-hours .info-message {
  color: #333;
  font-size: 18px;
  margin-bottom: 10px;
}

.header-showcase {
  position: relative;
  background: var(--dark);
  background-image: url("../images/bg2.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100vh;
  justify-content: center;
  align-items: center;
}

.header-showcase::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
  background-image: -webkit-linear-gradient(
    60deg,
    rgba(0, 0, 0, 0.6) 30%,
    rgba(255, 255, 255, 0.02) 100%
  );
  background-image: -moz-linear-gradient(
    60deg,
    rgba(0, 0, 0, 0.6) 30%,
    rgba(255, 255, 255, 0.02) 100%
  );
  background-image: -ms-linear-gradient(
    60deg,
    rgba(0, 0, 0, 0.6) 30%,
    rgba(255, 255, 255, 0.02) 100%
  );
  background-image: -o-linear-gradient(
    60deg,
    rgba(0, 0, 0, 0.6) 30%,
    rgba(255, 255, 255, 0.02) 100%
  );
  background-image: linear-gradient(
    60deg,
    rgba(0, 0, 0, 0.6) 30%,
    rgba(255, 255, 255, 0.02) 100%
  );
}

@media (max-width: 992px) {
  .header-showcase {
    background-image: url("../images/bg-tomatoes.png");
    background-position: right;
  }
}
@media (max-width: 768px) {
  .header-showcase {
    background-position: center;
  }
  .header-showcase::before {
    content: none;
  }
}

.header-showcase .prefix {
  color: #fff;
  margin-bottom: 10px;
  font-size: 26px;
  font-weight: 300;
}

.header-showcase h1 {
  font-family: var(--heading-font);
  letter-spacing: 2px;
  font-size: 5.5rem;
  color: #fff;
  font-weight: 700;
  position: relative;
  line-height: 75px;
  margin-bottom: 25px;
}

.header-showcase h1 span {
  color: var(--primary);
}

.header-showcase h2 {
  color: #e87300;
  font-weight: 900;
  margin-top: 10px;
  padding: 10px 0;
  text-shadow: 0 1px 5px black;
}

.header-showcase i {
  color: white;
}

.header-showcase .description {
  color: #e8e8e8;
  font-size: 1.3rem;
  margin-bottom: 50px;
  font-weight: 300;
}

.header-showcase .description a {
  color: inherit;
  font-weight: 500;
}

.header-showcase .description a:hover {
  color: var(--tertiary);
}

.header-showcase .specials {
  color: var(--light);
  font-size: 25px;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 25px;
}

.header-showcase .specials span {
  color: var(--primary);
  font-weight: 700;
}

.header-showcase .social {
  position: absolute;
  width: 150px;
  right: 0;
  top: 20px;
  text-align: center;
  z-index: 105;
}

.header-showcase .social i {
  font-size: 22px;
  color: var(--tertiary);
  -webkit-transition: all 0.4s;
  -moz-transition: all 0.4s;
  -ms-transition: all 0.4s;
  -o-transition: all 0.4s;
  transition: all 0.4s;
}

.header-showcase .social i:hover {
  color: var(--primary);
}

@media (max-width: 992px) {
  .header-showcase .social {
    display: none;
  }
}

.welcome {
  position: relative;
  z-index: 10;
}

.header-btns {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 10;
}

@media (max-width: 768px) {
  .header-showcase {
    text-align: center;
  }
  .header-showcase::after {
    display: none;
  }
  .header-btns {
    justify-content: center;
  }
  .header-pizza {
    display: none;
  }
}

@media (max-width: 576px) {
  .header-showcase h1 {
    font-size: 4rem;
    line-height: 45px;
    margin-bottom: 25px;
  }

  .header-showcase .prefix {
    font-size: 1.3rem;
  }

  .header-showcase .specials {
    font-size: 18px;
  }
  .header-showcase .description {
    font-size: 15px;
  }
  .header-btns {
    flex-direction: column;
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
  }
  .header-btns .order-btn {
    margin-right: 0;
    margin-bottom: 15px;
    width: 100%;
    max-width: 250px;
  }
  .header-btns .call-btn {
    width: 100%;
    max-width: 250px;
  }
}

.order-btn,
.call-btn {
  font-weight: 600;
  padding: 10px 40px;
  display: inline-block;
  text-transform: uppercase;
  border-radius: 20px;
}

.order-btn {
  background: var(--primary);
  color: #fff;
  margin-right: 15px;
}

.order-btn:hover,
.order-btn:focus {
  color: #fff;
  background: var(--primary-dark);
}

.call-btn {
  background: var(--secondary);
  color: #000;
  border-radius: 20px;
}

.call-btn:hover,
.call-btn:focus {
  color: #000000;
  background: var(--secondary-dark);
}

.call-btn:hover,
.order-btn:hover,
.call-btn:focus,
.order-btn:focus {
  -webkit-transform: scale(1.02);
  -moz-transform: scale(1.02);
  -ms-transform: scale(1.02);
  -o-transform: scale(1.02);
  transform: scale(1.02);
}

.scroll-downs {
  position: absolute;
  bottom: 7%;
  left: 50%;
  transform: translateX(-50%);
  width: 34px;
  height: 55px;
  z-index: 2;
}

.mousey {
  width: 3px;
  padding: 10px 15px;
  height: 35px;
  border: 2px solid #fff;
  border-radius: 25px;
  opacity: 0.75;
  box-sizing: content-box;
  -webkit-animation-name: custom-flash;
  -moz-animation-name: custom-flash;
  -o-animation-name: custom-flash;
  animation-name: custom-flash;
  animation-iteration-count: infinite;
  -webkit-animation-duration: 3s;
  -moz-animation-duration: 3s;
  -o-animation-duration: 3s;
  animation-duration: 3s;
}

.scroller {
  width: 3px;
  height: 10px;
  border-radius: 25%;
  background-color: #fff;
  animation-name: scroll;
  animation-duration: 2.2s;
  animation-timing-function: cubic-bezier(0.15, 0.41, 0.69, 0.94);
  animation-iteration-count: infinite;
}

@media (max-width: 576px) {
  .scroll-downs {
    bottom: 40px;
  }
}

@keyframes scroll {
  0% {
    opacity: 0;
  }
  10% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(15px);
    opacity: 0;
  }
}

@keyframes custom-flash {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.05;
  }
  100% {
    opacity: 1;
  }
}

/* ===================
        arrow to Top
        ================
 */

.arrowToTop {
  cursor: pointer;
  position: fixed;
  text-align: center;
  z-index: 9999;
  -webkit-transition: background-color 0.2s ease-in-out;
  -moz-transition: background-color 0.2s ease-in-out;
  -ms-transition: background-color 0.2s ease-in-out;
  -o-transition: background-color 0.2s ease-in-out;
  transition: background-color 0.2s ease-in-out;
  right: 40px;
  bottom: 40px;
  opacity: 0;
  transition: 0.4s all;
}

.arrowToTop a {
  text-decoration: none;
  padding: 12px 18px;
  color: #fff;
  background: var(--primary);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  transition: 0.2s ease-in-out;
  border-radius: 50%;
  display: inline-block;
}

.arrowToTop a:hover,
.arrowToTop a:focus {
  background: #3a3a3a;
  -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.4);
  -moz-box-shadow: 0 10px 8px rgba(0, 0, 0, 0.4);
  box-shadow: 0 10px 8px rgba(0, 0, 0, 0.4);
}

.arrowToTop svg {
  width: 20px;
  height: 20px;
}

.arrowToTop.show {
  opacity: 1 !important;
}

@media (max-width: 500px) {
  .arrowToTop {
    right: 0;
  }

  .arrowToTop a {
    padding: 5px 10px;
    font-size: 18px;
  }
}

/* Nav bar*/
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  position: fixed;
  transition: 0.4s;
  width: 100%;
  height: 80px;
  z-index: 100;
}

@media (max-width: 992px) {
  .navbar {
    padding: 5px 20px;
    background-color: var(--dark);
    height: auto;
  }
}

.navbar.sticky {
  box-shadow: 1px 1px 13px -1px #000;
  background-color: var(--dark);
}

.navbar-toggler:focus,
.navbar-toggler:hover {
  outline: none !important;
  border: none;
}

.navbar-links {
  height: 100%;
}

.navbar-links ul {
  display: flex;
  margin: 0;
  padding: 0;
  font-size: 16px;
}

.navbar-links li {
  list-style: none;
  margin: 0 10px;
}

.navbar-links li a {
  display: block;
  text-decoration: none;
  color: #fff;
  padding: 10px 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 1rem;
}
.navbar-links li a:hover {
  color: var(--tertiary);
}

@media (max-width: 992px) {
  .navbar-links {
    margin-right: 0;
  }

  .navbar-links ul {
    display: table;
    width: 100%;
    text-align: center;
  }

  .navbar-links li a {
    font-size: 13px;
    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: 10px 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;
}

.brand-logo {
  max-width: 93px;
  position: relative;
  top: 15px;
  left: 0;

  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
  filter: drop-shadow(2px 5px 5px rgba(0, 0, 0, 0.5));
}

@media (max-width: 992px) {
  .brand-logo {
    max-width: 70px;
    position: static;
  }
}

@media (max-width: 576px) {
  .brand-logo {
    max-width: 60px;
  }
}

/* End of Navbar */

/* POPUP */

.popup-overlay {
  height: 100%;
  width: 100%;
  margin: 0 auto;
  display: none;
  position: fixed;
  z-index: 1500;
  align-items: center;
  background: rgba(0, 0, 0, 0.7);
  padding: 30px;
}
.popup__body {
  height: auto;
  max-height: 80vh;
  width: 100%;
  max-width: 700px;
  margin: 100px auto;
  background-color: white;
  background-image: url(../images/pizzozmrzka.svg);
  background-size: auto;
  background-repeat: repeat;
  color: #000;
  position: relative;
  z-index: 103;
  padding: 35px 40px;
  border-radius: 5px;
  box-shadow: 0 2px 5px #000;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}

.popup__body img {
  display: block;

  max-height: 60vh;
  max-width: 100%;
  margin: auto auto;
}

.popup__body em {
  display: block;
  margin-top: 20px;
}

.popup__body p {
  color: #333;
}

.popup__body a {
  text-decoration: none;
}

.popup__body .heading {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 15px;
  text-align: center;
}

.popup__body .second-heading {
  text-align: center;
}

.popup__body .close-btn {
  color: #000;
  position: absolute;
  top: 0;
  right: 15px;
  font-size: 30px;
  cursor: pointer;
}

@media (max-width: 576px) {
  .popup__body .heading {
    font-size: 20px;
  }
}

/* End of POPUP */
