@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&family=Yellowtail&display=swap');
:root {
  --font-normal: 'Poppins', sans-serif;
  --font-cursive: 'Yellowtail', cursive;
  --yellow: #fad77f;
  --darkyellow: #dfb13f;
  --yellow2: rgb(187, 164, 91);
  --hoverYellow2: rgb(201, 178, 103);
  --black: rgb(36, 36, 36);
  --darkgrey: rgb(95, 95, 95);
  --grey: rgb(151, 151, 151);
  --lightgrey: rgb(199, 199, 199);
  --hovergrey: rgb(240, 240, 240);
  --red: #ff0000;
  --transparent: transparent;
  --brown: rgb(90, 63, 45);
  --pink: rgb(255, 191, 179);
  --purple: rgb(195, 169, 212);
  --aqua: rgb(181, 232, 213);
  --white: #fff;
  --10px: 0.575rem;
  --11px: 0.6875rem;
  --12px: 0.75rem;
  --13px: 0.8125rem;
  --14px: 0.875rem;
  --16px: 1rem;
  --20px: 1.25rem;
  --22px: 1.375rem;
  --24px: 1.5rem;
  --26px: 1.625rem;
  --28px: 1.75rem;
  --30px: 1.875rem;
  --35px: 2.1875rem;
  --50px: 3.125rem;
  --64px: 4rem;
  --90px: 5.625rem;
  --100px: 6.25rem;
  --110px: 6.875rem;
  --130px: 8.125rem;
}

html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box !important;
  font-family: var(--font-normal);
  font-weight: 500;
  font-size: var(--16px);
  color: var(--white);
}

h1 {
  line-height: 1;
  font-size: var(--100px);
}

h2 {
  line-height: 1;
  font-size: var(--35px);
}

button {
  font-size: 16px;
}

p {
  font-size: 14px;
}

a {
  font-size: var(--13px);
  text-decoration: none;
}

span {
  font-size: 20px;
}

i {
  font-size: 30px;
}

.grey-color {
  color: var(--grey);
}

/* NAV BAR */
.nav-bar {
  background: var(--yellow);
  width: 100%;
  height: 75px;
  padding: 30px;
  display: flex;
  align-items: center;
}

.nav-bar-menu {
  height: 75px;
  display: none;
  align-items: center;
  grid-template-columns: repeat(3, 1fr);
}

.nav-bar-gelato-logo {
  grid-column: 2;
  text-align: center;
}

.nav-bar-gelato-logo > a {
  font-size: 40px; /* BIGGER FONT-SIZE */
  font-family: var(--font-cursive);
  color: var(--black);
}

.nav-bar-menu-btn {
  margin-left: auto;
  grid-column: 3;
  margin-right: 20px;
  background: none;
  border: none;
  color: var(--black);
  font-size: var(--35px);
}

.nav-bar-side-bar {
  width: 100%;
  height: 100%;
  transform: translateX(100%);
  -webkit-transform: translateX(100%);
  background: var(--white);
  position: fixed;
  left: 0;
  display: none;
  z-index: 200;
  top: 0 !important;
  bottom: 0;
  overflow-y: hidden;
  animation: slide-in 1s forwards !important;
}

@keyframes slide-in {
  100% {
    transform: translateX(0%);
  }
}

.nav-bar-links {
  display: flex;
  list-style: none;
  flex: 1;
}

.nav-bar-links-li {
  text-transform: uppercase;
  margin-right: 30px;
  order: 1;
}

.nav-bar-links-li > a {
  text-decoration: none;
  color: var(--black);
}

.nav-bar-side-bar {
  display: none;
  align-items: center;
  justify-content: center;
}

