body{
	background-color: #fff;
}
/*header{
   height: 100px;
   box-shadow: 3px 5px 4px gray;
   width: 100%;
}*/
html { scroll-behavior: smooth; }
h1{
	font-family: 'Hachi Maru Pop', cursive;
	font-size: 2em;
	font-style: bold;
	margin-top: 60px;
    text-align: center;
}
/*#header{
	background-color: #a1dffb;
	height: 100px;
	display: block;
	padding: 0px;
	width: 100%;


}*/

 ul.nav{
	list-style-type: none;
    padding: 0;
	float: left;
	margin-left: 100px;
	margin-top: 30px;
}
 ul.nav li.act{
 	margin-top: 20px;
	margin: 5px;
    float: left;
	margin-left: 10px;
	width: 103px;
	height: 50px;
	border: 4px #5d432c groove;
	background: #967c61;
    text-align: center;
    font-family: 'Pacifico', cursive;
}
 ul.nav li a{

    

	text-decoration: none;
	font-size: 16px;
     color:#483233;
    padding: 10px;
    font-weight: 500;
   text-align: center;}
 ul.nav li.act:hover{
 	border: 4px #996633FF groove;
	background: #cbab7f;
    color:#623821; 
    
    width: 100px;
    box-shadow:  6px 6px 6px #483233; 
  
   }




form{
	float: left;
	box-shadow:  5px 4px 4px #483233; 
	border-radius: 20px;
	margin-top: 50px;
	margin-left: 50px;
	width: 300px;
}
input{				
display:block;
margin:20px auto;
border: 3px #a1dffb solid;
font-family: 'Pacifico', cursive;
  font-size: 1em;
	font-style: bold;
}			
input:focus:invalid {			
background: #f98365;
border: 2px  #c33124 solid;
border-radius: 20px;
}			
input:focus:valid {		
border:  2px #aa9c31 solid;
border-radius: 20px;
}			
input:valid {		
background: white;
border: none;
border-radius: 20px;
}			
input:invalid {	
background: white;		
border: 2px #c33124 solid;
border-radius: 20px;
}
form p{
	font-family: 'Hachi Maru Pop', cursive;
}
#button1 a{
  margin-left: 100px;
  border-radius: 50px;
  border:3px solid #483233;
  background-color: #aa8c77;
  width: 120px;
  height: 50px;
  font-family: 'Hachi Maru Pop', cursive;
  font-size:1.5em;
	font-style: bold;
	margin-top: 0px;
	color: #483233;
}
a{
	text-decoration: none;

}


p {
	padding :15px;
}

.wrapper {
	
  padding: 80px 20% 80px 20%;
  box-shadow: 0 0px 10px 5px rgba(0, 0, 0, 0.2);
}
#header .wrapper {
  position: fixed;
  width: 100%;
  background-color: #aa8c77;
  z-index: 9999;
  padding: 0px 20% 20px 20%;
}
.wrapper h2{
   
   font-family: 'Shadows Into Light', cursive;
   margin-left: 300px;
    
}
.wrapper p{
    font-family: 'Hanalei', cursive;
    width: 400px;	
}
#logo1{
	margin-top: 20px;
	margin-left: -740px;
	display: inline-block;
	width: 90px;
	height: 90px;
	animation: logo 50s;
	border-radius: 40px;
  
	}
	#logo1 img{
	width: 100px;
	height: 100px;
	 box-shadow:  5px 4px 4px #483233; 
	}
