
@font-face {
    font-family: m-plus-rounded-1c;
    src: url(/style/fonts/M_PLUS_Rounded_1c/MPLUSRounded1c-Thin.ttf);
}
@font-face {
    font-family: typewriter;
    src: url(style/fonts/elegant-typewriter/TYPEWRITER.ttf);
}

body{
	font-family: m-plus-rounded-1c;
	background: #c4c4c4 url(images/covershot.jpg);
	background-repeat: no-repeat;
	background-position: 0 0;
	background-size: cover;
	margin: 0;
	height: 93vh;
	padding: 5vh 30px 2vh 30px;
	direction: rtl;
}

body#worksbod, body#nobg{
	background: none;
}

h1{
	font-size: 4em;
	color: #211e1a;
	margin: 0;
}

h1 span.dot{
	margin: 0;
	font-size: 1em;
	display: inline-block;
	border: 5px solid black;
	width: 0px;
	height: 0px;
	border-radius: 30px;
	margin-top: 15px; 
}

header{
	min-height: 150px;
}

header div{
	padding-top: 10vh;
	height: 17vh;
	
}

header a{
	display: inline-block;
	padding: 0;
	margin: 0;
}

header nav{
	text-align: left;
	padding: 20px 0 20px 0;
	height: 20vh;
	padding-top: 40vh;
	margin-left: 70px;
}

header img{
	width: 100px;

}

header div#title_div img, header div#title_div h1, header div#title_div a{
	display: inline-block;
	vertical-align: middle;
}

main.wide{
	position: relative;
	padding: 1vh 3% 1vh 3%;
	background-color: rgba(0,0,0,0.8);
	color: rgba(249,249,249,1);
	width: 500px;
	/*min-height: 61vh;*/
}
main.wide a{
	color: rgba(249,249,249,1);
}

a{
	text-decoration: none;
	color: #211e1a; 
	font-size: 2.5em;
	background-color: none;
}

a:hover{
	box-shadow: 0 5px 5px -4px #d4af37;
	transition: box-shadow 0.2s ease-in-out;
}

p a{
	font-size: 1em;
	font-weight: 700;
}

nav {
	font-weight: 700;
}

p a.gold{
	font-size: 1em;
	text-decoration: none;
	color: #d4af37;
	cursor: pointer;
	font-weight: 700;
}

span.dot{
	margin: 0;
	font-size: 5em;
	line-height: 1;
	letter-spacing: 0;
	vertical-align: middle;
}
.color-gold{
	color: #d4af37;
}
.bg-color-gold{
	background-color: #d4af37;
}

#contactme{
	float: left;
	position: absolute;
	top: 30px;
	left: 100px;
	z-index: 10;
}


#slogan{
	font-family: typewriter;
	display: inline-block;
	color: #211e1a;
	font-size: 2em;
	text-align: center;
}

footer{
	display: none;	
	width: 100%;
	height: 100vh;
	position: absolute;
	top: 0;
	left: 0;
	background-color: rgba(0, 0, 0, 0.7);
	text-align: center;
}


footer div{
	margin-top: 30vh;
 	display: inline-block;
	text-align: left;
	color: #f9f9f9;
	margin: 0 auto;
}

.gap{
	position: relative;
	display: block;
	height: 30px;
	margin-bottom: 1px;
	width: 100%;
}

nav.right{
	float: right;
}

.rotate{
	transform: rotate(90deg);
}

.rotate2{
	transform: rotate(180deg);
}


@media all and (max-width:1000px) {

	h1{
		font-size: 2em;
	}
	h1 span::before{ content: '';}

	header img{
		width: 70px;

	}

	header nav{
		padding: 20px 0 20px 0;
		height: 50px;
	}

	nav span.dot{
		display: none;
	}

	header nav a::after{
		content: ' ';
		display: inline-block;
		border: 3px solid black;
		width: 0px;
		height: 0px;
		border-radius: 30px;
		margin-bottom: 5px;
	}

	header nav a, #contactme{
		font-size: 1.6em;
		
	}

	header nav a {
		width: 100%;
	}

	header div span.dot{
		opacity: 0;
		width: 0;
		padding: 0;
		margin: 0;
		border: 0;
		display: inline;
	}

	header div span.dot::before{
		content: "\A";
		white-space: pre-wrap;
	}

	main.wide{
		width: 94%;
	}
	header div{
		height: 30vh;
	}
}

@media all and (max-width:420px) {
	h1{
		font-size: 1.5em;
	}
	a{
		font-size: 1.5em;
	}

	nav span.dot{
		display: none;
	}

	body{
		padding: 5vh 10px 2vh 10px;
	}
}

@media all and (max-width:330px) {
	h1{
		font-size: 1.3em;
	}
}

.language-selector {
	position: absolute;
	top: 5px;
	left: 100px;
	font-size: 0.8em;
	z-index: 1000;
}

.language-selector a {
	color: #333;
	text-decoration: none;
}

.language-selector a img {
	max-width: 0.8em;
}