@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 540px 90px;
    grid-template-areas:
        "h"
        "fb "
        "sb "
        "c "
        "fa "
        ;
}
  h2{
      margin: 10px;
       font-size: 50px;
    font-family: 'Kelson Sans', 'cursive';
    color: white;
}
h1 {
    padding-left: 5%;
    margin-top: 2%;
    font-family: 'Kelson Sans', 'cursive';
    font-size: 25px;
    color: #eee;
}
.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: 250px;

}

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


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

    .slick-slide img {
        width: 100%;
        height: 250px;
        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: 32px;
    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 520px 90px ;
        grid-template-areas:
        "h"
        "fb "
        "sb "
        "c "
        "fa "
        ;
    }
      h2{
     margin: 10px;
       font-size: 40px;
    font-family: 'Kelson Sans', 'cursive';
    color: white;
}
   
.slider{
margin-top: 10px;
    margin-left: 35px;
    height: 240px;

}
.slick-slide img {
height: 240px;
 }
.lotitle {
font-size: 30px;
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 460px 90px  ;
        grid-template-areas:
        "h"
        "fb "
        "sb "
        "c "
        "fa "
        ;
    }
      h2{
    margin:10px;
    font-size: 36px;
    font-family: 'Kelson Sans', 'cursive';
    color: white;
}
    
    .slider{
margin-top: 10px;
    margin-left: 35px;
    height: 210px;

}
.slick-slide img {
height: 210px;
 }
.lotitle {
font-size: 28px;
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 440px 90px  ;
        grid-template-areas:
        "h"
        "fb "
        "sb "
        "c "
        "fa "
        ;
    }
    h2{
    margin:10px;
    font-size: 36px;
    font-family: 'Kelson Sans', 'cursive';
    color: white;
}
   
    .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: 210px;
        margin-left: 0px;  

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

    
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: 190px;
        margin-left: 0px;   
}
.slick-slide img {
height: 190px;
 }
.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 340px 90px  ;
        grid-template-areas:
        "h"
        "fb "
        "sb "
        "c "
        "fa "
        ;
    }
    h2{
    margin:0;
    font-size: 30px;
    font-family: 'Kelson Sans', 'cursive';
    color: white;
}
    .buttonavto > img {
    max-width:40px;    
}  
 h1 {
font-size: 20px;
}
.buttonavt > img {
   max-width:40px; 
} 
   header nav {
        display: none;
    }
     header > div {
    width: 265px;
    display: flex;
    align-items: center;
}
.slider{
    width: 100%;
margin-top: 5px;
    margin-left: 0px;
    height: 160px;
}
.slick-slide img {
height: 160px;
 }
.lotitle {
    top:5px;
font-size: 20px;
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 300px 70px  ;
        grid-template-areas:
        "h"
        "fb "
        "sb "
        "c "
        "fa "
        ;
    }
    h2{
    margin:0;
    font-size: 20px;
    font-family: 'Kelson Sans', 'cursive';
    color: white;
}
    .buttonavto > img {
    max-width:25px;    
}  

.buttonavt > img {
   max-width: 25px; 
} 
   header nav {
        display: none;
    }
   

.slider{
    width: 100%;
margin-top: 5px;
    margin-left: 0px;
    height: 140px;
}
.slick-slide img {
height: 140px;
 }
.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: #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;
}

header .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;
    text-align: center;
}



.footerav {
   grid-area: fa;
    padding-left: 2.5%;
    padding-right: 2.5%;
}
.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: 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: 100%;
    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:70px;
    margin-right: 0%;
    object-fit: scale-down;
    object-position: center;
    float:left;
    margin-left: 1%;  
    
}

.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;
}




@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');
   }