*{
  margin: 0;
  padding: 0;
}
body{
  background: linear-gradient(270deg,#9350CD , #4AC5AD);
    font-family: "Calibri", sans-serif;
    font-weight: 500;
}
a{
  text-decoration: none;
}

header{
  background: #3B2E5B;
  border-bottom: 3px solid black;
  position: sticky;
  top: 0;
}
.add_header{
  background: #235858;
  border-bottom: 3px solid black;
  text-align: center;
}
.slogan{
  font-family: sans;
  font-style: italic;
  font-size: 35px;
  color: black;
  margin: 25px 0;
}
 .button{
   background-color: black;
   font-size: 20px;
   width: 150px;
   text-align: center;
   padding: 15px;
   margin: 0 auto;
   color: white;
   border-radius: 5px;
   margin-bottom: 25px;
   font-weight: 900;
 }

.container {
  width: 100%;
  max-width: 1200px;
  padding: 8px;
  margin: 0 auto;
}

.container:after{
  content: "";
  display: table;
  clear: both;
}

.logo {
  float: left;
  height: 70px;
}
nav {
  float: right;
}
nav li{
  display: inline-block; /*делает список горизонтальным*/
  margin: 0 5px;
}
nav a{
  line-height: 70px;
  font-size: 25px;
  margin: 0 10px;
  color: black;
}
nav ul li:last-child{
  background: black;
  border-radius: 10px;
}
.login{
  color: white;
  font-weight: 900;
}
a:hover, .button:hover{
  color: white;
}

/* Styles for articles */
.articles{
  float: left;
  width: 65%;
  padding: 10px;

  border:1px solid black;
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 5px;

}
.article{
  padding: 20px;
  margin: 10px 0;

  border:1px solid black;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 5px;
}
.article:after{
  content: "";
  display: table;
  clear: both;
}
.heading{
  font-size: 40px;
}
.desc{
  font-size: 20px;
  color: rgba(0, 0, 0, 0.9);
}
.date{
  font-size: 15px;
  color: rgba(0, 0, 0, 0.7);
  margin-top: 10px;
}
.article_text{
  float: left;
  width: 400px;
}
.article_img{
  height: 200px;
  width: 250px;
  background-color: rgba(0, 0, 0, 0.1);
  float: right;
}
.img{
  width: 250px;

}






/* Styles for sidebar */
.sidebar1{
  float: right;
  width: 30%;
  height: 500px;
  padding: 10px;

  border:1px solid black;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 5px;

  position: sticky;
  top: 100px;
}
