/* Mobil-sikkerhet */
body {
  overflow-x: hidden;
}
html {
  overflow-x: visible;
}
@media (max-width: 56.25rem) {
  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  #takeaway {
    scroll-margin-top: 11rem;
  }

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

  header {
    height: auto;
    padding-top: 1rem;
  }

  header.shrink {
    height: auto;
    padding-top: 0.5rem;
    padding-bottom: 0rem;
  }

  header.shrink #duken-logo {
    transform: scale(1, 0.4);
    padding-top: 0;
    padding-bottom: 0rem;
  }

  #duken-logo {
    padding-bottom: 1rem;
  }

  .middle--info {
    flex-direction: column;
    gap: 1.5rem;
  }

  .middle--buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
  }

  .meny {
    grid-template-columns: 1fr;
  }

  .meny--pizza {
    max-width: none;
  }

  .middle--takeaway {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
  }

  #takeaway--duken__logo {
    max-width: 16rem;
    margin-right: 0;
    margin-bottom: 2rem;
    justify-self: center;
  }

  .image--trio {
    grid-template-columns: 1fr;
  }

  footer {
    flex-direction: column;
    column-gap: 0;
    gap: 1.5rem;
  }

  .footer--contact__mail,
  .div--info a[href^="mailto:"] {
    display: inline-block;
    max-width: 100%;
  }

  .faq--box {
    padding: 1rem 1.25rem;
  }

  .faq--question {
    font-size: 1.25rem;
    line-height: 1.1;
  }

  .faq--info {
    font-size: 1.05rem;
    line-height: 1.35;
  }

  .openinghours--time {
    font-size: 1.25rem;
    padding-right: 0;
    white-space: normal;
  }

  .meny--header,
  .faq--header,
  .middle--takeaway__header {
    font-size: 2rem;
    line-height: 1.05;
  }

  .openinghours--header,
  .div--info h3 {
    font-size: 1.4rem;
  }
}

@media (max-width: 26.25rem) {
  .meny--header,
  .faq--header,
  .middle--takeaway__header {
    font-size: 1.6rem;
  }

  .openinghours--time {
    font-size: 1.1rem;
  }

  .faq--question {
    font-size: 1.1rem;
  }
  .takeaway--button {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
  }
}
