@import url("https://netdna.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css");
@font-face {

font-family: SSD; /* Имя шрифта */

src: url(/fonts/2098.ttf); /* Путь к файлу со шрифтом */

}
.parallax {
    background-image: url(../img/back.jpg);
    height: 500px;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    color: #ffffff;
    font-size: 60px;
    align-items: center;
    position: relative;
        position: fixed;
        background-size: cover;
    top: 0;
    left: 0;
    min-width: 100%;
    z-index: -1;
    min-height: 100%;
}
.parallax .mask {
    position: absolute;
    width: 100%;
    height: 100%;
     z-index: -1;
    background: rgba(0,0,0,.3);
    z-index: 2;
}
.parallax h1 {
    z-index: 3;
}

body {
  display: none;
	margin: 0;
	padding:0;
	box-sizing: border-box;
  font-family: 'Rubik', sans-serif;
  color: black;
  background-color:white;
  /*letter-spacing: 1.4px;*/
}
.top_header {
	box-sizing: border-box;
	width: 75%;
	padding: 1%;
	margin:0 auto;
  border-radius:0px 0px 4px 4px;
	background: rgba(255,255,255,1);
	display: flex; 
	align-items: center;
}
.top_header .big_title {
  text-align: center;
    font-family: SSD;
    font-size:50px;
}
.top_header a {
  margin: 0 auto;
}
.main_logo {
	display: flex;
	align-items: center; 
	margin: 0 auto;
    color: black;
  text-decoration: none;
	flex-direction: column;
	justify-content: center;
}
.main_logo hr {
    height: 2px;
    width: 100%;
    color: #340A57;
    background-color: #340A57;
}
.social {
	position: absolute;
	left: 15%;
}
.social a  {
	width: 2%;
}.social img  {
	width: 30px;
	border-radius: 25%;
}
.social a:hover img {
  transition: 0.3s;
  transform: scale(1.1);
  opacity: 0.6;
}
.bottom_header {
	width: 75%;
	margin: 0 auto;
  border-radius:0px 0px 4px 4px;
	background-color: rgba(255,255,255,1);
}
.bottom_header .navigation {
	padding: 20px 0;
	display: flex;
  margin: 0;
    margin-bottom: 20px;
    justify-content: space-around;
    align-items: center;
    font-size: 20px;
    color: black;
    list-style: none;
}
.bottom_header i {
  margin-right: 6px;
}
.bottom_header .navigation img {
	width: 10%;
}
.bottom_header li {
  padding-top: 6px;
}
.big_title {
	font-size:30px;
}
.little_title {
	font-size:20px;
}
.search {
	width: 10%;
}
.main_content {
  border-radius: 4px;
	background: rgba(255,255,255,1);
	width: 75%;
  box-sizing: border-box;
	padding: 6px 6px;
	margin:0 auto;
}
.mini_about_me {
	margin:0 auto;
  margin-bottom: 40px;
	padding-top: 20px;
	width: 80%;
	color: black;
}
.mini_about_me img {
	float: left;
	width: 250px;
	margin-right: 20px;
	margin-bottom: 20px;
}
/*Footer*/
.footer {
  margin:0 auto;
  margin-top: 10px;
  width: 75%;
  display: flex;
  background:rgba(255,255,255,1);
  color: black!important;
  border-radius: 4px;
  padding: 10px 0;
  text-decoration: none;
  align-items: center;
  justify-content: space-around;
}
.footer .left ul {
  padding:0;
  color: black;
  line-height: 1.5;
  list-style: none;
  display: flex;
  justify-content: flex-start;
  text-align: left;
  flex-direction: column;
}
.footer ul a {
  color: black;
  text-decoration: none;
      width: fit-content;
}
.footer ul a li {
  color: black;
  text-decoration: none;
}
/*Эффект подчеркивания ссылок навигации*/
.link-hover-center  {
    display: inline-block;
    color: black;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    position: relative;
}
.link-hover-center :after {
    display: block;
    content: "";
    background-color:#340A57;
    height: 4px;
    margin-top: 2px;
    width: 0%;
    left: 50%;
    position: absolute;
    -webkit-transition: width .3s ease-in-out;
    -moz--transition: width .3s ease-in-out;
    transition: width .3s ease-in-out;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    transform: translateX(-50%);
}
.link-hover-center :hover:after,
.link-hover-center :focus:after {
    width: 110%;
}
/*My_Paintings*/
.rounded li {
  margin: 10px 23px;
          cursor:pointer;
      }
      .rounded {
        display: flex;
        align-items: center;
        justify-content: center;
counter-reset: li; 
flex-wrap: wrap;
list-style: none; 
font-size: 16px;
width:fit-content;
padding: 10px;
text-shadow: 0 1px 0 rgba(255,255,255,.5);
}
.rounded p {
position: relative;
display: block;
padding: .4em .4em .4em 2em;
margin: .5em 0;
background: #F6F6f6;
color: #444;
text-decoration: none;
border-radius: .3em;
transition: .3s ease-out;
}
.rounded p:hover {background: #E9E4E0;}
.rounded p:hover i {transform: rotate(360deg);}
.rounded p i {
position: absolute;
left: -1.3em;
top: 50%;
margin-top: -1.3em;
background: #340A57;
color: white;
height: 2em;
width: 2em;
line-height: 2em;
border: .3em solid white;
text-align: center;
border-radius: 2em;
transition: all .3s ease-out;
}
.paintings {
      max-width: 1500px;
    margin: 0 auto;
  text-align: center;
  align-items: center;
  flex-direction: column;
}
.paintings div {
  display: inline-block;   
  margin: 0 7px 15px;
}
.block_img {
width: fit-content;
background: none;
  transition: 0.2s;
}
.block_img:hover {

  transform:scale(1.05);
}
.block_img img {
  height: 200px;
  width: auto;
}
.pimg {
  height:178px;
}
a {
  text-decoration: none;
}
/*arrow_scroll*/
  #button-up{
        display: none;
        position: fixed;
        right: 20px;
        bottom: 100px;      
        color: ;
        z-index: 9999;
        border-radius: 2em;
        background-color: #340A57;
        text-align: center;
        font-size: 16px;
        padding: 13px 16px;
        transition: .3s;
      }
       
      #button-up:hover{
        cursor: pointer;
        background-color: purple;
        transition: .3s;
      }