#logo {
	margin-top: 25px;
	margin-left: -715px;
	float: left;
	display: inline-block;
	width: 90px;
	height: 90px;
	border-image-repeat: no-repeat;
	background: cover;
	animation: logo 50s infinite running;
	
}
@keyframes logo {
    from {
    	 background-image: url(images/1.1.jpg);}
    20% {
        background-image: url(images/1.2.jpg);}
    30% {
        background-image: url(images/1.3.jpg);
    }
    40% {
        background-image: url(images/1.4.jpg);
    }
    50% {
        background-image: url(images/1.5.jpg);
    }
    60% {
        background-image: url(images/1.6.jpg);
    }
    70% {
        background-image: url(images/1.7.jpg);
    }
    80% {
        background-image: url(images/1.8.jpg);
    }
    90% {
       background-image: url(images/1.9.jpg); 
    }
    to{
         background-image: url(images/1.10.jpg);
    }
    }
    #wrap{
    	display: inline-block;
    	margin-left: 10px;
    }
    #1 #2 #3 #4{
  width: 480px;
   margin: auto;
   

}
.pressbox { 
	width: 0; 
	height: 0; 
	position: fixed; 
	overflow: hidden; 
	left: 0; 
	top: 0; 
	z-index: 9999; 
	text-align: center; 
	background: rgba(0,0,0,0.7);

} 
.pressbox img {
	opacity: 0; 
	padding: 15px; 
	background: #ffffff; 
	margin-top: 30px; 
	width: 500px;
	box-shadow: 0px 0px 15px #444; 
border: 3px groove #443d2a;
	transition: opacity .25s ease-in-out;
} 
.pressbox:target { 
	width: auto; 
	height: auto; 
	bottom: 0; 
	right: 0; 

} 
.pressbox:target img { 
	opacity: 1; 
}
#image1
#image2
#image3
#image4
#image5
#image6
#image7
#image8{
  border: 3px groove #443d2a ;
  opacity: 0.5;
  margin: 10px;
}
#image1:hover
#image2:hover
#image3:hover
#image4:hover
#image5:hover
#image6:hover
#image7:hover
#image8:hover{
  border: 5px groove #443d2a ;
  opacity: 0.5;
}
a img{
  border: 3px groove #443d2a ;
  opacity: 1;
}
a img:hover{
  border: 6px groove #443d2a ;
  opacity: 0.5;
}
#header:after,
#block1:after,
#block2:after,
#block3:after,
#block4:after,
#block5:after{
  display: block;
  height: 400px;
  width: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #fff;
  padding-top: 200px;
  text-align: center;
  font-weight: 100;
}

#header:after {
  content: "Baggets";
  background-image: url(images/bg1.jpg);
   background-size: cover;
  font-size: 5em;
  
}

#block1:after {
  content: "";
  background-image: url(images/bg1.jpg);
   background-size: cover;
  font-size: 30px;
  padding-top: 100px;
  width: 100%;
  
}
#block1 p{
	margin-left:10px;
	width: 720px;
    margin: 0;
}


#block2:after {
content:"Местоположение";
 font-size: 100px;
  background-image: url(images/bg2.jpg);
   background-size: cover;
    

}

#block3:after {
  
  background-image: url(images/bg2.jpg);
   background-size:  cover;
   margin-left: 0px;
  
   
}
#block5:after{
	background-image: url(images/bg1.jpg);
   background-size:  cover;
}

