@import url("https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,200..800;1,6..72,200..800&display=swap");

@font-face {
  font-family: "Iransans";
  src: url(../fonts/IranSans.woff) format("woff"), url(../fonts/IranSans.woff) format("woff2");
  font-weight: 400;
  font-style: normal;
}

@font-face {
    font-family: "Pacifico";
    src: url("../fonts/pacifico/Pacifico-Regular.woff2") format("woff2"), url("../fonts/pacifico/Pacifico-Regular.woff") format("woff");
    font-weight: 400;
}

:root {
    --header-height: 3.5rem;
    --primary-color: hsl(19, 64%, 54%);
    --primary-color-alt: hsl(19, 64%, 52%);
    --body-color: hsl(18, 100%, 96%);
    --container-color: hsl(20, 100%, 97%);
    --title-color: hsl(20, 16%, 15%);
    --text-color: hsl(19, 16%, 35%);
    --text-color-alt: hsl(20, 8%, 55%);
    --bg-color: hsla(230, 12%, 96%, 0.6); 
    --ff-Iransans: "Iransans", Tahoma, Helvetica, sans-serif;
    --fw-bold: 700;
    --fw-semi-bold: 600;
    --fw-medium: 500;
    --fw-regular: 400;
    --fs-xl: 2rem;
    --fs-lg: 1.25rem;
    --fs-md: 0.975rem;
    --fs-sm: 0.75rem;
    --space-1: 0.5rem;
    --space-2: 1rem;
    --space-3: 1.5rem;
    --space-4: 2rem;
    --space-5: 2.5rem;
    --space-6: 3rem;
    --space-10: 5rem;
    --space-14: 7rem;
    --zi-soft: 10;
    --zi-hard: 100;
}

@media screen and (min-width: 768px) {
  :root {
    --fs-xl: 2.5rem;
    --fs-lg: 1.75rem;
    --fs-md: 1rem;
    --fs-sm: 0.85rem;
  }
}

body.dark-theme {
    --primary-color: hsl(19, 64%, 58%);
    --primary-color-alt: hsl(19, 64%, 54%);
    --body-color: hsl(19, 12%, 8%);
    --container-color: hsl(19, 10%, 10%);
    --title-color: hsl(19, 16%, 85%);
    --text-color: hsl(19, 16%, 65%);
    --bg-color: hsla(230, 12%, 26%, 0.6);
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--body-color);
  color: var(--text-color);
  font-family: var(--ff-Iransans);
  font-size: var(--fs-md);
  margin-top: var(--header-height);
}

