body {
  margin: 0;
  background: #fefae0;
  background-image: url("https://www.transparenttextures.com/patterns/brushed-alum.png");
}

/* style <Header/> */
header {
  height: 20vh;
  background: #fefae0;
  display: grid;
  grid-template-columns: 1fr 3fr 1fr;
  justify-items: center;
  position: sticky;
  top: 0;
  z-index: 1;
}

#logo {
  height: 20vh;
}

#menu-close {
  position: relative;
  transition: all 0.5s ease;
  transform: translateX(-400px);
}

#menu-close.show {
  transform: translateX(0);
}

#pages {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.5s ease;
  position: absolute;
  transform: translateX(-400px);
  top: 0;
}

#pages.show {
  background-color: #fffefa;
  transform: translateX(0);
}

#pages #menu-open {
  align-self: flex-start;
}

#pages button {
  display: flex;
  flex-direction: column;
  font-family: "Quicksand", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

#pages img {
  width: 100px;
  transform: scale(4);
  position: relative;
  top: 15vh;
}
nav {
  width: 100%;
}

/* Style <Home /> */
#home {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-items: center;
  margin: 3rem 0 3rem 0;
  width: 55vw;
}

.showcase img {
  height: 40vh;
  object-fit: contain;
  cursor: pointer;
  border: 0.75rem #fefae0 solid;
  margin: 0 2rem 0 2rem;
  opacity: 0.2;
  transition: opacity 0.5s ease-in-out;
}

.showcase img:hover {
  transform: scale(1.1);
}

.showcase img.visible {
  opacity: 1;
}

.showcase div {
  width: 25vw;
  opacity: 0.2;
  transition: opacity 0.5s ease-in-out;
}

.showcase div.visible {
  opacity: 1;
}

.showcase div p,
.showcase div h2 {
  color: #ed7e90;
  text-align: center;
  font-family: "Quicksand", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

.showcase div h2 {
  font-weight: 700;
  font-size: 2rem;
}

.showcase div p {
  margin-top: 0.5rem;
}

/* style <Footer/> */
footer {
  height: 20vh;
  background: #fefae0;
  font-family: "Quicksand", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  color: #ed7e90;
  font-size: 0.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

footer p {
  margin: 0 0 0 1rem;
}

footer a {
  color: #ed7e90;
}

/* responsive styling */
@media (max-width: 575px) {
  header {
    height: 12vh;
  }

  #logo {
    height: 10vh;
  }

  svg {
    font-size: 3rem !important;
  }

  #pages button {
    font-size: 1rem;
  }

  #pages img {
    width: 75px;
    transform: scale(4);
  }

  .showcase {
    width: 90vw;
  }

  .showcase img {
    height: 25vh;
    border: 0.5rem #fefae0 solid;
    margin: 0;
  }

  .showcase div {
    width: 40vw;
  }

  .showcase div h2 {
    font-size: 1rem;
  }

  .showcase div p {
    font-size: 0.5rem;
  }

  footer {
    height: 12vh;
    font-size: 0.4rem;
  }

  footer p {
    margin: 0 0 0 0.5rem;
  }
}

@media (min-width: 576px) and (max-width: 767px) {
  header {
    height: 15vh;
  }

  #logo {
    height: 15vh;
  }

  #pages button {
    font-size: 1.5rem;
  }

  #pages img {
    width: 80px;
    transform: scale(4);
  }

  .showcase {
    width: 90vw;
  }

  .showcase img {
    height: 35vh;
    border: 0.75rem #fefae0 solid;
    margin: 0;
  }

  .showcase div {
    width: 40vw;
  }

  .showcase div h2 {
    font-size: 1.5rem;
  }

  .showcase div p {
    font-size: 0.8rem;
  }

  footer {
    height: 15vh;
    font-size: 0.6rem;
  }

  footer p {
    margin: 0 0 0 0.75rem;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  header {
    height: 15vh;
  }

  #logo {
    height: 15vh;
  }

  #pages button {
    font-size: 1.75rem;
  }

  #pages img {
    width: 85px;
    transform: scale(4);
  }

  .showcase {
    width: 85vw;
  }

  .showcase img {
    height: 40vh;
    border: 0.75 rem #fefae0 solid;
    margin: 0;
  }

  .showcase div {
    width: 40vw;
  }

  .showcase div h2 {
    font-size: 1.75rem;
  }

  .showcase div p {
    font-size: 1rem;
  }

  footer {
    height: 15vh;
    font-size: 0.5rem;
  }

  footer p {
    margin: 0 0 0 0.7rem;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  header {
    height: 17vh;
  }

  #logo {
    height: 17vh;
  }

  #pages button {
    font-size: 2rem;
  }

  #pages img {
    width: 90px;
    transform: scale(4);
  }

  .showcase {
    width: 85vw;
  }

  .showcase img {
    height: 50vh;
    border: 0.75rem #fefae0 solid;
    margin: 0;
  }

  .showcase div {
    width: 40vw;
  }

  .showcase div h2 {
    font-size: 2rem;
  }

  .showcase div p {
    font-size: 1.25rem;
  }

  footer {
    height: 15vh;
    font-size: 0.6rem;
  }

  footer p {
    margin: 0 0 0 1rem;
  }
}
