@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;700;800&display=swap");

:root {
  font-size: 10px;
  font-family: "Manrope", sans-serif;
}

body {
  margin: 0;
  padding: 0;
  background-color: #f0f0f0;
}

nav {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 7.5rem;
  background-color: #333;
}

nav img {
  width: 3.5rem;
  height: 3.5rem;
  transition: 0.5s ease-in-out;
}

nav img:hover {
  width: 3.5rem;
  height: 3.5rem;
  filter: contrast(1000%);
}

nav ul {
  display: flex;
  margin: 0 auto;
  padding: 0;
  width: 80%;
  height: 100%;
  justify-content: space-evenly;
  align-items: center;
  list-style: none;
}

nav ul li {
  margin: 0;
  padding: 0;
}

nav ul li a {
  color: #aaa;
  font-size: 2.5rem;
  text-decoration: none;
  transition: 0.5s ease-in-out;
}

nav ul li a:hover {
  color: #fff;
}

.menu-active-img {
  filter: contrast(1000%);
}

.menu-active-text {
  color: #fff;
}

#index-container {
  display: flex;
  margin: 2.5rem auto;
  align-items: center;
}

#index-logo {
  width: 25%;
  height: 25%;
}

#index-logo > img {
  width: 100%;
  height: 100%;
}

#index-text {
  margin: 0 auto 0 0;
}

#index-text > p {
  font-weight: bolder;
  font-size: 10rem;
  color: #aaaaaa;
  margin: 0 auto 0 0;
  padding: 0;
}

#index-iphone > img {
  width: 100%;
  max-width: 70rem;
}

/* APPLE */

#section1 {
  display: flex;
  width: 100%;
  height: 60rem;
  background-color: #e0e0e0;
  margin: 5rem 0;
  justify-content: space-evenly;
  align-items: center;
  text-align: center;
}

.section1-content {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 75%;
  height: auto;
}

.section1-text {
  margin-left: 15rem;
  margin-right: 15rem;
}

.section1-content h1 {
  font-size: 10rem;
  margin: 0;
  padding: 0;
}

.section1-content p {
  font-size: 4rem;
  margin: 0;
  padding: 0;
}

.section1-link {
  margin-top: 15rem;
}

.section1-link a {
  font-size: 3rem;
  margin: 0 5rem;
  color: #06c;
  text-decoration: none;
}

.section1-content img {
  height: 52rem;
}

#half-section {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  text-align: center;
}

.section2 {
  width: 50%;
  height: 60rem;
}

.section2:nth-child(1) {
  background-color: #000;
  color: #fff;
}

.section2:nth-child(2) {
  background-color: #e0e0e0;
}

.section2-text > h1 {
  font-size: 6rem;
  margin: 0;
  padding: 0;
}

.section2-text > p {
  font-size: 3.2rem;
  margin: 0;
  padding: 0;
}

.section2-link {
  margin: 1rem 0;
}

.section2-link a {
  font-size: 2.8rem;
  margin: 0 2.5rem;
  color: #06c;
  text-decoration: none;
}

.section2 img {
  height: 40rem;
}

/* SHOP */

#shop-content-text {
  margin-top: 10rem;
  margin-left: 20rem;
  font-weight: bold;
  font-size: 8rem;
  color: #000;
}

#shop-content-text p {
  margin: 0;
  padding: 0;
}

#shop-content-text span {
  color: #555;
}

#shop-container {
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto 0 auto;
  justify-content: space-evenly;
  align-items: center;
  text-align: center;
}

.shop-card {
  background-color: #d0d0d0;
  width: 20%;
  max-width: 50rem;
  border-radius: 2.5rem;
  margin: 5rem;
  padding: 2.5rem;
}

.card-photo {
  width: 100%;
}

.card-photo img {
  width: 100%;
  align-items: center;
  text-align: center;
}

.card-title p {
  font-size: 5rem;
  font-weight: bold;
  margin: 2.5rem 0 0 0;
  padding: 2rem 0 0 0;
  border-top: 5px solid #000;
}

/* IMAC */

.title-container {
  background-color: #aaa;
  margin-top: 7.5rem;
  padding: 2rem;
}

.title-container p {
  font-size: 5rem;
  margin: 0;
  padding: 0;
  margin-left: 8%;
}

.items-container {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  background-color: #d9d9d9;
  width: 100%;
  padding: 5rem 0 5rem 0;
}

.items-container img {
  display: flex;
  text-align: center;
}

.items-section {
  height: auto;
}

.item-card {
  background-color: #fff;
  height: auto;
  margin: 0 auto 0 auto;
  padding: 2.5rem;
  border-radius: 0.5rem;
}

.item-card img,
.content-section {
  width: 87.5%;
  margin: 0 auto 0 auto;
  width: 35rem;
}

.content-section > p {
  font-size: 2.2rem;
  margin: 1rem 0 1.5rem 0;
  padding: 0;
}

.content-section .item-description p {
  font-size: 1.8rem;
  margin: 0;
  padding: 0;
}

.content-section .item-description {
  margin: 0 0 1.5rem 0;
}

.price {
  margin: 0 0 1.5rem 0;
}

.price p {
  font-size: 5rem;
  margin: 0;
  padding: 0;
}

.item-card-button {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #bbbbbb;
  height: 7.5rem;
  border-radius: 0.5rem;
  transition: 0.25s ease-in-out;
}

.item-card-button:hover {
  background-color: #dd0000;
  cursor: pointer;
}

.item-card-button p {
  display: block;
  font-size: 3.5rem;
  font-weight: bold;
  margin: 0;
  padding: 0;
}

.red {
  color: #dd0000;
}

/* FOOTER */

footer {
  display: flex;
  background-color: #333;
  width: 100%;
  height: 10rem;
  margin-top: 5rem;
}

footer #footer-content {
  display: flex;
  margin: auto;
}

footer p {
  color: #fff;
  font-size: 2rem;
  margin: 0 1rem;
  padding: 0;
}

/* Desktop - 1600px */
@media only screen and (max-width: 1600px) {
  :root {
    font-size: 8px;
  }

  #index-text > p {
    font-size: 8rem;
  }

  #index-iphone > img {
    width: 80%;
    max-width: 70rem;
  }
}

/* Laptop - 1280px */
@media only screen and (max-width: 1280px) {
  :root {
    font-size: 5px;
  }

  #index-text > p {
    font-size: 7rem;
  }

  #index-iphone > img {
    width: 80%;
    max-width: 70rem;
  }
}
