*{
  margin: 0;
  padding: 0;
}
a{
  text-decoration: none;
}
.container{
  width: 75%;
  margin: 0 auto;
}
button{
  border: none;
  outline: none;
}

body{
  font-family: "Heebo", serif;
}
#header{
  padding: 30px 0;
}
.header{
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.header-nav{
  display: flex;
  gap: 20px;
  a{
font-size: 20px;
font-weight: 500;
color: #000000;
  }
  h1{
    display: none;
  }
}

/*hero*/
#hero{
  padding: 70px 0;
}
.hero{
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-content{
  h1{
    font-size: 44px;
    font-weight: 700;
    line-height: 60px;
    color: #21243D;
  }
  p{
font-size: 16px;
font-weight: 400;
line-height: 23.5px;
color: #21243D;
margin: 30px 0;
  }
  button{
font-size: 20px;
font-weight: 500;
color: #FFFFFF;
width: 208px;
height: 47px;
background: #FF6464;
  }
}

/*hero*/

/*post*/

#post{
  background: #EDF7FA;
  padding: 70px 0;
}
.post-head{
  padding-bottom: 20px;
  display: flex;
  justify-content: space-between;
h4{
  color: #21243D;
font-size: 22px;
font-weight: 400;
}
h3{
font-size: 18px;
font-weight: 400;
color: #00A8CC;
}
}
.post{
  display: flex;
  justify-content: center;
  gap: 20px;
}
.post-block{
  padding: 20px 20px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  width: 45%;
  height: 295px;
  background: #FFFFFF;
  h2{
font-size: 26px;
font-weight: 700;
line-height: 38.19px;
color: #21243D;
  }
  p{
font-size: 16px;
font-weight: 400;
line-height: 23.5px;
color: #21243D;
  }
}
.data-text{
  display: flex;
  gap: 10px;
  h5{
font-size: 18px;
font-weight: 400;
color: #21243D;
  }
  .data{
    width: 0px;
    height: 21px;
    border: 1px solid #000000
  }
}
/*post*/

/*work*/
.container{
.work-head{
    margin: 20px 0;
    font-size: 22px;
    font-weight: 400;
    color: #21243D;
}
}
.work{
display: flex;
flex-direction: column;
gap: 30px 0;
}
.work-block{
  display: flex;
  align-items: flex-start;
  gap: 20px;
  border-bottom: 2px solid gray;
  padding-bottom: 15px;
}
.block-content{
  display: flex;
  flex-direction: column;
  gap: 20px;
  h2{
font-size: 30px;
font-weight: 700;
color: #21243D;
  }
p{
font-size: 16px;
font-weight: 400;
line-height: 23.5px;
color: #21243D;
}
}
.work-btn{
  display: flex;
  gap: 20px;
  button{
    width: 62px;
    height: 25px;
    border-radius: 16px;
background: #142850;
font-size: 18px;
font-weight: 900;
color: #FFFFFF;
  }
  h4{
font-size: 20px;
font-weight: 400;
color: #8695A4;
  }
}

/*work*/

/*footer*/

#footer{
  padding: 150px 0 70px 0;
}
.footer{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  h4{
margin-top: 15px;    
font-size: 18px;
font-weight: 400;
color: #21243D;
  }
}
.footer-icons{
  display: flex;
  gap: 40px;
    a{
      font-size: 39px;
      color: #21243D;
    }
}

/*footer*/

/*media*/

@media (max-width: 1100px) {
  .container{
    width: 90%;
  }
}
@media (max-width: 915px) {
  .block-content {
    p {
        font-size: 13px;
        line-height: 20.5px;
    }
}
.post-block {
  h2 {
      font-size: 23px;
      line-height: 29.19px;
  }
  p {
    font-size: 14px;
    line-height: 19.5px;
}
}
.hero-content {
  h1 {
      font-size: 40px;
      line-height: 55px;
  }
  p {
    font-size: 14px;
    line-height: 21.5px;
}
}
}
@media (max-width: 700px) {
  .hero-content {
    h1 {
        font-size: 33px;
        line-height: 49px;
    }
    p {
      font-size: 10.5px;
      line-height: 17.5px;
  }
  button {
    font-size: 17px;
    width: 183px;
    height: 42px;;
}
}
.post-block {
  h2 {
      font-size: 18px;
      line-height: 26.19px;
  }
  p {
    font-size: 11px;
    line-height: 16.5px;
}
}
.block-content {
  h2 {
    font-size: 28px;;
}
  p {
      font-size: 9px;
      line-height: 15.5px;
  }
}
.work-block{
  img{
    width: 27%;
  }
}
}
@media (max-width: 600px) {
  .header{
    a{
      display: none;
    }
    h1{
      display: block;
    }
  }
  .hero{
    flex-direction: column-reverse;
    text-align: center;
  }
  .hero-content{
    margin-top: 40px;
  }
  .post{
    flex-direction: column;
    align-items: center;
  }
  .post-block{
    width: 80%;
    display: flex;
    h2 {
      font-size: 25px;
      line-height: 40.19px;
  }
  p {
    font-size: 15px;
    line-height: 21.5px;
}
h5 {
  font-size: 20px;
}
  }
  .work-block{
    flex-direction: column;
    align-items: center;
    justify-content: center;
    img{
    width: 45%;
    }
  }
  .block-content{
    text-align: center;
  }
  .work-btn{
    justify-content: center;
  }
}
@media (max-width: 465px) {
  .post-block {
    h2 {
        font-size: 22px;
        line-height: 35.19px;
    }
    p {
      font-size: 14px;
      line-height: 19.5px;
  }
}
}
@media (max-width: 422px) {
  .post-block {
    p {
        font-size: 12px;
        line-height: 17.5px;
    }
    h2 {
      font-size: 20px;
      line-height: 31.19px;
  }
}
}
@media (max-width: 371px) {
  .hero-content{
    img{
      width: 52%;
    }
    h1 {
        font-size: 28px;
        line-height: 39px;
  }
  p {
    font-size: 8.5px;
    line-height: 15.5px;
}
  }
  .post-block {
    h2 {
        font-size: 18px;
        line-height: 27.19px;
    }
    p {
      font-size: 10px;
      line-height: 14.5px;
  }
  h5 {
    font-size: 16px;
}
}
.footer-icons {
  a {
      font-size: 29px;
  }
}
.footer {
  h4 {
      font-size: 17px;
  }
}
}
@media (max-width: 350px) {
  .block-content {
    h2 {
      font-size: 26px;
  }
    p {
        font-size: 7px;
        line-height: 12.5px;
    }
}
}
@media (max-width: 333px) {
  .post-block {
    h2 {
        font-size: 17px;
        line-height: 26.19px;
    }
}
}

/*media*/






