* { box-sizing: border-box; }
body {
  width: 100%;
  margin: 0;
   background-image: url(images/fon2.jpg);
  background-size: cover;
}
nav {/* background: white; */}
nav ul {

  list-style: none;
  margin: 0 50px;
  padding: 0;
}

nav a {
  text-decoration: none;
  outline: none;
  display: inline-block;
  transition: .4s ease-in-out;
}
.topmenu {
  text-align: center;
  padding: 10px 0;
}
.topmenu > li {
  display: inline-block;
  position: relative;
}
.topmenu > li:after {
  content: "";
  position: absolute;
  right: 0;
  width: 1px;
  height: 12px;
  background: #d2d2d2;
  top: 16px;
  box-shadow: 4px -2px 0 #d2d2d2;
  transform: rotate(30deg);
}
.topmenu > li:last-child:after {
  background: none;
  box-shadow: none;
}
.topmenu > li > a {
  padding: 12px 26px;
  color: white;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 1px;
  font-family: 'Exo 2', sans-serif;
}
.topmenu li a:hover { color: #c0a97a; }
.submenu {
  position: absolute;
  left: 50%;
  top: 100%;
  width: 210px;
  margin-left: -105px;
  background: #fafafa;
  border: 1px solid #ededed;
  z-index: 5;
  visibility: hidden;
  opacity: 0;
  transform: scale(.8);
  transition: .4s ease-in-out;
}
.submenu li a {
  padding: 10px 0;
  margin: 0 10px;
  border-bottom: 1px solid #efefef;
  font-size: 12px;
  color: #484848;
  font-family: 'Kurale', serif;
}
.topmenu > li:hover .submenu {
  visibility: visible;
  opacity: 1;
  transform: scale(1);
}







#content {
  float: right;
  width: 48%;

  /*margin-right: 0 20px;*/
}
@font-face {
  font-family: Solid; /* Гарнитура шрифта */
  src: url(fonts/solid.ttf); /* Путь к файлу со шрифтом */
} 
h1{
    text-align: center;
    font-family: 'Solid 3d', 'Comic Sans MS', cursive;
    font-size: 65px;
     color: white;

  
}
@font-face {
  font-family: 'IndieFlower-Regular'; /* Гарнитура шрифта */
  src: url(fonts/IndieFlower-Regular.ttf); /* Путь к файлу со шрифтом */
} 
p{
   background-color: black;
  font-family: 'IndieFlower-Regular', 'Comic Sans MS', cursive;
  margin-right: 20px;
   color: white;
   font-size: 20px;

}

blockquote {
  width: 600px;
margin: 0;
color: #FFFAFA;
padding: 30px 30px 30px 60px;
border-left: 8px solid white;
position: relative;
background: black;
font-family: 'Lato', sans-serif;
font-weight: 300;
}
blockquote:before{
content: "\201C";
font-family: Arial;
color: #F5FFFA;
font-size: 70px;
position: absolute;
left: 15px;
top: 5px;
}
blockquote p {
font-style: italic;
font-size: 24px;
margin-top: 0;  
}
.r {
  margin-left: 75px;
  width: 500px;
  transition: all 5s ease;

}
.r:hover {
  filter: contrast(200%);
}
#ft {
  float: left;
  margin-left: 25px;
  margin-top: 15px;
  width: 50%;

}
.foto {
  margin-left: 25px;
  width: 500px;
   transition: all 5s ease;
}
.foto:hover {
  filter: grayscale(100%);
}
.pl{
    margin-left: 25px;
   width: 500px;
   transition: all 5s ease;
}
.pl:hover {
   filter: blur(5px);
}

.foto {
  animation: 5s forwards;
  animation-name: slidein;
}

@keyframes slidein {
  from {
    margin-left: 100%;
    width: 300%; 
  }

  to {
    margin-left: 15%;
    width: 70%;

  }
}


@media screen and (max-width: 1200px) { 
body {
  width: 70%;
}


#wrap { 
width: 100%; 
} 
#menu{ 
float:none; 
font-size: 18px; 
padding:0px; 
margin: 0px; 
height:auto; 
width:100%; 
} 
.list_menu li { 
margin-right: 20px; 
width: 140px; 
float: left; 
} 

#content { 
width: 35%;
margin-left: 0px; 
clear:both; 
padding-top: 0px; 
} 
#rt {
  width: 35%;
}
blockquote{
  width: 300px;
}
}
 @media screen and (max-width: 768px) { 
body {
  width: 40%;
}


#wrap { 
width: 100%; 
} 
#menu{ 
float:none; 
font-size: 18px; 
padding:0px; 
margin: 0px; 
height:auto; 
width:100%; 
} 
.list_menu li { 
margin-right: 20px; 
width: 140px; 
float: left; 
} 

#content { 
width: 35%;
margin-left: 0px; 
clear:both; 
padding-top: 0px; 
} 
#rt {
  width: 35%;
}
blockquote{
  width: 300px;
}}