@import url('https://fonts.googleapis.com/css?family=PT+Sans:400,400i,700i&subset=cyrillic');

* {
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100%;
    height: auto;
}

body {
    background-color: #edeae6;
    background-image: url(img/canva_l.jpg);
    display: flex;
    font-family: 'PT Sans', sans-serif;
    position: relative;
    font-size: 17px;
    line-height: 24px;
    color: #0e0e0e;
    font-weight: 400;
}
.container {
    max-width: 1200px;
    height: auto;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    border: 2px solid #d6c5bc;
    box-shadow:0px 2px 10px 0px rgba(0,0,0,0.20);
    background-color: #fafafa;
}
.content-wrapper {
    width: 100%;
    flex: 1 0 auto;
    height: auto;
}
p {
    margin-bottom: 8px;


}
a {
    color: #930;
    text-decoration: none;
}
a:link {
    color: #930;
    text-decoration: none;
}
a:active {
    color: #c63;
    text-decoration: underline;
}
a:visited {
    color: #966;
    text-decoration: none;
}
a:hover {
    color: #c63;
    text-decoration: underline;
}

h1 {
    font-size: 24px;
    line-height: 32px;
    font-weight: 700;
    text-align: center;
    color: #202020;
    letter-spacing: 0.1px;
}
h2 {
    font-size: 19px;
    font-weight: bold;
    text-align: center;
    color: #202020;
    letter-spacing: 0.2px;
    
}
h3 {
    font-size: 17px;
    line-height: 24px;
    margin-top: 8px;
    margin-bottom: 8px;
    font-weight: 700;

 }
h4 {
    font-size: 14px;
    font-weight: normal;
    text-align: center;
    margin-top: 10px;
    padding-bottom: 30px;
}

/*index*/
.header-index {
    max-width: 1200px;
    height: 210px;
    margin: 0 auto;
    background-color: #fdf5f2;
    padding: 10px 30px 30px 30px;
}
.index-horis-line {
    margin-top: 1px;
    height: 10px;
    background-image: url(img/h-line.png);
    background-repeat: repeat-x;
    margin-bottom: 20px;
}
.header-index-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.header-index-img, .header-index-title, .header-index-menu {
    display: block;
} 
.header-index-img {
    margin-top: 10px;
}
.header-index-title img {
    margin-bottom: 10px;
}

.header-index-title a h1 {
    font-weight: 700; 
    font-size: 16px;
    text-align: center;
    margin-top: 0;
    margin-bottom: 10px;
 }
.header-index-title a h1 {
    color: #930;
    text-decoration: none;
}
.header-index-title a h1:hover, .header-index-title a h1:active {
    color: #c63;
    text-decoration: underline;
}
.header-index-menu ul {
    margin-top: 10px;
    list-style-type: none;
    font-size: 13px;
    letter-spacing: 0.1px;
    font-weight: 400;

}
.header-index-menu li {
    margin-bottom: 9px;
    display: block;
    text-align: right;
    
}

.index-visual {
    height: 560px;
    max-width: 1200px;   
    background-image: url(img/venera-.jpg);
    background-repeat: no-repeat;
    background-attachment:fixed;
    background-position: center 280px; 
    background-size: 1200px;
    border-bottom: 2px solid #c8b3a8;   
    margin: 0 auto;
    background-color: #fdf5f2;
    padding: 30px;
}

.index-content {
    padding: 40px 30px;
}
.index-description {
    margin-bottom: 15px;
}
.cards {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
 
}
.card {
    width: 28%;
    height: auto;
    display: block;
    padding: 20px;
    border: 2px solid #dcd2c3;
    border-radius: 5px;
    margin-top: 15px;
    margin-bottom: 15px;
}
.card:hover {
background-color: #faf6f5;
}
.card img {
    width: 100%;
    border-radius: 2px;
    display: block;
    margin-bottom: 20px;
    border: 1px solid #dcd2c3;
    opacity: 1;
    -webkit-transform: scale(1,1);
    -webkit-transition-timing-function: ease-out;
    -webkit-transition-duration: 550ms;
    -moz-transform: scale(1,1);
    -moz-transition-timing-function: ease-out;
    -moz-transition-duration: 550ms;
}

.card img:hover {
    border: 1px solid #c8b3a8;
    box-shadow: 1px 2px 12px 2px rgba(0,0,0,0.3);
    -webkit-transform: scale(1.1,1.1);
    -webkit-transition-timing-function: ease-out;
    -webkit-transition-duration: 550ms;
    -moz-transform: scale(1.2,1.2);
    -moz-transition-timing-function: ease-out;
    -moz-transition-duration: 550ms;
}

