@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

  --first-color: hsl(93, 54%, 54%);
  --first-color-alt: hsl(93, 50%, 48%);
  --first-color-light: hsl(93, 58%, 66%);
  --title-color: hsl(228, 8%, 98%);
  --text-color: hsl(228, 8%, 70%);
  --white-color: hsl(228, 8%, 98%);
  --black-color: hsl(228, 6%, 4%);
  --body-color: hsl(228, 6%, 8%);
  --container-color: hsl(228, 6%, 12%);
  --shadow-img: 0 0 48px hsla(93, 54%, 54%, 0.4);
  --gradient-card: linear-gradient(
    180deg,
    hsla(93, 8%, 8%),
    hsla(93, 40%, 30%)
  );
  --body-font: "Montserrat", sans-serif;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--body-color);
  font-family: var(--body-font);
  font-size: 1.6rem;
}

a {
  color: var(--white-color);
  text-decoration: none;
  display: block;
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
}
/*==============================REUSABLE============================*/

.container {
  max-width: 112rem;
  margin: 0 auto;
  padding: 0 3rem;
}
.grid {
  display: grid;
}

/*==============================HEADER============================*/

.header {
  width: 100%;
  position: fixed;
  z-index: 1;
}
.header::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  backdrop-filter: blur(16px);
  z-index: -1;
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--white-color);
  padding: 3rem 2.4rem;
}

.nav__list {
  display: flex;
  gap: 5.5rem;
  font-weight: 600;
}

.nav__logo i {
  color: var(--first-color);
  font-weight: 600;
  font-size: 2.3rem;
}

.nav__actions {
  display: flex;
  gap: 1.5rem;
}

.nav__actions i {
  font-size: 2.4rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 3px;
  font-weight: 600;
}

.active {
  color: var(--first-color);
}

.close {
  display: none;
}
.open__menu {
  display: none;
}

@media (width<=901px) {
  .nav__menu {
    top: 0;
    right: -100%;
    position: fixed;
    width: 50%;
    height: 100%;
    padding: 9rem 4.8rem;
    backdrop-filter: blur(16px);
    transition: right 0.4s;
  }
  .nav__list {
    flex-direction: column;
  }

  .nav__actions i {
    font-size: 2rem;
  }

  .open__menu {
    display: block;
  }

  .show__menu {
    right: 0;
  }

  .close {
    position: absolute;
    top: 30px;
    right: 22px;
    font-size: 2.4rem;
    display: block;
  }
}

/*=============================HOME============================== */

.home {
  color: var(--white-color);
  padding-top: 150.4px;
}
.home__container {
  grid-template-columns: minmax(0, 480px) minmax(0, 513px);
  align-items: center;
  justify-content: center;
  gap: 6.4rem;
}

.home__title {
  font-size: 6.8rem;
  margin-bottom: 1.6rem;
}
.home__variant {
  color: var(--first-color);
}

.home__description {
  font-size: 1.6rem;
  color: var(--text-color);
  margin-bottom: 7rem;
}

.home__button {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.button__shop {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--black-color);
  background-color: var(--white-color);
  padding: 8px 1.8rem 8px 8px;
  font-weight: 700;
  border-radius: 50px;
}

.button__shop i {
  background-color: var(--first-color);
  padding: 8px;
  border-radius: 50%;
  font-size: 2rem;
  font-weight: 600;
  transition: transform 0.3s;
}

.button__shop:hover i {
  transform: translateX(2px) rotate(-30deg);
}

.button__link {
  text-decoration: underline;
  font-weight: 600;
}
.button__link:hover {
  color: var(--first-color);
}

.home__img {
  filter: drop-shadow(var(--shadow-img));
}

@media (width<=1121px) {
  .home__container {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-content: center;
    gap: 6rem;
  }
  .home__title {
    font-size: 4.8rem;
  }
  .home__description {
    font-size: 1.5rem;
  }

  .hero-img-box {
    text-align: center;
  }
  .home__img {
    width: 83%;
  }
}

@media (width<=931px) {
  .home__container {
    grid-template-columns: 1fr;
  }

  .home__data {
    max-width: 400px;
    justify-self: center;
    text-align: center;
  }

  .home__img {
    width: 65%;
  }
  .home__button {
    justify-content: center;
  }
}

@media (width<=421px) {
  .home__title {
    font-size: 3.6rem;
  }
}
/*=================================News==========================*/

.news {
  margin-top: 14rem;
  color: var(--white-color);
}