body.active .dropdown__overlay {
  display: block;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

button {
    background-color: transparent;
    cursor: pointer;
}

input,
button,
select,
option {
  border: none;
  outline: none;
  font-family: var(--ff-Iransans);
  color: var(--text-color);
}

img {
  max-width: 100%;
  height: auto;
}

/* utils */
.container {
  padding-inline: var(--space-2);
  margin-inline: auto;
}

@media screen and (min-width: 512px) {
  .container {
    width: 100%;
    max-width: 1100px;
    margin-inline: auto;
  }
}

.text-center {
    text-align: center;
}

.my-5 {
    margin-block: 2.5rem;
}

.py-3 {
    padding-block: 1.5rem;
}

.mx-auto {
    margin-inline: auto;
    }

.d-block {
    display: block;
    }

.swiper-pagination-bullet {
    width: 16px;
    height: 8px;
    background: var(--container-color);
    opacity: 1;
    border-radius: 0;
    border: 1px solid var(--text-color);
}

.swiper-pagination-bullet-active {
  background-color: var(--primary-color);
}

.button {
  display: inline-block;
  background-color: var(--container-color);
  color: var(--text-color);
  font-weight: var(--fw-semi-bold);
  padding: 1rem 1.5rem;
  margin-top: var(--space-1);
  transition: box-shadow 0.4s;
}

.button:hover {
  box-shadow: 0 4px 32px hsla(230, 72%, 32%, 0.4);
}

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar {
  width: 0.6rem;
  border-radius: 0.5rem;
  background-color: var(--body-color);
}

::-webkit-scrollbar-thumb {
  background-color: hsl(230, 16%, 55%);
}

::-webkit-scrollbar-thumb:hover {
  background-color: hsl(230, 16%, 40%);
}

/*=============== SCROLL UP ===============*/
.scrollup,
.phone {
  position: fixed;
  right: 1rem;
  bottom: -100%;
  background-color: var(--white-color);
  color: var(--title-color);
  box-shadow: 0 2px 8px hsla(0, 0%, 0%, 0.1);
  display: inline-flex;
  padding: var(--space-1);
  font-size: 1.25rem;
  color: var(--title-color);
  z-index: var(--z-tooltip);
  transition: bottom 0.4s, transform 0.4s, background-color 0.4s;
}

.phone {
  bottom: var(--space-3);
  right: initial;
  left: 1rem;
  background-color: var(--primary-color);
  color: var(--white-color);
}

.scrollup:hover {
  transform: translateY(-0.5rem);
}

/* Show Scroll Up */
.scrollup.active {
  bottom: var(--space-3);
}

.section {
    padding-block: var(--space-10);
}

/* tab */

@-webkit-keyframes fadeEffect {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeEffect {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.tab {
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-block: var(--space-3);
}

    .tab button {
        display: inline-flex;
        justify-content: center;
        min-width: 64px;
        padding: var(--space-1) var(--space-2);
        border: 1px solid var(--border-color);
        background-color: var(--container-color);
        border-radius: 0.25rem;
    }

        .tab button:hover,
        .tab button.active {
            background-color: var(--text-color);
            color: var(--container-color);
        }

.tab-content {
    display: none;
    -webkit-animation: fadeEffect 1s;
    animation: fadeEffect 1s;
    background-color: var(--container-color);
    padding: var(--space-3);
    border-radius: 0.25rem;
    line-height: 1.7;
    text-align: justify;
}

.tab-content p {
  margin-block: var(--space-1);
}

.tab-content h2,
.tab-content h3,
.tab-content h4,
.tab-content h5,
.tab-content h6 {
  margin-block: var(--space-2);
}

.tab-content ul {
  list-style-type: square;
  list-style-position: inside;
  margin-block: var(--space-1);
}

.tab-content table {
  margin-top: var(--space-3);
  width: 100%;
  text-align: right;
  border-collapse: collapse;
}

.tab-content table tr:nth-child(even) {
  background-color: var(--gray-border);
}

.tab-content table th,
.tab-content table td {
  padding: var(--space-1) var(--space-2);
}

.tab-links i {
  margin-left: var(--space-1);
}

/* breadcrumb */
.breadcrumb {
  margin-bottom: var(--space-3);
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
}

.breadcrumb__item:not(:last-child)::after {
  content: ">";
  font-size: 0.75rem;
}

.breadcrumb__item:last-child {
  font-size: 0.75rem;
  padding-inline: var(--space-1);
  color: var(--text-color);
  margin-top: 0.2rem;
}

.breadcrumb__link {
  display: inline-block;
  font-size: 0.75rem;
  color: #777;
  padding-inline: var(--space-1);
}

/* pagination */

.pagination {
  margin-block: var(--space-2);
}

.pagination__list {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
}

.pagination__link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  color: var(--text-color);
  transition: 0.4s;
}

.pagination__link:hover {
  background-color: var(--text-color);
  color: var(--white-color);
}

/*base*/

main {
    min-height: 256px;
}

/* header and nav */

/* header */
.header {
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--body-color);
    z-index: var(--zi-hard);
    transition: box-shadow 0.4s, background-color 0.4s;
}

    .header.active {
        box-shadow: 2px 0 8px rgba(0,0,0,0.1);
    }

.dark-theme .header.active {
    box-shadow: 2px 0 8px rgba(255,255,255,0.1);
}

/* nav */

.nav {
    position: relative;
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo,
.nav__open,
.nav__close {
    display: flex;
    color: var(--title-color);
}

.nav__logo {
    align-items: center;
    gap: var(--space-1);
    font-family: "Pacifico", cursive;
}

.nav__img--logo {
    width: 25px;
}

.nav__caption {
    color: var(--primary-color);
    font-weight: var(--fw-medium);
    font-size: var(--fs-lg);
    transition: color 0.4s;
}

    .nav__caption:hover {
        color: var(--primary-color);
    }

/* desktop */
@media screen and (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: -100%;
        left: 0;
        width: 100%;
        background-color: var(--body-color);
        padding-block: var(--space-5);
        transition: top 0.4s;
    }
}

.nav__menu.nav__menu--active {
    top: 0;
}

.nav__list {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: var(--space-3);
}

.nav__link {
    color: var(--title-color);
    font-weight: var(--fw-medium);
    transition: 0.4s;
}

    .nav__link:hover {
        color: var(--primary-color);
    }

    .nav__link.nav__link--active {
        color: var(--primary-color);
    }

.nav__close {
    position: absolute;
    top: var(--space-2);
    right: var(--space-3);
    font-weight: var(--fw-semi-bold);
    font-size: var(--fs-lg);
    cursor: pointer;
}

.nav__theme,
.nav__open {
    cursor: pointer;
    transition: 0.4s;
}

.nav__search {
    cursor: pointer;
}

.nav__action {
    display: flex;
    gap: var(--space-2);
    font-size: 1.15rem;
}

/* desktop */
@media screen and (min-width: 768px) {
    .nav__logo {
        margin-left: var(--space-4);
    }
    
    .nav__close,
    .nav__open {
        display: none;
    }

    .nav__list {
        flex-direction: row;
        gap: var(--space-6);
    }

    .nav__menu {
        margin-left: auto;
    }

    .nav__action {
        margin-left: var(--space-6);
    }
}

/* search */

.search {
  position: fixed;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  background-color: var(--bg-color);
  backdrop-filter: blur(16px);
  padding: 8rem 1.5rem;
  transition: top 0.4s;
}

.search__form {
    display: flex;
    align-items: center;
    column-gap: 0.5rem;
    background-color: var(--container-color);
    border: 2px solid var(--text-color);
    padding-right: 1rem;
    border-radius: 0.25rem;
}

.search__icon {
  font-size: 1.25rem;
  color: var(--title-color);
  cursor: pointer;
}

.search__input {
  width: 100%;
  padding-block: 1rem;
  background-color: var(--container-color);
  color: var(--text-color);
  padding-inline: var(--space-1);
}

.search__list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: var(--space-2);
  gap: var(--space-2);
}

