* {
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  outline: none;
  -webkit-focus-ring-color: transparent;
}

body {
  background: #fdfdfb;
}

/* Меню навигации  */
.navigation {
  padding: 0;
  margin: 0;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  transition: background-color 0.3s ease;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}
.nav-logo {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
}

/* Исходный прозрачный стиль */
nav.transparent {
  color: white;
  background: #000000;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Чтобы ссылки тоже меняли цвет */
nav.scrolled a {
  color: #ffffff;
}

nav.transparent a {
  color: rgb(255, 255, 255);
}

nav .nav-logo img {
  filter: invert(0%);
}

.burger-menu img {
  filter: invert(100%);
}

.logo_header {
  width: 220px;
}

ul {
  display: flex;
}
li {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style-type: none;
  margin-left: 40px;
  font-family: roboto;
  font-weight: 300;
  font-size: 13px;
  position: relative;
}
li:first-child {
  margin-left: 60px;
}

li img {
  width: 18px;
}

li a {
  text-decoration: none;
  color: #000000;
  display: flex;
  align-items: center;
  gap: 10px;
}

li::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -5px;
  width: 0;
  height: 1px;
  background: rgb(255, 255, 255);
  transition: width 0.3s ease-in-out;
}

li:hover::after {
  left: 0;
  right: auto;
  width: 100%;
}
.menu_burger {
  display: none;
  filter: invert(0%);
}
.menu_burger img {
  width: 10px;
}

.cart {
  margin-right: 60px;
  transition: 0.5s;
}
.cart:hover {
  transform: scale(1.04);
}

.container {
  max-width: 1200px;
  margin: 200px auto;
  padding: 0 20px;
  font-family: roboto;
}

h1 {
  font-size: 33px;
  font-weight: 200;
  margin-bottom: 40px;
}

.contacts-flex {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.contact-block {
  flex: 1 1 45%;
  min-width: 300px;
}

.contact-block a {
  font-size: 18px;
  margin-bottom: 20px;
  text-decoration: none;
  color: black;
}

.contact-block p {
  font-size: 18px;
  margin-bottom: 20px;
}

.contact-block p strong {
  font-weight: 600;
}

@media (max-width: 768px) {
  .contacts-flex {
    flex-direction: column;
  }

  .contact-block {
    flex: 1 1 100%;
  }
}

footer {
  display: flex;
  flex-direction: column;
  height: 400px;
  margin-top: 400px;
  overflow: hidden;
  background: #181818;
  box-shadow: 4px 0 12px rgb(198, 198, 198);
}
.contact {
  display: flex;
  flex-direction: column;
}

.contact a {
  margin-top: 20px;
  text-decoration: none;
  color: #fafafa;
  font-family: roboto;
  font-weight: 200;
  transition: 0.3s;
}

.contact a:hover {
  font-weight: 400;
}

.top_footer {
  display: flex;
  gap: 200px;
  justify-content: center;
  margin-top: 50px;
  width: 70%;
  align-self: center;
}
.top_footer p {
  font-family: roboto;
  font-weight: 200;
  font-size: 22px;
  color: #fafafa;
}

.bottom_logo {
  width: 180px;
}

.block_help {
  display: flex;
  flex-direction: column;
}

.block_help p {
  font-size: 30px;
  margin-top: 15px;
  font-family: roboto;
  font-weight: 200;
}

.block_help a {
  font-size: 15px;
  font-family: roboto;
  font-weight: 200;
  margin-top: 15px;
  color: #fafafa;
  text-decoration: none;
  transition: 0.1s;
}
.block_help a:hover {
  font-weight: 400;
}


.social a{
  text-decoration: none;
}
.social a img {
  margin-right: 20px;
  margin-top: 15px;
  width: 35px;
  transition: 0.3s;
}
.social a img:hover {
  transform: scale(1.1);
}

.line {
  width: 1200px;
  border: 1px solid #fafafa;
  align-self: center;
  margin-top: 100px;
}

@media screen and (max-width: 900px) {
  .view:nth-last-child(-n + 2) {
    display: none;
  }
  .cart {
    display: none;
  }
  .menu_burger {
    display: block;
  }
  .menu_burger img {
    width: 30px;
    margin-top: 10px;
  }
}

@media screen and (max-width: 600px) {
  body {
    overflow-x: hidden;
  }
  header {
    background: none;
    display: flex;
    flex-direction: column;
  }
  header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: none;
    filter: blur(3px); /* Уровень размытия */
    z-index: -1;
  }
  .cart {
    display: none;
  }

  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    padding: 20px;
    height: 50px;
    background: none;
  }
  ul {
    padding: 0;
    display: none;
  }
  li {
    margin-left: 30px;
  }
  li:first-child {
    margin-left: 0;
  }
  li a {
    color: #000000;
    font-size: px;
  }

  .nav-logo {
    position: absolute;
    top: 20%;
    left: 47%;
    transform: translateX(-50%);
  }

  .transparent {
    justify-content: flex-end;
    height: 30px;
    background: #fafafa;
  }
  nav.scrolled {
    background-color: #ffffff;
    color: #000000;
    display: flex;
    justify-content: flex-end;
    height: 30px;
  }

  .menu_burge:focus {
    outline: none;
    box-shadow: none;
  }
  .burger {
    margin: 0;
  }
  .menu_burger {
    display: flex;
    margin-right: 40px;
  }

  .menu_burger img {
    width: 38px;
    margin-top: 12px;
  }

  .burger-menu ul {
    display: flex;
    justify-content: start;
    align-items: flex-start;
  }

  .container {
    margin: 170px auto;
    padding: 0 20px;
    font-family: roboto;
  }

  footer {
    height: 650px;
  }

  .top_footer {
    flex-direction: column;
    gap: 50px;
  }
}

.burger-menu {
  display: none;
  position: absolute;
  top: 70px;
  right: 40px;
  background-color: rgb(0, 0, 0);
  padding: 15px 15px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.burger-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
}

.burger-menu li {
  margin-bottom: 20px;
}
.burger-menu li:last-child {
  margin-bottom: 0;
}

.burger-menu ul li a {
  text-decoration: none;
  color: rgb(255, 255, 255);
  font-size: 16px;
}

.burger-menu.show {
  display: block;
}

/* Показать бургер и скрыть обычное меню на маленьком экране */
@media (max-width: 900px) {
  .burger {
    margin: 0;
  }

  .menu_burger {
    display: block;
    cursor: pointer;
  }

  .burger-menu {
    display: none;
  }

  .burger-menu.show {
    display: block;
  }
}
