@font-face {
  font-family: 'Satisfy';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/satisfy/Satisfy-Regular.ttf) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/assets/fonts/Raleway/Raleway-VariableFont_wght.ttf) format('woff2');
}

@font-face {
  font-family: 'Megrim';
  font-weight: 400;
  src: url('/assets/fonts/Megrim/Megrim-Regular.ttf') format('woff2');
}

html,
body {
  height: 100%;
  width: 100%;
  padding: 0;
  margin: 0;
}

body {
  display: grid;
  grid-template-columns:
    [hero-extension-start footer-extension-start]
    8px
    1fr
    8px
    [hero-extension-end footer-extension-end];
  grid-template-rows: auto [hero-extension] auto auto auto auto 1fr [footer-extension-start] auto;
  grid-template-areas:
    '. menu  .'
    '. hero  .'
    '. models  .'
    '. services .'
    '. contact .'
    '. . .'
    '. footer .';

  font-family: Raleway, sans-serif;
}

@media (min-width: 640px) {
  body {
    grid-template-columns:
      [hero-extension-start footer-extension-start]
      1fr
      minmax(240px, 600px)
      minmax(240px, 600px)
      1fr
      [hero-extension-end footer-extension-end];
    grid-template-rows: auto [hero-extension] auto auto auto 1fr [footer-extension-start] auto;
    grid-template-areas:
      ' . menu menu .'
      '. hero hero .'
      '. models services .'
      '. contact contact .'
      '. . . .'
      '. footer footer.';
  }
}

.hero {
  grid-area: hero;
  background: white;

  z-index: -10;
}

.hero-backgroud {
  background-color: white;
  background-image: linear-gradient(
    to right,
    rgb(0, 0, 0),
    rgba(0, 0, 0, 0) 10%,
    rgba(0, 0, 0, 0) 90%,
    rgb(0, 0, 0)
  );

  height: 480px;

  img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    mix-blend-mode: multiply;
    object-position: center 25%;
  }
}

.hero-extension {
  grid-area: hero-extension;
  z-index: -20;
  background-color: black;
}

.hero-text {
  grid-area: hero;
  padding-top: 32px;
  height: 100%;

  color: white;

  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  justify-content: center;

  text-shadow: 2px 2px 2px black;
  text-align: center;

  & .big {
    font-size: 2.25rem /* 36px */;
    line-height: 2.5rem /* 40px */;
  }

  & .small {
    font-size: 1.5rem /* 24px */;
    line-height: 2rem /* 32px */;
  }
}

.menu {
  grid-area: menu;
  align-self: start;
  z-index: 20;

  display: flex;
  flex-flow: column nowrap;

  align-items: baseline;

  ul {
    display: flex;
    flex-flow: row nowrap;

    list-style: none;
    margin: 0;
    padding: 0;

    gap: 8px;

    a {
      text-decoration-line: none;
      color: inherit;
    }

    a:hover {
      color: inherit;
      text-decoration-line: underline;
    }

    a:visited {
      color: inherit;
    }
  }
}

@media (min-width: 640px) {
  .menu {
    flex-flow: row nowrap;
    justify-content: space-between;
  }
}

.logo {
  display: flex;
  flex-flow: row nowrap;

  align-items: baseline;
  padding: 4px 0;

  .haskins {
    font-size: 2.25rem /* 36px */;
    font-family: Megrim, sans-serif;
  }

  .guitars {
    font-size: 1.25rem;

    padding-left: 2px;

    font-family: Raleway, sans-serif;
    font-weight: 300;
  }
}

#models {
  grid-area: models;

  padding-top: 16px;
}

#services {
  grid-area: services;

  padding-top: 16px;
}

#contact {
  grid-area: contact;

  margin: 32px 0;
  padding: 16px 0;

  border-top: 1px solid black;

  .email {
    border: 1px solid white;
    padding: 16px 32px;
    text-align: center;
  }
}

.footer {
  grid-area: footer;

  display: flex;
  flex-flow: row;
  justify-content: center;

  padding: 16px;

  color: #d4d4d4;
}

.footer-extension {
  grid-area: footer-extension;
  z-index: -20;
  background-color: black;
}

@tailwind base;
@tailwind components;
@tailwind utilities;
