@font-face{
	font-family: 'CharlemagneC';
	font-style: normal;
	src: url('../fonts/15352.ttf') format("truetype");
}

@font-face {
    font-family: 'DS-CenturyCapitals';
    src:url('../fonts/DS-CenturyCapitals.ttf.woff') format('woff'),
        url('../fonts/dscentury.ttf') format('ttf');
    font-weight: normal;
    font-style: normal;
}

*, *:after, *:before {
   box-sizing: border-box;
   padding: 0;
   margin: 0;
   transition: .3s ease-in-out;
   font-weight: 400;
}
ul {
   list-style: none;
}
a {
   text-decoration: none;
   outline: none;
}
img {
   display: block;
   width: 100%;
}
body {
   font-family: 'charlemagnec';
   font-size: 14px;
   line-height: 1;
   color: black;
   background: black;
   height: calc(100vh - 200px);
}
body::before{
   background: url(../img/background.jpg) no-repeat center;
   background-size: cover;
   content: ' ';
   height: 100%;
   width: 100%;
   left: 0;
   position: fixed;
   top: 0;
   will-change: transform;
   z-index: -1;
}
#mainInfo{
   position: relative;
   min-height: 100%;
}

/* добавим очистку потока для всех контейнеров, внутри которых задано обтекание дочерних элементов */

header:after, .container:after, footer:after, .widget-posts-list li:after, #subscribe:after {
   content: "";
   display: table;
   clear: both;
}
.container {
   margin: 0 auto;
   width: 100%;
   max-width: 1170px;
   padding: 0 15px;
}
header .container{
   max-width: 1300px;
}
header {
   width: 100%;
   background: linear-gradient(#272727, #202423);
   padding: 15px 0;
   margin-bottom: 30px;
   position: relative;

   -webkit-box-shadow: 0px 0px 10px rgba(0,0,0,.8);
   -moz-box-shadow: 0px 0px 10px rgba(0,0,0,.8);
   -ms-box-shadow: 0px 0px 10px rgba(0,0,0,.8);
   -o-box-shadow: 0px 0px 10px rgba(0,0,0,.8);
   box-shadow: 0px 0px 10px rgba(0,0,0,.8);
}

/* ----------меню---------- */

ul{
   text-align: center;
   background: linear-gradient(#272727, #202423);
}

#menu li {
   display: inline-block;
   margin-right: 30px;
}
#menu a {
   font-family: 'charlemagnec';
   font-size: 20px;
   color: gray;
   text-decoration: none;
   display: inline-block;
   vertical-align: top;
   padding: 6px 5px;
   border-radius: 5px;
}
#menu a:hover {
   text-decoration: underline
}
#menu li:last-child {
   margin-right: 0;
}

/* кнопка переключения меню, появляющаяся при ширине 768px */

.logo{
   display: none;
   float: left;
}
.logo span {
   font-size: 25px;
   display: inline-block;
   width: 30px;
   height: 30px;
   line-height: 30px;
   border-radius: 50%;
   margin: 5px 0;
   text-align: center;
}
.logo span:nth-child(1) {
   background: white;
   color: black;
}
.logo span:nth-child(2) {
   color: white;
}
.nav-toggle {
   display: none;
   position: relative;
   float: right;
   width: 40px;
   height: 40px;
   margin-left: 20px;
   background: white;
   cursor: pointer;
   border-radius: 5px;
}
.nav-toggle span {
   display: block;
   position: absolute;
   top: 19px;
   left: 8px;
   right: 8px;
   height: 2px;
   background: black;
}
.nav-toggle span:before, .nav-toggle span:after {
   content: "";
   position: absolute;
   display: block;
   left: 0;
   width: 100%;
   height: 2px;
   background: black;
} 
.nav-toggle span:before {
   top: -10px;
}
.nav-toggle span:after {
   bottom: -10px;
}

/* класс, который будет добавлен в верхнему меню при нажатии на кнопку и покажет скрытое меню*/
#menu.active {
   max-height: 180px;
}

li .active{
   background: white;
}

/* ---------- Каталог ---------- */