/*Burger_menu*/
#nav {
  display: none;
    font-family: 'OpenSans', sans-serif;
  margin: 5px 0;
  list-style-type: none;
  padding-left: 0;
}

#nav>.nav_submenu>a>li{
  background:#6819a9b3;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
#nav>.nav_submenu>a>li>img {
  margin-right: 10px;
}
.nav_submenu {
   width: 97%;
  margin:  0 auto;
  list-style-type: none;
  padding-left: 0;
}
#nav li {
     box-shadow: 0 0 5px rgba(0,0,0,0.5);
    border: 1px solid white;
    box-sizing: border-box;
    display: flex;
    background: #340a57e8;
    border-radius: 10px;
    box-sizing: border-box;
    justify-content: space-between;
    align-items: center;
    float: none;
    text-align: left;
    text-decoration: none;
    width: 90%;
    /* margin: 0 auto; */
    /* margin: 0; */
    -webkit-transition: linear 1s;
    transition: linear 1s;
    text-decoration: none;
    color: white;
    padding: 10px;
    border-bottom: 1px solid white;
    margin: 0 auto;
    -webkit-transition: linear 1s;
    transition: linear 1s;
}
#nav img{
  width: 20px;
}
#nav a {
  color: white;
  text-decoration: none;  
}
#nav li  {
}
#nav i {
  margin-right: 6px;
}
#contain {
    display: none;
    cursor: pointer;
    margin: 10px;
    right: 10px;
        padding: 5px;
    border-radius: 6px;
    border:2px solid #340A57;
    top: 0px;
}
.bar1, .bar2, .bar3 {
    width: 35px;
    height: 5px;
    border-radius: 1em;
    background-color: #340A57;
    margin: 6px 0;
    transition: 0.2s;
}
.bar1{
  margin-top: 0;
}
.bar3{
  margin-bottom: 0;
}
.change .bar1 {
    -webkit-transform: rotate(-45deg) translate(-9px, 6px) ;
    transform: rotate(-45deg) translate(-9px, 6px) ;
}

.change .bar2 {opacity: 0;}

.change .bar3 {
    -webkit-transform: rotate(45deg) translate(-8px, -8px) ;
    transform: rotate(45deg) translate(-8px, -8px) ;
}

.hover .bar1 {
  background-color: red;
}

.hover .bar2 {
  background-color: red;
}

.hover .bar3 {
  background-color: red;
}
.slick-prev:before {
  color: black!important;
}
.slick-next:before {
  color: black!important;
}
.slick-slide {
  outline: none!important;
}
.slick-active {
  outline: none!important;
} 
  .slick-prev {
   display: flex!important;
   align-items: center!important;
      left: 0px!important;
      color: black!important;
     z-index: 1;
  }
  .slick-next {
       display: flex!important;
   align-items: center!important;
      right:10px!important;
     z-index: 1;
  }
    .slick-prev:hover{
    transition: 0.3s;
    margin-top: -10px;
    margin-right: 1px;
    transform: scale(1.1)!important;
  }
  .slick-next:hover{
    transition: 0.3s;
    margin-top: -10px;
    margin-right: 1px;
    transform: scale(1.1)!important;
  }

.fa-chevron-up {
  color: white;
}
    /*Медиа запросы*/
    @media (max-width:1200px) {
  .footer {
    width: 90%;
  }
  .top_header {
    width: 90%;
  }
  .bottom_header {
    width: 90%;
  }
  .main_content {
    width: 90%;
  }
}
@media (max-width: 850px) {
	.social {
		position: inherit
	}
  .litle_title {
  	font-size: 13px;
  }
  .social img {
  	width: 31 px;
  }
  .top_header {
  	flex-direction:column;
    width: 98%;
  }
  .footer {
    width:98%!important;
    font-size: 10px;
  }
  #nav.open {
    width: 98%;
  }
  .main_content {
    width: 98%;
  }
  .search{
  	width:fit-content;
  }
  .bottom_header {
  	display: none;
  }
  .slider__item div {
  	background-size: cover;
  }
  .mini_about_me img {
  	width: 40%;
  }
  #contain {
    display: block;
    margin: 20px auto;
    width: fit-content;
  }
}
/*Media*/
@media screen and (max-width: 500px) {
  .footer{
    text-align: center;
  }
    .footer ul a {
    width: 100%;
    text-align: center;
    padding: 5px 0;
  }
  .footer {
    flex-direction: column;
    justify-content: center;
  } 
  .footer ul li {
    text-align: center;
  }
}
@media (max-width: 800px) {
  .footer {
    width: 95%;
  }
}