.box_wrapper{
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.box {
  width: 600px;
  font-size: 1em;
  font-weight: 900;
 border-radius: 10px;
  text-transform: uppercase;
  text-align: center;
  background-color:#aa8c77 ;
  position: relative;
  top: -250px;
  padding: 20px;
  margin: 0 auto;
  color: #483233;
  font-family: 'Pacifico', cursive;
  font-style: italic ;
}

.box2 {
  display: block;
  width: 250px;
  color: #483233;
  text-decoration: none;
  font-size:1em;
  font-weight: 100;
  text-align: center;
  background-color:#aa8c77 ;
  border-radius: 10px;
  position: relative;
  top: -250px;
  padding: 20px;
  margin: 0 auto;
    font-style: italic ;

}

.scroll {
	margin: 0 auto;
	display: inline-block;
			 top:40px;
			 position: relative;
			 line-height: 300px;
			 padding: 0 3em;
			 width: 600px;
		}
		.scroll input {
			display: none;
		}
		.scroll div {
			 height: 30%;
			 overflow: hidden;
			 white-space: nowrap;
			 font-size: 0;
			 margin-left: -150px;
		}
		.scroll img {
			 position: relative;
			 right: 0;
			 width: 15%;
			 transition: 0.5s;
             
		}

		.scroll label {
			 cursor: pointer;
			 font-weight: 300;
			 font-size: 2em;
		}
		.scroll input#l0:checked ~ label:nth-of-type(2):after,
		.scroll input#l1:checked ~ label:nth-of-type(3):after,
		.scroll input#l2:checked ~ label:nth-of-type(4):after,
		.scroll input#l3:checked ~ label:nth-of-type(5):after,
		.scroll input#l4:checked ~ label:nth-of-type(6):after,
		.scroll input#l5:checked ~ label:nth-of-type(7):after,
		.scroll input#l6:checked ~ label:nth-of-type(8):after,
		.scroll input#l7:checked ~ label:nth-of-type(1):after,
		.scroll input#l0:checked ~ label:nth-of-type(2):after {
			 content: "↠";
			 position: absolute;
			 right: 0;
		}
		.scroll input#l1:checked ~ label:nth-of-type(1):after,
		.scroll input#l2:checked ~ label:nth-of-type(2):after,
		.scroll input#l3:checked ~ label:nth-of-type(3):after,
		.scroll input#l4:checked ~ label:nth-of-type(4):after,
		.scroll input#l5:checked ~ label:nth-of-type(5):after,
		.scroll input#l6:checked ~ label:nth-of-type(6):after,
		.scroll input#l7:checked ~ label:nth-of-type(7):after,
		.scroll input#l1:checked ~ label:nth-of-type(1):after {
			 content: "↞";
			 position: absolute;
			 left: 0;
		}

		.scroll input#l1:checked ~ div img {
			right: 20%;
		}
		.scroll input#l2:checked ~ div img {
			right: 40%;
		}
		.scroll input#l3:checked ~ div img {
			right: 60%;
		}
		.scroll input#l4:checked ~ div img {
			right: 80%;
		}
		.scroll input#l5:checked ~ div img {
			right: 100%;
		}
		.scroll input#l6:checked ~ div img {
			right: 120%;
		}
		.scroll input#l7:checked ~ div img {
			right: 140%;
		}
		#block5{
	perspective: 700px;
	perspective-origin: center -30px;
}

 #block5{
	perspective: 700px;
	perspective-origin: center 150px;
}
#block5{
	display:space-around ;
}
.container1 {
perspective-origin: 50% 20%;
width: 18%; 
height: 100px;
margin: 50px auto 0;
margin-left: 60px;
transform-style: preserve-3d;
transition: all 2s;
display:inline-block;
padding-left: 75px;

}
.container1:hover{
  transform:rotateX(-90deg);
  transition: all 3s;
}
.side { 
position: absolute; 
width: 150px; 
height: 100px; 
border: 1px solid ;
opacity: 1; 
 
}

.top { 
  transform: translateY(-75px) rotateX(90deg);
  background-color:#a77833d6;
  border-color:white; 
} 
.front { 
  transform: translateZ(75px); 
 background-color: #976f4f;
  -webkit-background-size: cover;
  background-size: cover;
    border-color:white;
  

}
.front h1{
	font-size: 17px;
	  font-family: 'Pacifico', cursive;
	  color: #1a1a1d;
text-shadow: 2px 1px 2px #d2c1b5;
}
.container2 {
perspective-origin: 50% 20%;
width: 18%; 
height: 100px;
margin: 50px auto 0;
margin-left: 30px;
transform-style: preserve-3d;
transition: all 2s;
display:inline-block;

}
.container2:hover{
  transform:rotateX(-90deg);
  transition: all 3s;}
.container3 {
perspective-origin: 50% 20%;
width: 18%; 
height: 100px;
margin: 50px auto 0;
margin-left: 30px;

transform-style: preserve-3d;
transition: all 2s;
display:inline-block;


}
.container3:hover{
  transform:rotateX(-90deg);
  transition: all 3s;}
.container4 {
perspective-origin: 50% 20%;
width: 18%; 
height: 100px;
margin: 40px auto 0;
margin-left: 40px;
transform-style: preserve-3d;
transition: all 2s;
display:inline-block;

}
.container4:hover{
  transform:rotateX(-90deg);
  transition: all 3s;}

#block3>h1{
	color: #483233;
	 font-family: 'Pacifico', cursive;
	 text-align: center;
}
#block3 iframe{
	margin-left:0;
	height: 400px;
}
#vid iframe {
	box-shadow: 4px 4px 4px #483233;
	border-radius: 20px;
	display: inline-block;
	margin-left: 30px;
	margin-top: 30px;
	
}
#vid{
	height: 600px;
}