.search__item {
  background-color: var(--container-color);
  border: 1px solid var(--text-color);
  padding: var(--space-1);
  transition: opacity 0.4s;
  border-radius: 0.25rem;
}

.search__item:hover {
  opacity: 0.5;
}

.search__link {
  font-size: var(--fs-sm);
  color: var(--white-color);
}

.search__close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2rem;
    color: var(--title-color);
    cursor: pointer;
}

/* Show search */
.active {
  top: 0;
}

@media screen and (min-width: 576px) {
  .search__form,
  .search__list {
    width: 500px;
    margin-inline: auto;
  }

  .login__form {
    width: 400px;
    justify-self: center;
  }

  .search__close,
  .login__close {
    width: max-content;
    top: 4rem;
    left: 0;
    right: 0;
    margin-inline: auto;
  }
}

/* login */

.login {
  position: fixed;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
  z-index: 100;
  background-color: hsla(230, 12%, 96%, 0.6);
  backdrop-filter: blur(16px);
  align-items: center;
  padding: 1.5rem;
  text-align: center;
  transition: top 0.4s;
}

.login__form {
  background-color: var(--white-color);
  padding: 2rem 1.5rem;
  border: 2px solid var(--border-color);
  row-gap: 1.25rem;
}

.login__title {
  font-size: var(--fs-md);
  margin-bottom: var(--space-3);
}

.login__group {
  row-gap: 1.25rem;
}

.login__label {
  display: block;
  text-align: initial;
  color: var(--title-color);
  font-weight: var(--font-medium);
  margin-bottom: 0.25rem;
}

.login__input {
  width: 100%;
  background-color: var(--white-color);
  border: 2px solid var(--border-color);
  padding: 1rem;
  color: var(--text-color);
  text-align: left;
  direction: ltr;
}

.login__signup,
.login__forget {
  display: block;
  font-size: var(--small-font-size);
}

.login__signup {
  margin-bottom: 0.5rem;
}

.login__signup a {
  color: var(--first-color);
  font-weight: var(--font-medium);
}

.login__forget {
  color: var(--first-color);
  margin-bottom: 1.25rem;
}

