/*
Theme Name: B/A Grill
Version: 1.0.0
*/

@font-face {
    font-family: 'Courier-Bold';
    src: url('Courier-Bold.woff2') format('woff2'),
        url('Courier-Bold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

:root {
  --primary-color: #D14533;
  --secondary-color: #FFEEE7; 
  --tertiary-color: #FFFFFF;
}

html {
  background-color: var(--secondary-color);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  line-height: 1.33;
  font-family: 'Courier-Bold', monospace;
  text-transform: uppercase;

  @media (min-width: 768px) {
    font-size: 1.5rem;
  }
}

a,
button {
  color: inherit;
  text-decoration: none;

  &:hover {
    text-decoration: underline;
  }
}

.site-wrap {
  min-height: calc(100svh - var(--wp-admin--admin-bar--height, 0px));
  display: flex;
  flex-direction: column;
}

button {
  appearance: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  text-align: inherit;
  cursor: pointer;
}

.site-header {
  padding: 75px 30px 0px;

  > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  @media (min-width: 768px) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 20px;

    /* With only one of booking and menu set, it spans both columns and centres. */
    > div:only-child {
      grid-column: 1 / -1;
    }
  }
}

.site-content {
  flex: 1;
  position: relative;
  min-height: 200px;
}

.wordmark {
  position: absolute;
  inset: 30px;

  svg {
    display: block;
    width: 100%;
    height: 100%;
  }

  @media (min-width: 768px) {
    inset: 20px;
    margin: 3rem;
  }
}

.site-footer {
  padding-top: 20px;
  padding-bottom: 60px;
}

.site-footer__details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-inline: 30px;

  > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  @media (min-width: 768px) {
    display: grid;
    align-items: center;
    grid-template-columns: 1fr 1fr 1fr;
    padding-inline: unset;
  }
}

.other-sites {
  background-color: var(--primary-color);
  color: var(--tertiary-color);
  padding: 25px 20px;

  ul {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    list-style: none;

    @media (min-width: 768px) {
      display: grid;
      align-items: center;
      grid-template-columns: 1fr 1fr 1fr;
    }
  }

  li {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}