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

html {
  scroll-behavior: smooth;
}

body, header {
  max-width: 1200px;
  background-color: #106EBE;
  color: #0FFCBE;
}

h1 {
  font-family: "Boldonse", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 6.5em;
}

h2 {
  font-family: "Boldonse", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 2em;
}

h3 {
  font-family: "Parkinsans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  color: #fff;
}

p {
  font-family: "Dosis", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.container {
  display: grid;
  max-width: 1200px;
  position: relative;
  margin: auto;
  gap: 10px;
  overflow: hidden;
  grid-template-areas:  "header nav" /* 100px */
                        "banner banner" /* 900px */
                        "sh-head sh-head" /* 100px*/
                        "shop shop" /* 400px */
                        "about-head about-head" /* 150px */
                        "about-us about-us" /* 250px */
                        "team-head team-head" /* 100px*/
                        "team team" /* 900px */
                        "ct-head ct-head" /* 100px */
                        "ct-btn ct-btn" /* 100px */
                        "contact contact" /* 150px */
                        "footer footer"; /* 100px */
  grid-template-columns: 1fr 3fr;
  grid-template-rows: 100px 900px 100px auto 150px auto 100px auto 100px 100px auto 100px;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  grid-area: header;
  z-index: 1000;
}

.logo {
  height: 80px;
  width: 80px;
  grid-area: header;
}

.navigation {
  display: inline-flex;
  gap: 20px;
  justify-content: right;
  grid-area: nav;
}

.navigation a {
  text-decoration: none;
  color: inherit;
  font-size: 1.5em;
  margin-right: 20px;
}

.navigation a:hover {
  color: white;
  font-size: 1.55em;
  text-shadow: 1px 1px 10px #021363;
}

.banner {
  max-width: 100%;
  height: auto;
  background-image: url('./img/good-boy-banner.png');
  background-position: right;
  background-size: contain;
  background-repeat: no-repeat;
  display: block;
  grid-area: banner;
}

.banner h1 {
    text-align: start;
    padding-top: 200px;
    padding-left: 10px;
}

.banner h3 {
  padding-left: 10px;
  padding-right: 400px;
}

.shop-header {
  grid-area: sh-head;
  margin-top: 50px;
  text-align: center;
}

.shop-header h3 {
  font-size: 1.75em;
}

.shop-header img {
  height: 50px;
  width: 50px;
}

.shop { 
  grid-area: shop;
  min-height: 400px;
}

#shop {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.category-content {
  width: 200px;
  margin: 0 auto;
  border: 5px solid #fff;
  box-shadow: 5px 5px 5px #021363;
  text-align: center;
  overflow: hidden;
}

.category-content:hover {
  width: 210px;
  box-shadow: 10px 10px 5px #021363;
}

.image-wrapper {
  height: 160px;
  overflow: hidden;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.category-content h3 {
  margin: 10px 0;
}

.about-header {
  grid-area: about-head;
  position: relative;
  margin-top: 0px;
  text-align: center;
}

.about-header img {
  height: 50px;
  width: 50px;
}

.about-us {
  grid-area: about-us;
  text-align: center;
  min-height: 250px;
  padding: 20px;
}

.team-header {
  grid-area: team-head;
  margin-top: 50px;
  text-align: center;
}

.team-header img {
  height: 50px;
  width: 50px;
}

.team { 
  grid-area: team;
  min-height: 900px;
}

#team {
  display: flex;
  justify-content: center;
  padding-top: 70px;
  gap: 30px;
  flex-wrap: wrap;
}

/* Entire card */
.team-content {
  width: 220px;
  text-align: center;
}

/* Portrait image box */
.team-wrapper {
  width: 100%;
  height: 320px;
  border: 5px solid #FFF;
  box-shadow: 5px 5px 5px #021363;
  overflow: hidden;
}

/* Image fills portrait frame */
.team-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Text below image */
.bio-wrapper {
  margin-top: 15px;
  padding: 0 5px;
}

.bio-wrapper p {
  line-height: 1.5;
}

.contact-header {
  grid-area: ct-head;
  margin-top: 0px;
  text-align: center;
}

.contact-header img {
  height: 50px;
  width: 50px;
  align-content: center
}

#contact { /* container */
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.contact {
  grid-area: contact;
  min-height: 150px;
  padding: 20px 0;
}

.button {
  grid-area: ct-btn;
  justify-self: center;
}

