@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
.show-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 55px;
  padding: 0 30px;
  font-size: 0 20px;
  font-weight: 400;
  line-height: 55px;
  cursor: pointer;
  color: #fff;
  background: #2980b9;
  border-radius: 5px;
  transition: all 0.3s ease;
}
.show-button:hover {
  background: #2573a7;
}
.background {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}
#check:checked ~ .background {
  opacity: 1;
  pointer-events: auto;
}
.alert-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 450px;
  width: 100%;
  background: #fff;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: 5px;
  z-index: 5;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.97);
  transition: all 0.3s ease;
}
#check {
  display: none;
}
#check:checked ~ .alert-box {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.alert-box .icon {
  height: 100px;
  width: 100px;
  color: #f23b26;
  border: 3px solid #f23b26;
  border-radius: 50%;
  line-height: 97px;
  font-size: 50px;
}
.alert-box header {
  font-size: 35px;
  font-weight: 500;
  margin: 10px 0;
}
.alert-box p {
  font-size: 20px;
}
.alert-box .btns {
  margin-top: 20px;
}
.alert-box label {
  display: inline-flex;
  background: #808080;
  height: 55px;
  padding: 0 30px;
  font-size: 20px;
  font-weight: 400;
  line-height: 55px;
  cursor: pointer;
  color: #fff;
  border-radius: 5px;
  margin: 0 10px;
  transition: all 0.3s ease;
}
.btns label:first-child {
  background: #2980b9;
}
.btns label:first-child:hover {
  background: #2573a7;
}
.btns label:last-child {
  background: #f23b26;
}
.btns label:last-child:hover {
  background: #d9210d;
}
