body {
    background-color: #2B2C30;
	font-family: 'Ubuntu', 'Arial', sans-serif;
    line-height: 1.5;
    color: #ddd;
}

ol, ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

figure {
    margin: 0;
}

a {
    color: #fff;
	
	-webkit-transition: all .3s ease-in 0s;
	   -moz-transition: all .3s ease-in 0s;
		 -o-transition: all .3s ease-in 0s;
			transition: all .3s ease-in 0s;
}

iframe {
    border: 0;
}

a, a:focus, a:hover {
    text-decoration: none;
    outline: 0;
}

a:focus, a:hover {
    color: #0faeee;
}

h1, h2, h3, h4, h5, h6 {
    font-family: Josefin Sans, sans-serif;
    font-weight: 400;
}

.kill-margin-bottom {
	margin-bottom: 0 !important;
}

.btn {
    background-color: transparent;
    color: #fff;
    padding: 10px 30px;
	border-radius: 0;
    margin-top: 15px;
	
	-webkit-transition: all .5s ease-in 0s;
	   -moz-transition: all .5s ease-in 0s;
		 -o-transition: all .5s ease-in 0s;
			transition: all .5s ease-in 0s;
}

.btn:focus {
	color: #ddd;
}

.btn-green {
    background-color: #0faeee;
}

.btn-green:focus, 
.btn-green:hover {
    background-color: #2F383D;
	color: #fff;
}

.btn-transparent {
	border: 1px solid #4e595f;
}

.btn-transparent:focus {
    background-color: transparent;
    border-color: #0faeee;
}

.btn-transparent:hover {
    background-color: #0faeee;
	border: 1px solid transparent;
    color: #fff;
}

.form-control {
	background-color: #2f383d;
	border-radius: 0;
	padding: 5px 10px;
	border: 0 none;
	color: #ddd;
}

.form-control:focus {
	box-shadow: 0 0 0;
}

.form-control::-webkit-input-placeholder { /*  Chrome, Safari, Opera  */
   color: #ddd;
}

.form-control:-moz-placeholder { /* Firefox 18- */
   color: #ddd;  
}

.form-control::-moz-placeholder {  /* Firefox 19+ */
   color: #ddd;  
}

.form-control:-ms-input-placeholder {  /*  Internet Explorer  */
   color: #ddd;  
}


#loading-mask {
    background: #333439;
    height: 100%;
    left: 0;
    opacity: 1;
    filter: alpha(opacity=100);
    position: fixed;
    text-align: center;
    top: 0;
    width: 100%;
    z-index: 999999999;
}

.loading-img {
    height: 100%;
    left: 0;
    position: fixed;
    top: 50%;
    width: 100%;
}

.border {
    border-top: 1px solid #fff;
    height: 1px;
    margin: 15px auto 0;
    position: relative;
    width: 35%;
}

.border:before {
    background-color: #fff;
    border: 1px ridge #fff;
    content: "";
    height: 10px;
    left: 50%;
    margin-left: -20px;
    position: absolute;
    top: -5px;
    width: 40px;
}

.title {
    padding-bottom: 60px;
}

.title h2 {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 38px;
    color: #fff;
}

.color {
	color: #0faeee;
}

.sub-title {
    padding: 0 0 50px;
}

.sub-title > h3 {
    border-left: 3px solid #ddd;
    border-right: 3px solid #ddd;
    display: inline-block;
    padding: 5px 25px;
    text-transform: uppercase;
}

.btn.active:focus, .btn:active:focus, .btn:focus {
    outline: 0;
}

.bg-one {
    background-color: #333439;
}

.parallax-section {
	background-attachment: fixed !important;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}


/*=================================================================
	Home
==================================================================*/

#home {
    position: relative;
	height: 100vh;
}

#home .bg-img {
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
	position: absolute;
	width: 100%;
	height: 100%;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-image: url(../img/bg.jpg);
	background-size: 100%;
	z-index: 0;
}

#home .bg-hover{
	height: 100%;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	background-color: rgba(0,0,0,0.60);
}