.login__button {
  width: 100%;
  cursor: pointer;
}

.login__close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 2rem;
  color: var(--title-color);
  cursor: pointer;
}

/* Show login */
.active {
  top: 0;
}

/* carousel */

.carousel {
  width: 100%;
  margin-bottom: 6rem;
}

.carousel__img {
  width: 100%;
  max-width: 100%;
}

.carousel__container {
  -webkit-mask-image: url(../imgs/resources/mask.svg);
  mask-image: url(../imgs/resources/mask.svg);
  -webkit-mask-repeat: no-repeat, no-repeat;
  mask-repeat: no-repeat, no-repeat;
  -webkit-mask-size: cover;
  mask-size: cover;
  -webkit-mask-position: bottom;
  mask-position: bottom;
}

.carousel__item img {
  width: 100%;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* about */

.about__content {
    display: grid;
    justify-items: center;
    gap: var(--space-5);
}

.about__figure {
    max-width: 300px;
}

.about__info {
    text-align: center;
}

.about__subtitle {
    color: var(--primary-color);
    margin-bottom: var(--space-1);
}

.about__title {
    font-size: var(--fs-lg);
    width: 256px;
    margin-inline: auto;
    margin-bottom: var(--space-3);
}

.about__img--title {
    width: 32px;
}

.about__description {
    max-width: 420px;
    text-align: justify;
}

/* desktop */
@media screen and (min-width: 768px) {
    .about__content {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }

    .about__figure {
        width: 512px;
    }

    .about__info {
        text-align: right;
    }

    .about__title {
        margin-inline: initial;
        width: 100%;
        max-width: 512px;
    }

    .about__description {
        max-width: 512px;
    }
}

/* contact */

.contact {
    background-color: var(--secondary-color);
    color: var(--white-color);
}

.contact__subtitle {
    color: var(--primary-color);
    margin-bottom: var(--space-1);
}

.contact__title {
    font-size: var(--fs-lg);
    width: 256px;
    margin-inline: auto;
    margin-bottom: var(--space-3);
}

.contact__data {
    display: grid;
    gap: var(--space-5);
}

.contact__info {
    position: relative;
    text-align: center;
}

.contact__list--info {
    display: grid;
    gap: var(--space-3);
}

.contact__name {
    color: var(--primary-color);
    margin-bottom: var(--space-2);
}

.contact__address,
.contact__address :is(a, span) {
    display: block;
    color: var(--white-color);
}

.contact__list--social {
    display: flex;
    justify-content: center;
    gap: var(--space-3);
}

.contact__link--social {
    color: var(--white-color);
    font-size: var(--fs-lg);
    transition: color 0.4s;
}

    .contact__link--social:hover {
        color: var(--primary-color);
    }

.contact__map {
    width: 256px;
    height: 256px;
    justify-self: center;
    border-radius: var(--space-2);
    overflow: hidden;
}

    .contact__map iframe {
        border: 0;
        width: 100%;
        height: 100%;
    }

@media screen and (min-width: 540px) {
    .contact__data {
        grid-template-columns: 440px;
        justify-content: center;
    }

    .contact__map {
        width: 440px;
        height: 320px;
    }
}

@media screen and (min-width: 1150px) {
    .contact .section__title {
        margin-bottom: var(--space-10);
    }

    .contact__data {
        grid-template-columns: repeat(2, 1fr);
        justify-content: center;
        align-items: center;
    }

    .contact__list--social {
        justify-content: initial;
    }

    .contact__info {
        text-align: initial;
    }

    .contact__list--info {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-5);
    }

    .contact__info {
        order: 2;
    }

    .contact__map {
        justify-self: initial;
        order: 1;
    }
}

/* cart */

.cart {
  margin-block: 6rem;
}

.cart__data {
  display: grid;
  grid-template-columns: 3fr 1fr;
  align-items: start;
  min-height: 250px;
  gap: 1.5rem;
}

.cart__list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  gap: 2rem;
  background-color: var(--white-color);
  padding: var(--space-2);
  color: var(--text-color);
}

.cart__item {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-content: center;
  align-items: center;
  font-size: 0.75rem;
  color: #333;
  padding-block: 1rem;
}

.cart__img {
  width: 100%;
  max-width: 64px;
  border-radius: 4px;
}

