@import url(https://fonts.googleapis.com/css?family=Montserrat:300,400,400i,500,500i,600,600i,700,700i,800|Open+Sans:400,400i,600,600i,700,700i,800&display=swap);
/* Hide checkbox */
#cookie-toggle {
  display: none;
}

/* Overlay */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 9999;
}

/* Hide when checked */
#cookie-toggle:checked ~ .cookie-modal {
  display: none;
}

/* Modal box */
.cookie-box {
  background: #fff;
  width: 90%;
  max-width: 500px;
  padding: 25px;
  border-radius: 10px;

  max-height: 80vh;
  overflow-y: auto;

  position: relative;
}

/* Close button */
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 20px;
  cursor: pointer;
}

/* Buttons */
.buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.btn {
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
}

/* Styles */
.accept {
  background: green;
  color: white;
}

.reject {
  background: red;
  color: white;
}

/* Hover */
.btn:hover {
  opacity: 0.9;
}