@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Source+Sans+3:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
/* RWD Breakpoints */
@keyframes pizzaRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.header-contents .header-content .header-content-btn .white-btn:hover, .nav-bar .nav-logo .nav-btn:hover {
  background-color: white;
  color: black;
  transition: 0.2s;
}

.section2 .section2-container .section2-cards a:hover, .nav-bar .nav-links .nav-links-menu li:hover a {
  color: white;
  transition: 0.2s;
}

.section2 .section2-container, .nav-bar::after {
  content: "";
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  position: absolute;
  z-index: 0;
}

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

body {
  width: 100%;
  height: 100%;
  background-color: #f7f6f2;
}

html {
  scroll-behavior: smooth;
}

.header-all {
  background-image: url("../Images/friends_pizza.jpg");
  height: 140vh;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom;
  position: relative;
}
@media (max-width: 576px) {
  .header-all {
    height: 130vh;
  }
}

.nav-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.nav-bar .toggle-check {
  appearance: none;
}
.nav-bar .toggle-check:checked + .btn-toggle span:nth-child(2) {
  visibility: hidden;
}
.nav-bar .toggle-check:checked + .btn-toggle span:first-child {
  transform: rotate(45deg);
  transform-origin: 5% 50%;
  margin-left: 7px;
}
.nav-bar .toggle-check:checked + .btn-toggle span:last-child {
  transform: rotate(-45deg);
  transform-origin: 5% 50%;
  margin-left: 7px;
}
.nav-bar .btn-toggle {
  width: 48px;
  height: 48px;
  display: none;
  padding: 2px;
  cursor: pointer;
  transform: scale(0.75);
  z-index: 88;
  align-self: center;
  margin-right: 20px;
}
.nav-bar .btn-toggle span {
  width: 35px;
  height: 0.2em;
  display: block;
  background-color: white;
  padding: 0;
  border-radius: 3px;
  inset: 0;
  margin: auto;
  margin-left: 2px;
  margin-bottom: 8px;
}
.nav-bar .btn-toggle span:first-child {
  margin-top: 8px;
}
.nav-bar .nav-logo {
  display: flex;
  justify-content: space-between;
  width: 80%;
  height: 12vh;
  align-items: center;
  z-index: 2;
}
@media (min-width: 576px) and (max-width:768px) {
  .nav-bar .nav-logo {
    display: flex;
    width: 100%;
    gap: 5px;
    justify-content: center;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
  }
}
.nav-bar .nav-logo .nav-socials {
  display: flex;
  justify-content: space-between;
  width: 9%;
}
@media (min-width: 576px) and (max-width:768px) {
  .nav-bar .nav-logo .nav-socials {
    width: 15%;
  }
}
.nav-bar .nav-logo .nav-socials .social {
  font-size: 20px;
  color: white;
  font-family: "Font Awesome 5 Free";
  cursor: pointer;
}
.nav-bar .nav-logo .nav-btn {
  padding: 10px 30px;
  font-family: "Source Sans 3";
  text-transform: uppercase;
  font-weight: bold;
  color: white;
  border: 1px solid white;
  background-color: rgba(255, 255, 255, 0);
  border-radius: 5px;
  letter-spacing: 2px;
  font-size: 15px;
  transition: 0.2s;
  cursor: pointer;
  cursor: pointer;
}
@media (min-width: 576px) and (max-width:768px) {
  .nav-bar .nav-logo .nav-btn {
    width: 20%;
    font-size: 14px;
    padding: 10px 10px;
  }
}
.nav-bar .nav-logo .logo {
  padding-left: 5%;
}
@media (min-width: 576px) and (max-width:768px) {
  .nav-bar .nav-logo .logo {
    padding: 0;
  }
}
.nav-bar .nav-links {
  z-index: 2;
}
.nav-bar .nav-links .nav-links-menu {
  display: flex;
  list-style: none;
  gap: 30px;
  height: 100%;
}
.nav-bar .nav-links .nav-links-menu a {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  text-transform: uppercase;
  font-family: "Source Sans 3";
  font-size: 17px;
}
.nav-bar .nav-links .nav-links-menu li {
  transition: 0.2s;
  height: 100%;
}
.header-contents {
  display: flex;
  justify-content: center;
  text-align: center;
  width: 100%;
  height: 100%;
  position: relative;
}
.header-contents .header-content {
  position: absolute;
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  top: 30vh;
}
@media (max-width: 576px) {
  .header-contents .header-content {
    height: 490px;
    top: 15vh;
  }
}
@media (min-width: 576px) and (max-width:768px) {
  .header-contents .header-content {
    height: 400px;
  }
}
.header-contents .header-content h1 {
  font-size: 92px;
  color: white;
  font-family: "Oswald";
  font-weight: 500;
}
@media (max-width: 576px) {
  .header-contents .header-content h1 {
    font-size: 57px;
    width: 90%;
  }
}
@media (min-width: 576px) and (max-width:768px) {
  .header-contents .header-content h1 {
    font-size: 62px;
    width: 90%;
  }
}
.header-contents .header-content p {
  width: 70%;
  color: white;
  font-family: "Source Sans 3";
  font-size: 17px;
  font-weight: 500;
}
@media (max-width: 576px) {
  .header-contents .header-content p {
    font-size: 16px;
  }
}
.header-contents .header-content .header-content-btn button {
  padding: 10px 30px;
  font-family: "Source Sans 3";
  text-transform: uppercase;
  font-weight: bold;
  color: white;
  border: none;
  background-color: #e4032f;
  border-radius: 5px;
  letter-spacing: 2px;
  font-size: 15px;
  transition: 0.2s;
  cursor: pointer;
  margin: 0 15px;
}
@media (max-width: 576px) {
  .header-contents .header-content .header-content-btn button {
    width: 70%;
    margin: 0;
  }
}
@media (min-width: 576px) and (max-width:768px) {
  .header-contents .header-content .header-content-btn button {
    width: 90%;
    margin: 0;
  }
}
.header-contents .header-content .header-content-btn .white-btn {
  border: 1px solid white;
  background-color: rgba(255, 255, 255, 0);
  transition: 0.2s;
  margin-top: 20px;
}
.header-contents .main-pizza {
  width: 500px;
  height: 500px;
  position: absolute;
  bottom: -10%;
  animation-name: pizzaRotate;
  animation-duration: 15s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  z-index: 1;
}
@media (max-width: 576px) {
  .header-contents .main-pizza {
    display: none;
  }
}
@media (min-width: 576px) and (max-width:768px) {
  .header-contents .main-pizza {
    animation: none;
    width: 200px;
    height: 200px;
    bottom: 2%;
  }
}

