Common */ *,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", serif;
  background-color: #fbfbfb;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin-top: 0;
  margin-bottom: 0;
}

ul,
ol {
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 0;
  list-style-type: none;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
}

a:focus,
button:focus {
  outline: 2px solid #3350e9;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.accent-color {
  color: #3350e9;
}

.section-title {
  font-weight: 600;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #0c0c0c;

  margin-bottom: 24px;
}

@media only screen and (min-width: 768px) {
  .section-title {
    font-size: 48px;
    line-height: 0.92;

    margin-bottom: 40px;
  }
}

.container {
  max-width: 375px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}

@media only screen and (min-width: 768px) {
  .container {
    max-width: 768px;
    padding-left: 32px;
    padding-right: 32px;
  }
}

@media only screen and (min-width: 1280px) {
  .container {
    max-width: 1280px;
    padding-left: 65px;
    padding-right: 65px;
  }
}

/* header */

.header-page-wrapper {
  position: relative;
}

.header-page {
  padding-top: 20px;
  padding-bottom: 20px;
}

.container-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-page::after {
  content: "";
  position: absolute;
  bottom: 0;
  height: 1px;
  width: 100%;
  background-color: rgba(12, 12, 12, 0.1);
}

.logo {
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.02em;
}

.menu-logo {
  color: #0c0c0c;
}

.menu-list {
  display: none;
}

.menu-burger-btn {
  border: none;
  background-color: transparent;
  padding: 0;
  line-height: 0;
  stroke: #0c0c0c;
}

.list-icons {
  display: none;
  column-gap: 10px;
}

.list-item-icons {
  display: flex;
  justify-content: center;
  align-items: center;
}

.list-link-icons {
  border-radius: 10px;
  padding: 8px;
}

.menu-list-link-icons {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(12, 12, 12, 0.1);
  fill: #0c0c0c;
}

.list-item-icons:hover .menu-list-link-icons,
.list-item-icons:focus .menu-list-link-icons {
  fill: #3350e9;
}

@media only screen and (min-width: 768px) {
  .header-page {
    padding-top: 26px;
    padding-bottom: 26px;
  }

  .logo {
    font-size: 20px;
  }
}

@media only screen and (min-width: 1280px) {
  .header-page {
    padding-top: 0px;
    padding-bottom: 0px;
  }

  .list-icons {
    display: flex;
  }

  .menu-burger-btn {
    display: none;
  }

  .menu-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 825px;
  }

  .menu-list {
    display: flex;
    column-gap: 40px;
  }

  .menu-list-link {
    display: block;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.29;
    text-align: center;
    color: #0c0c0c;

    padding-top: 26px;
    padding-bottom: 26px;
  }

  .menu-list-item {
    position: relative;
  }

  .menu-list-item:hover .menu-list-link::after {
    content: "";
    position: absolute;
    display: block;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 100%;
    background-color: #3350e9;
    width: 8px;
    height: 8px;
    margin-top: 2px;
  }
}

/* Hero */
.hero {
  padding-top: 60px;
  padding-bottom: 30px;
}

.main-title {
  font-weight: 600;
  font-size: 40px;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: #0c0c0c;

  margin-bottom: 20px;
}

.header-text {
  font-weight: 500;
  font-size: 14px;
  line-height: 1.29;
  letter-spacing: -0.02em;
  color: rgba(12, 12, 12, 0.7);

  margin-bottom: 28px;
}

.hero-media {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;

  margin-bottom: 28px;
}

.hero-scroll-down {
  font-weight: 500;
  font-size: 14px;
  line-height: 1.29;
  letter-spacing: -0.02em;
  text-decoration: underline;
  text-decoration-skip-ink: none;
  color: #0c0c0c;
}

.hero-scroll-down:hover,
.hero-scroll-down:focus {
  color: #3350e9;
}

