@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800;900&display=swap");
/* @import url("https://fonts.googleapis.com/css2?family=Zilla+Slab:ital,wght@1,500&display=swap"); */
@import url("https://fonts.googleapis.com/css2?family=Vollkorn:ital,wght@0,400;0,600;0,700;0,900;1,400;1,600;1,700;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Cormorant:wght@300;400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: inherit;
  /* display: block; */
}

img {
  width: 100%;
  height: auto;
}

.bg {
  object-fit: cover;

  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  position: fixed;
  top: 0;
  left: 0;
  /* right: 0;
  bottom: 0; */

  width: 100vw;
  height: 100vh;

  z-index: -1;
}

.bg--1,
.bg--2,
.bg--3,
.bg--team,
.bg--room,
.bg--oven,
.bg--oven--2,
.bg--pizza,
.bg--pizza--2,
.bg--pizza--cut,
.bg--pizza--wine {
  /* background: #222 no-repeat cover center center fixed; */
  background-color: #222;
  background-repeat: no-repeat;
  background-size: cover;
  background-origin: center;
  background-position: center;
  background-clip: center;
  background-attachment: fixed;

  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.bg--1 {
  background-image: url("../images/cheese-close-up-crust-cuisine-1146760.jpg");
}
.bg--2 {
  background-image: url("../images/baked-pizza-on-pizza-peel-in-oven-905847.jpg");
}
.bg--3 {
  background-image: url("../images/cheese-close-up-crust-cuisine-1146760.jpg");
}
.bg--team {
  background-image: url("../images/team_rossini.jpg");
}
.bg--room {
  background-image: url("../images/room.jpg");
}
.bg--oven {
  background-image: url("../images/close-up-photo-of-pizza-near-bonfire-1082343.jpg");
}
.bg--oven--2 {
  background-image: url("../images/pizza-ofen.jpg");
}
.bg--pizza {
  background-image: url("../images/pepperoni-pizza-803290.jpg");
}
.bg--pizza--2 {
  background-image: url("../images/shaian-ramesht-exSEmuA7R7k-unsplash.jpg");
}
.bg--pizza--cut {
  background-image: url("../images/person-slicing-pizza-2233348.jpg");
}
.bg--pizza--wine {
  background-image: url("../images/person-holding-pepperoni-pizza-on-tray-1049626.jpg");
}

.fixed-bg {
  background-attachment: fixed;
}

.gray {
  color: #666;
}

.lightgray {
  color: #999;
}

.orange {
  color: rgb(254, 110, 50);
}

/* NAVBAR */

.navbar--clear,
.navbar--opaque {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  justify-content: space-between;

  text-shadow: 0px 0px 4px black;

  color: white;

  /* padding: 2em 2.5em; */
  overflow: hidden;
  position: fixed; /* Set the navbar to fixed position */
  top: 0; /* Position the navbar at the top of the page */
  width: 100%; /* Full width */

  transition: opacity 0.5s, transform 0.5s; /* Transition effect when sliding down (and up) */
}
.navbar--opaque {
  color: black;
  border-bottom: 1px solid #eee;
  background-color: white;
}

.hide-on-scrolled {
  transition: opacity 0.5s, transform 0.5s; /* Transition effect when sliding down (and up) */
}
.hidden {
  opacity: 0;
  transform: translateY(-50px);
}

nav {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.nav-elem {
  font-family: "Vollkorn";
  /* transition: transform 0.5s; */
}

.nav-elem:not(:last-child) {
  margin-right: 1em;
}

.nav-elem:hover {
  color: rgb(254, 110, 50);
  /* transform: translateY(-2px); */
}

.nav-elem--logo {
  font-family: "Playfair Display";
  font-weight: 500;
  font-size: 1.5em;
  /* letter-spacing: 0.1em; */
}

/* FOOTER */

footer {
  background-color: white;
  padding: 6em 1em;
}

.footer__row,
.footer__row--small {
  display: flex;
  flex-direction: row;
  text-align: center;
  /* background-color: white; */
  color: black;
  align-items: center;
  justify-content: space-around;

  /* Style of footer p's */
  font-family: "Vollkorn";
  line-height: 2.25em;
  font-size: 0.9em;
  font-weight: 400;
}

.footer__row--small {
  justify-content: center;
}

.footer__row--small > *:not(:last-child) {
  margin-right: 1em;
}

.footer__row > div {
  width: 20em;
}

.footer__row > div > a {
  display: block;
}

.footer__row:not(:last-child) {
  margin-bottom: 3em;
}

#footer-logo > :first-child {
  /* margin-bottom: 0.5em; */

  font-family: "Playfair Display";
  font-weight: 500;
  font-size: 2.5em;

  margin-bottom: 0.25em;
}

/* Style of footer titles */
#footer-contact > :first-child,
#footer-hours > :first-child {
  /* font-weight: 600; */
  font-weight: bold;
  font-style: italic;
}

