* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Heebo", sans-serif;
  color: #21243d;
}

header {
}

.container {
  max-width: 860px;
  margin: 0 auto;
  /* border: 1px solid #000; */
}

h1 {
  font-weight: 700;
  font-size: 44px;
  line-height: 60px;
}

h2{
  font-size: 22px;
  line-height: 60px;
  font-weight: normal;
}

h3{
  font-size: 30px;
  margin-bottom: 15px;
}

h3 a{
  text-decoration: none;
  color: #21243d;
}

p {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  margin: 0px;
}

.active {
  color: #ff6464;
}

/* COMMON STYLES END */

/* HEADER STYLES START */
header{
  padding-bottom: 70px;
}

.menu {
  display: flex;
  justify-content: flex-end;
  max-width: 1150px;
  /* border: 1px solid blue; */
  margin: 0 auto;
  padding: 0 45px;
  margin-bottom: 100px;
  font-size: 20px;
}

.menu a {
  padding: 15px;
  font-size: 20px;
  text-decoration: none;
  color: #000;
}

.about-user {
  display: flex;
  justify-content: space-between;
  border-top: 34px solid #c4c4c4;
}

.about-user div {
  width: 500px;
}

.about-user button {
  cursor: pointer;
}

.about-user img {
  width: 243px;
  height: 243px;
}

.btn {
  background: #ff6464;
  border-radius: 2px;
  border: none;
  color: #fff;
  font-size: 20px;
  padding: 12px 20px;
  margin-top: 35px;
}

.burger{
  width: 30px;
  height: 20px;
  margin-left: auto;
  display: none;
  border: none;
  background-image: url('images/menu.svg');
  background-color: transparent;
  cursor: pointer;
}

@media (max-width: 768px){
  header{
    padding-bottom: 60px;
  }
  .menu{
    padding-top: 20px;
  }
  .menu a{
    display: none;
  }
  .burger{
    display: block;
  }
  .about-user{
    flex-direction: column;
    align-items: center;
    border: none;
  }
  .about-user div{
    order: 1;
    text-align: center;
    width: auto;
  }
  .about-user img{
    width: 180px;
    height: 180px;
    margin-bottom: 50px;
    box-shadow: -3px 10px 0 #edf7fa;
    border-radius: 50%;
  }
  h1{
    font-size: 32px;
    line-height: 40px;
  }
  p{
    font-size: 16px;
    line-height: 24px;
  }
}

/* SECTION POSTS */

.section-posts{
  background: #edf7fa;
  padding-bottom: 15px;
  padding-top: 10px;
}

.section-posts h2{
  margin: 0;
}

.blocks-posts{
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

h4{
  margin: 0;
  font-size: 26px;
  line-height: 38px;
}

.blocks-posts .post{
  max-width: 420px;
  border-radius: 4px;
  background-color: #fff;
  padding: 25px;
  margin-bottom: 15px;
}

.blocks-posts span{
  font-size: 18px;
  color: #21243d;
  padding-right: 30px;
  margin-bottom: 30px;
}

@media(max-width: 768px){
  h4{
    font-size: 22px;
  }
  .blocks-posts span{
    font-size: 16px;
  }

}

/* SECTION POSTS END */
/* BLOG PAGE*/

.post{
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 30px;
}

.post p{
  margin-top: 15px;
}

.date{
  font-size: 20px;
  border-right: 1px solid #000000;
  padding-right: 25px;
  line-height: 29px;
}

.topic{
  font-size: 20px;
  color: #8695A4;
  padding-left: 25px;
  line-height: 29px;
}

@media (max-width: 768px){
  .container{
    padding: 0 18px;
  }
  h3{
    font-size: 26px;
  }
  .date{
    font-size: 16px;
    padding-right: 15px;
  }
  .topic{
    font-size: 16px;
    padding-left: 15px;
  }
}

/* FEATURED WORKS */

.featured-works{
  /* border: 2px solid red; */
}

.work{
  /* border: 2px solid blue; */
  display: flex;
  padding-bottom: 30px;
  margin-bottom: 30px;
  border-bottom: 1px solid #e0e0e0;
}

.work img{
  border-radius: 6px;
  width: 250px;
  height: 180px;
  margin-right: 18px;
}

.work h3{
  margin-top: 0;
}

.badge{
  background-color: #142850;
  color: #fff;
  font-size: 18px;
  border-radius: 16px;
  padding: 0px 10px;
  margin-bottom: 25px;
}

.work p{
  margin-top: 25px;
}

@media (max-width: 764px){
  .featured-works{
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  h2{
    text-align: center;
  }
  .work{
    flex-direction: column;
    width: 345px;
  }
  .work img{
    width: 100%;
    margin-bottom: 10px;
  }
  .works-page h3{
    font-size: 24px;
  }
}


/* ARTICLE-PAGE */
.article-page h1{
  font-size: 34px;
  max-width: 500px;
}

.article-badge{
  background: #ff7c7c;
}

footer{
  text-align: center;
  padding-bottom: 1%;
}
