@charset "UTF-8";

html {
  font-size: 10px;
}

* {
  box-sizing: border-box;
}

@font-face {
  font-family: Oswald;
  src: url("https://tennisracketsocial.org/fonts/Oswald-VariableFont_wght.woff") format("woff");
  font-display: swap;
}

@font-face {
  font-family: Teko;
  src: url("https://tennisracketsocial.org/fonts/Teko-VariableFont_wght.woff") format("woff");
  font-display: swap;
}

body {
  background-color: #0466075e;
  background-image: url("../images/tennis-racket-silhouette.webp");
  background-repeat: repeat;
  background-position: top left;
}

#wrapper {
  background-color: #2b7b86;
  max-width: 1000px;
  min-height: 100vh;
  padding: 0.75%;
  display: grid;
  grid-template-columns: 100%;
  grid-template-rows: repeat(4, auto);
  margin: 0 auto;
}

header,
nav,
main {
  margin-bottom: 1%;
}

header {
  grid-row: 1/2;
  grid-column: 1/2;
  min-height: 140px;
  height: auto;
  background-color: azure;
  display: grid;
  grid-template-columns: 30% 70%;
  grid-template-rows: 100%;
  place-items: center;
  font-family: Teko, sans-serif;
}

#image-backdrop-home {
  grid-row: 1/2;
  grid-column: 1/2;
  background-color: #088128d1;
  width: 97%;
  height: 95%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#image-backdrop-home img {
  max-width: 120px;
  max-height: 100%;
}

header h1 {
  grid-row: 1/2;
  grid-column: 2/3;
  color: #088128d1;
  font-size: 6rem;
  line-height: 1;
  height: 6rem;
  margin: 0;
  padding: 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

nav {
  grid-row: 2/3;
  grid-column: 1/2;
  min-height: 60px;
  height: auto;
  background-color: #fff;
  font-family: Oswald, sans-serif;
}

nav ul {
  height: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  list-style: none;
  gap: 6%;
  margin: 0;
  padding: 0 15%;
}

nav a {
  font-size: 1.6rem;
  text-decoration: none;
  color: #000;
  font-weight: 700;
}

nav a:hover {
  color: #190ae9;
}

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

.skip-link:focus {
  position: static;
  width: auto;
  height: auto;
}

#home-main {
  grid-row: 3/4;
  grid-column: 1/2;
  width: 100%;
  height: auto;
  padding: 0;
  display: grid;
  grid-template-columns: 5% 5% 80% 5% 5%;
  grid-template-rows: 100%;
  background-color: #60b9f4;
  font-family: Oswald, sans-serif;
}

#blue-bar1 {
  grid-row: 1/2;
  grid-column: 1/2;
}

#white-bar1 {
  grid-row: 1/2;
  grid-column: 2/3;
}

#home-content {
  grid-row: 1/2;
  grid-column: 3/4;
  padding: 1.25rem;
}

#white-bar2 {
  grid-row: 1/2;
  grid-column: 4/5;
}

#blue-bar2 {
  grid-row: 1/2;
  grid-column: 5/6;
}

#blue-bar1,
#blue-bar2 {
  width: 100%;
  height: 100%;
  background-color: #60b9f4;
}

#white-bar1,
#white-bar2 {
  width: 100%;
  height: 100%;
  background-color: #fff;
}

#home-main h2 {
  font-size: 2.2rem;
  text-align: center;
  margin: 0;
  padding: 0;
}

#home-main p {
  font-size: 1.8rem;
  margin: 1.25rem 0 0;
  padding: 0;
}

#walkthrough-video {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 2rem;
}

footer {
  grid-row: 4/5;
  grid-column: 1/2;
  background-color: #4ce782e9;
  height: auto;
  padding: 3%;
  display: grid;
  grid-template-columns: 38.5% 58.5%;
  grid-template-rows: repeat(2, 1fr);
  font-family: Oswald, sans-serif;
}

footer h2 {
  font-size: 2.25rem;
  padding: 0;
  margin: 0;
}

footer h3 {
  font-size: 1.5rem;
  margin: 0;
  padding: 0;
  font-weight: 400;
}

footer p {
  font-size: 1.5rem;
  padding: 0;
  margin: 0;
}

footer a {
  font-size: 1.5rem;
  font-weight: 400;
  text-decoration: none;
  color: #000;
}

footer a:hover {
  color: #190ae9;
}

#social-media {
  display: grid;
  grid-template-columns: repeat(5, auto);
  grid-template-rows: 1fr;
  align-items: center;
  justify-content: left;
  list-style: none;
  gap: 1%;
  margin: 0;
  padding: 0;
}

#contact-email,
#contact-phone,
#social-media {
  margin-top: 2%;
}

@media (max-width: 700px) {
  header,
  nav,
  main {
    margin-bottom: 2%;
  }

  header h1 {
    font-size: 4rem;
    line-height: 1;
    height: 4rem;
  }

  #image-backdrop-home img {
    max-width: 80px;
    max-height: 100%;
  }

  nav ul {
    gap: 3.5%;
    padding: 0 2%;
    text-align: center;
  }

  nav a {
    font-size: 1.1rem;
  }

  #home-content {
    padding: 1.25rem;
  }

  #home-main h2 {
    font-size: 1.9rem;
  }

  #home-main p {
    font-size: 1.7rem;
  }

  footer {
    grid-template-columns: 100%;
    grid-template-rows: repeat(4, auto);
  }

  footer h2 {
    font-size: 2.2rem;
  }

  footer h3,
  footer p,
  footer a {
    font-size: 1.7rem;
  }
}