/* OTHER ELEMENTS */

.screenheight {
  min-height: 100vh;
}

.container,
.container--white,
.container--title {
  width: 100%;
  padding: 2rem;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.container--white {
  background-color: white;
}
.container--center {
  max-width: 35em;
  margin: auto;
  padding: 0.5em 0;
}
.arrowdown::after {
  content: "↓";

  font-family: "Vollkorn";
  font-size: 1.25em;

  position: absolute;
  bottom: 8em;

  transition: opacity 0.5s, transform 0.5s; /* Transition effect when sliding down (and up) */
}
.arrowdown--hidden::after {
  transform: translateY(-50px);
  opacity: 0;
}

.container--title {
  color: white;

  text-align: center;
}

.spacer,
.spacer--small,
.spacer--xsmall,
.spacer--xxsmall,
.spacer--large,
.spacer--xlarge,
.spacer--xxlarge,
.spacer--team {
  height: 12em;
  width: 100%;
}
.spacer--xxsmall {
  height: 2em;
}
.spacer--xsmall {
  height: 4em;
}
.spacer--small {
  height: 8em;
}
.spacer--large {
  height: 16em;
}
.spacer--xlarge {
  height: 20em;
}
.spacer--xxlarge {
  height: 24em;
}
.spacer--team {
  height: 36em;
}

/* .separator {
  width: 100%;
  height: 1em;
  padding: 0 2em;
  display: flex;
  align-items: stretch;
  flex-direction: column;
}
.separator::after {
  content: "a";
  position: absolute;

  width: 100%;
  height: 1px;

  background-color: #333;
} */

.center-text {
  text-align: center;
}

/* .block-text {
  text-align: justify;
} */

.text > p,
.text > a,
.text > li {
  font-family: "Vollkorn";
  line-height: 1.75em;
}

.text > *:not(:first-child) {
  margin-top: 1em;
}

hr {
  border: 0;
  border-top: 1px solid lightgray;
  margin: 0 8em;
  width: 100%;
}

.button--link {
  font-family: "Playfair Display";
  font-weight: 500;
  /* font-size: 1.5em; */
  letter-spacing: 0.25em;
  color: #333;
  background-color: white;

  padding: 0.75em 1.5em;
  border: 2px solid #333;
  border-radius: 4px;

  transition: background-color 0.2s, color 0.2s;
}
.button--link:hover {
  color: white;
  background-color: #333;
}
/* .button--link--white {
  font-family: "Playfair Display";
  font-weight: 500;
  letter-spacing: 0.25em;
  color: white;

  padding: 0.75em 1.5em;
  border: 2px solid white;
  border-radius: 4px;

  transition: background-color 0.2s, color 0.2s;
}
.button--link--white:hover {
  color: white;
} */

/* MEDIA */

/* Desktop Styles */
@media only screen and (min-width: 1025px) {
  .navbar--clear,
  .navbar--opaque {
    padding: 2em 2.5em;
  }
}

/* Tablet Styles */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
  /*768x1024*/
  /*768x1366*/
  .navbar--clear,
  .navbar--opaque {
    padding: 2em 2.5em;
    font-size: 1.25em;
  }
  .bg--1,
  .bg--2,
  .bg--3,
  .bg--team,
  .bg--room,
  .bg--oven,
  .bg--oven--2,
  .bg--pizza,
  .bg--pizza--2,
  .bg--pizza--cut,
  .bg--pizza--wine {
    background-attachment: unset;
    background-position: top;
  }
}

/* Mobile Styles */
@media only screen and (max-width: 767px) {
  .navbar--clear,
  .navbar--opaque {
    padding: 1.5em 2em;
  }
  .footer__row {
    flex-direction: column;
  }
  .arrowdown::after {
    bottom: 2em;
  }
  .bg--1,
  .bg--2,
  .bg--3,
  .bg--team,
  .bg--room,
  .bg--oven,
  .bg--oven--2,
  .bg--pizza,
  .bg--pizza--2,
  .bg--pizza--cut,
  .bg--pizza--wine {
    background-attachment: unset;
    background-position: top;
  }
}