.news__container {
  grid-template-columns: 420px 490px;
  align-items: center;
  justify-content: center;
  gap: 12rem;
}

.news__title {
  font-size: 3.6rem;
  margin-bottom: 2.5rem;
}

.news__description {
  color: var(--text-color);
}

.news__card {
  width: 20rem;
  padding: 14.5rem 1.2rem 2.4rem 1.2rem;
  background-image: var(--gradient-card);
  border: 2px solid var(--first-color);
  border-radius: 2rem;
  position: relative;
}

.news__images {
  grid-template-columns: repeat(2, max-content);
  align-items: center;
  column-gap: 10rem;
  row-gap: 13rem;
}
.news__image {
  position: absolute;
  top: -7rem;
  right: 0;
}

.news__card:nth-child(even) {
  rotate: 7deg;
  transform: translateY(18rem);
}
.news__card:nth-child(odd) {
  rotate: -6deg;
}

.card__description {
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
}

@media (width<=1121px) {
  .news__card {
    width: 17rem;
    padding: 12rem 1.2rem 2.4rem 1.2rem;
  }
  .card__description {
    font-size: 1.7rem;
  }
  .news__container {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-content: center;
    gap: 9rem;
  }
}

@media (width<=931px) {
  .news {
    margin-top: 9.6rem;
  }
  .news__container {
    grid-template-columns: minmax(0, 400px);
  }

  .news__card {
    width: 18.5rem;
    padding: 12rem 1.2rem 2.4rem 1.2rem;
  }

  .news__title {
    font-size: 2.4rem;
    text-align: center;
  }
  .news__description {
    text-align: center;
    font-size: 1.5rem;
  }
}

@media (width<=651px) {
  .news__images {
    grid-template-columns: 1fr;
    row-gap: 13rem;
  }
  .news__card:nth-child(even) {
    rotate: 7deg;
    transform: translateY(0);
    justify-self: end;
  }
}
/*=================================SHOP========================= */

.shop__container {
  margin-top: 14rem;
  color: var(--white-color);
}

.shop__title {
  text-align: center;
  font-size: 3.6rem;
  margin-bottom: 14rem;
}

.shop__cards {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  justify-content: center;
  gap: 12rem 7rem;
}

.shop__card {
  width: 24rem;
  padding: 16.5rem 2.4rem 3.2rem 2.4rem;
  background-image: var(--gradient-card);
  border: 2px solid var(--first-color);
  border-radius: 1.6rem;
  position: relative;
}
.shop__description {
  font-weight: 600;
  font-size: 1.4rem;
}

.shop__image {
  position: absolute;
  top: -8rem;
  right: 0;
  transform: translateX(-20px);
  width: 89%;
}

.shop__buy {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 3px;
}

.shop__price {
  font-weight: 600;
  font-size: 2.4rem;
}

.shop__buy i {
  background-color: var(--white-color);
  padding: 8px;
  border-radius: 50%;
  color: black;
  font-size: 2rem;
}

@media (width<=1121px) {
  .shop__cards {
    display: grid;
    grid-template-columns: repeat(3, max-content);
    gap: 9rem 2.5rem;
  }

  .shop__card {
    justify-self: center;
    width: 16rem;
    padding: 10rem 1rem 1rem 1rem;
  }
  .shop__description {
    font-weight: 600;
    font-size: 1.4rem;
  }

  .shop__price {
    font-size: 1.7rem;
  }
  .shop__buy i {
    font-size: 2rem;
    padding: 5px;
  }

  .shop__image {
    transform: translateX(-8px);
  }

  .shop__image {
    top: -6rem;
  }

  .shop__card:nth-child(4) img {
    top: -6.5rem;
  }
}

@media (width<=651px) {
  .shop__cards {
    grid-template-columns: repeat(2, max-content);
    gap: 9rem 2.4rem;
  }

  .shop__card {
    max-width: 14.5rem;
  }
}

/*==============================care==============================*/

.care {
  margin-top: 14rem;
  color: var(--white-color);
}

.care__title {
  text-align: center;
  font-size: 4rem;
  font-weight: 600;
}
.care__container {
  display: grid;
  grid-template-columns: 48rem 39rem;
  gap: 12rem;
  align-items: center;
  justify-content: center;
  margin-top: 5rem;
}

.care__img {
  filter: drop-shadow(var(--shadow-img));
}