#home div.carousel-caption{
	bottom: 50vh;
	z-index: 10;
}

@media screen and (max-width: 1488px){
	#home .bg-img {
		background-repeat:no-repeat;
		background-size:cover;
		background-position:center;
	}
}

@media only screen and (max-width: 530px) {

	#home div.carousel-caption {
		bottom: 30vh;
	}
}

@media only screen and (max-height: 440px) {

	#home div.carousel-caption {
		bottom: 10vh;
	}
}

@media only screen and (max-height: 650px) and (min-height: 440px) {

	#home div.carousel-caption {
		bottom: 30vh;
	}
}

/*=================================================================
	Navigation
==================================================================*/

.navbar-inverse {
	background-color: #2B2C30;
	width: 100%;
	z-index: 99;
}

.navbar {
  border-bottom: 1px solid #666;
  margin-bottom: 0;
}

.navbar-brand {
	height: auto;
	padding: 8px 0;
}

.navbar-brand h1 {
	margin: 0;
}

.navbar-inverse .navbar-nav > li > a {
    color: #fff;
    font-size: 14px;
    line-height: 26px;
    padding: 20px 15px;

	-webkit-transition: background .5s ease-in-out 0s;
	   -moz-transition: background .5s ease-in-out 0s;
		 -o-transition: background .5s ease-in-out 0s;
			transition: background .5s ease-in-out 0s;
}

.navbar-inverse .navbar-nav > li.current > a {
    color: #0faeee;
    background-color: #2f3238;
}

.navbar-inverse .navbar-nav > li > a:hover {
    color: #0faeee;
}


/*=================================================================
	Über mich section
==================================================================*/

#about {
    padding: 70px 0;
}

.box-img{
	border-radius: 150px;
}

.box-img.front img {
	border-radius: 50%;
	height: 280px;
	object-fit: cover;
}

.box-img-flipper {
	-webkit-transform-style: preserve-3d;
	-webkit-perspective: 1000px;
	width: 250px;
	height: 250px;
	position: relative;
}

.box-img-flipper .back, .box-img-flipper .front {
	position: absolute;
	-webkit-backface-visibility: hidden;
	-webkit-transition: -webkit-transform 1s ease-in;
}
.box-img-flipper .back {
	-webkit-transform: rotateY(180deg);
}

.box-img-wrapper {
	display: inline-block;
	padding-left: 150px;
	padding-top: 5px;
	padding-bottom: 5px;
}

@media screen and (max-width: 1488px){
	.box-img-wrapper {
		width: 100%;
		padding: 0;
		padding-right: 35px;
	}

	.box-img-wrapper .box-img-flipper{
		margin: 0 auto;
	}
}

.box-img-wrapper:hover .back {
	-webkit-transform: rotateY(0deg);
}
.box-img-wrapper:hover .front {
	-webkit-transform: rotateY(-180deg);
}

.feature-media {
	margin-bottom: 30px;
}

/*=================================================================
	Portfolio section
==================================================================*/

#work {
    padding: 75px 0;
}

.work-detail{
	display: none;
	position: fixed;
	z-index: 1;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgb(0,0,0);
	background-color: rgba(0,0,0,0.4);
}

.modal-content {
	background-color: #2B2C30;
	margin: 10% 10%;
	padding: 20px;
	border: 1px solid #666;
	width: 80%;
	-webkit-animation-name: animatetop;
	-webkit-animation-duration: 0.4s;
	animation-name: animatetop;
	animation-duration: 0.4s;
	display: none;
	position: fixed;
	z-index: 2;
	left: 0;
	top: 0;
	max-height: 70vh;
	overflow: auto;
}
@media screen and (max-width: 778px) {
	.modal-content {
		margin: 17% 10%;
	}
}

.modal-content::-webkit-scrollbar {
	display: none;
}

.modal-content h2{
	margin-bottom: 5px;
	margin-top: 0;
}

/* The Close Button */
.close {
	color: #ccc;
	float: right;
	font-size: 28px;
	font-weight: bold;
}

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

.modal-header{
	text-align: center;
	padding-top: 0;
}

