/* General settings */

:root {
  --orange: #ff7900;
  --black: #0b0b0c;
  --content-width: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #13151b;
  background: white;
  font-family: Arial, Helvetica, sans-serif;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.container {
  width: min(var(--content-width), calc(100% - 96px));
  margin-inline: auto;
}

/* Header */

.site-header {
  background: var(--black);
  border-bottom: 1px solid #252525;
}

.header-content {
  min-height: 98px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 24px;
  color: white;
  text-decoration: none;
}

.brand img {
  width: 100px;
  flex-shrink: 0;
}

.brand-text {
  display: grid;
  gap: 3px;
  text-transform: uppercase;
}

.brand-text strong {
  font-family: Rockwell, "Roboto Slab", Georgia, serif;
  font-size: 30px;
  font-weight: 900;
}

.brand-text > span {
  font-size: 20px;
  letter-spacing: 7px;
}

nav {
  display: flex;
  gap: 42px;
}

nav a {
  padding: 14px 4px;
  border-bottom: 3px solid transparent;
  color: #eeeeee;
  font-size: 20px;
  text-decoration: none;
}

nav a:hover,
nav a.active {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

a:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 5px;
}

/* Dark hero banner */

.hero {
  background-color: #08090a;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)),
    url("icerink.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 5px solid var(--orange);
  color: white;
}

.hero-content {
  min-height: 465px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: 80px;
  padding-block: 42px 52px;
}

.location {
  margin: 0 0 16px;
  color: var(--orange);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: Rockwell, "Roboto Slab", Georgia, serif;
  font-size: clamp(58px, 7.8vw, 112px);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: -2px;
  text-transform: uppercase;
}

h1 span {
  display: block;
}

.orange {
  color: var(--orange);
}

.hockey-art {
  width: 100%;
  height: auto;
  justify-self: end;
}

/* Paragraph and paired images */

.about {
  padding-block: 42px 44px;
}

.about-content {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.3fr);
  align-items: start;
  gap: 36px;
}

.introduction {
  margin: 0;
  font-size: clamp(19px, 1.95vw, 28px);
  line-height: 1.4;
}

.jerseys {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 20px;
}

.jerseys img {
  width: 100%;
  height: auto;
}

/* Footer */

.site-footer {
  padding: 20px 24px;
  background: var(--black);
  color: #eeeeee;
  text-align: center;
}

.site-footer p {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.site-footer span {
  font-size: 13px;
}

/* Tablets */

@media (max-width: 900px) {
  .container {
    width: calc(100% - 40px);
  }

  .brand img {
    width: 70px;
  }

  .brand-text strong {
    font-size: 21px;
  }

  .brand-text > span {
    font-size: 14px;
  }

  nav {
    gap: 18px;
  }

  nav a {
    font-size: 16px;
  }

  .hero-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  h1 {
    font-size: clamp(44px, 7.6vw, 72px);
  }

  .location {
    font-size: 12px;
    letter-spacing: 3px;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .introduction {
    max-width: 65ch;
    font-size: 20px;
  }
}

/* Phones */

@media (max-width: 600px) {
  .header-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-block: 14px;
  }

  .brand {
    gap: 14px;
  }

  .brand-text strong {
    font-size: 18px;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero-content {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-block: 36px;
    gap: 32px;
  }

  h1 {
    font-size: clamp(42px, 12vw, 72px);
  }

  .hockey-art {
    max-width: 480px;
    margin-inline: auto;
    justify-self: center;
  }

  .about {
    padding-block: 30px;
  }

  .jerseys {
    gap: 12px;
  }
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
