* {
  box-sizing: border-box;
}

body.overflow {
  overflow: hidden;
}

.cookies__content {
  transition: all 0.3s;
  opacity: 0;
  visibility: hidden;
  font-family: "Roboto", sans-serif;
  position: fixed;
  bottom: 0;
  left: 0;
  padding: 8px 15px;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 500;
  background: rgba(1, 1, 1, 0.3);
  border-radius: 30px 30px 0px 0px;
}

.cookies__items {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.cookies__item {
  font-weight: 400;
  font-size: 15px;
  color: #fff;
}

.cookies__item1 {
  margin-right: 10px;
}

.cookies__item2 {
  transition: all 0.3s;
  font-weight: 500;
  border-bottom: 2px solid #fff;
  line-height: 1;
  cursor: pointer;
}

.cookies__content.active {
  transition: all 0.3s;
  opacity: 1;
  visibility: visible;
}

/* Policy and Rules */

.rules-information,
.policy-information {
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  position: fixed;
  top: 0;
  left: 0;
  background: #fff;
  font-size: 16px;
  padding: 20px 15px;
  z-index: 600;
  overflow-y: scroll;
  color: #000;
}

.rules-information a,
.policy-information a {
  color: rgba(95, 95, 252, 0.986);
}

.rules-information.active,
.policy-information.active {
  opacity: 1;
  visibility: visible;
}

.rules-policy {
  text-align: center;
  font-size: 16px;
  color: #a7a7a7;
  font-family: inherit;
  border-top: 1px solid #999;
  padding: 20px 0;
  position: relative;
  z-index: 400;
  font-family: inherit;
  background: #fff;
}

.rules-policy span {
  transition: all 0.3s;
  color: rgba(95, 95, 252, 0.986);
  cursor: pointer;
  border-bottom: 1px solid transparent;
}

.policy__information-close {
  font-size: 16px;
  text-align: center;
  cursor: pointer;
  color: #e51837;
}

@media (min-width: 992px) {
  .cookies__item2:hover {
    transition: all 0.3s;
    opacity: 0.6;
  }

  .rules-policy span:hover {
    transition: all 0.3s;
    border-bottom: 1px solid rgba(95, 95, 252, 0.986);
  }

  .policy__information-close:hover {
    text-decoration: underline;
    opacity: 0.6;
  }
}

@media (max-width: 575px) {
  .cookies__items {
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }

  .cookies__item1 {
    text-align: center;
  }
}
