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

@media (min-width: 1024px) {
  address,
  h3,
  p {
    line-height: 1.3;
  }
}

.sr-only {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

body {
  --body-copy: "Inter", sans-serif;
  --display-copy: "Inter", sans-serif;
  font-optical-sizing: auto;
  background-image: url("background.jpeg");
  background-size: 410px;
  font-family: var(--body-copy);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100dvh;
  padding: 10px;
  color: #000;

  /* @media (prefers-color-scheme: dark) {
    backdrop-filter: invert(0.94);
    color: #ebebeb;
  } */
}
.content-container {
  width: fit-content;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.99);
  border-radius: 10px;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  display: flex;
  gap: 20px;
  flex-direction: column;
  align-items: center;
  @media (min-width: 1024px) {
    padding: 50px;
  }
  @media (min-width: 1280px) {
    padding: 70px;
  }
  /* @media (prefers-color-scheme: dark) {
    background-color: rgba(0, 0, 0, 0.99);
  } */
}

main {
  .inner-wrapper {
    padding-top: 2rem;
    @media (min-width: 1024px) {
      padding-top: 3.125rem;
      display: flex;
      gap: 100px;
    }
  }
  .text-wrapper {
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
    @media (min-width: 1024px) {
      row-gap: 2rem;
    }
  }
}

h1 {
  font-family: var(--display-copy);
  text-transform: uppercase;
  font-weight: 400;
  font-style: normal;
  text-align: center;
  font-size: 2.9rem;
  line-height: 1;

  @media (min-width: 1024px) {
    font-size: 5rem;
  }
  span {
    display: block;
    font-family: var(--body-copy);
    font-size: 0.3em;
    text-transform: none;
  }
}

h2 {
  font-size: 1.1rem;
  @media (min-width: 1024px) {
    font-size: 1.1rem;
  }
}

h3 {
  font-size: 1rem;
  @media (min-width: 1024px) {
    font-size: 1.17rem;
  }
}

a {
  color: inherit;
  &:hover,
  &:focus {
    font-style: italic;
  }
}

address {
  font-style: normal;
}

.hours {
  span {
    display: block;
    margin-top: 0.5rem;
  }
}

.map-container {
  text-align: center;
  padding-top: 2rem;
  @media (min-width: 1024px) {
    padding-top: 0;
  }

  .map-link {
    display: inline-block;
    padding-top: 0.5rem;
    font-size: 0.875rem;
  }
  iframe {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    border: 5px double black !important;
    border-radius: 3px;
    overflow: hidden;
    max-height: 300px;
    @media (min-width: 1024px) {
      scale: 0.9;
      max-height: none;
    }
    /* @media (prefers-color-scheme: dark) {
      filter: invert(1);
    } */
  }
}

footer {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  /* @media (prefers-color-scheme: dark) {
    img,
    a::after {
      filter: invert(1);
    }
  } */
  a {
    flex-basis: 2.5rem;
    flex-shrink: 0;
    display: inline-block;
    position: relative;
    &.instagram,
    &.email {
      &::after {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 100%;
        background-color: white;
        background-size: contain;
        opacity: 0;
        transition: opacity 250ms ease-in-out;
      }
    }
    &:hover,
    &:focus {
      &::after {
        opacity: 1;
      }
    }
    img {
      width: 100%;
      max-width: 2.5rem;
    }
    &.instagram::after {
      background-image: url("./instagram-icon-line.svg");
    }

    &.email {
      flex-basis: 2.25rem;
      &::after {
        background-image: url("./email-icon-line.svg");
      }
    }
  }
  address {
    margin-left: 0.5rem;
  }
}
