@font-face {
  font-family: 'Fira Sans Condensed';
  src: local('Fira Sans Condensed'), local('FiraSansCondensed'), url('/src/fonts/FiraSansCondensed-Light.ttf') format('truetype');
  font-weight: 300;
}
@font-face {
  font-family: 'Fira Sans Condensed';
  src: local('Fira Sans Condensed'), local('FiraSansCondensed'), url('/src/fonts/FiraSansCondensed-Regular.ttf') format('truetype');
  font-weight: 400;
}
@font-face {
  font-family: 'Fira Sans Condensed';
  src: local('Fira Sans Condensed'), local('FiraSansCondensed'), url('/src/fonts/FiraSansCondensed-SemiBold.ttf') format('truetype');
  font-weight: 600;
}
@font-face {
  font-family: 'Fira Sans Condensed';
  src: local('Fira Sans Condensed'), local('FiraSansCondensed'), url('/src/fonts/FiraSansCondensed-Bold.ttf') format('truetype');
  font-weight: 700;
}
@font-face {
  font-family: 'Roboto';
  src: local('Roboto-Light'), url('/src/fonts/Roboto-Light.ttf') format('truetype');
  font-weight: 300;
}
@font-face {
  font-family: 'Roboto';
  src: local('Roboto-Regular'), url('/src/fonts/Roboto-Regular.ttf') format('truetype');
  font-weight: 400;
}
@font-face {
  font-family: 'Roboto';
  src: local('Roboto-Bold'), url('/src/fonts/Roboto-Bold.ttf') format('truetype');
  font-weight: 700;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  font-size: 14px;
  font-family: 'Roboto';
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

.body--fixed {
  max-height: 100%;
  overflow: hidden;
}

/* components */
.button {
  display: block;
  width: fit-content;
  padding: 10px 20px;
  background-color: var(--accent-color);
  font-size: 20px;
  text-decoration: none;
  color: var(--background-color);
  border-radius: 100px;
}
.button--big {
  padding: 20px 50px;
}

.typing-row {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 18px;
  color: #fff;
}
.typing-row:not(.typing-row--active) .typing-row__texts {
  opacity: 0;
}
.typing-row--active .typing-row__texts {
  opacity: 1;
}
.typing-row__texts {
  font-weight: 300;
}
.typing-row--active .typing-row__cursor {
  animation: blinking 1s linear 0s infinite;
}
@keyframes blinking {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.container {
  --container-width: 1080px;

  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0px 15px;
}

.section {
  padding: 100px 0px;
}
.section--dark {
  background-color: var(--background-color);
}
.section--centered-title .section__title,
.section--centered-title .section__subtitle {
  text-align: center;
}
.section__title {
  font-size: 36px;
  font-family: 'Fira Sans Condensed';
  font-weight: 600;
  margin-bottom: 20px;
  color: #000;
}
.section--dark .section__title {
  color: #fff;
}
.section__subtitle {
  font-size: 24px;
  font-family: 'Fira Sans Condensed';
  font-weight: 300;
  color: #292828;
}
.section--dark .section__subtitle {
  color: #cac5c5;
}
.section--dark-with-separator {
  border-top: 1px solid #444444;
}


.link {
  text-decoration: none;
  color: rgb(15, 15, 211);
  cursor: pointer;
}
.link:hover {
  text-decoration: underline;
  color: rgb(15, 15, 149);
}

/* page code */
.wrapper {
  min-height: 100%;
  width: 100%;
}
.wrapper--instagram {
  --background-color: #021121;
  --accent-color: rgb(251, 184, 28);
}
.wrapper--youtube {
  --background-color: #021121;
  --accent-color: rgb(255, 65, 44);
}
.wrapper--tiktok {
  --background-color: #021121;
  --accent-color: #7d88e3;
}
.wrapper--telegram {
  --background-color: #021121;
  --accent-color: #25aadf;
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 0px;
}
.header-icon {
  width: 50px;
  aspect-ratio: 1;
  padding: 10px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.header-icon img {
  max-width: 100%;
}
.header-icon--active {
  box-shadow: 0px 0px 2px 2px rgba(0 0 0 / 0.1);
}

.main {
  background-color: var(--background-color);
  background-image: url('/src/img/main-background-fragment.jpg');
  background-repeat: repeat;
}
.main .container {
  display: flex;
}
.main__title {
  font-size: 64px;
  font-weight: 700;
  font-family: 'Fira Sans Condensed';
  color: #fff;
  margin-bottom: 10px;
  animation: appear-top 0.5s ease-out forwards;
}
.main__title span {
  color: var(--accent-color);
}
.main__subtitle {
  font-size: 32px;
  font-family: 'Fira Sans Condensed';
  color: #e2e1e9;
  margin-bottom: 30px;
  font-weight: 400;
  animation: appear-left 0.5s ease-out 0.5s forwards;
  opacity: 0;
}
.main__text {
  font-size: 24px;
  color: #d7d8da;
  font-weight: 300;
  animation: appear 0.5s ease-out 1s forwards;
  opacity: 0;
}
.main__button {
  margin-top: 20px;
  animation: appear 0.5s ease-out 1s forwards;
  opacity: 0;
  transition: 0.5s;
  color: #fff;
}
.main__button:hover {
  transform: scale(1.03);
}
.main__image {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
@keyframes appear-top {
  0% {
    opacity: 0;
    transform: translateY(-50%);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes appear-left {
  0% {
    opacity: 0;
    transform: translateX(-50%);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes appear {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@media (width <= 700px) {
  .main__title {
    font-size: 48px;
  }
  .main__subtitle {
    font-size: 26px;
  }
  .main__text {
    font-size: 20px;
  }
  .main__image {
    display: none;
  }
}
@media (width <= 500px) {
  .main__title {
    text-align: center;
  }
  .main__subtitle {
    text-align: center;
  }
  .main__text {
    text-align: center;
  }
  .main__button {
    margin: 0 auto;
    margin-top: 20px;
  }
}


.advantages {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}
.advantage-item {
  min-width: 25%;
  max-width: 30%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: 0.5s;
}
.advantage-item:hover {
  transform: scale(1.1);  
}
.advantage-item__image {
  width: fit-content;
  aspect-ratio: 1;
  border-radius: 50%;
  background-color: var(--background-color);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  margin-bottom: 20px;
}
.advantage-item__title {
  font-size: 28px;
  font-family: 'Fira Sans Condensed';
  font-weight: 600;
  text-align: center;
}
.advantage-item__text {
  margin-top: 10px;
  text-align: center;
  font-weight: 300;
}
@media (width <= 850px) {
  .advantages {
    justify-content: space-evenly;
  }
}
@media (width <= 460px) {
  .advantage-item {
    flex: 0 0 100%;
    max-width: none;
  }
}


.cards {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  gap: 70px;
}
.cards-group {
  --gap: 20px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: var(--gap);
}
.cards-separator {
  width: 100%;
  height: 1px;
  background-color: #444444;
}
.card {
  flex: 0 0 calc((100% - 3 * var(--gap)) / 4);
  border-radius: 10px;
  overflow: hidden;
  color: var(--background-color);
}
.card-header {
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent-color);
}
.card-header__icon {
  max-height: 40px;
  animation: pulse 1s ease-out infinite;
}
.card-body {
  padding: 20px;
  background-color: #dedfe2;
}
.card-title {
  font-size: 20px;
  text-align: center;
  font-weight: 600;
}
.card-properties {
  padding: 15px 0px;
}
.card-property {
  font-size: 16px;
}
.card-property::before {
  content: '\2713\00a0';
}
.card-price {
  margin-top: 10px;
}
.card-price__old {
  font-size: 20px;
  text-align: center;
  text-decoration: line-through;
  color: tomato;
  opacity: 0.7;
}
.card-price__new {
  font-size: 24px;
  text-align: center;
  font-weight: 300;
}
.card-button {
  margin: 0px auto;
  margin-top: 20px;
  transition: 0.3s;
  border: none;
  outline: none;
  color: #fff;
}
.card-button:hover {
  box-shadow: 0px 0px 4px 3px rgba(100, 100, 100, 0.1);
  transform: scale(1.05);
}
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}
@media (width <= 1100px) {
  .card {
    flex: 0 0 calc((100% - 2 * var(--gap)) / 3);
  }
}
@media (width <= 780px) {
  .card {
    flex: 0 0 calc((100% - var(--gap)) / 2);
  }
}
@media (width <= 570px) {
  .card {
    flex: 0 0 100%;
  }
  .card-properties {
    padding: 15px 10px;
  }
}


.buy-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
}
.buy-modal--hidden {
  display: none;
}
.buy-modal__background {
  width: 100%;
  height: 100%;
  background-color: rgba(0 0 0 / 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}
.buy-modal__content {
  width: 95%;
  max-width: 600px;
  background-color: #fff;
  padding: 40px 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 5px rgba(0 0 0 / 0.5);
}
.buy-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.buy-modal__title {
  font-size: 24px;
}
.buy-modal__close {
  font-weight: 600;
  flex: 0 0 30px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  border-radius: 50%;
  border: 1px solid #757575;
  cursor: pointer;
}
.buy-modal__text {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 300;
}
.buy-modal__button {
  margin: 0 auto;
  margin-top: 30px;
  color: #fff;
}
@media (width <= 768px) {
  .buy-modal__content {
    padding: 20px 10px;
  }
}


.automotive-likes {
  background-image: url('/src/img/automotive-likes/instagram-background.jpg');
  background-size: 100% auto;
}
.automotive-likes__title {
  font-size: 42px;
  font-family: 'Fira Sans Condensed';
  text-align: center;
  color: #fff;
  margin-bottom: 20px;
}
.automotive-likes__subtitle {
  font-size: 20px;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  color: #9a9a9b;
  margin-bottom: 30px;
  font-weight: 400;
}
.automotive-likes__button {
  margin: 0 auto;
  font-weight: 600;
  transition: 0.5s;
  border: none;
  outline: none;
}
.automotive-likes__button:hover {
  transform: scale(1.03);
}
@media (width <= 700px) {
  .automotive-likes__title {
    font-size: 36px;
  }
  .automotive-likes__subtitle {
    font-size: 18px;
  }
}
@media (width <= 450px) {
  .automotive-likes__title {
    font-size: 32px;
  }
  .automotive-likes__subtitle {
    font-size: 14px;
  }
}


.explanation {
  --gap: 30px;
  margin-top: 50px;
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--gap);
}
.explanation-item {
  min-width: 20%;
  max-width: 25%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: 0.5s;
}
.explanation-item:hover {
  transform: scale(1.03);
}
.explanation-item__image {
  width: 60px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.explanation-item__image img {
  width: 100%;
  max-width: 100%;
  max-height: 100%;
}
.explanation-item__text {
  text-align: center;
  color: #c7c7cb;
  font-weight: 300;
  margin-top: 10px;
}
@media (width <= 700px) {
  .explanation {
    flex-wrap: wrap;
    justify-content: space-evenly;
  }
  .explanation-item {
    max-width: none;
    flex: 0 0 calc((100% - var(--gap)) / 2);
  }
}
@media (width <= 450px) {
  .explanation {
    flex-wrap: wrap;
    justify-content: space-evenly;
  }
  .explanation-item {
    max-width: none;
    flex: 0 0 100%;
  }
}


/* .contacts {} */
.contacts__content {
  margin-top: 50px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.contacts-item {
  flex: 0 0 calc(100% / 3);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contacts-item__image {
  height: 64px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contacts-item__image img {
  height: 100%;
  max-width: 100%;
  max-height: 100%;
}
.contacts-item__title {
  font-size: 20px;
  text-align: center;
  margin-top: 10px;
}
.contacts-item__text {
  text-align: center;
  margin-top: 15px;
  font-size: 16px;
  font-weight: 300;
}
.link.contacts-item__text {
  font-weight: 400;
}
@media (width <= 750px) {
  .contacts__content {
    align-items: center;
    flex-direction: column;
    gap: 30px;
  }
}


.mobile-services-navigator {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  padding: 10px;
  background-color: var(--background-color);
  border: 1px solid #737375;
  border-radius: 10px 10px 0px 0px;
}
.mobile-services-navigator__item {
  flex: 0 0 25%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-decoration: none;
}
.mobile-services-navigator__image {
  max-width: 40px;
  max-height: 40px;
}
.mobile-services-navigator__image img {
  max-width: 100%;
  max-height: 100%;
}
.mobile-services-navigator__text {
  text-align: center;
  color: #fff;
}
@media (width > 768px) {
  .mobile-services-navigator {
    display: none;
  }
}


.footer {
  padding: 20px 0px;
  background-color: #aec4ff;
}
.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer__payments {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 0 0 fit-content;
}
.footer-payment {
  max-height: 60px;
  border-radius: 5px;
  overflow: hidden;
}
.footer-payment img {
  display: block;
  max-height: 60px;
  max-width: 100%;
}
.footer-user-agreement {
  font-size: 22px;
  font-weight: 600;
  text-decoration: underline;
  color: #000;
}
.footer-contact-icon {
  padding: 10px 12px 10px 10px;
  border-radius: 50%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  transition: 0.3s;
}
.footer-contact-icon:hover {
  transform: scale(1.1);
}
@media (width <= 800px) {
  .footer .container {
    flex-direction: column-reverse;
    align-items: center;
    gap: 30px;
  }
}
@media (width <= 500px) {
  .footer__payments {
    flex-direction: column;
    align-items: center;
  }
}