@font-face {
  font-family: 'Vickie';
  src: url('./fonts/Vickie-Regular.woff') format('woff'),
  url('./fonts/Vickie-Regular.woff2') format('woff2');
  font-weight: 400;
}

@font-face {
  font-family: 'Prompt';
  src: url('./fonts/Prompt-Regular.woff') format('woff'),
  url('./fonts/Prompt-Regular.woff2') format('woff2');
  font-weight: 400;
}

@font-face {
  font-family: 'Prompt';
  src: url('./fonts/Prompt-Bold.woff') format('woff'),
  url('./fonts/Prompt-Bold.woff2') format('woff2');
  font-weight: 700;
}

@font-face {
  font-family: 'Syncopate';
  src: url('./fonts/Syncopate-Bold.woff') format('woff'),
  url('./fonts/Syncopate-Bold.woff2') format('woff2');
  font-weight: 700;
}

:root {
  --primary: #FAEB4E;
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: 'Prompt', sans-serif;
  margin: 0;
}

main {
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

.logo-banner {
  padding: 35px 30px;
  background-color: var(--primary);
}

.logo-banner img {
  display: block;
  margin: 0 auto
}

.section-1 .wrapper {
  width: 100%;
  max-width: 860px;
  padding: 115px 30px 0 30px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.section-1 .wrapper::before {
  content: '';
  display: block;
  width: 330px;
  height: 475px;
  background-image: url('./img/froid.gif');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  position: absolute;
  bottom: -20px;
  left: 0;
  transform: translateX(-100%);
}

.section-1 .wrapper::after {
  content: '';
  display: block;
  width: 480px;
  height: 480px;
  background-image: url('./img/chaud.gif');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  position: absolute;
  bottom: -20px;
  right: 0;
  transform: translateX(100%);
}

.section-1 .title h1 {
  font-family: 'Vickie', sans-serif;
  font-size: 100px;
  line-height: 85px;
  color: white;
  -webkit-text-stroke: 2px black;
  text-shadow: 8px 8px 0 black;
  text-align: left;
  margin-top: 0;
  margin-bottom: 40px;
}

.section-1 .text {
  font-size: 20px;
  padding: 0 60px;
}

.section-1 .review-text {
  margin-top: 0;
  margin-bottom: 30px;
}

.section-1 .button {
  font-family: 'Syncopate', sans-serif;
  text-transform: uppercase;
  min-width: 280px;
  text-align: center;
  margin: 0 auto;
  box-shadow: 8px 8px 0 black;
  padding: 12px;
  border: 2px solid black;
  border-radius: 8px;
  color: black;
  text-decoration: none;
  margin-bottom: 50px;
  display: inline-block;
  transition: all .3s ease-in-out;
  translate: -8px -8px;
}

.section-1 .button:hover {
  translate: 0 0;
  box-shadow: 0 0 0 black;
}

.section-1 .half-pizza {
  max-width: 100%;
  display: block;
}

.section-2 {
  background-color: var(--primary);
}

.section-2::after {
  content: '';
  display: block;
  width: 100%;
  height: 9vw;
  background-image: url('./img/diviseur-jaune-bas.svg');
  background-size: cover;
  background-position: top -1px center;
  background-repeat: no-repeat;
  background-color: white;
}

.section-2 .wrapper {
  width: 100%;
  max-width: 1360px;
  padding: 100px 30px 0 30px;
  display: grid;
  grid-template-columns: 4fr 5fr;
  align-items: center;
  gap: 60px;
  margin: 0 auto;
  position: relative;
}

.section-2 .wrapper::after {
  content: '';
  display: block;
  width: 330px;
  height: 330px;
  background-image: url('./img/boite.gif');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  position: absolute;
  bottom: 0;
  right: 0;
  transform: translate(100%, 50%);
}

.section-2 .left {
  position: relative;
}

.section-2 .left::before {
  content: '';
  display: block;
  width: 250px;
  height: 250px;
  background-image: url('./img/cercle.gif');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  position: absolute;
  bottom: 0;
  left: 0;
  transform: translate(-50%, 25%);
}

.section-2 .title {
  font-family: 'Vickie', sans-serif;
  font-size: 40px;
  margin-top: 0;
  margin-bottom: 40px;
  text-transform: uppercase;
}

.section-2 p {
  font-size: 20px;
  line-height: 30px;
}

.section-3 .wrapper {
  width: 100%;
  max-width: 1360px;
  padding: 30px;
  margin: 0 auto;
  text-align: center;
}

.section-3 .title {
  font-family: 'Vickie', sans-serif;
  font-size: 40px;
  text-transform: uppercase;
  line-height: 50px;
  margin: 0;
}

.section-3 .title span {
  font-family: 'Syncopate', sans-serif;
  font-size: 25px;
  line-height: 30px;
  display: block;
}

.section-3 .title + img {
  rotate: 4deg;
}

.section-4 {
  background-color: var(--primary);
}

.section-4::before {
  content: '';
  display: block;
  width: 100%;
  height: 9vw;
  background-image: url('./img/diviseur-jaune-haut.svg');
  background-size: cover;
  background-position: bottom -1px center;
  background-repeat: no-repeat;
  background-color: white;
}

.section-4 .wrapper {
  width: 100%;
  max-width: 1360px;
  padding: 50px 30px 130px 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  margin: 0 auto;
  position: relative;
}

.section-4 .wrapper::before {
  content: '';
  display: block;
  width: 200px;
  height: 200px;
  background-image: url('./img/etoile-3.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  position: absolute;
  top: 50px;
  right: -100px;
  transform: translateX(calc((100vw - 1360px) / 2));
}

.section-4 .wrapper::after {
  content: '';
  display: block;
  width: 150px;
  height: 150px;
  background-image: url('./img/etoile-4.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  position: absolute;
  bottom: 30px;
  left: -50px;
  transform: translateX(calc((-100vw + 1360px) / 2));
}

.section-4 .left {
  position: relative;
}

.section-4 .left::before {
  content: '';
  display: block;
  width: 300px;
  height: 200px;
  background-image: url('./img/super.gif');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  transform: rotateZ(11deg) rotateY(180deg);
  margin-left: auto;
}

.section-4 .title {
  font-family: 'Vickie', sans-serif;
  font-size: 40px;
  text-transform: uppercase;
  line-height: 50px;
  margin: 0;
}

.section-4 .text {
  font-size: 20px;
}

.section-4 .contact-link {
  font-family: 'Vickie', sans-serif;
  font-size: 25px;
  color: black;
  text-decoration: none;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 25px;
}

.section-4 .contact-link .icon {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 0;
}

.section-4 .contact-link + .contact-link {
  margin-top: 30px;
}

@keyframes roue {
  0% {
    rotate: 0deg;
  }
  100% {
    rotate: 359deg;
  }
}

.section-4 .contact-link .icon::before {
  content: '';
  width: 100%;
  height: 100%;
  background-image: url('./img/roue.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  animation: roue 12s linear infinite;
}

.section-4 .form {
  padding: 50px;
  border: 2px solid black;
  border-radius: 18px;
  background-color: white;
  box-shadow: 30px 30px 0 black;
}

.section-4 .form label {
  display: block;
  font-size: 16px;
  line-height: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.section-4 .form input,
.section-4 .form textarea {
  padding: 12px;
  background-color: white;
  border: 1px solid black;
  border-radius: 8px;
  display: block;
  width: 100%;
  margin-bottom: 20px;
}

.section-4 .form input[type="submit"] {
  font-family: 'Syncopate', sans-serif;
  text-transform: uppercase;
  width: fit-content;
  min-width: 280px;
  text-align: center;
  margin: 0 auto;
  border-width: 2px;
  box-shadow: 8px 8px 0 black;
  translate: -8px -8px;
  transition: all .3s ease-in-out;
  margin-top: 50px;
  cursor: pointer;
  color: black;
}

.section-4 .form input[type="submit"]:hover {
  translate: 0 0;
  box-shadow: 0 0 0 black;
}

.form-message {
  margin-top: 15px;
}

.marquee {
  background-color: var(--primary);
  border-top: 2px solid black;
  border-bottom: 2px solid black;
  padding: 12px 0;
  font-family: 'Vickie', sans-serif;
  font-size: 25px;
  text-transform: uppercase;
  display: flex;
  align-items: baseline;
  gap: 30px;
  flex-wrap: nowrap;
  overflow: hidden;
}

@keyframes marquee {
  0% {
    translate: 0 0;
  }
  100% {
    translate: calc(-100% - 30px) 0;
  }
}

.marquee .wrapper {
  display: flex;
  align-items: baseline;
  gap: 30px;
  flex-wrap: nowrap;
  flex-shrink: 0;
  animation: marquee 8s linear infinite;
}

.marquee .wrapper span {
  flex-shrink: 0;
}

.marquee .wrapper span::before {
  content: '·';
  display: inline-block;
  margin-right: 30px;
}

.footer .wrapper {
  padding: 50px 30px;
  text-align: center;
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.footer .wrapper::after {
  content: '';
  display: block;
  width: 150px;
  height: 245px;
  background-image: url('./img/pizza-footer.svg');
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(50%, -50%);
}

.footer .logo {
  margin: 0 auto 30px auto;
  display: block;
}

.footer .social {
  margin: 0 0 12px 0;
  padding: 0 0 20px 0;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 60px;
  border-bottom: 1px solid black;
  list-style: none;
}

.footer .social a {
  color: black;
  font-family: 'Vickie', sans-serif;
  font-size: 18px;
  text-decoration: none;
}

.footer .legal {
  font-size: 13px;
  color: #4A4A49;
  margin: 0;
}

.footer .legal a {
  text-decoration: none;
  color: #4A4A49;
}

@media (max-width: 992px) {
  .logo-banner {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .logo-banner img {
    width: 180px;
  }

  .section-1 .wrapper {
    padding-top: 35px;
  }

  .section-1 .wrapper::before {
    width: 100px;
    height: 150px;
    bottom: -5px;
    left: 30px;
    transform: none;
  }

  .section-1 .wrapper::after {
    width: 150px;
    height: 150px;
    bottom: -5px;
    right: 0;
    transform: none;
  }

  .section-1 .title h1 {
    font-size: 35px;
    text-shadow: 3px 3px 0 black;
    line-height: 35px;
    border-width: 1px;
    -webkit-text-stroke-width: 1px;
    margin-bottom: 15px;
    text-align: center;
  }

  .section-1 .text {
    font-size: 15px;
    margin-top: 0;
    padding: 0;
  }

  .section-1 .button {
    margin-bottom: 30px;
  }

  .section-2 .wrapper {
    display: flex;
    flex-direction: column-reverse;
    gap: 15px;
    padding-top: 40px;
  }

  .section-2 .wrapper::after {
    width: 200px;
    height: 200px;
    right: 30px;
    transform: translateY(20%);
  }

  .section-2 .left::before {
    display: none;
  }

  .section-2 .title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .section-2 p {
    font-size: 16px;
    line-height: 20px;
  }

  .section-3 .title {
    font-size: 20px;
    line-height: 28px;
  }

  .section-3 .title span {
    font-size: 14px;
    line-height: 20px;
  }

  .section-4 .wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 15px 30px 100px 30px;
  }

  .section-4 .left::before {
    position: absolute;
    bottom: 50%;
    right: 0;
    width: 150px;
    height: 100px;
    transform: translate(50%, 100%) rotateZ(11deg) rotateY(180deg);
  }

  .section-4 .title {
    font-size: 20px;
    line-height: 28px;
  }

  .section-4 .text {
    font-size: 16px;
  }

  .section-4 .contact-link {
    font-size: 16px;
    gap: 10px;
  }

  .section-4 .contact-link .icon {
    width: 65px;
    height: 65px;
  }

  .section-4 .contact-link .icon img {
    width: 25px;
    height: auto;
  }

  .section-4 .form {
    padding: 30px 15px;
    box-shadow: 10px 10px 0 black;
  }

  .section-4 .form input[type="submit"] {
    min-width: 180px;
    margin-top: 30px;
  }

  .marquee {
    font-size: 16px;
  }

  .footer .wrapper {
    padding-top: 50px;
    padding-bottom: 25px;
  }

  .footer .wrapper::after {
    width: 80px;
    height: 140px;
    right: 30px;
  }

  .footer .logo {
    width: 180px;
  }

  .footer .social {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
}