#footer {
  font-family: 'Shadows Into Light', cursive;
   color:#483233 ;
   background-color: #aa8c77;
}

#footer .wrap {
  z-index: 9999;
  color: #fff;
  text-align: center;
  
}

@media screen and (max-width: 768px) {
body{
	width: 768px;
}
	ul.nav{
		margin-left: 20px;
	} 
		ul.nav li.act{
 	margin-top: 20px;
	margin: 0px;
	margin-left: 5px;
	width: 80px;
	height: 45px;
	padding: 2px;
	text-align: center;
}		
ul.nav li a{
	font-size:15px;
	
}
ul.nav li.act:hover{
	border: 4px #996633FF groove;
	background: #cbab7f;
    color:#623821; 
    
    width: 90px;
    box-shadow:  6px 6px 6px #483233; 
}
#logo1{
	margin-top: 20px;
	margin-left: -510px;
	display: inline-block;
	width: 90px;
	height: 90px;
	animation: logo 50s;
	border-radius: 40px;
  
	}
	#logo1 img{
	width: 100px;
	height: 100px;
	 box-shadow:  5px 4px 4px #483233; 
	}
#logo {
	margin-top: 25px;
	margin-left: -70px;
	float: left;
	display: inline-block;
	width: 90px;
	height: 90px;
	border-image-repeat: no-repeat;
	background: cover;
	animation: logo 50s infinite running;
}

.box {
	width: 200px;
}
.scroll {
	
	margin: 0 auto;
	display: inline-block;
			 top:20px;
			 position: relative;
			 line-height: 200px;
			 padding: 0 3em;
			 width: 500px;
		}
		.scroll img {
			 position: relative;
			 right: 0;
			 width: 20%;
			 transition: 0.5s;
		}
		.scroll div {
			margin-left: -130px;
			width: 600px;
			 height: 30%;
			 overflow: hidden;
			 white-space: nowrap;}
			 #header:after {
  content: "Baggets";
  background-image: url(images/bg1.jpg);
   background-size: cover;
  font-size: 5em;
}
			 #block1:after {
  content: "";
  background-image: url(images/bg1.jpg);
   background-size: cover;
  font-size: 30px;
  padding-top: 100px;
  width: 768px;
  
}
#header:after,
#block1:after,
#block2:after,
#block3:after,
#block4:after{
  display: block;
  height: 400px;
  width: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #fff;
  padding-top: 200px;
  text-align: center;
  font-weight: 100;
}
#block1 p{
	margin-left:-100px;
	width: 400px;
	width: 450px;
margin: 0;}
#block1 .wrapper h2{
	margin-left: 90px;
}
#block2{
	width: 100%;
}

#block2:after {

  background-image: url(images/bg2.jpg);
   background-size: cover;
    

}

#block3:after {
content:"Местоположение";
  background-image: url(images/bg2.jpg);
   background-size:  cover;
   margin-left: 0px;
   width: 768px;
   font-size: 70px;
   
}
#wrap img{
	width: 230px;
	margin: 0 auto;
	margin-left: 20px;
}
#wrap{
	width: 768px;
}
#block3 iframe{
	margin-left:0;
	height: 400px;
}
form{
	float: left;
	box-shadow:  5px 4px 4px #483233; 
	border-radius: 20px;
	margin-top: -250px;
	margin-left: 400px;
	width: 300px;
}
#vid{
	height: 600px;
}
#vid iframe{
	width: 300px;
	height: 215px;
}.container1,.container2,.container3,.container4{ 
 	width:50%;
 	margin-right: 0;
 	 margin-top: 10px;
 	  float:left; 
 	   transition:all 0s;
 	   margin-top:60px; 
		margin-left:50px;
display:space-around ;
	} 
	.container1,.container2,.container3,.container4{
perspective: 700px;
	perspective-origin: center -30px;
}
	.container1,.container2,.container3,.container4{
		perspective: 700px;
	perspective-origin: center 150px;
	}
	.container1{
		margin-left: -30px;
	}
	.side { 
position: absolute; 
width: 150px; 
height: 100px; 
border: 1px solid ;
opacity: 1; }

		#block5{
	margin-top: 50px;
	margin-left: 40px;
	display: inline-block;
    }
}