/*
Theme Name: Chair Political Methods
Author: Benjamin E. Schlegel
Author URI: https://benjaminschlegel.ch
Description: Simple Theme for the Chair of Political Methods of the University of Zurich
Tags: page
Version: 1.3
Requires at least: 6.7.2
Tested up to: 6.7.2
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: methods-chair
*/

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Roboto:wght@100;400&display=swap');

html, body{
	font-family: 'Roboto', sans-serif;
	height: 100%;
	margin: 0px;
}

h1, h2, h3, h4, h5, h6{
	font-family: Anton;
}

#top_menu{
	font-size: 1.5em;
}

.front-overlay{
	color: white;
	position: absolute;
	top: 50%;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	margin-left: 100px;
	text-shadow: 5px 5px 5px #333333;
}

.front-overlay h1{
	font-size: 4em;
	padding-left: 30px;
	padding-right: 30px;
	max-width: 100%;
	width: 100%;
}

main{
	max-width: 680px;
	width: 100%;
	margin: auto;
	padding: 20px;
	font-size: 1.2em;
}

#portraet{
	max-width: 240px;
	width: 100%;
	float: left;
	margin-right: 20px;
	margin-bottom: 20px;
}

#portraet img{
	width: 100%;
	height: auto;
}

.portraet{
	max-width: 200px;
	width: 100%;
	float: left;
	margin-right: 20px; 
	margin-bottom: 20px;
}

.portraet figure{
	height: 260px;
	/*background-color: #eee;
	padding: 10px;*/
}

.portraet figure .function{
	font-style: italic;
	font-size: 0.8em;
}

.portraet img{
	width: 100%;
	height: auto;
}

.portraet a{
	color: black;
	text-decoration: none;
}

.funktion{
	font-size: 1.3em;
}

.clear{
	clear: both;
}

.info-item td{
	vertical-align: middle;
	padding: 10px;
}



article.preview img{
	width: 100%;
	height: auto;
}

article.preview a{
	color: black;
	text-decoration: none;
}

article.preview h2{
	padding-top: 20px;
}


/* xxl */
@media(max-width: 1400px){
	.front-overlay h1{
		font-size: 3em;
	}

	.front-overlay p{
		font-size: 2em;
		letter-spacing: 0.1em;
	}
}

/* xl */
@media(max-width: 1200px){
	.front-overlay{
		margin-left: 50px;	
	}
}

/* lg */
@media(max-width: 992px){
	
	.front-overlay h1{
		font-size: 2em;
	}

	.front-overlay p{
		font-size: 1.5em;
		letter-spacing: 0.1em;
	}
	
	/* photo */
	.photo{
		width: 100%;
		height: auto;
		padding: 0px;
		padding-bottom: 10px;
		display:block;
	}

	.photo img{
		height: auto;
		width: 100%;
	}
}

/* md */
@media(max-width: 768px){
	.front-overlay{
		margin-left: 20px;	
	}
	
	.front-overlay h1{
		font-size: 1.6em;
	}

	.front-overlay p{
		font-size: 1.3em;
		letter-spacing: 0.05em;
	}
}

/* sm */
@media(max-width: 576px){
	
}

.front-overlay.post{
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	margin-left: 0px;
	text-align: center;
}

.front-overlay.post h1{
	/*left: 50%;*/
	width: 100%;
	max-width: 100%;
}

