/*
	Frank Kschischang's Landing Page
	frank@ece.utoronto.ca | www.comm.utoronto.ca/frank
	created: May 18, 2017
	inspired by "identity," html5up.net/identity
*/

:root {
  --utoronto-blue: #25355a;
  --utoronto-grey: #c9c9c9;
  --utoronto-darkgrey: #898989;
  --utoronto-lightblue: #007fa3;
  --utoronto-green: #00c389;
  --wrapper-colour: #fffff0;
  height:100%;
}

body { 
	height: 100%;
	font-family: Helvetica,sans-serif;
	background-color: var(--utoronto-grey);
	background-image: url("../../assets/images/background.jpg");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	background-attachment: fixed;
	font-size: 14pt;
}


#wrapper {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	display: block;
	margin: auto;
	border-radius: 15px;
	padding: 2em;
	text-align: center;
	width: 75%;
	max-width: 600px;
	background-color: var(--wrapper-colour);
	-webkit-animation: myrotate 2s;
	animation: myrotate 2s;
}



@-webkit-keyframes myrotate {
	0% { position: absolute;
	     top: 50%;
	     left: 50%;
             transform: translate(-50%,-50%) rotateX(90deg); }
       25% { position: absolute;
	     top: 50%;
	     left: 50%;
             transform: translate(-50%,-50%) rotateX(90deg); }
      100% { position: absolute;
	     top: 50%;
	     left: 50%;
             transform: translate(-50%,-50%) rotateX(0deg); }
}

@keyframes myrotate {
        0% { position: absolute;
	     top: 50%;
	     left: 50%;
             transform: translate(-50%,-50%) rotateX(90deg); }
       25% { position: absolute;
	     top: 50%;
	     left: 50%;
             transform: translate(-50%,-50%) rotateX(90deg); }
      100% { position: absolute;
	     top: 50%;
	     left: 50%;
             transform: translate(-50%,-50%) rotateX(0deg); }
}

.avatar {
	position: relative;
	display: block;
	margin: auto;
}

.avatar img {
	display: block;
	margin: auto;
       	height:150px;
       	width:150px;
	border-radius: 50%;
	box-shadow: 0 0 0 5px var(--wrapper-colour);
}

.avatar:before {
	content: '';
	display: block;
	position: absolute;
	top: 50%;
	left: 0em;
	width: 100%;
	height: 2px;
	z-index: -1;
	background: var(--utoronto-lightblue); }


#department{
	font-size: medium;
	color: var(--utoronto-darkgrey);
	margin-bottom: 2ex;
}

#name {
	font-size: xx-large; 
	font-weight: 900;
	color: var(--utoronto-blue);
	margin-top: 1ex;
}

#title {
	font-size: large;
	font-style: normal;
	color: var(--utoronto-lightblue);
	margin-bottom: 1ex;
}

#contact{
	font-size: medium;
	font-style: normal;
	color: var(--utoronto-darkgrey);
	margin-bottom: 1ex;
}

a {
	color: var(--utoronto-darkgrey);
	text-decoration: none;
}

a.butt {     
	display: inline-block;
	color: var(--utoronto-darkgrey);
        padding: 3px;
	margin-left: 0px;
	margin-right: 0px;
	margin-top: 1px;
	margin-bottom: 2px;
	text-decoration: none; 
	font-size: medium;
	border: 1px solid var(--utoronto-lightblue);
	border-radius: 5px; }

a.butt:hover { color: red}

footer {
	position: absolute;
	bottom: 0px;
	color: #ffff80;
	font-size: small;
	background: var(--utoronto-blue);
}
@media screen and (max-width:520px)
{
	body, html, #wrapper {font-size: 10pt}
	#wrapper { width: 70% }
	#department {display: none}
}