.cart__next {
  background-color: var(--white-color);
  color: var(--text-color);
  padding: var(--space-2);
}

.cart__total {
  display: flex;
  justify-content: space-between;
  margin-block: 1.5rem;
  font-size: 0.75rem;
  font-weight: 700;
}

.cart__button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  margin-inline: 0.25rem;
}

.cart__button:hover {
  background-color: #333;
  color: #fff;
}

.cart__button--block {
  display: block;
  text-align: center;
  width: 100%;
  height: auto;
  padding: var(--space-2);
  background-color: #333;
  color: #fff;
}

.cart__button--block:hover {
  opacity: 0.75;
}

.cart__button--block i {
  margin-right: 0.5rem;
}

@media screen and (max-width: 768px) {
  .cart__data {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media screen and (max-width: 560px) {
  .cart__data {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .cart__item:first-child {
    display: none;
  }

  .cart__item {
    grid-template-columns: 1fr 1fr;
  }
}

/* checkout */

.checkout {
  margin-block: 6rem;
}

.checkout__interaction {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 250px;
}

.checkout__data {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 1.5rem;
}

.checkout__title {
  font-size: var(--fs-lg);
  color: var(--title-color);
  margin-bottom: var(--space-3);
}

.checkout__item {
  display: flex;
  gap: 0.5rem;
}

.checkout__label {
  color: #666;
  font-size: 0.75rem;
  display: flex;
  flex-direction: column;
}

.checkout__label--center {
  align-items: center;
}

.checkout__label i {
  font-size: 2.5rem;
}

.checkout__profile,
.checkout__method {
  background-color: var(--white-color);
  color: var(--text-color);
  padding: var(--space-3);
}

.checkout__button {
  display: inline-block;
  background-color: var(--text-color);
  color: #fff;
  padding: var(--space-2);
  transition: 0.3s;
}

.checkout__button:hover {
  opacity: 0.75;
}

.checkout__button--block {
  display: block;
  width: 100%;
}

.checkout__list {
  display: flex;
  justify-content: center;
  gap: 3.5rem;
}

.checkout__item {
  color: #666;
  font-size: 0.75rem;
  margin-block: 1rem;
}

.checkout__purchase {
  display: flex;
  justify-content: space-between;
  margin-block: 1rem;
  color: #333;
}

@media screen and (min-width: 768px) {
  .checkout__data {
    grid-template-columns: 2fr 1fr;
  }
}

/* about */

.about__data {
  position: relative;
}

.about__data h1 {
  margin-block: var(--space-2);
}

.about__data p {
  color: #666;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
  text-align: justify;
}

.about__img {
  width: 100%;
}

/* product */

.product__content--height {
    min-height: 450px;
}

.product__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
}

.product__item {
    width: 100%;
    /* modify */
    max-width: 360px;
    background-color: var(--container-color);
    border-radius: var(--space-2);
}

.product__figure {
    position: relative;
    width: 100%;
}

.product__img {
    width: 100%;
    border-radius: var(--space-2);
}

.product__data {
    padding: var(--space-3);
}

.product__info {
    text-align: center;
    margin-bottom: var(--space-5);
}

.product__subtitle {
    color: var(--primary-color);
    margin-bottom: var(--space-1);
}

.product__title {
    font-size: var(--fs-lg);
    width: 360px;
    margin-inline: auto;
    margin-bottom: var(--space-3);
}

.product__link {
    position: absolute;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    bottom: 0;
    left: -1rem;
    padding: var(--space-2);
    background-color: var(--container-color);
    border-radius: 50%;
    font-weight: var(--fw-bold);
    font-family: var(--fs-lg);
    color: var(--text-color);
    z-index: var(--zi-soft);
    border: 2px solid var(--text-color);
}

@media screen and (max-width: 768px) {
    .product__list {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .product__item {
        max-width: 310px;
    }
}

@media screen and (max-width: 320px) {
    .product__item {
        max-width: 260px;
    }
}

/*item*/

.item__content {
    margin-block: var(--space-5);
}

.item__header {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: var(--space-3);
    align-items: center;
}

.item__gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3);
}

.item__img {
    border-radius: 0.25rem;
}

.item__thumbnail {
    cursor: pointer;
    border-radius: 0.25rem;
}

    .item__thumbnail.active {
        border: 2px solid var(--text-color);
    }

.item__title {
    margin-bottom: var(--space-1);
}

.item__description {
    margin-bottom: var(--space-3);
    text-align: justify;
    line-height: 1.7;
}

.item__alert {
    background-color: var(--container-color);
    padding: var(--space-2) var(--space-3);
    font-size: var(--fs-sm);
    border-radius: 0.25rem;
}

.item__alert a {
   color: var(--title-color);
   font-weight: var(--fw-bold);
}

.item__id {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-bottom: var(--space-2);
    font-size: 0.75rem;
    background-color: var(--primary-color);
    color: #fff;
    padding: var(--space-1);
    margin-bottom: var(--space-2);
    border-radius: 0.25rem;
}

.item__item.active {
    border: 3px solid var(--primary-color);
}

.item__thumbnail {
    width: 100%;
    height: 100%;
}

@media screen and (max-width: 768px) {
    .item__header {
        grid-template-columns: 1fr;
    }

    .item__figure {
       width: 100%;
       max-width: 512px;
       justify-self: center;
    }
}

/* lg */
@media screen and (min-width: 1150px) {
    .container {
    margin-inline: auto;
  }

  .product__header {
    grid-template-columns: 365px 1fr;
  }

  .related__title {
    text-align: right;
  }
}

/* signin */

.signin {
    padding-block: 4rem;
}

.signin__container {
    width: 100%;
    max-width: 512px;
    margin-inline: auto;
}

.signin__content {
    text-align: center;
}

.signin__header {
    margin-bottom: 2.5rem;
}

.signin__group {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.signin__input {
    padding: 0.75rem;
    text-align: left;
    direction:ltr;
    border-radius: 0.25rem;
}

.signin__button {
    width: 100%;
    background-color: var(--primary-color-alt);
    color: var(--body-color);
    margin-top: 1.5rem;
}

/* footer */
.footer__mask {
    -webkit-mask-image: url(../imgs/resources/mask-footer.svg);
    mask-image: url(../imgs/resources/mask-footer.svg);
    -webkit-mask-repeat: no-repeat, no-repeat;
    mask-repeat: no-repeat, no-repeat;
    -webkit-mask-size: cover;
    mask-size: cover;
    -webkit-mask-position: top;
    mask-position: top;
}

.footer__data {
  padding-block: var(--space-5);
}

.footer__services {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-3);
    background-color: var(--container-color);
    color: var(--white-color);
    margin-block: var(--space-4);
}

.footer__services__item {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-2);
}

