@import url(https://fonts.googleapis.com/css?family=Montserrat);
.container {
    position:relative;
    display: grid;
    grid-gap: 5px;    
    grid-template-columns:  1fr;
    grid-template-rows: 60px 0px 0px 430px 20px 90px;
    grid-template-areas:
        "h"
        "fb "
        "sb "
        "c "
        "fa "
        "bat "
        ;
}
  h2{
    margin: 10px;
       font-size: 40px;
    font-family: 'Kelson Sans', 'cursive';
    color: white;
}
h1 {
    padding-left: 5%;
    margin-top: 2%;
    font-family: 'Kelson Sans', 'cursive';
    font-size: 25px;
    color: #eee;
}


.b-popup{
    margin: 0 0 0 78%;
    width:400px;
    height:520px;
    overflow:hidden;
    position:fixed;
    top: 80px;
    right: 0px;
    z-index: 5;
    font-family: 'Kelson Sans', cursive;
}
.b-popup .b-popup-content{
    width:350px; 
    height: 500px;
    padding:10px;
    background:  #404040;
    border-radius:5px;
    font-family: 'Kelson Sans', cursive;
   
}

.b-popup-content a {
    color: #fff;
    margin-left: 250px;
    padding: 10px;
    text-decoration: none;
    font-size: 20px; 
    border-radius: 4px;
    font-family: 'Kelson Sans', 'cursive';
    overflow: hidden;
    background: #ff7300;

}
.b-popup-content li {
    padding-left: 40px;
    color: #fff;
}.b-popup-content ul {
    padding: 0;
}
.b-popup-content h3 {
    text-align: center;
    background: #275ec3;
    color: #fff;
    margin-bottom: 10px;
    font-size: 24px;
}

.hidden-menu {
        display: none;
    }
header > div {
    width: 500px;
    display: flex;
    align-items: center;
 
}
.slid{
    grid-area: c;
  overflow: hidden;
}
.slider{

    width: 95%;
    margin-top: 10px;
    margin-left: 40px;
    height: 410px;

}

/* грид в с картинками улугами */


    .slick-slide {
      margin: 0px 20px;
 
    }

    .slick-slide img {
        width: 100%;
        height: 410px;
        object-fit: cover;
        border: 1px solid #617894;
        border-radius: 10px;
        box-shadow:5px 5px 5px #2B1015;
        position: relative;
        cursor: pointer;
    }

    .slick-prev:before,
    .slick-next:before {
      color: black;
    }


    .slick-slide {
      transition: all ease-in-out .3s;
      opacity: 1;
    }
    
    .slick-active {
      opacity: 1;
    }

    .slick-current {
      opacity: 1;
    }    

    .slick-active:hover{
      opacity: .5;
    }

    .slick-current:hover {
      opacity: .5;
    }


.lotitle {
    position: absolute;
    top: 15px;
    margin-left: 15px;
    font-family: 'Kelson Sans', 'cursive';
    font-size: 40px;
    font-weight: bold;
    text-decoration: none;
    color: white;
    opacity: 1;
    transition: opacity .5s; 
    cursor: pointer;
}


/* под разные разрешения экрана */

@media screen and (max-width: 1440px){
    .container {
     grid-template-columns:  1fr;
    grid-template-rows: 60px 0px 0px 360px 10px 90px  ;
        grid-template-areas:
        "h"
        "fb "
        "sb "
        "c "
        "fa "
        "bat "
        ;
    }
      h2{
     margin: 10px;
       font-size: 40px;
    font-family: 'Kelson Sans', 'cursive';
    color: white;
}
   
    
    
.slider{
margin-top: 10px;
    margin-left: 35px;
    height: 340px;

}
.slick-slide img {
height: 340px;
 }
.lotitle {
font-size: 32px;
margin-left: 10px;
}
  .slick-slide {
      margin: 0px 15px;
 
    }
}
@media screen and (max-width: 1366px){
    .container {
     grid-template-columns:  1fr;
    grid-template-rows: 60px 0px 0px 300px 10px 90px ;
        grid-template-areas:
        "h"
        "fb "
        "sb "
        "c "
        "fa "
        "bat "
        ;
    }
      h2{
    margin:10px;
    font-size: 36px;
    font-family: 'Kelson Sans', 'cursive';
    color: white;
}

 .b-popup{
    width:380px;
    height:500px;
}
.b-popup .b-popup-content{
    width:330px; 
    height: 480px;
   
}

.b-popup-content a {
    margin-left: 200px;
}

.b-popup-content h3 {
    font-size: 24px;
}
    
    .slider{
margin-top: 10px;
    margin-left: 35px;
    height: 280px;

}
.slick-slide img {
height: 280px;
 }
.lotitle {
font-size: 30px;
margin-left: 10px;
}
      .slick-slide {
      margin: 0px 10px;
 
    }
}
@media screen and (max-width: 1200px) {
    .container {
     grid-template-columns:  1fr;
    grid-template-rows: 55px 0px 0px 250px 5px 120px ;
        grid-template-areas:
        "h"
        "fb "
        "sb "
        "c "
        "fa "
        "bat "
        ;
    }
    h2{
    margin:10px;
    font-size: 30px;
    font-family: 'Kelson Sans', 'cursive';
    color: white;
}
   header > div {
       width: 500px;}
    
    .b-popup{
    width:350px;
    height:530px;
}
.b-popup .b-popup-content{
    width:300px; 
    height: 510px;
   
}

.b-popup-content a {
    margin-left: 200px;
}

.b-popup-content h3 {
    font-size: 22px;
}
    
    .buttonavto > img {

    max-width:50px;    
}  

.buttonavt > img {

   max-width:50px; 
} 
    
    header nav {
        display: none;
    }

.btn-menu {
    color: #fff;
    border:1px solid #fff;
    position:relative;
    margin: 5px;
    padding:5px;
    cursor: pointer;
    transition: left .23s;
    z-index: 3;
    width: 30px;
    height: 25px;
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}
 
.btn-menu span {
    display: block;
    height: 5px;
    background-color: #fff;
    margin: 5px 0 0;
    transition: all .1s linear .23s;
    position: relative;
}
 
.btn-menu span.first {
    margin-top: 0;
}
.hidden-menu {
    display: block;
    position:relative;
    list-style:none;
    margin: 0;
    width: 100%;
    background: #212121;
    height: 450px;
    left: -100%;
    transition: left .2s;
    z-index: 2;
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
}
 
.hidden-menu li {
    text-align: center;
    padding:14px ;
}
    
.hidden-menu-ticker:checked ~ .btn-menu {
    left: 0;
}
.hidden-menu-ticker:checked ~ .hidden-menu {
    left: 0;
}
.hidden-menu-ticker:checked ~ .btn-menu span.first {
    -webkit-transform: rotate(45deg);
    top: 10px;
}
.hidden-menu-ticker:checked ~ .btn-menu span.second {
    opacity: 0;
}
.hidden-menu-ticker:checked ~ .btn-menu span.third {
    -webkit-transform: rotate(-45deg);
    top: -10px;
}
    
    .slider{   
        width: 100%;
        margin-top: 5px;
        height: 230px;
        margin-left: 0px;  

}
.slick-slide img {
height: 230px;
 }
.lotitle {
font-size: 30px;
margin-left: 5px;
}
}
@media screen and (max-width: 800px) {
    .container {
     grid-template-columns:  1fr;
    grid-template-rows: 55px 0px 0px 180px 5px 120px ;
        grid-template-areas:
        "h"
        "fb "
        "sb "
        "c "
        "fa "
        "bat "
        ;
    }

    
h2{
    margin:10px;
    font-size: 30px;
    font-family: 'Kelson Sans', 'cursive';
    color: white;
}
    .buttonavto > img {

    max-width:50px;    
}  

.buttonavt > img {

   max-width:50px; 
} 
    
    .slider{   
        width: 100%;
        margin-top: 5px;
        height: 160px;
        margin-left: 0px;   
}
.slick-slide img {
height: 160px;
 }
.lotitle {
    top: 10px;
    font-size: 22px;
    margin-left: 10px;
}
     .slick-slide {
    margin: 0px 5px;
    }
}
@media screen and (max-width: 600px) {
    .container {
     grid-template-columns:  1fr;
    grid-template-rows: 55px 0px 0px 130px 5px 80px ;
        grid-template-areas:
        "h"
        "fb "
        "sb "
        "c "
        "fa "
        "bat "
        ;
    }
    h2{
    margin:0;
    font-size: 20px;
    font-family: 'Kelson Sans', 'cursive';
    color: white;
}
   h1 {
font-size: 20px;
}  
    .b-popup{
    width:300px;
    height:500px;
}
.b-popup .b-popup-content{
    width:250px; 
    height: 480px;
   
}
header > div {
    width: 265px;
    display: flex;
    align-items: center;
}
.b-popup-content a {
    margin-left: 150px;
}

.b-popup-content h3 {
    font-size: 20px;
}
  
.b-popup-content li {
    padding-left: 10px;
    }    
    
    .buttonavto > img {
    max-width:40px;    
}  

.buttonavt > img {
   max-width:40px; 
} 
   header nav {
        display: none;
    }
.slider{
    width: 100%;
margin-top: 5px;
    margin-left: 0px;
    height: 120px;
}
.slick-slide img {
height: 120px;
 }
.lotitle {
    top:5px;
font-size: 18px;
margin-left: 5px;
}
    .slick-slide {
margin: 0px 3px;
    }
}
@media screen and (max-width: 400px) {
    .container {
     grid-template-columns:  1fr;
    grid-template-rows: 55px 0px 0px 110px 5px 60px ;
        grid-template-areas:
        "h"
        "fb "
        "sb "
        "c "
        "fa "
        "bat "
        ;
    }
    h2{
    margin:0;
    font-size: 18px;
    font-family: 'Kelson Sans', 'cursive';
    color: white;
}
    
        .b-popup{
    width:220px;
    height:450px;
}
.b-popup .b-popup-content{
    width:170px; 
    height: 430px;
}

.b-popup-content a {
    margin-left: 100px;
    font-size: 14px;
    
}

.b-popup-content h3 {
    font-size: 18px;
}
  
.b-popup-content li {
    padding-left: 10px;
    font-size: 14px;
    } 
    
    .buttonavto > img {
    max-width:25px;    
}  

.buttonavt > img {
   max-width: 25px; 
} 
   header nav {
        display: none;
    }
    header > div {
    width: 265px;
    display: flex;
    align-items: center;
}

.slider{
    width: 100%;
margin-top: 5px;
    margin-left: 0px;
    height: 100px;
}
.slick-slide img {
height: 100px;
 }
.lotitle {
 top:5px;
font-size: 14px;
margin-left: 5px;
}
    .slick-slide {
margin: 0px 3px;
    }
}

@media (hover: none) { 

}

.container > div > img {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
    object-position: center;
}  
.hidden-menu-ticker {
    display: none;
}
header{
    z-index: 5;
    width: 100%;
    grid-area: h;
    position: sticky;
    top:0;
    clear:both;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    /*background: linear-gradient(-80deg, #ced0d5,#404040);
    background-color: #ced0d5;*/
    background-color: #212121 ;
    box-shadow: 0 0 10px -1px rgba(0,0,0,0.6)
}




header a {
    color: #eee;
    padding: 10px;
    text-decoration: none;
    font-size: 20px; 
    border-radius: 4px;
    font-family: 'Kelson Sans', 'cursive';
    overflow: hidden;
    
}

header a img {
   vertical-align: bottom;
}

.hhh:hover {
    background-color: #275ec3;
    color: #fff;
}

header a.active {
    background-color: #333333;
}

nav {
  display: flex;
  align-items: center;
  }
 


.firstbutton {
    grid-area: fb;
    box-shadow: 0 0 2px 4px rgba(0, 0, 0, 0.2); 
    
}

.secondbutton  {
    grid-area: sb;
    box-shadow: 0 0 2px 4px rgba(0, 0, 0, 0.2); 
}

.firstbutton:hover  {
    color:red;
    box-shadow: 0 0 5px -1px rgba(0,0,0,0.6);
    padding-left: 40px;
    
}

.secondbutton:hover  {
    color:red;
    box-shadow: 0 0 5px -1px rgba(0,0,0,0.6);
    padding-left: 40px;
}


.footerav {
   grid-area: fa;
}
.map {
    grid-area: map;
    border: 5px solid black;
    box-shadow: 0 0 10px -1px rgba(0,0,0,0.6)
}

.footer{
    position:relative;
    display: grid;
    grid-gap: 5px;    
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-template-rows: repeat(1, 300px);
}

body {
    /*background: linear-gradient(-105deg, #404040,#ced0d5);
    background-color: #ced0d5;*/
    background-color:white;
    background-size: auto, cover;   
    background-position: top left, center center;
    background-repeat: repeat, no-repeat;
    margin:0 auto;
}
.avt-to{
    
    width: auto;
    height: 350px;
    text-align: center;
 
}

.button-avt-to{
   grid-area: bat; 
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    
    
}
.buttonavt {
    background-color: #333333;
    box-shadow: 0 0 5px -1px rgba(0,0,0,0.6);
    text-decoration:none;
    text-align:center;
    display: block;
    background-image: linear-gradient(to left,transparent,transparent 35%,#ff7300  50%,#ff7300);
    background-position: 100% 0;
    background-size: 200% 100%;
    transition: all .25s ease-in;
    border: 1px solid #ced0d5;
    object-fit: scale-down;
    object-position: center;
    width: 49%;
    height: 90%
    
}

.buttonavt:hover {
    background-position: 0 0;
    color:#fff;
}

.buttonavto {
    background-color: #275ec3;
    box-shadow: 0 0 5px -1px rgba(0,0,0,0.6);
    text-decoration:none;
    text-align:center;
    display: block;
    background-image: linear-gradient(to left,transparent,transparent 35%,#ff7300 50%,#ff7300);
    background-position: 100% 0;
    background-size: 200% 100%;
    transition: all .25s ease-in;
    border: 1px solid #ced0d5;
    object-fit: scale-down;
    object-position: center;
    width: 49%;
    height: 90%;
}

.buttonavto:hover {
background-position: 0 0;
color:#fff;
}

.buttonavto > img {
    width: 70px;
    margin-right: 5px;
    object-fit: scale-down;
    object-position: center;
    float:left;
    margin-left: 5%;  
}  

.buttonavt > img {
    width:60px;
    margin-right: 5%;
    object-fit: scale-down;
    object-position: center;
    float:left;
    margin-left: 5%;  
    
}

.copyright{
       margin-top: 30px;
    margin-bottom: 20px;
    text-align: center;
        font-size:20px;
    font-family: 'Kelson Sans', 'cursive';
    color: #212121;
    
}

h4{
    font-size:20px;
    font-family: 'Kelson Sans', 'cursive';
    color: #212121;
}

h6{
    grid-area: fh;
    height: 70px;
    border: 5px solid #333333;
    background-color: #333333;
    margin-right: 5px;
    margin-left: 5px;
    margin-top: 10px;
    margin-bottom: 0;
    font-size: 30px;
    font-family: 'Kelson Sans', 'cursive';
    color: white;
}

li{
    grid-area: fh;
    font-family: 'Kelson Sans', 'cursive';
    font-size: 20px;
    list-style-type: none;
    text-align: start;
}

p{
text-align: center;
}


.scrollup{
width:40px;
height:40px;
opacity:0.3;
position:fixed;
bottom:50px;
right:50px;
display:none;
text-indent:-9999px;
background: url('../images/icons/icon_top.png') no-repeat;
}
svg {
    display: block;
    font: 10.5em 'Montserrat';
    margin: 0 auto;
}

.text-copy {
    fill: none;
    stroke: white;
    stroke-dasharray: 6% 29%;
    stroke-width: 5px;
    stroke-dashoffset: 0%;
    animation: stroke-offset 5.5s infinite linear;
}

.text-copy:nth-child(1){
	stroke: #4D163D;
	animation-delay: -1;
}

.text-copy:nth-child(2){
	stroke: #840037;
	animation-delay: -2s;
}

.text-copy:nth-child(3){
	stroke: #BD0034;
	animation-delay: -3s;
}

.text-copy:nth-child(4){
	stroke: #BD0034;
	animation-delay: -4s;
}

.text-copy:nth-child(5){
	stroke: #FDB731;
	animation-delay: -5s;
}

@keyframes stroke-offset{
	100% {stroke-dashoffset: -35%;}
}

@keyframes move {
  from {
    left: -400px;
    animation-timing-function: ease-out;
  }
  to {
    left: 0;
  }
}


@font-face {
    font-family: Kelson Sans; 
    src: url('../fonts/Kelson Sans Regular RU.otf');
   }