@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;
}

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

#page-wrapper {
	margin-top: 100px;
	margin-bottom: 0px;
	height: auto;
}

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

/* Primary Menu and Buttons*/

#primary-menu {
	position: absolute;
	top: 20px;
	left: 25px;
	z-index: 1000000;
}

.button-container {
	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;
}

#info .back{
	background-image: url(../images/bottons/Wiki_botton.png);
}

#off_site .back{
	background-image: url(../images/bottons/Yosemite_botton.png);
}

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


/* Slider */

#slider-container {
	position: relative;
	z-index: 10;
	margin-top: -75px;
	padding-top: 0px;
	width: auto;
}

#slider {
	width: 70%;
	margin-left: 220px;
}

#slider img {
	height: 400px;
	margin: 15px;
	border-radius: 15px;
}

/* Footer */
footer {
	position: fixed;
	bottom: 0px;
	left: 0px;
	display: inline-block;
	width: 100%;
	height: 100%;
	z-index: 1;
	background-image: url(../images/backs/Yosemite_sign_1.jpg);
	background-position: center bottom;
	background-repeat: no-repeat;
	background-size: 100%;
}

/* 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;
}
	