/* dean's list page style */
html,body {
	margin: 10px auto;
	height: 100%;
	background:#444;
	text-align: center;
  font-family: "Gotham Ssm A", "Gotham Ssm B", sans-serif;
}

.wrapper {
	width: 980px;
	margin: auto;
	padding: 10px;
}

.frame {
	margin: auto;	
	width: 980px;
	height: 719px;	
	position: relative;
	background: url("https://html.scad.edu/deans-list/assets/EnvelopeBackB.png");	
}

.envelopecover {
	width: 980px;
	height: 719px;
	margin: auto;
	position: absolute;
	background: url("https://html.scad.edu/deans-list/assets/EnvelopeFrontB.png");
	z-index: 320;
}

.headerimage
{
	text-align: center;
  margin-bottom: 80px;
}

.message {
	display:none;
	padding: 80px;
	padding-top:20px;
  font-size: 15px;
  line-height: 20px;
  color: #424242;
  text-align: left;
	position: relative;
	width: 800px;
	height: 250px;
	overflow: hidden;
	background: #fff;
	margin: 0 auto;
	top: 200px;
	box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.2);
	transition:2s ease-in-out;
	transition-delay:1.5s;
	z-index: 200;
}

.pull {
	-webkit-animation:message_animation 2s 1 ease-in-out;
	animation:message_animation 2s 1 ease-in-out;
	-webkit-animation-delay:.8s;
	animation-delay:.8s;
	transition:1.5s;
	transition-delay:1s;
	z-index: 350;
	height: 1000px;
	transform:translatey(-150px);
	margin-bottom: 40px;
}

.message-content {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}
.letter-date {
  margin-bottom: 40px;
}
.letter-signatures-dual {
  display: flex;
  gap: 40px;
}



@-webkit-keyframes message_animation {
	0%{
		opacity: 0;
		transform:translatey(0px);
		z-index: 300;
		height: 250px;
		transition: 1s ease-in-out;
	}
	50%{
		opacity: 1;
		transform:translatey(-450px);
		height: 250px;
		z-index: 300;
		transition: 1s ease-in-out;
	}
	51%{
		transform:translatey(-450px);
		height: 250px;
		z-index: 350;
		transition: 1s ease-in-out;
	}
	100%{
		transform:translatey(-150px);
		z-index: 350;
		height: 1200px;
		transition: 1s ease-in-out;
	}
}
@keyframes message_animation {
	0%{

		transform:translatey(0px);
		z-index: 300;
		height: 250px;
		transition: 1s ease-in-out;
	}
	50%{
		transform:translatey(-450px);
		z-index: 300;
		height: 250px;
		transition: 1s ease-in-out;
	}
	51%{
		transform:translatey(-450px);
		z-index: 350;
		height: 250px;
		transition: 1s ease-in-out;
	}
	100%{
		transform:translatey(-150px);
		z-index: 350;
		height: 1200px;
		transition: 1s ease-in-out;
	}
}

button.yellow, a.button.yellowbutton {	
	border: medium none;
  border-radius: 3px;
  font-weight: bold;
  color: #FFFFFF;
  padding: 10px;
	text-decoration: none;
	font-size: 20px;
  background: #87212e; 
}
button.yellow:hover, a.button.yellowbutton:hover {
  background: #87212e; 
}

@media (max-width: 767px) {
  .message p {
    font-size: 18px;
    line-height: 22px;
  }
  .letter-date {
    margin-bottom: 40px;
  }
}