.modal-header .modal-header-text{
	margin-top: 0;
}

.modal-body{
	padding-top: 30px;
	flex-direction: column;
	display: flex;
}

.modal-img{
	order: 2;
}

.modal-text{
	color: #ddd;
	order: 1;
	text-align: center;
}


.modal-body-text{
	text-align: left;
}

.modal-body-img{
	width: 100%;
	margin-top: 30px;
}

.modal-footer p{
	font-size: 1px;
}

.modal-footer-text{
	text-align: center;
	color: #0faeee;
}

.modal-header{
	border-bottom-color: #0faeee;
}

@media screen and (min-width: 1200px) {
	.modal-body {
		flex-direction: row-reverse;
	}

	.modal-body-img{
		margin-top: 0;
	}

	.modal-text{
		text-align: left;
	}
}

@-webkit-keyframes animatetop {
	from {top: -300px; opacity: 0}
	to {top: 0; opacity: 1}
}

@keyframes animatetop {
	from {top: -300px; opacity: 0}
	to {top: 0; opacity: 1}
}


.og-grid .mix > a {
	display:block;
	overflow:hidden;
	position:relative;
}

.og-grid .mix a img {
	-webkit-transition: all 0.6s ease 0s;
	   -moz-transition: all 0.6s ease 0s;
		 -o-transition: all 0.6s ease 0s;
			transition: all 0.6s ease 0s;
}

.og-grid .mix a:hover img {
	-webkit-transform: scale(1.4) rotate(15deg);
	   -moz-transform: scale(1.4) rotate(15deg);
		-ms-transform: scale(1.4) rotate(15deg);
		 -o-transform: scale(1.4) rotate(15deg);
			transform: scale(1.4) rotate(15deg);
}

.hover-mask {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: rgba(43, 44, 48, 0.8);
	
	opacity: 0;
	filter: alpha(opacity=0);
	
	-webkit-transition: all 600ms ease-out 0s;	
	   -moz-transition: all 600ms ease-out 0s;
		 -o-transition: all 600ms ease-out 0s;
		    transition: all 600ms ease-out 0s;
		  
	-webkit-transform: rotateY(180deg) scale(0.5,0.5);
	   -moz-transform: rotateY(180deg) scale(0.5,0.5);
		-ms-transform: rotateY(180deg) scale(0.5,0.5);
		 -o-transform: rotateY(180deg) scale(0.5,0.5);
			transform: rotateY(180deg) scale(0.5,0.5);	
}

.hover-mask h3 {
	color: #ddd;
	font-size: 20px;
	position: relative;
	text-transform: uppercase;
	top: 110px;
}

.hover-mask h4 {
	font-size: 20px;
	position: relative;
	top: 115px;
}

.hover-mask span {
	border: 2px solid #ddd;
	border-radius: 50px;
	color: #ddd;
	display: inline-block;
	height: 50px;
	left: 42%;
	padding: 11px 0;
	position: absolute;
	text-align: center;
	top: 22%;
	width: 50px;
}

.og-grid .mix a:hover .hover-mask {
	opacity: 1;
	filter: alpha(opacity=100);
	
	-webkit-transform: rotateY(0deg) scale(1,1);
	   -moz-transform: rotateY(0deg) scale(1,1);
		-ms-transform: rotateY(0deg) scale(1,1);
		 -o-transform: rotateY(0deg) scale(1,1);
		    transform: rotateY(0deg) scale(1,1);
}

.portfolio-item-wrapper img.img-l{
	display: none;
}


@media screen and (min-width: 1488px) {
	.hover-mask h3 {
		font-size: 30px;
		top: 195px;
	}

	.hover-mask h4 {
		font-size: 30px;
		top: 200px;
	}

	.hover-mask span {
		border-radius: 70px;
		height: 70px;
		left: 44%;
		top: 22%;
		width: 70px;
	}

	.hover-mask span i {
		font-size: 3em;
	}

	.portfolio-item-wrapper img.img-l{
		display: block;
	}

	.portfolio-item-wrapper img.img-s{
		display: none;
	}

	.portfolio-item-wrapper i.fa-desktop{
		padding-top: 6px;
	}

	.portfolio-item-wrapper i.fa-graduation-cap{
		padding-top: 3px;
	}
}