@media only screen and (min-width: 768px) {
  .hero {
    padding-top: 80px;
    padding-bottom: 40px;
  }

  .main-title {
    font-size: 65px;
    line-height: 0.86;
  }

  .header-text {
    font-size: 16px;
    line-height: 1.25;

    max-width: 480px;
    margin-bottom: 0;
  }

  .hero-wrapper {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
  }

  .hero-text {
    max-width: 597px;
  }

  .hero-media {
    flex-direction: column;
    margin-bottom: 0;
  }

  .hero-scroll-down {
    font-size: 18px;
    line-height: 1;
  }
}

@media only screen and (min-width: 1280px) {
  .hero {
    padding-bottom: 50px;
  }

  .hero-text {
    max-width: 597px;
  }

  .main-title {
    font-size: 72px;
  }

  .hero-scroll-down {
    font-size: 20px;
  }
}

/* about-us */
.about-us {
  padding-top: 30px;
  padding-bottom: 30px;
}

.about-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-content {
  padding: 40px 20px;
  border-radius: 30px;
  background-color: #f3f3f3;
}

.section-title-about-us {
  margin-bottom: 28px;
}

.about-text {
  margin-bottom: 40px;
}

.about-text-primary {
  margin-bottom: 20px;
}

.about-us-text {
  font-weight: 500;
  font-size: 14px;
  line-height: 1.29;
  letter-spacing: -0.02em;
  color: rgba(12, 12, 12, 0.7);
}

.about-us-btn {
  font-weight: 500;
  font-size: 14px;
  line-height: 1.29;
  text-align: center;
  color: #fbfbfb;

  background-color: #3350e9;
  border-radius: 16px;
  border: none;
  height: 48px;
  min-width: 160px;
  padding: 15px 37px;
}

.about-us-btn:hover,
.about-us-btn:focus {
  background-color: #1f3cd4;
}