main {
  width: 100%;
  margin: 0 auto;
}

.section1 {
  width: 100%;
  height: 110vh;
  background-color: #f7f6f2;
}
@media (max-width: 576px) {
  .section1 {
    height: 220vh;
  }
}
@media (min-width: 576px) and (max-width:768px) {
  .section1 {
    height: 185vh;
    display: flex;
    align-items: center;
  }
}
.section1 .section1-container {
  display: flex;
  align-items: center;
  height: 90%;
  width: 80%;
  margin: 0 auto;
  gap: 30px;
}
@media (max-width: 576px) {
  .section1 .section1-container {
    flex-direction: column;
    height: 100%;
    justify-content: center;
  }
}
@media (min-width: 576px) and (max-width:768px) {
  .section1 .section1-container {
    flex-wrap: wrap;
    height: 70%;
  }
}
.section1 .section1-card {
  display: inline-block;
  text-align: center;
}
@media (max-width: 576px) {
  .section1 .section1-card {
    margin-top: 2rem;
  }
}
.section1 .section1-card > * {
  margin: 15px 0;
}
.section1 .section1-card h1 {
  color: #e4032f;
  font-size: 35px;
  font-family: "Oswald";
  font-weight: 400;
}
@media (max-width: 576px) {
  .section1 .section1-card h1 {
    font-size: 34px;
  }
}
.section1 .section1-card p {
  width: 90%;
  margin: 0 auto;
  color: #7f7f7f;
  font-family: "Source Sans 3";
}
.section1 .card2 {
  align-self: flex-end;
}
.section1 img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 576px) {
  .section1 img {
    width: 220px;
    height: 220px;
  }
}