/*=================================================================
	Sociacl Media Buttons
==================================================================*/

#social-media {
	background-image: url("../img/gluckauf.jpg");
	padding-bottom: 100px;
	padding-top: 80px;
}

#social-media .social {
    margin-bottom: 10px;
}

#social-media .social a {
    color: #0faeee;
}


.owl-pagination,
.owl-buttons {
	text-align: center;
}

.owl-controls .owl-page {
    display: inline-block;
}

.owl-controls .owl-page span {
    background-color: transparent;
    border: 2px solid #fff;
    border-radius: 50px;
    display: block;
    height: 13px;
    margin: 0 4px;
    width: 13px;
    opacity: 1;
    filter: alpha(opacity=100);
}

.owl-controls .owl-page.active span,
.owl-controls .owl-page:hover span {
    background-color: #0faeee;
    border: 2px solid transparent;
}


/*=================================================================
	Kontakt section
==================================================================*/

#contact{
	padding: 75px 0;
}

.contact-details .con-info{
	margin-top: 10px;
}

.contact-details .con-info span{
	margin-left: 10px;
}


/*=================================================================
	Footer section
==================================================================*/

.social-icon > ul {
    text-align: center;
}

.social-icon > ul > li {
    display: inline-block;
    margin-right: 20px;
}

.social-icon > ul > li > a {
    background-color: #26292e;
    display: block;
    height: 70px;
    width: 70px;

	-webkit-transform: rotateY(180deg);
	   -moz-transform: rotateY(180deg);
		-ms-transform: rotateY(180deg);
		 -o-transform: rotateY(180deg);
			transform: rotateY(180deg);

	-webkit-transition: all 400ms ease-out 0s;
	   -moz-transition: all 400ms ease-out 0s;
		 -o-transition: all 400ms ease-out 0s;
			transition: all 400ms ease-out 0s;
}

.social-icon > ul > li > a > i {
    color: #55606a;
    display: inline-block;
    font-size: 32px;
    line-height: 70px;
    margin: 0;

    opacity: 0.3;
    filter: alpha(opacity=30);

	-webkit-transform: rotateY(180deg);
	   -moz-transform: rotateY(180deg);
		-ms-transform: rotateY(180deg);
		 -o-transform: rotateY(180deg);
			transform: rotateY(180deg);

	-webkit-transition: all 400ms ease-out 0s;
	   -moz-transition: all 400ms ease-out 0s;
		 -o-transition: all 400ms ease-out 0s;
			transition: all 400ms ease-out 0s;
}

.social-icon > ul > li:hover a {
    background-color: #0faeee;
	
	-webkit-transform: rotateY(0deg);
	   -moz-transform: rotateY(0deg);
		-ms-transform: rotateY(0deg);
		 -o-transform: rotateY(0deg);
			transform: rotateY(0deg);
}

@media screen and (max-width: 880px) {
	.social-icon > ul > li a {
		background-color: #0faeee;
	}

	.social-icon > ul > li a i {
		color: #fff;
		opacity: 1;
		filter: alpha(opacity=100);
	}
}

.social-icon > ul > li:hover a i {
    color: #fff;
    opacity: 1;
    filter: alpha(opacity=100);
	
	-webkit-transform: rotateY(0deg);
	   -moz-transform: rotateY(0deg);
		-ms-transform: rotateY(0deg);
		 -o-transform: rotateY(0deg);
			transform: rotateY(0deg);
}

.copyright {
    padding: 20px 0;
    color: #fff;
}

.copyright > img {
    margin-bottom: 15px;
}

#scrollUp {
    border: 1px solid #4e595f;
    bottom: 15px;
    color: #fff;
    display: none;
    padding: 8px 12px;
    position: fixed;
    right: 20px;
    z-index: 600;
}

#scrollUp:hover {
    background-color: #0faeee;
    border: 1px solid #0faeee;
}