.overlay.hidden {
  display: none;
}

.overlay.hidding {
  animation: fadeOut 300ms ease-out forwards;
}

.overlay.visible {
  animation: fadeIn 300ms ease-out forwards;
  top: 0;
  position: fixed;
  height: 100%;
  width: 100%;
  z-index: 3;
}

@keyframes fadeIn {
  0% {
    background-color: rgba(0, 0, 0, 0);
  }
  100% {
    background-color: rgba(0, 0, 0, 0.7);
  }
}

.modal-topics.hidden {
  display: none;
}

.modal-topics.visible {
  animation: showModal 300ms ease-out forwards;
  position: fixed;
  top: 45%;
  left: 50%;
  background-color: white;
  padding: 40px 40px 70px;
  width: 520px;
  z-index: 4;
}

.modal-topics h1 {
  margin: 0;
  font-family: "sofiaprobold";
  margin-bottom: 25px;
  font-size: 22px;
}

.modal-topics p {
  font-family: "sofiaproregular";
  margin-top: 0;
  margin-bottom: 20px;
}

.modal-topics__close {
  box-shadow: inset 0px 0px 3px 3px rgba(0, 0, 0, 1),
    0px 0px 3px 3px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  position: absolute;
  width: 60px;
  top: -25px;
  right: -25px;
  background-color: white;
  border-radius: 50%;
  transition: 200ms;
}

.modal-topics__close:hover {
  transform: scale(1.1);
}

@keyframes showModal {
  0% {
    transform: translate(calc(-50% - 8px), calc(-50% + 8px));
    box-shadow: 0 0px 0px 0 #8960e8;
  }
  100% {
    transform: translate(-50%, -50%);
    box-shadow: 0px 0px 10px -1px black, -8px 8px 0px 1px #8960e8;
  }
}

.browser-notification {
  width: 100%;
  margin-top: 15px;
}

.arrow-top {
  width: 220px;
  position: absolute;
  transform: rotate(90deg);
  z-index: 4;
  left: 16vw;
  top: 100px;
}

.lbl {
  position: relative;
  display: block;
  height: 20px;
  width: 44px;
  background: #898989;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lbl:after {
  position: absolute;
  left: -2px;
  top: -3px;
  display: block;
  width: 26px;
  height: 26px;
  border-radius: 100px;
  background: #fff;
  box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.1);
  content: "";
  transition: all 0.3s ease;
}

.lbl:active:after {
  transform: scale(1.15, 0.85);
}

.cbx:checked ~ label {
  background: #baa9e4;
}

.cbx:checked ~ label:after {
  left: 20px;
  background: #8960e8;
}

.cbx:disabled ~ label {
  background: #d5d5d5;
  pointer-events: none;
}

.cbx:disabled ~ label:after {
  background: #bcbdbc;
}

.press {
  display: flex;
}

.press span {
  font-family: "sofiaproregular";
  margin-left: 20px;
}

.hidden {
  display: none;
}

ul,
li {
  list-style-type: none;
  padding: 0;
}

.list {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.list li {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  padding: 10px 0;
  width: 50%;
}

button.showNotif--cancel {
  position: absolute;
  bottom: 25px;
  top: initial;
  left: 37%;
  transform: translateX(-50%);
}

button.showNotif--valid {
  position: absolute;
  bottom: 25px;
  top: initial;
  left: 59%;
  transform: translateX(-50%);
}

button.showNotif--cancel.active,
button.showNotif--cancel:hover {
  transform: translate(calc(-50% - 5px), 6px);
}

button.showNotif--valid.active,
button.showNotif--valid:hover {
  transform: translate(calc(-50% - 5px), 6px);
}