.card-link {
     text-align: right;
     font-size: 13px;
     font-style: italic;
     font-weight: 400;
     margin-top: 6px;
     margin-bottom: 0;
}
.card h2 {
    font-size: 18px;
    margin-bottom: 20px;
}
.index-separ {
    display: block;
    margin: 0 auto;

    margin-top: 20px;
}
/*footer*/
.footer {
    background-image: url(img/canva_footer.jpg);
    border-top: 2px solid #e4ccc0;
    border-bottom: 2px solid #c8b3a8;
    padding: 15px;
    flex: 0 0 auto;
}
.footer p {
    text-align: center;
    font-size: 12px;
    line-height: 12px;
    margin-bottom: 0;
}

/*txt*/

.header {
    background-color: #fdf5f2;
    padding: 10px 30px 30px 30px;
    border-bottom: 2px solid #e4ccc0; 
    box-shadow:0px 2px 10px 0px rgba(0,0,0,0.20);
}
.header-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.horis-line {
    margin-top: 1px;
    height: 10px;
    background-image: url(img/h-line.png);
    background-repeat: repeat-x;
    margin-bottom: 36px;
}
.header-link, .header-title, .header-menu {
    display: block;
}

.header-link span {
    font-weight: 700; 
    font-size: 15px;
    line-height: 22px;
    letter-spacing: 0.1px;

}
.header-link {
    width: 170px;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.2px;
 }

.header-title img {
    width: 300px;
    height: auto;
    margin-left: -60px;
}
.header-menu ul {
 list-style-type: none;
 font-size: 13px;
 font-weight: 400;
 letter-spacing: 0.1px;

}
.header-menu li {
    margin-bottom: 10px;
    display: block;
    text-align: right;
    
}


.text {
    padding: 40px 40px;
}

.nav {
    display: flex;
    justify-content: space-between; 
    padding: 30px 40px;
}
.nav a {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: 0.2px;
    text-decoration: none;
    cursor: pointer;
    margin-right: 20px;
}
.nav a:last-child {
    margin-right: 0;
}
.nav a:hover {
    text-decoration: none;
}
.nav a:after {
    display: block;
    content: "";
    height: 2px;
    background-color: #930;
    width: 0%;
    left:50%;
       -webkit-transition: width .3s ease-in-out;
    -moz--transition: width .3s ease-in-out;
    transition: width .3s ease-in-out;
}
.nav a:hover:after,
.nav a:focus:after {
    width: 100%;
}

.text h1 {
    margin-bottom: 20px;
}
.text h2 {
    margin-top: 20px;
    margin-bottom: 20px;
}
.publ {
    display: block;
    margin: 0 auto;
    width: auto;
    text-align: center;
}

.text img {
    float: right;
    margin-left: 20px;
    margin-bottom: 20px;

}

.text a img { 
    display: block;
    opacity: 1;
    -webkit-transform: scale(1,1);
    -webkit-transition-timing-function: ease-out;
    -webkit-transition-duration: 550ms;
    -moz-transform: scale(1,1);
    -moz-transition-timing-function: ease-out;
    -moz-transition-duration: 550ms;
}

.text a img:hover {
    box-shadow: 1px 2px 12px 2px rgba(0,0,0,0.40);
    -webkit-transform: scale(1.1,1.1);
    -webkit-transition-timing-function: ease-out;
    -webkit-transition-duration: 550ms;
    -moz-transform: scale(1.2,1.2);
    -moz-transition-timing-function: ease-out;
    -moz-transition-duration: 550ms;
}
.quoter {
    font-style: italic;
    text-indent: 0;
    margin-top: 6px;
    margin-bottom: 6px;
}
.right {
    text-align: right;
    margin-top: 6px;
    font-size: 15px;
}