.post {
   margin-bottom: 30px;
   width: 100%;
   /*display: block;*/
}
#image{
   display: none;
}
#title-image{
   position: absolute;
   font-family: 'DS-CenturyCapitals';
   color: white;
   letter-spacing: 2.9px;
   line-height: 20px;
}
.post-image{
   display: none;
   background: url('../img/4-Example/Обводка_слайдера.png') no-repeat center;
   background-size: contain;
   width: 100%;
   height: 100%;
}
.title-catalog{
   position: relative;
   padding: 25px 0 25px 0;
}
.title-catalog h2{
   position: absolute;
   font-family: 'DS-CenturyCapitals';
   font-size: 50px;
   color: white;
   letter-spacing: 2.9px;
   line-height: 55px;
   top: 25%;
   left: 36.5%;
}
.catalog{
   position: relative;
   margin-top: 25px;
   display: flex;
   flex-wrap: wrap;
   justify-content: space-between;
   max-width: 100%;
}
.block-cataloga{
   position: relative;
   max-width: 100%;
   margin: 25px 20px 25px 20px;
   text-align: center;
   cursor: pointer;
}
.block-cataloga a{
   position: absolute;
   font-family: 'DS-CenturyCapitals';
   font-size: 22px;
   color: white;
   text-decoration: none;
   top: 83%;
}
.a1{
   left: 18%;
}
.a2{
   left: 8%;
}
.a3{
   left: 12%;
}
.a4{
   left: 28%;
}
.a5{
   left: 20%;
}
.a6{
   left: 0;
}
.a7{
   left: 0;
}
.a8{
   left: 19%;
}
.a9{
   left: 0;
}

/* ---------- Слайдер ---------- */

.slider-for .slick-arrow{
   position: absolute;
   top: 7%;
   width: 46%;
   height: 91%;
   background: rgba(255, 255, 255, .0);
   border: none;
   font-size: 0;
   z-index: 1;
   outline: none;
   cursor: pointer;
}
.slider-for .slick-arrow:hover{
   background: rgba(100, 100, 100, .4);
}
.slider-for{
   width: 85%;
   height: 95%;
   margin: 0px auto 1px;
   padding: 3% 0 1% 0;
   overflow: hidden;
   top: 0;
}

.slider-for img{
   width: 95%;
   height: 95%;
   padding-top: 1%;
   position: cover;
}

.slider-nav{
   width: 80%;
   height: 70%;
   margin: auto;
   padding: 1% 0 4% 0;
}

.slider-nav img{
   width: 95%;
   height: 95%;
}

.slider-nav .slick-track{
   width: 95%;
   height: 70%;
}
.slick-prev{
   left: 2.5%;
}
.slick-next{
   right: 2.5%;
}
.close{
   display: none;
   font-size: 20px;
   border: 1px solid white;
   border-radius: 5px;
   padding: 5px;
   padding-top: 2px;
   padding-bottom: 2px;
   color: white;
   cursor: pointer;
   text-decoration: none;
}

/* ---------- Rotate ---------- */

.rotate{
   display: none;
   position: absolute;
   width: 100%;
   height: 100vh;
   top: 0;
   align-items: center;
}
.rotate img{
   width: 40%;
   margin-left: auto;
   margin-right: auto;
}

/* ---------- Футер ---------- */

