body {
  width: 1000px;
  margin: 5px auto;
  color: #444444;
}

header { 
  background-color: lightblue;
  text-align: center;
  border: solid 2px #444444;
  border-radius: 10px;
  margin: 5px;
}

main {
  background-color: #f2f2f2;
  border: solid 2px #444444;
  border-radius: 10px;
  padding: 5px;
  margin: 5px auto;
}

footer {
  background-color: lightblue;
  border: solid 2px #444444;
  border-radius: 10px;
  text-align: center;
  padding: 5px;
  margin: 5px;
}

nav {
  text-align: center;
  padding: 5px;
  margin: 5px;
}

aside {
  text-align: center;
  vertical-align: top;
  padding: 5px;
  width: 250px;
  margin: auto;
  display: inline-block;
  position: relative;
}

section {
  width: 700px;
  padding: 5px;
  margin: 0px auto;
  display: inline-block;
 
 text-align: center;
}

.index_cats {
  width: 170px;
  height: 170px;
  padding: 5px;
  margin: 10px;
  text-align: center;
  vertical-align: middle;
  background-color: lightblue;
  border: solid 2px #444444;
  border-radius: 10px;
  display: inline-block; 
}

.index_cats_img {
  height: 100px;
  margin-top:10px;
}

.index_cats_text {
  width: 100px;
  margin: 10px auto;
  text-align: center;
}

.index_cats_text a {
  color: #444444;
  text-decoration: none;
}

.index_cats_text a:hover {
  color: #777777;
}

.posts {
  width: 280px;
  height:280px;
  margin: 5px 20px; 
  vertical-align: top;
  background-color: lightblue;
  border: solid 2px #444444;
  text-align: center;
  border-radius: 10px;
  display: inline-block;
  position: relative;
}

.posts img {
  border-radius:10px;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.posts_text {
  bottom: 0px;
  margin: 5px;
  text-align: justify;
  padding: 20px;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.8);
  position: absolute;
}

.posts_text_a {
  color: #333333;
  text-decoration: none;
}

.posts_text_a:hover {
  color: #777777;
}

.button {
	text-decoration: none;
  padding: 5px;
  margin:5px;
  background-color: lightblue;
  border-radius: 10px;
  border: solid 1px #444444;
  color: #444444;
}

.button a {
  text-decoration: none;
  color: #444444;
}

.button a:hover {
  color: #777777;
}

.logo {
	width:150px;
}

.header-text {
	padding: 5px;
   margin: 5px auto;
	width:700px;
	vertical-align: middle;
	display: inline-block;	
}

.header-logo {
	padding: 5px;
   margin: 5px auto;
	width:200px;
	vertical-align: middle;
	display: inline-block;	
}
  
.description{
   text-align: right;
}

.center-text{
   text-align: center;
}

.contacts {
   border-left: solid 5px red;
   margin-left: 145px;
}

.ava {
  width: 250px;
  height: 380px;
  vertical-align: top;
  margin-top: 10px;
  text-align: center;
  position: relative;
}

.ava img {
  border-radius:10px;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.ava_text {
  bottom: 0px;
  margin: 5px;
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.8);
  position: absolute;
}

.ava_text_a {
  color: #333333;
  text-decoration: none;
}

.ava_text_a:hover {
  color: #777777;
}

.text {
   padding: 5px;
   text-align: justify;
}

ul {
    list-style-type: disc;
   }
