@media screen and (max-width: 800px) {
     p {
    font-size: 20px;
}
.page, .text, .group, .links, .text-index, .card, .card li {
        width: 100%;
        padding: 10px;
    }    
.text img  {
    float: left;
    width: 50%;
    height: auto; 
    margin: 0 auto;
    clear: both;
    }
.group img, .card {
    float: none;
    width: 100%;
    height: auto; 
    margin: 0 auto;
    clear: both;
    }    
  
.canvas img {
    width: 100%;
    height: auto;    
    margin: 0 auto;
}
.page {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    }
}

@media screen and (max-width: 550px) {
    
.text img  {
    float: none;
    width: 100%;
    height: auto; 
    margin: 0 auto;
    clear: both;
    }
.catalog, .text-index, .page,{
    width: 100%;
    margin: 0;
    padding: 0;
    }
.catalog li {
    width: 120px;
    margin: 5px;
    }
.catalog img {
    width: 100px;
    height: auto;
    margin: 5px;
    
}
.card li {
    width: 100%;
    }
}

html,
body,
.container {
    width: 100%;
    height: 100%;
    background-image: url(../img/fn2.jpg);
}
.container {
    
}
.content {
    max-width: 1200px;
    margin: 15px auto;
}

.page {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    background-color: #fff;
    border: 2px solid #e9e2d8;
    border-radius: 7px;
    box-shadow: 0px 2px 15px 0px rgba(0,0,0,0.10);
}
/*index*/
.text-index {
    display: block;
    border: 1px solid #ccc;
}
.top-index {
    text-align: center;
    border: 1px solid #ccc;
    padding: 5px 0;
    background-color: #e3dbcf;
    border-radius: 5px;
    font-family:"Book Antiqua"; 
    font-size: 20px;
    font-style: italic;
    margin: 15px 18px 10px 18px;
}
.card {
    display: flex;
    justify-content: space-around;
    list-style-type: none;
    flex-wrap: wrap;
    padding: 0;
}
.card li {
    width: 30%;
    min-width: 250px;
    height: auto;
    display: block;
    font-size: 14px;
    text-align: center;
    margin: 0 8px 18px 8px;
    border: 2px solid #e9e2d8;
    border-radius: 5px;
}
.card h2  {
    font-size: 13px;
    margin: 10px 0 0 0;
}
.card p {
    font-size: 11px;
    text-indent: 0px;
    margin: 7px 12px;
}
.left {
    text-align: left;
     margin: 7px 10px;
   }
.right-i {
    text-align: right;
    font-size: 10px;
    font-style: italic;
    margin: 5px;
}
.card img {
    display:  inline-block;
    text-align: center;
    clear: both;
    max-width: 150px;
    max-height: 150px;
    margin-bottom: 5px;
}


p { 
    font-family: "Verdana"; 
    font-size: 15px;
    text-align: justify;
    text-indent: 40px;
}
h1 { 
    font-family: "Verdana"; 
    font-size: 20px; 
    color: #630;
    font-weight:bold; 
    text-align:center;
    margin: 40px 0 20px 0;
}
h2 { 
    font-family: "Verdana"; 
    font-size: 14px; 
    font-weight: bold; text-align: center;
    margin: 40px 0 20px 0;
}
h3 {
   font-family: "Verdana"; 
    font-size: 15px; 
    font-weight: bold; 
    text-align: left;
    margin: 10px;
}
h4 {
   font-family: "Verdana"; 
    font-size: 12px; 
    font-weight: bold; 
    text-align: center;
    margin: 20px 0 40px 0;
}
a {
   font-family: "Verdana"; 
    font-weight: bold;
   
}
a:link {  
    color: #663300; 
    text-decoration:none;

}
a:active { 
    color: #FF0000;
    text-decoration: underline;
}
a:visited { 
    color: #CC9966; 
    text-decoration:none;
}
a:hover {
    color: #FF0000; 
    text-decoration: underline;
}
.header {
    text-align: left;
    height: 30px;
    margin: 0 0 25px 20px;
}
.header a {
    font-family:"Book Antiqua"; 
    font-size: 24px;
    font-style: italic;
}

/*text*/
.text {
    display: block;
    margin: 20px 5px 20px 25px;
}
.top {
    text-align: center;
    border: 1px solid #ccc;
    padding: 5px 0;
    background-color: #e3dbcf;
    border-radius: 5px;
}
.top a {
   font-size: 12px;
    text-align: center;
 }
.text img {
    float: right;
    margin-left: 20px;
    margin-bottom: 10px;
    border: 2px solid #dcd2c3;
}

.text a img:hover {
    border: 2px solid #c63; 
}
.quoter {
    font-style: italic;
    text-indent: 0;
    margin-top: 6px;
    margin-bottom: 6px;
}
.right {
    text-align: right;
    margin-top: 6px;
    font-size: 13px;
}
.publ {
    width: 100%;
    margin: 0 auto;
}
.group {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 30px 0 10px 0;
    clear: both;
}
.group img {
    margin: 5px;
    max-width: 260px;
    max-height: 200px;
    height: auto;
}
.catalog {
    list-style-type: none;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;

}
.catalog li {
    display: block;
    width: 130px;
    margin: 20px;
}

.catalog img {
    max-width: 120px;
    max-height: 120px;
    margin: 0 12px 10px 0;
}
.catalog li p {
    font-size: 10px;
    clear: both;
    text-align: center;
    text-indent: 0;
    margin: 10px 0;

}

.links-bott {
    text-align: center;
    margin-top: 60px;
    margin-bottom: 20px;
    clear: both;
}
.links-bott a {
    font-size: 11px;
    font-weight: normal;
}
/*menu-vertic*/
.menu-vertic {
    display: block;
    flex-direction: column;
    margin: 20px;
    background-color: #fdfcfa;
    border: 2px solid #e9e2d8;
    border-radius: 5px;
    height: auto;
    align-content: center;
}
.menu-vertic p {
    font-family: "Verdana"; 
    width: 270px;
    display: block;
    font-size: 11px;
    font-style: italic;
    margin: 30px 5px 30px 15px;
    text-align: left;
    text-indent: 0;
}
.bott-menu {
    margin-top: 80px;
    text-align: center; 
}
.bott-menu a {
    font-size: 10px;
    font-weight: normal;
 }
/*canvas*/
.canvas {
    display: block;
    width: 100%;
    margin: 20px 0 20px 20px;
}
.canvas img {
    display: block;
    margin: 0 auto;
    padding: 20px 0;
    max-width: 850px;
    height: auto;

}
h5 {
    font-size: 12px;
    padding: 10px;
    text-align: center;
    clear: both;
    margin: 0 20px;
}
.all-pic {
    margin: 50px 0;
    border: 2px solid #e9e2d8;
    border-radius: 5px;
    padding: 10px 20px;
}
.all-pic a, .all-pic p {
    font-size: 13px; 
    font-weight: normal;
    margin: 20px 5px;
    text-indent: 0px;
}
/*links*/
.links {
    display: block;
    margin: 20px;
    padding: 5px;
}
.links img {
    text-align: left;
}
.links p {
    text-align: justify;
    text-indent: 0;
    margin: 20px;
    font-weight: normal;    
}

/*footer*/
.footer {
    height: 70px;
    margin: 30px 20px;
}
.footer p {
    font-size: 11px;
    color: #630;
    padding: 1px;
    text-align: right;

}
