.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  position: relative;
  border: 1px solid #888;
  border-radius: 20px;
  width: 1000px;
  max-width: 100%;
  animation-name: animatetop;
  animation-duration: 0.4s;
}

/* The Close Button */
.close {
	position: absolute;
    right: -10px;
    padding: 10px 18px;
    line-height: 100%;
    border-radius: 30px;
    top: -20px;
    background-color: red;
    color: #FFF;
    float: right;
    font-size: 30px;
    font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.modal-content p {
	font-family: 'Baloo Thambi 2', cursive;
	font-size: 20px;
	
	
}

.shack {
    width: 273px;
    max-width: 80%;
    height: 106px;
    margin: auto;
    position: absolute;
    left: 36%;
    top: -75px;
    background-image: url('shack.png');
	
}
@keyframes animatetop {
  from {top: -300px; opacity: 0}
  to {top: 0; opacity: 1}
}

@media only screen and (max-width: 862px) {
	.modal-content {
		font-size: 1em;
		width: 80%;
	}
	
	.shack {
		max-width: 100%;
		left: 6%;
	}
}