@media screen and (min-width: 768px) {
  #mobilenav {
    display: none;
  }

  #desktopnav {
    display: flex;
  }

  #desktop-nav-btns {
    margin-left: 5.9rem;
    padding: 0;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 6rem;
    list-style-type: none;
    font-size: var(--bodyfs);
  }

  #desktop-nav-btns a {
    position: relative;
    font-family: "Roboto", sans-serif;
    text-decoration: none;
    font-weight: 500;
    color: var(--textColor);
  }

  #desktop-nav-btns a::after {
    content: "";
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #222224;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
  }

  #desktop-nav-btns a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
  }

  header {
    height: 550px;
  }

  header > div {
    top: 131px;
    left: 4rem;
    height: 250px;
    padding: 2rem;
  }

  #our-story {
    padding-top: 6rem;
  }

  #flavors-img {
    width: 700px;
    height: 459px;
    border-radius: var(--borderRadius);
  }

  #follow-us {
    flex-direction: row;
  }

  #follow-us {
    align-items: center;
    gap: 6rem;
    padding: 2rem 0 2rem 1rem;
  }

  #instagram-photos img {
    width: 300px;
    height: 200px;
    padding: 0 !important;
  }

  #dots {
    display: none !important;
  }
}

@media screen and (hover: hover) {
  button:hover {
    color: white;
    background-size: 30000%;
    transition: 1s cubic-bezier(0.165, 0.85, 0.45, 1);
  }
}

#mnavcontent {
  width: 60%;
  height: 100vh;
  position: absolute;
  left: 40%;
  top: 0;
  background-color: var(--secondaryColor);
  transition: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.activemenu {
  transition-delay: 0.1s;
  opacity: 1;
  visibility: visible;
}

.closenav {
  left: 100% !important;
}

#logo-mnc {
  margin-bottom: 1rem;
  margin-left: -1.2rem;
}

#mnavcontent div {
  margin-top: 140px;
  margin-left: 2rem;
}

#mnavcontent ul {
  list-style-type: none;
  padding: 0;
}

#mnavcontent li {
  margin-bottom: 2rem;
}

#mnavcontent a,
#follow-us a {
  color: var(--textColor);
  text-decoration: none;
  font: 500 var(--bodyfs) "Roboto", sans-serif;
}

#close-btn {
  position: absolute;
  top: 1.7rem;
  right: 6rem;
  z-index: 60;
}

.cta {
  width: 115px;
}

::-webkit-scrollbar {
  display: none;
}

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

.shadow {
  box-shadow: 3px 9px 4px rgba(0, 0, 0, 0.01), 2px 5px 3px rgba(0, 0, 0, 0.05),
    1px 2px 2px rgba(0, 0, 0, 0.09), 0px 1px 1px rgba(0, 0, 0, 0.1);
}

.fa-ice-cream {
  color: var(--primaryColor);
}

#follow-us {
  margin-top: 64px;
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
  background-color: #f4f4f4;
}

#follow-us > div > div {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.instagram-box {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 3px 9px 4px rgba(0, 0, 0, 0.01), 2px 5px 3px rgba(0, 0, 0, 0.05),
    1px 2px 2px rgba(0, 0, 0, 0.09), 0px 1px 1px rgba(0, 0, 0, 0.1);
  background: radial-gradient(
    circle at 30% 107%,
    #ecde3e 0%,
    #ff4231 45%,
    #d6249f 60%,
    #285aeb 90%
  );
  cursor: pointer;
}

#instagram-photos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  overflow-x: scroll;
  padding: 0 1rem;
}

#instagram-photos img:first-child {
  border-top-left-radius: var(--borderRadius);
  border-bottom-left-radius: var(--borderRadius);
}

#instagram-photos img:last-child {
  border-top-right-radius: var(--borderRadius);
  border-bottom-right-radius: var(--borderRadius);
}

#showcase {
  margin-top: 4rem;
}

#showcase > div {
  padding: 2rem 1.5rem 0;
  display: flex;
  gap: 2rem;
  overflow-x: scroll;
}

.card {
  width: 352px;
  flex: 0 0 auto;
  text-align: center;
  border-radius: var(--borderRadius);
}

.card h2 {
  width: 352px;
}
.card1 {
  background-color: #e9b8b5;
}
.card2 {
  background-color: #c18a65;
}
.card3 {
  background-color: #f3c571;
}

#dots {
  display: flex;
  justify-content: center;
  gap: 1rem !important;
}

#dots > div {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #ffc9bf;
}

.active {
  background-color: var(--primaryColor) !important;
}

#showcase button {
  margin: 1rem 0 6rem 50%;
  transform: translate(-50%);
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/roboto/v30/KFOkCnqEu92Fr1Mu51xLIzIFKw.woff2)
    format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1,
    U+03A3-03FF;
}

footer {
  position: relative;
  padding: 6rem 2rem 3rem;
  display: grid;
  justify-items: center;
  grid-template-columns: 1fr;
  gap: 2rem;
  background-color: var(--secondaryColor);
}

footer button {
  width: 100%;
  max-width: 300px;
  height: 59px;
}

footer > div p,
address {
  font-family: "Roboto", sans-serif;
  text-align: center;
  font-style: normal;
  font-weight: 300;
}

#footer-ig {
  text-decoration: none !important;
}

address {
  margin-bottom: 1rem;
}

@media screen and (min-width: 500px) {
  #header-bg-img {
    right: 15%;
    top: 3.5rem;
    transform: scale(1.25);
  }
}

@media screen and (min-width: 1024px) {
  :root {
    --titlefs: 47px;
    --subtitlefs: 30px;
    --bodyfs: 18px;
    --btnfs: 22px;
  }
  header {
    position: static;
    display: flex;
    justify-content: space-around;
    align-items: center;
  }

  header > div {
    height: 320px;
    width: fit-content;
    position: static;
  }

  #header-bg-img {
    position: static;
  }

  #our-story {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 2rem;
  }

  #instagram-photos img:first-child,
  #instagram-photos img:last-child {
    border-radius: 0;
  }

  #instagram-photos {
    padding: 0;
    grid-template-columns: repeat(2, 1fr);
    border-radius: var(--borderRadius);
  }

  #showcase > div {
    overflow-x: hidden;
    gap: 1.5rem;
    justify-content: center;
  }

  #showcase h2 {
    width: auto;
  }

  .card p:last-child {
    position: absolute;
    width: calc(100% - 2rem);
    bottom: 1rem;
    text-align: center;
  }

  .card {
    width: 315px;
    height: 390px;
    padding: 1rem;
    position: relative;
  }

  footer {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 0;
  }

  footer > div p,
  address,
  footer img {
    text-align: start;
  }

  footer > div,
  footer img {
    justify-self: start;
  }

  .instagram-box {
    justify-self: center;
  }

  footer button {
    order: 3;
  }
}
.iubenda {
  font-family: "Roboto", sans-serif, sans;
  position: absolute;
  text-decoration: none;
  bottom: 1rem;
  left: 2rem;
  color: var(--textColor);
}
