body {
  background: black;
}

.cookies {
  position: fixed;
  top: 12px;
  left: 50%;
  overflow-y: auto;
  width: 100%;
  max-width: 858px;
  max-height: 100%;
  padding: 15px 24px;
  color: #000;
  border-radius: 20px;
  background-color: #d0ff95;
  box-shadow: 0px 4px 23px 0px #0b76361a;
  font-family: "Futura PT", Arial, sans-serif;
  opacity: 0;
  transform: translateX(-50%);
  z-index: 999;
  animation: opacityCookies 0.5s ease-in-out 3.5s forwards;
  box-sizing: border-box;
}

.cookies__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  column-gap: 16px;
}

.cookies__container_customize {
  justify-content: flex-end;
  flex-wrap: wrap;
}

.cookies__container_customize .cookies__text_initial,
.cookies__container_customize .customize__button {
  display: none;
}

.cookies .cookies__container_customize .customize__item {
  display: block;
}

.cookies__title_main {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}

.cookies__container_customize .cookies__title_main .cookies__back {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  background-color: transparent;
  border: none;
  background-image: url("../images/arrow_back.svg");
  background-position: left center;
  background-repeat: no-repeat;
  cursor: pointer;
}

.cookies__title {
  width: 120px;
  font-weight: 700;
  font-size: 16px;
  line-height: 21px;
}

.cookies__title_main {
  width: 100%;
}

.cookies__back {
  display: none;
}

.cookies__text {
  font-weight: 500;
  font-size: 14px;
  line-height: 17px;
}

.cookies__link {
  text-decoration: underline;
  color: #000;
}

.cookies__link:hover {
  text-decoration: none;
}

.cookies button {
  white-space: nowrap;
}

.cookies__button {
  border: none;
  background: transparent;
  font-weight: 700;
  font-size: 12px;
  text-decoration: underline;
  color: #000;
  cursor: pointer;
}

.cookies__button:hover {
  text-decoration: none;
}

.cookies__accept {
  width: 100%;
  max-width: 123px;
  padding: 12px;
  font-weight: 700;
  font-size: 15px;
  line-height: 18px;
  text-align: center;
  border: none;
  color: #000;
  border-radius: 57px;
  background-color: #ffffff;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

.cookies__accept:hover {
  background-color: #f8f8e6;
}

.cookies-option__container {
  margin-top: 15px;
}

.cookies-option____text {
  margin: 2px 0 15px;
}

@media (min-width: 701px) {
  .cookies__text_initial {
    margin-right: 20px;
  }
}

@media (max-width: 700px) {
  .cookies {
    top: auto;
    bottom: 0;
    padding: 10px 20px 20px;
  }

  .cookies__container {
    justify-content: space-evenly;
    flex-wrap: wrap;
    text-align: center;
  }

  .cookies__container_customize {
    justify-content: space-between;
    text-align: left;
  }

  .cookies__title_main {
    justify-content: center;
    margin-bottom: 7px !important;
  }

  .cookies__title_main span {
    flex-grow: 1;
    text-align: center;
  }

  .cookies__text_initial {
    margin-bottom: 8px;
  }

  .cookies__accept {
    padding: 9px;
  }
}

@keyframes opacityCookies {
  to {
    opacity: 1;
  }
}

.cookies .customize__item {
  display: none;
}

@media (max-width: 700px) {
  .cookies .customize__button {
    order: 1;
  }
}

.switcher {
  display: flex;
  align-items: center;
  margin-block: 5px;
}

.switcher__container {
  display: flex;
  align-items: center;
  gap: 7px;
  transition: opacity 0.3s ease-in-out;
}

.switcher__container_active .switcher__knob,
.switcher__container_necessary .switcher__knob {
  transform: translateX(100%);
}

.switcher__container_necessary {
  opacity: 0.6;
  pointer-events: none;
}

.switcher__text {
  width: 23px;
  font-weight: 700;
  font-size: 16px;
  line-height: 23px;
}

.switcher__item {
  width: 38px;
  padding: 3px;
  border-radius: 100px;
  border: 2px solid #434d43;
  cursor: pointer;
}

.switcher__knob {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #434d43;
  box-shadow: 0px 3px 8px 0px #00000026;
  transition: transform 0.3s ease-in-out;
}

@media (max-width: 700px) {
  .switcher_ {
    justify-content: space-between;
  }
}
