@font-face {
  font-family: 'Niagara Engraved Regular';
  font-style: normal;
  font-weight: normal;
  src: local("Niagara Engraved Regular"), url("../fonts/NIAGENG.woff") format("woff");
}

@font-face {
  font-family: 'Niagara Solid Regular';
  font-style: normal;
  font-weight: normal;
  src: local("Niagara Solid Regular"), url("../fonts/NIAGSOL.woff") format("woff");
}

h1, h2 {
  font-family: 'Niagara Solid Regular', 'Times New Roman', Times, serif;
  color: #7B1300;
}

h1 {
  font-size: calc(44px + (28 - 16) * ((100vw - 360px) / 1560));
  font-size: clamp(18px, calc(44px + (28 - 16) * ((100vw - 360px) / 1560)), 44px);
}

h2 {
  font-size: calc(40px + (28 - 16) * ((100vw - 360px) / 1560));
  font-size: clamp(16px, calc(40px + (28 - 16) * ((100vw - 360px) / 1560)), 40px);
}

.h1, .h2, h3, h4, h5, h6 {
  font-family: 'Times New Roman', Times, serif;
  color: #7B1300;
}

p {
  font-size: large;
}

.center {
  text-align: center;
}

body > nav > div > a > img {
  transition: transform 3s;
  transition-timing-function: ease-in-out;
}

body > nav > div > a > img:hover {
  transform: rotateY(720deg);
}

body > footer > div > div:nth-child(1) > a > img {
  transition: transform 3s;
  transition-timing-function: ease-in-out;
}

body > footer > div > div:nth-child(1) > a > img:hover {
  transform: rotateX(720deg);
}

/* Radial out effect for top navigation menu */
.hvr-radial-out {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  position: relative;
  overflow: hidden;
  background: #7B1300;
  -webkit-transition-property: color;
  transition-property: color;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
}

.hvr-radial-out:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #BB621D;
  border-radius: 100%;
  -webkit-transform: scale(0);
  transform: scale(0);
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}

.hvr-radial-out:hover, .hvr-radial-out:focus, .hvr-radial-out:active {
  background-color: #7B1300;
}

.hvr-radial-out:hover:before, .hvr-radial-out:focus:before, .hvr-radial-out:active:before {
  -webkit-transform: scale(2);
  transform: scale(2);
}

h1 + p::first-letter,
h2 + p::first-letter,
body > div > div.row > div.col-xxl-6.leftCol > h3 + p::first-letter {
  color: #447204;
  font-size: 2.5rem;
  font-family: 'Niagara Engraved Regular';
  line-height: normal;
}

.thepizza_menubutton, .thepizza_orderbutton {
  margin-left: 35%;
  font-weight: bold;
  padding: 10px 20px;
  background-color: #447204;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
}

#allergenInfo {
  border: 1px;
  border-color: #7B1300;
  border-style: solid;
  background-color: #EECAA8;
}

#locationInfo {
  font-size: larger;
}

.thepizza_listrow {
  border: 1px solid #7B1300;
  background-color: #EECAA8;
}

.formContainer {
  background-color: #EECAA8;
  border: 1px solid #7B1300;
}

#contactForm > div.d-grid.gap-2.d-md-flex.justify-content-md-center.py-5 > .btn {
  color: white;
  background-color: #7B1300;
}

.pizzaWeekImage {
  width: 100%;
}

.pizzaWeekText {
  margin: auto;
  padding: 40px;
}

#pizza-box, #story-box {
  position: relative;
  text-align: center;
}

#pizza-box > img, #story-box > img {
  opacity: 35%;
  width: 100%;
}

.centered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#ourStory {
  width: 90%;
}

#ourStory p {
  font-size: clamp(16px, 1.75vw, 30px);
  line-height: clamp(1.1rem, 3vw, 1.5em);
  text-align: left;
}

#ourStory h1 {
  font-size: clamp(80px, 12vw, 200px);
  text-align: center;
}

#pizzaCarousel {
  height: 200px;
  width: 400px;
}

@media only screen and (max-width: 1199px) {
  body > div > div.col.pizzaWeek > div > div.col-lg-6.text-center.pizzaWeekText > div > div > h4 {
    font-size: 1.25em;
  }
}

@media only screen and (max-width: 992px) {
  img[alt*="man making pizza"] {
    left: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    max-width: 100vw;
    position: relative;
    right: 50%;
    width: 100vw;
  }
  .pizzaWeek {
    left: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    max-width: 100vw;
    position: relative;
    right: 50%;
    width: 100vw;
    border: 1px;
    border-color: #7B1300;
    border-style: solid;
    background-color: #EECAA8;
  }
  #pizza-box {
    left: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    max-width: 100vw;
    position: relative;
    right: 50%;
    width: 100vw;
    border: 1px;
    border-color: #7B1300;
    border-style: solid;
  }
  #pizzaCarousel {
    height: 150px;
    width: 300px;
    margin-bottom: 20px;
  }
}

@media only screen and (max-width: 499px) {
  #pizza-box > div > p {
    line-height: 1.25em;
    font-size: 1em;
  }
}

@media only screen and (min-width: 992px) {
  .pizzaWeek {
    border: 1px;
    border-color: #7B1300;
    border-style: solid;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
    background-color: #EECAA8;
    margin: 2.5% 0px;
  }
  #pizza-box {
    border: 1px;
    border-color: #7B1300;
    border-style: solid;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
  }
}