footer {
   padding: 20px 0;
   background: linear-gradient(#272727, #202423);
   margin-top: 50px;

   -webkit-box-shadow: 0px 0px 10px rgba(0,0,0,.8);
   -moz-box-shadow: 0px 0px 10px rgba(0,0,0,.8);
   -ms-box-shadow: 0px 0px 10px rgba(0,0,0,.8);
   -o-box-shadow: 0px 0px 10px rgba(0,0,0,.8);
   box-shadow: 0px 0px 10px rgba(0,0,0,.8);
}
.footer-col{
   width: 100%;
   max-width: 1170px;
   margin: 0 auto;
   padding: 0 15px;
}
.footer-col a {
   font-family: 'Open Sans';
   font-size: 18px;
   color: gray;
}
.footer-col:last-child {
   text-align: center;
}
.copy{
   float: center;
}
.kek{
   display: inline;
}
.vk img{
   display: inline;
   float: right;
   margin-left: 2%;
   width: 30px;
   height: 30px;
}
.inst img{
   display: inline;
   float: right;
   margin-left: 2%;
   width: 30px;
   height: 30px;
}
.tg img{
   display: inline;
   float: right;
   width: 30px;
   height: 30px;
}

/*Laptop*/
@media screen and (max-width: 1024px) {
   .title-catalog h2{
      left: 35%;
   }
}
/*Tablet*/
@media screen and (max-width: 768px) {
   .logo {
      display: block;
   }
   .post-image{
      top: 100px;
   }
   .nav-toggle {
      display: block;
   }
   header {
      padding: 10px 0;
   }
   /* скрываем верхнее меню, отменяем обтекание, позиционируем его, сместив на высоту шапки сайта */
   #menu {
      max-height: 0;
      float: none;
      position: absolute;
      overflow: hidden;
      top: 63px;
      right: 0;
      left: 0;
      margin: 0;
      padding: 0;
      z-index: 3;
   }
   /* делаем элементы списка блочными, чтобы они располагались друг под другом */
   #menu li {
      display: block;
      text-align: center;
      border-bottom: 1px solid #EBEBE3;
      margin-right: 0;
   }
   .title-catalog h2{
      font-size: 36px;
   }
   .block-cataloga{
      margin: 25px 45px 25px 45px;
   }
   .copy{
      float: left;
   }
}
/*Mobile L iPhone 12 Pro Max*/
@media screen and (max-width: 428px) {
   body{
      height: calc(100vh - 195px);
   }
   .close{
      font-size: 10px;
   }
   .container center .post-image{
      margin-top: 15vh;
   }
   .title-catalog h2{
      font-size: 19px;
      top: 15%;
   }
   .block-cataloga{
      width: 40%;
      margin: 25px 10px 25px 10px;
   }
   .block-cataloga a{
      font-size: 13px;
   }
   .footer-col a{
      font-size: 10px;
   }
   footer{
      margin-top: 0;
   }
   .vk img{
   width: 20px;
   height: 20px;
   }
   .inst img{
      width: 20px;
      height: 20px;
   }
   .tg img{
      width: 20px;
      height: 20px;
   }
}
/*IphoneXR*/
@media (max-device-width: 414px) {
   html {
      -webkit-text-size-adjust: none;
   }
   .title-catalog h2{
      left: 34%;
   }
}
/*iPhone XR Rotate*/
/*@media screen and (max-width: 896px) {
   .title-catalog h2{
      font-size: 43px;
   }
   .block-cataloga{
      margin: 25px 0;
   }
}*/
/*Note 9t 2160x1080*/
@media only screen and (max-device-width: 393px) {
   .title-catalog h2{
      font-size: 18px;
   }
   .a1{
      left: 15%;
   }
   .a2{
      left: 4%;
   }
   .a3{
      left: 7%;
   }
   .a4{
      left: 25%;
   }
   .a5{
      left: 17%;
   }
   .a6{
      left: -4%;
   }
   .a7{
      left: -4%;
   }
}
/*One more note 9t*/
@media screen and (max-width: 393px) {
   .title-catalog h2{
      font-size: 18px;
   }
   .a1{
      left: 15%;
   }
   .a2{
      left: 4%;
   }
   .a3{
      left: 7%;
   }
   .a4{
      left: 25%;
   }
   .a5{
      left: 17%;
   }
   .a6{
      left: -4%;
   }
   .a7{
      left: -4%;
   }
}
/*Redmi 5 plus 2160x1080*/
@media (max-device-width: 393px) {
   .title-catalog h2{
      font-size: 18px;
   }
   .a1{
      left: 15%;
   }
   .a2{
      left: 4%;
   }
   .a3{
      left: 7%;
   }
   .a4{
      left: 25%;
   }
   .a5{
      left: 17%;
   }
   .a6{
      left: -4%;
   }
   .a7{
      left: -4%;
   }
}
/*Mobile M*/
@media screen and (max-width: 375px) {
   #menu a{
      font-size: 14px;
   }
   .container center .post-image{
      margin-top: 20vh;
   }
   .title-catalog h2{
      font-size: 16px;
      top: 12%;
   }
   .block-cataloga a{
      font-size: 11.5px;
   }
}
/*Mobile S*/
@media screen and (max-width: 320px) {
   #menu a{
   font-size: 10px;
   }
   .logo span{
      font-size: 15px;
   }
   .catalog{
      margin-top: 0;
   }
   .title-catalog h2{
      font-size: 13px;
      top: 10%;
   }
   .block-cataloga a{
      font-size: 9.5px;
   }
   .footer-col a{
      font-size: 10px;
   }
}

@media (max-width: 926px) and (orientation: landscape){
   #mainInfo{
      display: none;
   }
   .rotate{
      background: #111111;
      display: block;
   }
}