.section2 {
  width: 100%;
  height: 75vh;
  background-image: url(../Images/pizza_banner.jpg);
  background-size: cover;
  background-position: bottom;
  position: relative;
}
@media (max-width: 576px) {
  .section2 {
    height: 200vh;
    background-image: url(../Images/pizza_banner_phone.jpg);
    background-position: bottom;
    background-size: cover;
    background-repeat: no-repeat;
  }
}
@media (min-width: 576px) and (max-width:768px) {
  .section2 {
    height: 100vh;
  }
}
.section2 .section2-container {
  height: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media (max-width: 576px) {
  .section2 .section2-container {
    flex-direction: column;
    justify-content: center;
  }
}
@media (min-width: 576px) and (max-width:768px) {
  .section2 .section2-container {
    padding: 0 8vw;
  }
  .section2 .section2-container .section2-cards:not(.first-card) h1 {
    font-size: 27px;
  }
  .section2 .section2-container .section2-cards:not(.first-card) a {
    font-size: 18px;
  }
}
.section2 .section2-container .inter-cards {
  display: flex;
}
@media (max-width: 576px) {
  .section2 .section2-container .inter-cards {
    flex-direction: column;
  }
}
@media (min-width: 576px) and (max-width:768px) {
  .section2 .section2-container .inter-cards {
    flex-direction: column;
  }
}
.section2 .section2-container .section2-cards {
  text-align: center;
  align-items: center;
  display: flex;
  flex-direction: column;
  padding: 4rem;
}
@media (max-width: 576px) {
  .section2 .section2-container .section2-cards {
    padding: 1.5rem;
  }
}
@media (min-width: 576px) and (max-width:768px) {
  .section2 .section2-container .section2-cards {
    padding: 1rem 0;
  }
}
.section2 .section2-container .section2-cards > * {
  padding: 1rem 0;
}
@media (max-width: 576px) {
  .section2 .section2-container .section2-cards > * {
    padding: 0.5rem;
  }
}
@media (min-width: 576px) and (max-width:768px) {
  .section2 .section2-container .section2-cards > * {
    padding: 0.4rem;
  }
}
.section2 .section2-container .section2-cards h1 {
  font-size: 30px;
  color: white;
  font-family: "Oswald";
}
.section2 .section2-container .section2-cards a {
  font-size: 1.3rem;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
  font-family: "Oswald";
  text-transform: uppercase;
  position: relative;
}
.section2 .section2-container .section2-cards a i {
  font-size: 1em;
}
.section2 .section2-container .first-card {
  text-align: left;
  width: 25%;
}
.section2 .section2-container .first-card h1 {
  font-size: 4rem;
}
.section2 .section2-container .first-card p {
  font-family: "Oswald";
  color: white;
  letter-spacing: 1px;
  font-size: 1.5rem;
}
@media (min-width: 576px) and (max-width:768px) {
  .section2 .section2-container .first-card {
    width: 80%;
    text-align: left;
  }
  .section2 .section2-container .first-card .section2-header {
    align-self: flex-start;
  }
  .section2 .section2-container .first-card h1 {
    font-size: 3.5rem;
  }
  .section2 .section2-container .first-card p {
    font-size: 1.1rem;
    font-family: "Source Sans 3";
    font-weight: 500;
    width: 80%;
    align-self: flex-start;
  }
}
@media (max-width: 576px) {
  .section2 .section2-container .first-card {
    text-align: center;
    width: 100%;
  }
  .section2 .section2-container .first-card .section2-header {
    width: 100%;
  }
  .section2 .section2-container .first-card h1 {
    font-size: 3.2rem;
    width: 100%;
    line-height: 4.2rem;
  }
  .section2 .section2-container .first-card p {
    font-size: 1rem;
    width: 80%;
    font-family: "Source Sans 3";
  }
}
.section2 .section2-container .card-icon {
  z-index: 2;
  position: relative;
  background-color: #e4032f;
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.section2 .section2-container .card-icon i {
  font-size: 5rem;
  color: white;
  position: relative;
  z-index: 2;
}
@media (min-width: 576px) and (max-width:768px) {
  .section2 .section2-container .card-icon {
    width: 120px;
    height: 120px;
  }
  .section2 .section2-container .card-icon i {
    font-size: 4rem;
  }
}

.section3 {
  width: 100%;
  height: 120vh;
  background-color: #f7f6f2;
  padding-bottom: 10vh;
}
@media (max-width: 576px) {
  .section3 {
    height: 1500px;
    padding: 0;
  }
}
@media (min-width: 576px) and (max-width:768px) {
  .section3 {
    height: 1700px;
    padding: 0;
  }
}
.section3 .section3-container {
  width: 80%;
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (max-width: 576px) {
  .section3 .section3-container {
    height: 70%;
  }
}
@media (min-width: 576px) and (max-width:768px) {
  .section3 .section3-container {
    height: 70%;
  }
}
.section3 .section3-container .section3-heading {
  margin-top: 6rem;
  text-align: center;
}
.section3 .section3-container .section3-heading > * {
  padding: 15px 0;
}
.section3 .section3-container .section3-heading h1 {
  font-family: "Oswald";
  font-size: 4rem;
  font-weight: 500;
}
.section3 .section3-container .section3-heading p {
  width: 80%;
  margin: 0 auto;
  font-family: "Source Sans 3";
  color: #7f7f7f;
  font-size: 18px;
}
.section3 .section3-container .section3-heading button {
  padding: 10px 30px;
  font-family: "Source Sans 3";
  text-transform: uppercase;
  font-weight: bold;
  color: #e4032f;
  border: 1px solid #e4032f;
  background-color: #f7f6f2;
  border-radius: 5px;
  letter-spacing: 2px;
  font-size: 15px;
  transition: 0.2s;
  cursor: pointer;
}
.section3 .section3-container .section3-heading button:hover {
  color: white;
  background-color: #e4032f;
}
@media (max-width: 576px) {
  .section3 .section3-container .section3-heading {
    margin-top: 2rem;
    margin-bottom: 5rem;
  }
  .section3 .section3-container .section3-heading h1 {
    font-size: 2.6rem;
  }
  .section3 .section3-container .section3-heading p {
    font-size: 17px;
  }
}
@media (min-width: 576px) and (max-width:768px) {
  .section3 .section3-container .section3-heading {
    margin-bottom: 4rem;
    margin-top: 3rem;
  }
}
.section3 .section3-container .section3-cards {
  display: flex;
  text-align: center;
  margin-top: 0rem;
  height: 100%;
  gap: 100px;
}
@media (max-width: 576px) {
  .section3 .section3-container .section3-cards {
    flex-direction: column;
    gap: 70px;
  }
}
@media (min-width: 576px) and (max-width:768px) {
  .section3 .section3-container .section3-cards {
    flex-direction: column;
    gap: 60px;
  }
}
.section3 .section3-container .section3-cards img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  transition: 0.3s;
  cursor: pointer;
}
@media (max-width: 576px) {
  .section3 .section3-container .section3-cards img {
    width: 220px;
    height: 220px;
  }
}
.section3 .section3-container .section3-cards img:hover {
  transform: translateY(-15px);
  transition: 0.3s;
}
@media (max-width: 576px) {
  .section3 .section3-container .section3-cards img:hover {
    transform: none;
  }
}
@media (min-width: 576px) and (max-width:768px) {
  .section3 .section3-container .section3-cards img:hover {
    transform: none;
  }
}
.section3 .section3-container .section3-cards h2 {
  font-family: "Oswald";
  color: #e4032f;
  font-size: 1.7rem;
}
.section3 .section3-container .section3-cards .section3-card-pizza {
  align-self: flex-end;
}

@media (max-width: 576px) {
  .nav-bar {
    flex-wrap: wrap;
    flex-direction: row;
    width: 100%;
    align-items: flex-start;
    justify-content: space-between;
  }
  .nav-bar .nav-logo {
    display: flex;
    width: 40%;
    gap: 5px;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding-left: 20px;
  }
  .nav-bar .nav-logo .nav-socials {
    order: 1;
    gap: 10px;
    align-self: center;
    width: 80%;
    justify-content: space-evenly;
  }
  .nav-bar .nav-logo .logo {
    padding: 0;
  }
  .nav-bar .nav-links {
    position: absolute;
    display: flex;
    width: 100%;
    padding: 20px 8%;
    background-color: rgba(0, 0, 0, 0.859);
    flex-direction: column;
    align-items: flex-start;
    z-index: 1;
    height: 250px;
    left: 0;
    top: -500vh;
  }
  .nav-bar .nav-links .nav-links-menu {
    flex-direction: column;
    height: 100%;
    gap: 15px;
  }
  .nav-bar .nav-logo button {
    display: none;
  }
  .nav-bar .btn-toggle {
    display: block;
  }
  .toggle-check:checked ~ .nav-links {
    display: flex;
    left: 0;
    top: 12vh;
  }
}
.section4 {
  height: 110vh;
  width: 100%;
  background-color: #f7f6f2;
  display: none;
  align-items: center;
  flex-direction: column;
}
.section4 .menu-title {
  text-align: center;
  color: black;
  font-size: 64px;
  font-family: "Oswald";
  margin-bottom: 60px;
  margin-top: 20px;
  position: relative;
  display: inline-block;
}
@media (max-width: 900px) {
  .section4 .menu-title {
    font-size: 50px;
  }
}
@media (max-width: 576px) {
  .section4 .menu-title {
    font-size: 50px;
  }
}
.section4 .menu-container {
  width: 80%;
  margin: 0 auto;
  height: 90%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 60px;
}
@media (max-width: 900px) {
  .section4 .menu-container {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .section4 .menu-container {
    grid-template-columns: repeat(1, 1fr);
  }
}
.section4 .menu-container .menu-card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.section4 .menu-container .menu-card .menu-card-title {
  font-size: 32px;
  color: #e4032f;
  font-family: "Oswald";
  margin-bottom: 5px;
}
.section4 .menu-container .menu-card .menu-card-img {
  width: 250px;
  height: 250px;
  margin: 20px 0;
}
.section4 .menu-container .menu-card .menu-card-ing {
  color: black;
  font-family: "Source Sans 3";
  font-size: 15px;
  width: 70%;
  margin-top: 10px;
}