#cookie-banner {
  position: fixed;
  bottom: 6%;
  left: 4%;
  max-width: 400px;
  border-radius: 10px;
  background-color: white;
  box-shadow: 5px 5px 12px rgba(227, 227, 227, 0.3882352941);
  transition: 0.5s all;
  color: #fff;
  padding: 20px;
  z-index: 99999;
}
@media (max-width: 400px) {
  #cookie-banner {
    max-width: 100%;
  }
}
#cookie-banner.hide {
  left: -110%;
}
#cookie-banner p {
  margin: 0;
  margin-bottom: 10px;
  font-size: 14px;
  color: black;
}
#cookie-banner h3 {
  margin: 0;
  margin-bottom: 10px;
  font-size: 1.5em;
  color: black;
}
#cookie-banner .btn__group {
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
}

.cb__btn {
  display: inline-block;
  padding: 10px 15px;
  border-radius: 20px;
  color: white;
  border: none;
  cursor: pointer;
  transition: 0.3s all;
  margin-left: 10px;
  font-size: 12px;
  line-height: 12px;
}
@media (max-width: 580px) {
  .cb__btn {
    font-size: 9px;
  }
}
.cb__btn.btn__black {
  background: black;
  border: 1px solid black;
  color: white;
}
.cb__btn.btn__black:hover {
  background: white;
  color: black;
}
.cb__btn.btn__white {
  background: white;
  border: 1px solid black;
  color: black;
}
.cb__btn.btn__white:hover {
  background: black;
  color: white;
}
.cb__btn.btn__simple {
  background: white;
  border: 1px solid black;
  color: black;
}
.cb__btn.btn__simple:hover {
  background: black;
  color: white;
}

.overlay__cookies {
  position: fixed;
  inset: 0;
  line-height: 150%;
  font-size: 14px;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.4);
  z-index: 9999;
  visibility: visible;
  display: flex;
  transition: opacity 0.2s ease;
}
.overlay__cookies.show {
  opacity: 1;
  visibility: visible;
}
.overlay__cookies.hide {
  opacity: 0;
  visibility: hidden;
}

.modal__cookies {
  padding: 20px;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: white;
  width: 600px;
  min-height: 500px;
  overflow-y: scroll;
  border-radius: 10px;
  box-shadow: 5px 5px 12px rgba(227, 227, 227, 0.3882352941);
  z-index: 99999;
}
@media (max-width: 600px) {
  .modal__cookies {
    width: 90%;
    height: 90%;
  }
}
.modal__cookies .modal__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}
.modal__cookies.hide {
  opacity: 0;
  visibility: hidden;
}
.modal__cookies.show {
  opacity: 1;
  visibility: visible;
}
.modal__cookies h2 {
  margin: 0;
  padding: 10px 0px;
  font-size: 1.5em;
}
.modal__cookies p {
  margin: 0;
  padding: 10px 0px;
  font-size: 14px;
}
.modal__cookies h3 {
  font-size: 1.1rem;
  margin: 0px;
  color: black;
  margin-bottom: 10px;
}
.modal__cookies .check__all {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal__cookies .check__all .title {
  width: 80%;
}
.modal__cookies .check__all .btn__group {
  width: 20%;
}
.modal__cookies .check__all p {
  font-size: 1.2rem;
  color: #7e7a7a;
}
.modal__cookies .btn__group .switch-btn {
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal__cookies .btn__group .switch-btn span {
  display: flex;
  align-items: center;
  width: 40px;
  height: 25px;
  border-radius: 30px;
  background-color: #ddd;
  transition: 0.3s;
  padding: 0 3px;
  position: relative;
}
.modal__cookies .btn__group .switch-btn span::before {
  content: "";
  display: inline-block;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: #fff;
  position: absolute;
  left: 5px;
  transition: 0.6s;
}
.modal__cookies .btn__group .switch-btn input {
  display: none;
}
.modal__cookies .btn__group .switch-btn input:checked ~ span {
  background-color: black;
}
.modal__cookies .btn__group .switch-btn input:checked ~ span::before {
  left: 50%;
}
.modal__cookies .modal__content__item {
  border-bottom: 1px solid #e4e4e4;
  padding: 10px 0px;
  display: flex;
  justify-content: space-between;
}
.modal__cookies .modal__content__item .title {
  width: 80%;
}
.modal__cookies .modal__content__item .btn__group {
  width: 20%;
}
.modal__cookies .modal__content__item p {
  font-size: 12px;
}

#cookie-label {
  position: fixed;
  bottom: 2%;
  left: 1%;
  background: none;
  width: 40px;
  height: 40px;
  border-radius: 100%;
  transition: 0.3s all;
  cursor: pointer;
}
#cookie-label:hover {
  background: black;
}
#cookie-label:hover svg {
  fill: white;
  stroke: white;
  transition: 0.3s all;
}
#cookie-label svg {
  width: 30px;
  height: auto;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
#cookie-label.hide .cookie {
  opacity: 1;
}
#cookie-label.hide .close {
  opacity: 0;
}
#cookie-label.close .cookie {
  opacity: 1;
}
#cookie-label.close .close {
  opacity: 0;
}
#cookie-label .cookie {
  opacity: 0;
}