.email-btn {
  margin-top: 50px;
  border: 0;
  line-height: 2.5;
  padding: 0 20px;
  font-size: 1rem;
  text-align: center;
  color: #FFF;
  text-shadow: 1px 1px 1px #021363;
  border-radius: 10px;
  background-color: #0FFCBE;
  background-image: linear-gradient(
    to top left,
    rgb(0 0 0 / 0.2),
    rgb(0 0 0 / 0.2) 30%,
    transparent
  );
  box-shadow:
    inset 2px 2px 3px rgb(255 255 255 / 0.6),
    inset -2px -2px 3px rgb(2, 19, 99 / 0.6);
}

.email-btn:hover {
  box-shadow: 5px 5px 5px #021363;
}

.email-btn:active {
  box-shadow:
    inset -2px -2px 3px rgb(255 255 255 / 0.6),
    inset 2px 2px 3px rgb(0 0 0 / 0.6);
}

.sm-wrapper {
  height: 80px;
  margin-bottom: 20px;
}

.sm-wrapper img {
  width: 40px;
  height: 40px;
  align-items: center;
}

.footer {
  grid-area: footer;
  text-align: center;
  padding-bottom: 20px;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #0FFCBE;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .navigation {
    position: absolute;
    top: 100px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background-color: #106EBE;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    justify-content: flex-start;
  }

  .navigation.active {
    max-height: 300px;
  }

  .navigation a {
    padding: 15px 20px;
    font-size: 1.1em;
    margin-right: 0;
    border-bottom: 1px solid rgba(15, 252, 190, 0.2);
  }

  .navigation a:hover {
    background-color: rgba(2, 19, 99, 0.3);
  }

  header {
    position: relative;
    height: auto;
    padding: 15px 10px;
  }

  .logo {
    height: 60px;
    width: 60px;
  }

  .container {
    grid-template-rows: auto auto auto auto auto auto auto auto auto auto auto auto;
  }

  .banner {
    min-height: 400px;
  }

  .banner h1 {
    font-size: 3.5em;
    padding-top: 120px;
  }

  .banner h3 {
    font-size: 0.95em;
    padding-right: 20px;
    line-height: 1.4;
  }

  .banner {
    background-size: 60%;
    background-position: bottom right;
  }

  #shop {
    flex-wrap: wrap;
    gap: 20px;
    padding: 10px;
    justify-content: center;
  }

  .category-content {
    width: 160px;
    margin: 0;
  }

  .image-wrapper {
    height: 120px;
  }

  .shop-header h3 {
    font-size: 1.4em;
  }

  #team {
    padding-top: 40px;
    gap: 20px;
    padding-bottom: 30px;
  }

  .team-content {
    width: 180px;
  }

  .team-wrapper {
    height: 240px;
  }

  .bio-wrapper p {
    font-size: 0.85em;
  }

  .shop {
    min-height: auto;
    padding-bottom: 20px;
  }

  .about-us {
    min-height: auto;
    padding: 20px;
  }

  .team {
    min-height: auto;
    padding-bottom: 20px;
  }

  .contact {
    min-height: auto;
    padding: 20px;
  }

  .email-btn {
    margin-top: 20px;
  }

  .sm-wrapper {
    height: 60px;
    margin-bottom: 10px;
  }
}

@media (max-width: 480px) {
  .navigation {
    top: 80px;
  }

  .logo {
    height: 50px;
    width: 50px;
  }

  .hamburger span {
    width: 20px;
    height: 2.5px;
  }

  .banner h1 {
    font-size: 1.8em;
    padding-top: 60px;
    padding-left: 8px;
  }

  .banner h3 {
    font-size: 0.75em;
    padding-right: 10px;
    padding-left: 8px;
    line-height: 1.3;
  }

  .banner {
    background-size: 100%;
    background-position: bottom;
    min-height: 300px;
  }

  #shop {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 10px;
  }

  .category-content {
    width: 140px;
    margin: 0;
  }

  .category-content:hover {
    width: 140px;
  }

  .image-wrapper {
    height: 100px;
  }

  .shop-header h3 {
    font-size: 1.2em;
  }

  #team {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .team-content {
    width: 150px;
  }

  .team-wrapper {
    height: 200px;
  }

  .bio-wrapper {
    padding: 0 5px;
  }

  .bio-wrapper p {
    font-size: 0.75em;
    line-height: 1.3;
  }

  .bio-wrapper h3 {
    font-size: 0.9em;
  }
}