.group-pic, .preview {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.group-pic img, .preview img {
  /*  padding: 10px;*/
    margin: 15px;
}
.links-bott {
    font-size: 12px;
    letter-spacing: 0.2px;
    text-align: center;
    margin-top: 48px;
    margin-bottom: 10px;
}
.separ {
    display: block;
    margin: 0 auto;
    margin-bottom: 20px;
}



/*arts*/
.arts {
   width: 1160px;
   padding: 40px 30px;
    
}
.arts p {
    font-size: 15px;
    text-align: center;
    margin: 10px 0;
    text-indent: 0px;
}
.arts img {
    display: block;
    margin: 20px auto;
    padding: 20px 5px;
}
.arts h2 {
    margin-top: 20px;
}

h5 {
    font-size: 14px;
    padding: 10px;
    text-align: center;
    clear: both;
    font-weight: normal;
    margin-top: 20px;
    margin-bottom: 5px; 
}
/*links*/
.links {
   width: 1160px;
   padding: 40px 30px;
    
}
.links h1, h2 {
    margin-bottom: 20px;
}
.links p {
    font-size: 15px;
    text-align: justify;
    font-weight: 400;
    margin-bottom: 30px;
    text-indent: 0px;
}
.links a img {
    text-align: left;
}
/*map*/
.col {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 10px 0;
}
.col-txt {
    width: 47%;
}
.col-txt h2 {
    text-align: left;
    text-indent: 0;
    margin: 15px 0;
}
.col-txt h3 {
    text-align: left;
    font-weight: bold;
    margin: 10px 0 10px 25px;
}
.col-txt p {

    text-align: left;
    margin: 5px 0 5px 50px;
    text-indent: 0;
}
.list-map {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 50px 0;
    border: 2px solid #dcd2c3;
    border-radius: 5px;
    margin: 40px 10px;
    padding: 10px 20px;
}
.list-map a {
    font-size: 13px; 
    font-weight: normal;
    margin: 0 5px;
    text-indent: 0px;
}

@media screen and (max-width: 1200px) {
    .links, .arts {
      max-width:  1000px; 
    }
}
@media screen and (max-width: 1000px) {
    .cards {
        justify-content: center;
    }
    .card {
        width: 42%;
        margin-right: 10px;
        margin-left: 10px;
    }
}

@media screen and (max-width: 870px) {
        .card {
    width: 90%;
     }
    .card img {
     width: 90%;
    margin: 10px auto;
    height: auto;        
}
}
    
@media screen and (max-width: 830px) {
    .header-index-title img {
        width: 300px;
    }
    
    .links, .arts {
      max-width:  760px; 
    }
    .header-title img {
       width: 300px;
        height: auto;
        margin-left: -30px;
    }

   .text {      
     width: auto;
    }
   p {
    font-size: 20px;
     text-align: left; 

   }
    h1 {
        font-size: 28px;
    }
    h2 {
        font-size: 24px;
    }
    .card h2 {
    font-size: 22px;
    }
    h3 {
         font-size: 22px;   
    } 
   .arts img {
    width: 80%;
    height: auto;    
    margin: 0 auto;
    padding: 20px 5px;
}

    .nav a {
    margin-right: 10px;
    font-size: 12px;
}
    .separ {
        width: 40%;
        height: auto;
    }
    .preview {
        width: 100%;
    }
    
    
}
@media screen and (max-width: 580px) {
    .header-index {
        height: 380px;
    }
     .header-index-img img {
        display: block;
        margin: 0 auto;
    }
    .header-index-title {
        margin-bottom: 20px;
    }
   .header-index-title img {
          display: block;
          margin: 20px auto;
    }
    .index-visual {
    height: 560px;
    max-width: 1200px;   
    background-position: center 350px;
    }
    
    
    .header, .text, .links, .arts {        
        padding-right: 20px;
        padding-left: 20px;
    } 
 .links, .arts {
      max-width:  540px; 
    }
    .header-index-menu ul {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
    }
    .header-index-menu li {
        display: block;
    }
.header-wrapper, .header-index-wrapper {
    width: 100%;
    display: block;
    flex-direction: column;
    height: auto;
    background-image: none;

    }
 .header-link, .header-title. header-menu {
     width: 100%;
     text-align: center;
     }
    .header-link {
        width: 100%;
        text-align: center;
    }
    .header-title img {
        display: block;
        margin: 10px auto;
    } 
    .header-menu li {
    display: block;
    text-align: center;
    margin-bottom: 0;
}
    .nav {
     flex-direction: column;
     margin: 10px;
     text-align: center;
        
     }
    .nav a {

    font-size: 16px;
}
    .group-pic {
      display: block;
      flex-direction: column;  
      width: 90%;
      height: auto;
      margin: 0 auto;
    }

   .text img, .group-pic img {
      width: 50%;
      margin: 20px auto;
      float: none;
    }
 .links-bott {
    font-size: 16px;
    }
    .col {
        flex-direction: column;
    }
        .col-txt {
        width: 100%;   
            }

}

/*content </p> «» <strong> </strong>   */