.care__description:not(:last-child) {
  margin-bottom: 2.4rem;
}
.care__description i {
  color: var(--first-color);
  font-size: 2.4rem;
}
.care__description {
  display: flex;
  gap: 1rem;
  color: var(--text-color);
}

@media (width<=1121px) {
  .care__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10rem;
    align-items: center;
    justify-content: center;
  }
  .care__data {
    padding-right: 7rem;
  }
}

@media (width<=931px) {
  .care__container {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .care__title {
    font-size: 2.4rem;
  }
  .care__img {
    width: 52%;
    justify-self: center;
  }

  .care__data {
    padding-right: 0;
    max-width: 400px;
    justify-self: center;
  }

  .care__description {
    font-size: 1.5rem;
  }
}

/*================================contact===========================*/

.contact {
  margin-top: 14rem;
  color: var(--white-color);
}

.contact__title {
  text-align: center;
  font-size: 4rem;
  font-weight: 700;
}

.contact__container {
  margin-top: 5rem;
  display: grid;
  gap: 11rem;
  grid-template-columns: 30rem 48rem;
  align-items: center;
  justify-content: center;
}

.contact__img {
  filter: drop-shadow(var(--shadow-img));
}

.contact__subtitle {
  font-size: 2.3rem;
}
.contact__social {
  display: flex;
  gap: 1rem;
}

.contact__social p {
  color: var(--text-color);
}

.contact__logo {
  color: var(--first-color);
  font-size: 2.4rem;
}

.contact__data {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.contact__info h3 {
  margin-bottom: 1rem;
}

@media (width<=1121px) {
  .contact__container {
    margin-top: 5rem;
    display: grid;
    gap: 10rem;
    grid-template-columns: 1fr 1fr;
  }
  .contact__data {
    padding-left: 10rem;
  }
}
@media (width<=931px) {
  .contact__container {
    grid-template-columns: 1fr;
  }
  .contact__img {
    width: 52%;
    justify-self: center;
    order: -1;
  }

  .contact__data {
    padding-left: 0;
    align-items: center;
    text-align: center;
  }

  .contact__social {
    justify-content: center;
  }
}
/*================================Arrow============================== */

.arrow {
  display: none;
  position: fixed;
  right: 4.8rem;
  bottom: 4.8rem;
  color: var(--white-color);
  font-size: 3rem;
  width: 3.3rem;
  background-color: var(--container-color);
  text-align: center;
}

.show-arrow {
  display: block;
}

@media (width<=931px) {
  .arrow {
    right: 2.8rem;
  }
}
/*================================footer=============================*/

.footer {
  color: var(--white-color);
  margin-top: 4.8rem;
  padding: 0 3rem;
}

.footer__container {
  display: flex;
  justify-content: space-between;
}
.footer__logo {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 2.4rem;
  font-weight: 600;
  margin-bottom: 2.4rem;
}
.footer__logo i {
  font-size: 3.2rem;
  color: var(--first-color);
  font-weight: normal;
}

.footer__content {
  display: flex;
  gap: 8.8rem;
}

.footer__description {
  color: var(--text-color);
}
.footer__description li {
  transition: color 0.2s;
  cursor: pointer;
}
.footer__description li:hover {
  color: var(--first-color);
}

.footer__social {
  display: flex;
  gap: 1rem;
}

.footer__social i {
  font-size: 2.4rem;
  color: var(--text-color);
  transition: color 0.2s;
}

.footer__social i:hover {
  color: var(--first-color);
}

.footer__info h3 {
  margin-bottom: 2.4rem;
}

.made {
  text-align: center;
  color: var(--text-color);
  padding: 9.6rem;
}

@media (width<=1121px) {
  .footer__logo {
    margin-bottom: 1.2rem;
  }
  .footer__content {
    display: flex;
    gap: 4.5rem;
    flex-wrap: wrap;
  }
  .footer__info h3 {
    font-size: 1.45rem;
  }

  .footer__description {
    font-size: 1.5rem;
  }

  .footer__info h3 {
    margin-bottom: 1.6rem;
  }
}

@media (width<=651px) {
  .footer__container {
    flex-direction: column;
    gap: 6.4rem;
  }

  .footer__logo {
    font-size: 2rem;
    gap: 4px;
  }

  .footer__logo i {
    font-size: 2.4rem;
  }
}

.hidden {
  opacity: 0;
  transform: translateY(-200px);
  transition: all 1.5s ease 0.2s;
}

.show {
  opacity: 1;
  transform: translateY(0);
}
