.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
}

.modal-content {
  background-color: #f4f4f4;
  margin: 30% auto;
  width: 50%;
  box-shadow: 0 5px 8px 0 rgba(0,0,0,0.2),0 7px 20px 0 rgba(0,0,0,0.17);
  animation-name: modalopen;
  animation-duration: 1s;
}

@keyframes modalopen {
  from {opacity: 0}
  to {opacity: 1}
}

.modal-header h1 {
  margin: 1rem 0;
}

.modal-header {
  padding: 4px 15px;
  font-size: 1.5rem;
	font-weight: bold;
  background: #dff1ea;
  display: flex;
  justify-content: space-between;
	word-break: break-all;
	text-indent: 0;
}

.modalClose {
  font-size: 2rem;
}

.modalClose:hover {
  cursor: pointer;
}

.modal-body {
  padding: 10px 16px;
	line-height: 1.8;
  color: black;
	word-break: break-all;
	text-indent: 0;
}

.modal-link {
	transition: .3s;
}

.modal-link:hover {
	transition: .3s;
	cursor: pointer;
}

@media screen and (max-width: 767px){

	.modal-content {
		margin: 40% auto 30%;
		width: 90%;
	}

	.modal-header {
		font-size: 1.4rem;
	}
}
