@import url("https://fonts.googleapis.com/css2?family=Roboto&display=swap");

body {
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
}

h3 {
  font-size: 2em;
}

.header__navbar {
  height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__navbar--logo img {
  width: 30px;
  display: none;
}

.header__navbar--pages {
  width: 50%;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: space-around;
  align-items: center;
  cursor: pointer;
}

.header__navbar--cart img {
  width: 30px;
  height: auto;
}

.header__navbar--pages li:hover {
  text-decoration: underline;
  color: orangered;
}

.header__navbar--pages img {
  width: 2em;
}

.container {
  display: grid;
  justify-content: center;
  grid-template-columns: 10% 30% 50%;
}

.product__description {
  grid-row: 1 / 2;
  grid-column: 2 / 3;
}

.product__image {
  grid-row: 1 / 2;
  grid-column: 3 / 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.product__image--container {
  background-color: orangered;
  height: 300px;
  width: 300px;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 10px 10px 30px 1px rgba(255, 165, 0, 0.5);
}

.product__buttons {
  padding-top: 50px;
  justify-content: center;
  height: 50px;
}

.product__buttons button {
  width: 60px;
  height: 40px;
  border-radius: 5px;
  border: orangered;
  background-color: orangered;
  color: white;
  margin: 0 10px;
}

.product__buttons--mobile {
  display: none;
}

.product__image img {
  width: 500px;
  height: auto;
}

.social_media {
  grid-row: 1 / 2;
  grid-column: 1 / 2;
  display: flex;
  flex-direction: column-reverse;
}

.social_media a {
  text-decoration: none;
  color: black;
}

.social_media a p {
  -webkit-transform: rotate(-90deg);
  transform: rotate(-90deg);
  text-align: center;
  margin: 0;
  padding: 40px 0px;
}

.features {
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

.features span {
  margin: 0;
  padding: 10px 10px;
  white-space: nowrap;
}

.feature__button {
  width: 50%;
  height: 40px;
  border-radius: 5px;
  border: orangered;
  background-color: orangered;
  color: white;
  font-size: 1em;
  box-shadow: 0px 5px 10px 1px rgba(255, 165, 0, 0.5);
}

@media screen and (max-width: 768px) {
  .header__navbar {
    align-items: normal;
  }

  .header__navbar--pages li {
    display: none;
  }

  .header__navbar--pages img {
    width: 30px;
  }

  .header__navbar--logo img {
    display: block;
  }

  .container {
    grid-template-columns: minmax(370px, 1fr);
    grid-template-rows: 1fr 1fr;
  }

  .product__image {
    grid-row: 1 / 2;
    grid-column: 1 / 2;
  }

  .product__image--container {
    height: 200px;
    width: 200px;
  }

  .product__image img {
    width: 400px;
    height: auto;
  }

  .product__description {
    grid-row: 2 / 3;
    grid-column: 1 / 2;
    padding: 0 100px;
    text-align: center;
  }

  .product__description--container h3 {
    margin-top: 0;
  }

  .product__description--features h3 {
    margin-bottom: 0;
  }

  .features {
    flex-wrap: nowrap;
    overflow-x: scroll;
  }

  .product__buttons {
    display: none;
  }
  .product__buttons--mobile {
    margin-top: 30px;
    display: block;
  }

  .social_media {
    display: none;
  }
}

@media screen and (max-width: 480px) {
  .header__navbar--logo img {
    display: block;
  }
  .product__description {
    padding: 0 10px;
  }

  .features {
    flex-wrap: nowrap;
    overflow-x: scroll;
  }

  .feature__button {
    margin-bottom: 20px;
  }
  .product__image img {
    width: 300px;
    height: auto;
  }

  .product__image--container {
    height: 150px;
    width: 150px;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 5px 5px 10px 1px rgba(255, 165, 0, 0.5);
  }

  .header__navbar--pages li {
    display: none;
  }
}