.footer__services__item i {
  color: var(--primary-color);
  font-size: var(--fs-lg);
}

.footer__services__item p {
  font-size: var(--fs-sm);
}

.footer__info {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

.footer__item h5 {
  font-size: var(--fs-md);
  font-weight: var(--fw-semi-bold);
  margin-bottom: var(--space-2);
}

.footer__item h3 {
    margin-bottom: var(--space-2);
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.footer__link {
  color: #aaa;
  font-size: var(--fs-sm);
}

.footer__link:hover {
  color: var(--primary-color);
}

.footer__item p {
  color: #aaa;
  margin-bottom: var(--space-2);
}

.footer__social {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
}

.footer__social__link {
  font-size: var(--fs-md);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: var(--border-color);
  color: var(--black-color);
  margin-top: var(--space-5);
  transition: 0.4s;
}

.footer__social__link:hover {
  background-color: var(--primary-color);
}

.footer__copyright {
  text-align: center;
  font-size: var(--fs-sm);
  color: #575757;
  padding-block: var(--space-2);
}

.footer__copyright a {
  color: var(--white-color);
}

.footer__copyright a:hover {
  color: var(--primary-color);
}

@media screen and (max-width: 768px) {
  .footer__info {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 560px) {
  .footer__info {
    grid-template-columns: 1fr;
  }
}

/* phone number */

.phone__number {
    position: fixed;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    left: var(--space-3);
    bottom: var(--space-3);
    width: 32px;
    height: 32px;
    background-color: var(--container-color);
    border: 1px solid var(--text-color);
    border-radius: 50%;
    color: var(--text-color);
    z-index: var(--zi-hard);
}