html {
  #color: #333;
  #background-color: #16a085;
}

label {
  cursor: pointer;
  transition: all 250ms;
}

.container {
  position: relative;
  margin: 0 auto;
  padding: 0px;
}
.container h1 {
  font-weight: 100;
  color: white;
  text-align: center;
}
.container .modal-button {
  position: relative;
  display: block;
  margin: 0px auto;
  padding: 20px 25px 34px;
  width: 60px;
  font-size: 36px;
  font-weight: 300;
  color: #2980b9;
  text-align: center;
  line-height: 0.3;
  background-color: white;
  border-radius: 50%;
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.2);
  transition: all 250ms;
}
.container .modal-button span {
  font-size: 12px;
}
.container .modal-button:hover, .container .modal-button:focus {
  color: #16a085;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}
.container .modal-content,
.container .modal-background {
  visibility: hidden;
  width: 0;
  height: 0;
  opacity: 0;
  overflow: hidden;
  cursor: pointer;
}
.container .modal-background {
  transition: height 250ms;
}
.container .modal-content {
  transform: scale(0);
  transition: transform 500ms;
}
.container #modal {
  display: none;
}
.container #modal:checked ~ .modal-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  visibility: visible;
  opacity: 1;
  transition: height 250ms;
}
.container #modal:checked ~ .modal-content {
  position: fixed;
  top: 70%;
  left: 45%;
  margin-top: -25%;
  margin-left: -25%;
  width: 50vw;
  height: auto;
  padding: 40px;
  background-color: white;
  border-radius: 3px;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  cursor: auto;
  transform: scale(1);
  transition: transform 500ms;
}
.container #modal:checked ~ .modal-content .modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 22px;
  color: rgba(51, 51, 51, 0.4);
  transition: color 200ms, transform 500ms;
}
.container #modal:checked ~ .modal-content .modal-close:hover, .container #modal:checked ~ .modal-content .modal-close:focus {
  color: #333;
  transform: rotate(360deg);
}
.container #modal:checked ~ .modal-content p {
  position: relative;
  margin: 0 0 20px 0;
  font-weight: 200;
  font-size: 14px;
  line-height: 1.6;
}
.container #modal:checked ~ .modal-content .modal-content-button {
  position: relative;
  float: right;
  margin: 0;
  padding: 10px 20px;
  color: white;
  font-weight: 100;
  border-radius: 3px;
  background-color: #2980b9;
}
.container #modal:checked ~ .modal-content .modal-content-button:hover, .container #modal:checked ~ .modal-content .modal-content-button:focus {
  background-color: #409ad5;
}
