/* If you like this, be sure to ❤️ it. */

body.modal-open {
    overflow: hidden;
    position: fixed;
}
.wrapper {
  height: 100vh;
  /* This part is important for centering the content */
  display: flex;
  align-items: center;
  justify-content: center;
  /* End center */
  
}

.wrapper a {
  display: inline-block;
  text-decoration: none;
  padding: 15px;
  background-color: #fff;
  border-radius: 3px;
  text-transform: uppercase;
  color: #585858;
  font-family: 'Roboto', sans-serif;
}

.modal {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
 /* background: rgba(77, 77, 77, .7);*/
  background: #00a651;
  transition: all .4s;
}

.modal:target {
  visibility: visible;
  opacity: 1;
}

.modal__content {
  border-radius: 4px;
  position: relative;
  width: 100%x;
  max-width: 100%;
  max-height: auto;
  background: #fff;
  padding: 1em 2em;
}

.modal__footer {
  text-align: right;
}
  a {
    color: #585858;
  }
  i {
    color: #00a651;
  }
}
.modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  color: #585858;
  text-decoration: none;
}