.nav-bar-side-bar-content {
  width: 70%;
  height: 70%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.close-nav-bar-side-bar {
  position: absolute;
  top: 0;
  right: 0;
  font-size: var(--30px);
  color: var(--black);
  font-weight: bold;
}

.nav-bar-side-bar-log-in-btn {
  background: none;
  border: none;
  display: flex;
  align-items: center;
}

.nav-bar-side-bar-inner-content > a {
  margin-top: 35px;
  text-transform: uppercase;
  text-align: center;
  font-size: var(--22px);
  font-weight: bold;
  color: var(--black);
}

.nav-bar-side-bar-social-media-links-con {
  margin-top: 50px;
}

.log-in-span {
  margin-left: 10px;
  color: var(--black);
}

.nav-bar-side-bar-inner-content {
  width: 70%;
  height: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.gelato-logo {
  order: 2;
}

.gelato-logo > a {
  font-size: 40px; /* BIGGER FONT-SIZE */
  font-family: var(--font-cursive);
  text-align: center;
  flex: 1;
  color: var(--black);
}

.con-social-media-links {
  flex: 1;
  display: flex;
  order: 3;
  align-items: center;
  justify-content: right;
}

.con-social-media-links > a {
  display: flex;
  align-items: center;
  margin: unset;
}

.social-media-img {
  margin-left: 10px;
}

/* AD */
.ad-con {
  background: var(--black);
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ad-span {
  text-align: center;
  font-size: 16px;
  color: var(--white);
}

/* FOOTER ↓ */
.footer-con {
  height: auto;
  background: var(--black);
  border-top: 1px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.footer-content-con {
  display: grid;
  height: fit-content;
  padding: 50px 0;
  width: 65%;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: 70% 30%;
}

.address {
  grid-column: 1;
  grid-row: 1;
}
.contact {
  grid-column: 2;
  grid-row: 1;
}
.hours {
  grid-column: 3;
  grid-row: 1;
}

.footer-text > h3 {
  margin-bottom: 10px;
  font-weight: 600;
}

.footer-text > h3,
.footer-text > p {
  color: var(--white);
}

.mailing-list {
  grid-column: 4/6;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.mailing-list-inp,
.mailing-list-btn {
  border: 1px solid white;
  background: var(--transparent);
  outline: none;
  cursor: pointer;
  color: white;
  height: 40px;
}

.mailing-list-inp:focus {
  border: 2px solid white;
}

.mailing-list-inp:hover {
  border: 2px solid white;
}

.mailing-list-inp {
  margin-bottom: 10px;
  padding-left: 15px;
}

.mailing-list-inp::placeholder {
  color: white;
}

.copyright {
  grid-row: 2;
  grid-column: 1/4;
  display: flex;
  align-items: flex-end;
}

.log-in-btn {
  color: var(--black);
  margin-right: 15px;
  display: flex;
  align-items: center;
}

.log-in-btn > svg {
  margin-right: 10px;
}

.con-social-media-links-footer {
  grid-row: 2;
  grid-column: 4/6;
  display: flex;
}

/* .con-social-media-links-footer > a, */
.con-social-media-links-footer > a > img {
  padding: 0;
  display: flex;
  margin: 0 10px 0 0;
}

.con-social-media-links-footer > a {
  padding: 0;
  align-items: flex-end;
  display: flex;
}

/* HERO SECTION */
.hero-section {
  height: auto;
  background: rgb(195, 169, 212);
}

.hero-article {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 70px;
  color: white;
  justify-content: center;
}

.hero-heading {
  text-align: center;
  font-size: var(--130px);
  display: flex;
  font-weight: bold;
  letter-spacing: 15px;
  align-items: center;
  text-transform: uppercase;
}

.hero-span-heading {
  font-size: var(--35px);
  text-transform: uppercase;
}

/* ABOUT */
.about-section {
  width: 100%;
  padding: 80px;
  background: var(--white);
  color: var(--white);
}

.about-article {
  width: 70%; /* WIDTH OF CONTENT !IMPORTANT */
  margin: auto;
  text-align: center;
}

.about-heading-2 {
  color: var(--black);
  text-transform: uppercase;
}

.about-heading-3 {
  color: var(--black);
  font-size: var(--28px);
  margin-top: 10px;
  font-family: var(--font-cursive);
}

.description-content-p {
  margin-top: 40px;
}

.about-p {
  color: var(--black);
}

/* PARALLAX SECTION */
.parallax-section {
  width: 100%;
  position: relative;
  height: 500px;
}

.parallax-article {
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
}

.wrapper {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  overflow-x: hidden;
  overflow-y: scroll;
}

.parallax__group {
  position: relative;
  height: 100vh;
  width: 100vw;
  transform-style: preserve-3d;
}

.parallax__layer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.sky {
  background: url('/images/weDeliverBkgImg.png') no-repeat center;
  background-size: cover;
  transform: translateZ(-600px) scale(3);
  z-index: 1;
}

.hero-text {
  background-size: cover;
  transform: translateZ(0) scale(1);
  z-index: 7;
}

.year-container {
  position: absolute;
  left: 50%;
  top: 70%;
  transform: translate(-50%, -50%);
  width: fit-content;
  height: 25rem;
  display: flex;
  flex-direction: column;
}

.year-container-small {
  font-size: var(--35px) !important;
  text-align: center;
  margin-bottom: 30px;
}

.year-container > h2 {
  font-size: var(--110px);
}

.order-online-btn {
  width: 150px;
  height: 50px;
  border: 3px solid var(--white);
  background: none;
  margin: 20px auto;
}

@media only screen and (min-width: 300px) and (max-width: 800px) {
  .ad-con {
    height: fit-content;
    padding: 20px 0 !important;
  }

  .ice-cream-flavours-con {
    width: 95% !important;
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .nav-bar-con {
    background: var(--white);
  }

  .hero-heading {
    font-size: var(--50px);
    letter-spacing: 5px;
  }

  .hero-span-heading {
    font-size: var(--30px);
  }

  .ad-span {
    width: 80%;
    font-size: var(--14px);
  }

  .nav-bar-menu {
    display: grid;
  }

  .nav-bar {
    display: none;
  }

  .nav-bar-side-bar {
    z-index: 15000;
  }

  .footer-content-con {
    width: 90%;
  }
}

@media only screen and (max-width: 800px) {
  .nav-bar-side-bar-inner-content > a {
    margin-top: 20px;
  }

  .nav-bar-side-bar-content {
    width: 80%;
    height: 95%;
  }

  .nav-bar-side-bar-inner-content {
    width: 90%;
  }

  .footer-content-con {
    grid-template-columns: 1fr !important;
    display: flex;
    flex-direction: column;
    grid-template-rows: unset;
    width: 80%;
  }

  

  .footer-text {
    margin-top: 30px !important;
  }

  .con-social-media-links-footer {
    margin: 40px auto;
  }

  .ice-cream-flavour-name {
    font-size: var(--22px) !important;
    text-align: center;
  }

  .ice-cream-flavour-description {
    font-size: var(--18px) !important;
  }

  .ice-cream-flavours-con {
    width: 85% !important;
    grid-template-columns: 1fr !important;
    grid-gap: 20px 0 !important;
  }

  .ice-cream-flavour-price {
    font-size: var(--20px) !important;
  }
}



@media only screen and (min-width: 801px) and (max-width: 1000px) {
  .nav-bar-menu {
    display: grid;
  }

  .footer-content-con {
    width: 95%;
  }

  .nav-bar {
    display: none;
  }
}

@media only screen and (min-width: 1024px) and (max-width: 1280px) {
  h1 {
    font-size: var(--64px);
    font-weight: bold;
  }

  h2 {
    font-size: var(--35px);
  }

  .footer-content-con {
    width: 70%;
  }

  .nav-bar-side-bar {
    display: none;
  }
}

@media only screen and (min-width: 1281px) and (max-width: 1370px) {
}

@media only screen and (min-width: 1371px) {
  a {
    font-size: var(--15px);
  }
}