@media only screen and (min-width: 768px) {
  .about-us {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .about-container {
    gap: 40px;
  }

  .about-content {
    padding: 80px 60px;
    border-radius: 50px;
  }

  .section-title-about-us {
    margin-bottom: 40px;
  }

  .about-us-text {
    font-size: 16px;
    line-height: 1.25;
  }

  .about-text {
    margin-bottom: 60px;
  }
}

@media only screen and (min-width: 1280px) {
  .about-us {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .about-container {
    display: flex;
    flex-direction: row;
    gap: 40px;
  }

  .about-content {
    max-width: 580px;
    padding: 80px 60px;
    border-radius: 50px;
  }
}

/* Catalog */
.catalog {
  padding-top: 30px;
  padding-bottom: 30px;
}

.catalog-item-hidden {
  display: none;
}

.catalog-list {
  display: flex;
  flex-direction: column;
  gap: 20px;

  margin-bottom: 40px;
}

.catalog-item {
  width: 100%;
  border: 1px solid rgba(12, 12, 12, 0.05);
  border-radius: 30px;
  background-color: #f3f3f3;
  padding: 24px 28px;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.catalog-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.catalog-image {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 28px;
}

.catalog-title {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #0c0c0c;

  margin-bottom: 8px;
}

.catalog-price {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.29;
  letter-spacing: -0.02em;
  color: rgba(12, 12, 12, 0.5);
}

.catalog-btn {
  display: block;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.28571;
  text-align: center;
  color: #fbfbfb;
  border-radius: 16px;
  background-color: #3350e9;
  min-width: 160px;
  height: 48px;
  padding-left: 44px;
  padding-right: 44px;
  border: none;
  margin-left: auto;
  margin-right: auto;
}

.catalog-btn:hover,
.catalog-btn:focus {
  background-color: #1f3cd4;
}

@media only screen and (min-width: 768px) {
  .catalog {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .catalog-item-hidden {
    display: block;
  }

  .catalog-list {
    flex-wrap: wrap;
    flex-direction: row;
    column-gap: 16px;
    row-gap: 32px;

    margin-bottom: 0px;
  }

  .catalog-item {
    width: calc((100% - 16px) / 2);
    padding: 24px 32px;
  }

  .catalog-image {
    margin-bottom: 20px;
  }

  .catalog-title {
    font-size: 20px;
    line-height: 1;
  }

  .catalog-btn-hidden {
    display: none;
  }
}

@media only screen and (min-width: 1280px) {
  .catalog {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .catalog-list {
    column-gap: 23px;
  }

  .catalog-item {
    width: calc((100% - 2 * 23px) / 3);
  }
}

/* advertisement */
.add {
  padding-top: 30px;
  padding-bottom: 30px;
}

.add-wrapper {
  background-color: #0c0c0c;
  background-image:
    linear-gradient(rgba(12, 12, 12, 0.8), rgba(12, 12, 12, 0.8)),
    url(./img/advertisement/add-mobile.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border-radius: 30px;
  padding: 60px 28px;
}

@media (min-resolution: 192dpi) {
  .add-wrapper {
    background-image:
      linear-gradient(rgba(12, 12, 12, 0.8), rgba(12, 12, 12, 0.8)),
      url(./img/advertisement/add-mobile@2x.jpg);
  }
}

.add-text {
  font-weight: 600;
  font-size: 29px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fbfbfb;
  margin-bottom: 28px;
}

.add-accent-color {
  color: rgba(251, 251, 251, 0.5);
}

.add-link {
  display: block;
  font-weight: 500;
  font-size: 13px;
  line-height: 1.29;
  text-align: center;
  color: #fbfbfb;
  width: 160px;
  padding: 15px 43px;

  border: 1px solid rgba(251, 251, 251, 0.15);
  border-radius: 16px;
}

@media only screen and (min-width: 768px) {
  .add {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .add-wrapper {
    background-image:
      linear-gradient(rgba(12, 12, 12, 0.8), rgba(12, 12, 12, 0.8)),
      url(./img/advertisement/add-tablet.jpg);

    padding: 80px 64px;
  }

  @media (min-resolution: 192dpi) {
    .add-wrapper {
      background-image: url(./img/advertisement/add-tablet@2x.jpg);
    }
  }

  .add-text {
    font-size: 48px;
    line-height: 0.92;

    margin-bottom: 32px;
  }
}

@media only screen and (min-width: 1280px) {
  .add {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .add-wrapper {
    display: flex;
    gap: 140px;
    align-items: flex-start;
    background-image:
      linear-gradient(rgba(12, 12, 12, 0.8), rgba(12, 12, 12, 0.8)),
      url(./img/advertisement/add-desktop.jpg);

    padding: 83px 80px;
  }

  @media (min-resolution: 192dpi) {
    .add-wrapper {
      background-image: url(./img/advertisement/add-desktop@2x.jpg);
    }
  }

  .add-text {
    max-width: 690px;
    margin-bottom: 0px;
  }
}

/* sale */
.sale {
  padding-top: 30px;
  padding-bottom: 30px;
}

.sale-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sale-thumbnails {
  display: flex;
  gap: 5px;
  margin-bottom: 20px;
}

.sale-thumb {
  padding: 13px 14px;
  border: 1px solid rgba(12, 12, 12, 0.05);
  border-radius: 16px;
  background-color: #f3f3f3;
}

.sale-main-image {
  border: 1px solid rgba(12, 12, 12, 0.05);
  border-radius: 30px;
  background-color: #f3f3f3;
  padding: 50px;
}

.sale-content {
  border-radius: 30px;
  background-color: #3350e9;
  padding: 48px 28px;
}

.sale-title {
  font-weight: 600;
  font-size: 23px;
  line-height: 1.17;
  letter-spacing: -0.02em;
  color: #fbfbfb;
  margin-bottom: 10px;
}

.sale-product-id {
  font-size: 14px;
  line-height: 1.29;
  letter-spacing: -0.02em;
  color: rgba(251, 251, 251, 0.5);
  margin-bottom: 20px;
}

.sale-price-list {
  display: flex;
  gap: 9px;
  margin-bottom: 28px;
}

.sale-price-new {
  font-weight: 600;
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #fbfbfb;
  border-radius: 8px;
  padding: 8px 12px;
  background-color: rgba(251, 251, 251, 0.1);
}

.sale-price-old {
  font-size: 12px;
  line-height: 1.17;
  letter-spacing: -0.02em;
  text-decoration: line-through;
  color: rgba(251, 251, 251, 0.5);
  align-self: center;
}

.sale-description {
  font-weight: 500;
  font-size: 13px;
  line-height: 1.29;
  letter-spacing: -0.02em;
  color: rgba(251, 251, 251, 0.7);
  margin-bottom: 28px;
}

.sale-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sale-item {
  font-weight: 500;
  font-size: 12px;
  line-height: 1.33333;
  color: #fbfbfb;

  border: 1px solid rgba(251, 251, 251, 0.2);
  border-radius: 8px;
  padding: 8px 12px;
}

@media only screen and (min-width: 768px) {
  .sale {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .sale-wrapper {
    gap: 40px;
  }

  .sale-gallery {
    display: flex;
    gap: 20px;
  }

  .sale-thumbnails {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 0;
  }

  .sale-thumb {
    padding: 16px 18px;
    border-radius: 20px;
  }

  .sale-main-image {
    border-radius: 50px;
    padding: 80px 112px;
  }

  .sale-content {
    padding: 60px;
  }

  .sale-title {
    font-size: 32px;
    line-height: 1.125;
  }

  .sale-price-list {
    margin-bottom: 30px;
  }

  .sale-price-new {
    font-size: 20px;
    line-height: 1;
  }

  .sale-description {
    font-size: 16px;
    line-height: 1.25;
    margin-bottom: 40px;
  }

  .sale-list {
    max-width: 398px;
  }

  .sale-item {
    font-size: 14px;
    line-height: 1.28571;
  }
}

@media only screen and (min-width: 1280px) {
  .sale {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .sale-wrapper {
    flex-direction: row;
    gap: 40px;
  }

  .sale-main-image {
    padding: 80px 50px;
  }

  .sale-content {
    max-width: 530px;
  }
}
/* reviews */
.reviews {
  padding-top: 30px;
  padding-bottom: 30px;
}

.reviews-item {
  padding: 32px 36px;
  border-radius: 30px;
  background-color: #f3f3f3;
}

.reviews-avatar {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 24px;
}

.review-name {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-align: center;
  color: #0c0c0c;
  margin-bottom: 8px;
}

.reviews-text {
  font-weight: 500;
  font-size: 13px;
  line-height: 1.29;
  letter-spacing: -0.02em;
  text-align: center;
  color: rgba(12, 12, 12, 0.4);
}

.reviews-slider {
  overflow: hidden;
}

.swiper-pagination {
  margin-top: 20px;
}

.swiper-pagination {
  position: static;
  margin-top: 20px;
  text-align: center;
}

@media only screen and (min-width: 768px) {
  .reviews {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .review-name {
    font-size: 18px;
    line-height: 1.1;
  }

  .reviews-text {
    font-size: 16px;
    line-height: 1.25;
  }
}

@media only screen and (min-width: 1280px) {
  .reviews {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}

/* contact-us */
.contact-us {
  padding-top: 30px;
  padding-bottom: 30px;
}

.contact-form {
  border-radius: 30px;
  padding: 48px 28px;
  background-color: #f3f3f3;
  margin-bottom: 20px;
}

.contact-description {
  font-weight: 500;
  font-size: 13px;
  line-height: 1.29;
  letter-spacing: -0.02em;
  color: rgba(12, 12, 12, 0.7);
  margin-bottom: 28px;
}

.contact-input {
  width: 100%;
  font-size: 14px;
  line-height: 1.29;
  margin-bottom: 18px;
  border: 1px solid rgba(12, 12, 12, 0.15);
  border-radius: 12px;
  padding-top: 12px;
  padding-bottom: 12px;
  padding-left: 14px;
  background-color: transparent;
}

.contact-input::placeholder {
  color: #0c0c0c;
}

.contact-message {
  width: 100%;
  height: 84px;
  padding: 12px 14px;
  border: 1px solid rgba(12, 12, 12, 0.15);
  border-radius: 12px;
  background-color: transparent;
  font-size: 14px;
  line-height: 1.29;
  margin-bottom: 28px;
}

.contact-message::placeholder {
  color: #0c0c0c;
}

.contact-button {
  font-weight: 500;
  font-size: 14px;
  line-height: 1.29;
  text-align: center;
  color: #fbfbfb;
  min-width: 134px;
  height: 42px;
  background-color: #3350e9;
  border: none;
  border-radius: 16px;
}

.contact-button:hover,
.contact-button:focus {
  background-color: #1f3cd4;
}

@media only screen and (min-width: 768px) {
  .contact-us {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .contact-form {
    border-radius: 50px;
    padding: 50px 122px;
    margin-bottom: 40px;
  }

  .contact-description {
    font-size: 15px;
    line-height: 1.25;
    margin-bottom: 32px;
  }

  .contact-input {
    font-size: 15px;
    line-height: 1.25;
    padding-top: 16px;
    padding-bottom: 16px;
    padding-left: 18px;
    background-color: transparent;
  }

  .contact-message {
    height: 90px;
    padding: 16px;
    font-size: 15px;
    line-height: 1.25;
    margin-bottom: 32px;
  }

  .contact-button {
    min-width: 160px;
    height: 52px;
  }
}

@media only screen and (min-width: 1280px) {
  .contact-us {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .contact-us-wrapper {
    display: flex;
    gap: 40px;
  }

  .contact-form {
    max-width: 580px;
    padding: 50px 60px;
    margin-bottom: 0px;
  }
}

/* footer */
.footer-pages {
  padding-top: 30px;
  padding-bottom: 20px;
}

.footer-container {
  background-color: #0c0c0c;
  border-radius: 30px;
  padding: 40px 28px 28px 28px;
}

.footer-menu {
  display: block;
  color: #fbfbfb;
  margin-bottom: 20px;
}

.footer-list-icons {
  display: flex;
  margin-bottom: 20px;
}

.footer-list-link-icons {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(251, 251, 251, 0.1);
  fill: #fbfbfb;
  opacity: 0.8;
}

.footer-list-link-icons:hover,
.footer-list-link-icons:focus {
  opacity: 1;
}

.footer-tel {
  display: block;
  font-weight: 500;
  font-size: 11px;
  line-height: 1.33;
  text-transform: uppercase;
  text-align: center;
  color: #fbfbfb;

  border: 1px solid rgba(251, 251, 251, 0.2);
  border-radius: 16px;

  padding: 14px;
  margin-bottom: 40px;
  width: 152px;
}

.footer-title {
  font-weight: 600;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-align: center;
  color: #fbfbfb;
  margin-bottom: 92px;
}

.footer-nav {
  display: flex;
  justify-content: space-between;
}

.footer-nav-wrapper::after {
  display: block;
  content: "";
  margin-top: 24px;
  margin-bottom: 24px;
  height: 1px;
  width: 100%;
  background-color: rgba(251, 251, 251, 0.1);
}

.footer-list {
  display: flex;
  flex-wrap: wrap;
  column-gap: 16px;
  row-gap: 8px;
  max-width: 147px;
}

.footer-link {
  font-weight: 500;
  font-size: 11px;
  line-height: 1.33333;
  text-align: center;
  color: #fbfbfb;
}

.footer-address {
  font-weight: 500;
  font-size: 11px;
  line-height: 1.33;
  color: #fbfbfb;
  max-width: 86px;
}

.footer-copyright {
  font-weight: 500;
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: rgba(251, 251, 251, 0.5);
  opacity: 0.9;
  margin-bottom: 8px;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal-link {
  font-weight: 500;
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: -0.02em;
  text-align: right;
  color: rgba(251, 251, 251, 0.5);
}

@media only screen and (min-width: 768px) {
  .footer-pages {
    padding-top: 40px;
    padding-bottom: 32px;
  }

  .footer-container {
    padding: 40px 40px 28px 40px;
  }

  .footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 86px;
  }

  .footer-list-link-icons {
    width: 36px;
    height: 36px;
  }

  .list-item-icon {
    width: 20px;
    height: 20px;
  }

  .footer-tel {
    align-self: flex-start;
    font-size: 12px;
    line-height: 1.29;
    padding: 15px;
    min-width: 160px;
    margin-bottom: 0;
  }

  .footer-title {
    max-width: 524px;
    margin-left: auto;
    margin-right: auto;
    font-size: 25px;
    line-height: 1.14;
    margin-bottom: 100px;
  }

  .footer-list {
    flex-wrap: nowrap;
    column-gap: 19px;
    max-width: 400px;
  }

  .footer-link {
    font-size: 12px;
    line-height: 1.29;
  }

  .footer-address {
    font-size: 13px;
    line-height: 1.29;
    max-width: 162px;
  }

  .footer-nav-wrapper::after {
    margin-top: 28px;
    margin-bottom: 28px;
  }

  .footer-bottom {
    display: flex;
    justify-content: space-between;
  }

  .footer-copyright {
    font-size: 14px;
    line-height: 1.29;
    margin-bottom: 0px;
  }

  .footer-legal-link {
    font-size: 14px;
    line-height: 1.28571;
  }
}

@media only screen and (min-width: 1280px) {
  .footer-pages {
    padding-top: 50px;
  }

  .footer-container {
    padding: 40px 40px 28px 40px;
  }

  .footer-block-top {
    position: relative;
    margin-bottom: 126px;
  }

  .footer-top {
    margin-bottom: 0;
  }

  .footer-title {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 0;
  }

  .footer-list {
    column-gap: 40px;
    max-width: 505px;
  }
}

/* Mobile-menu */

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
  background-color: rgba(12, 12, 12, 0.92);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 250ms linear,
    visibility 250ms linear;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 240px 39px 40px;

  background-image: url(./img/mobile-menu/mobile-menu-bg.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;

  width: 200px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-resolution: 192dpi) {
  .mobile-container {
    background-image: url(./img/mobile-menu/mobile-menu-bg@2x.jpg);
  }
}

.mobile-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  border: none;
  background-color: transparent;
  padding: 0;
  line-height: 0;
}

.mobile-nav {
  margin-bottom: auto;
}

.mobile-menu-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.mobile-menu-list-item {
  position: relative;
}

.mobile-menu-list-item:hover .mobile-menu-list-link::after {
  content: "";
  position: absolute;
  display: block;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 100%;
  background-color: #3350e9;
  width: 8px;
  height: 8px;
  margin-top: 2px;
}

.mobile-menu-list-link {
  font-weight: 500;
  font-size: 14px;
  line-height: 1.29;
  text-align: center;
  color: #fbfbfb;
}

.mobile-social {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.mobile-social-item {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mobile-social-link {
  border: 1px solid rgba(251, 251, 251, 0.1);
  border-radius: 10px;
  padding: 8px;
  width: 34px;
  height: 34px;
  fill: #fbfbfb;
  opacity: 0.8;
}

.mobile-social-item:hover .mobile-social-link {
  opacity: 1;
}

@media only screen and (min-width: 768px) {
  .mobile-container {
    width: 330px;
    background-image: url(./img/mobile-menu/tablet-menu-bg.jpg);
  }

  @media (min-resolution: 192dpi) {
    .mobile-container {
      background-image: url(./img/mobile-menu/tablet-menu-bg@2x.jpg);
    }
  }
  .mobile-close-icon {
    width: 40px;
    height: 40px;
  }

  .mobile-menu-list {
    gap: 32px;
  }

  .mobile-social-icon {
    width: 20px;
    height: 20px;
  }
}

.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;

  width: 45px;
  height: 45px;

  border: none;
  border-radius: 50%;

  background-color: #3350e9;
  color: #fff;
  font-size: 20px;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;

  opacity: 0;
  visibility: hidden;

  transition: all 0.3s ease;

  z-index: 1000;
}

.scroll-top-btn:hover {
  background-color: #1f3cd4;
}

.scroll-top-btn.show {
  opacity: 1;
  visibility: visible;
}

.scroll-top-icon {
  fill: #fbfbfb;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
