*,
*::after,
*::before {
  box-sizing: border-box;
}

body{
  font-size: 12px;
}

#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  margin-bottom: 30px;
  right: 30px;
  z-index: 99;
  font-size: 10px;
  border: none;
  outline: none;
  background-color: rgb(255, 255, 255);
  color: white;
  cursor: pointer;
  
  border-radius: 4px;
}

#myBtn:hover {
  background-color: rgb(9, 9, 250);

}

.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: 200ms ease-in-out;
  border: 1px solid black;
  border-radius: 10px;
  z-index: 10;
  background-color: white;
  width: 600px;
  max-width: 90%;
}

.popup.active {
  transform: translate(-50%, -50%) scale(1);
}

.popup-header {
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid black;
}

.popup-header .title {
  font-size: 1.25rem;
  font-weight: bold;
}

.popup-header .close-button {
  font-size: 1.25rem;
  font-weight: bold;
}

.popup-header .close-button :hover {
  cursor: pointer;
  text-decoration: solid red;
}

.popup-body {
  padding: 10px 15px;
  text-align: start;
}

#overlay {
  position: fixed;
  opacity: 0;
  transition: 200ms ease-in-out;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  pointer-events: none;
}



#overlay.active {
  opacity: 1;
  pointer-events: all;
}



