.css-only-modal {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.css-only-modal2 {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.css-only-modal:target {
  visibility: visible;
  opacity: 1;
}

.demo-container {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #ff8c8f 0%, #a8188d 51%, #370b69 100%);
}
.demo-container a {
  color: #1f063b;
  font-weight: 400;
  font-size: 1.25em;
  display: block;
  text-decoration: none;
  padding: 1em 2em;
  background-color: white;
  border: 2px solid #1f063b;
  border-radius: 4px;
}
.demo-container a:hover {
  text-decoration: underline;
  opacity: 0.5;	
}

.css-only-modal {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  transition: all 0.7s;
  height: 100vh;
	width: 100%;
}

.modal-content {
  border-radius: 4px;
  position: relative;
  width: 400px;
  max-width: 60%;
  background: #fff;
  padding: 1em 2em;
  z-index: 999;
    align-items: center;
  justify-content: center;
}

.modal-close {
  color: #1f063b;
  font-size: 2em;
  position: absolute;
  top: 5px;
  right: 10px;
  text-decoration: none;
  line-height: 1;
}
.mia:hover{
 opacity: 0.8;
 cursor: pointer;
 -webkit-transform:scale(1.5);transform:scale(1.1);
	}