@import url('//fonts.googleapis.com/css?family=Roboto:300,400,700');

html, body {
	padding: 0;
	margin:0;
}

* {
	font-family: 'Roboto', Arial, sans-serif;
}

a {
	text-decoration: none;
	display: inline-block;
}

.clear {
	clear: both;
}

.container {
	width: 100%;
	margin: 0 auto;
}

#page-wrapper {
	margin-top: 50px;
	margin-bottom: 0px;
	padding-bottom: 100px;
}

html {
	background-image: url(../../images/backs/Main_picture.jpg);
	background-position: center top;
	background-repeat: no-repeat;
	background-size: 100%;
	max-width: auto;
	background-color: #2F55E9;
}

body {
	background-image: url(../../images/backs/Yosemite_sign.jpg);
	background-position: center bottom;
	background-repeat: no-repeat;
	background-size: 100%;
}

/* Button */

.button-container {
	z-index: 1000000;
	perspective: 400px;
}

.button {
	position: relative;
	color: #fff;
	border-radius: 15px; 
	width: 115px;
	height: 115px;
	margin: 20px 20px 27px 20px;
	line-height: 115px;
	text-align: center;
	box-shadow: 10px 10px 10px 0 rgba(7,6,48,1);
	transition: all 0.7s ease;
	transform-style: preserve-3d;
 }

.button:hover {
	transform: rotateY(180deg);
}

.button a {
	height: 115px;
	width: 115px;
}

.front, .back {
	position: absolute;
	top: 0;
	left: 0;
	border-radius: 15px; 
	width: 115px;
	height: 115px;
	backface-visibility: hidden;
}

.front {
	background: -webkit-linear-gradient(bottom left, rgba(30,87,153,1) 0%, rgba(89,148,202,1) 62%, rgba(95,154,207,0.7) 68%, rgba(125,185,232,0) 100%);
	background: -o-linear-gradient(bottom left, rgba(30,87,153,1) 0%, rgba(89,148,202,1) 62%, rgba(95,154,207,0.7) 68%, rgba(125,185,232,0) 100%);
	background: linear-gradient(to top right, rgba(30,87,153,1) 0%, rgba(89,148,202,1) 62%, rgba(95,154,207,0.7) 68%, rgba(125,185,232,0) 100%); /* Chrome10-25,Safari5.1-6 */ /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e5799', endColorstr='#007db9e8',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}

.back {
	transform: rotateY(180deg);
	background-position: center center;
	background-repeat: no-repeat;
	background-size:cover;
}

#photos {
	position: fixed;
	left: 25px;
	top: 20px;
}

#photos .back {
	background-image: url(../../images/bottons/Photos_botton.jpg);
}

#return {
	position: fixed;
	right: 25px;
	top: 20px;
}

#return .back {
	background-image: url(../../images/bottons/Return_botton.jpg);
}

/* Primary Section */

#main-section {
	color: #fff;
	margin: 50px 180px 50px 180px;
	padding: 10px 50px 10px 50px;
	background: rgba(0, 0, 102, 0.5);
	border-radius: 20px;
	box-shadow: 10px 10px 10px 0 rgba(7,6,48,1);
}

#main-section p {
	text-align: justify;
}

#main-section img {
	border-radius: 10px;
	margin-top: 25px;
	box-shadow: 10px 10px 10px 0 rgba(7,6,48,1);
}

#main-section .paragraph p {
	width: 50%;
	float: left;
}

#main-section .paragraph img {
	float: right;
	width: 45%;
}

#main-section #animals {
	display: inline-block;
	margin-top: -30px;
	text-align: center;
	padding: 5px 0px;
	height: 200px;
	width: 100%;
}

#main-section #animals img {
	width: 30%;
	display: inline-block;
	margin-right: 5px;
}

#main-section #gmap {
	width: 100%;
	text-align: center;
}

iframe {
	border-radius: 15px;
	box-shadow: 10px 10px 10px 0 rgba(7,6,48,1);
}

/* Slider */

#slider {
	width: 90%;
	margin-left: 60px;
}

#slider .item {
	height: 600px;
}

#slider img {
	margin: 15px;
	border-radius: 15px;
	box-shadow: 10px 10px 10px 0 rgba(7,6,48,1);
	height: 80%;
}

/* Contact Me Icon */

#contact-container {
	position: fixed;
	bottom: 0;
	right: 0;
	z-index: 20;
	width: 250px;
	height: 250px;
}

#contact-me {
	position: relative;
	width: 250px;
	height: 250px;
}

#animal {
	position: absolute;
	bottom: -30px;
	right: -30px;
	width: 128px;
	height: 128px;
	background-image: url(../../images/animals/medved.png);
	background-repeat: no-repeat;
	transform: rotateZ(-45deg);
}

.social {
	position: absolute;
	height: 75px;
	width: 75px;
	z-index: 20;
	border-radius: 50%;
	box-shadow: 5px 5px 10px 0 rgba(0,255,0,1);
	display: none;
}

.vk {
	bottom: 20px;
	right: 140px;
	background: url(../../images/social/social.png) no-repeat -81px -81px;
}

.fb {
	bottom: 100px;
	right: 110px;
	background: url(../../images/social/social.png) no-repeat 0px 0px;
}

.l-in {
	bottom: 145px;
	right: 35px;
	background: url(../../images/social/social.png) no-repeat -245px -82px;
}
