:root {
    --primary-color: #2F303A;
    --light-color: #F5F4FA;
    --dark-color: #212121;
    --white-color: #FFFFFF;
    --sky: #2196f3;
    --grey: #757575;
  }
  body {
    color: var(--primary-color);
    font-family: "Roboto", sans-serif;
  }
  .btn {
    background-color: var(--accent-color);
    color: var(--white-color);
  }
  @font-face{
    font-family: "Roboto";
    font-weight: 400;
    src: url("../fonts/Roboto-Regular.ttf");
}
@font-face{
    font-family: "Roboto";
    font-weight: 500;
    src: url("../fonts/Roboto-Medium.ttf");
}
@font-face{
    font-family: "Roboto";
    font-weight: 700;
    src: url("../fonts/Roboto-Bold.ttf");
}
@font-face{
    font-family: "Roboto";
    font-weight: 900;
    src: url("../fonts/Roboto-Black.ttf");
}
body{
    font-family: "Roboto", sans-serif;
}
.container.header-flex{
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .section.our-works-section{
    padding: 50px 0; 
   }
  .main-section-flex{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
.container{
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}
.main-text{
    color: white;
    font-size: 44px;
    font-weight: 900;
    line-height: 1.4;
    text-align: center;
    text-transform: uppercase;
    width: 60%;
}
.main-section{
    background-color: var(--primary-color);
    padding: 200px 0;
}
.features-list{
    list-style: none;
    display: flex;
    justify-content: space-between;
  }
  .address {
    display: flex;
    gap: 30px; 
    align-items: center;
    margin-left: auto; 
  }
.nav-link{
    font-size: 14px;
    font-weight: 400;
    color: var(--dark-color);
    text-decoration: none;
}
.nav-link:hover{
    color: var(--sky);
}
.address-email{
    font-size: 14px;
    font-weight: 400;
    color: var(--dark-color);
    text-decoration: none;
    font-style: normal;
}
.address-email:hover{
    color: var(--sky);
}
.address-phone{
    font-size: 14px;
    font-weight: 400;
    color: var(--dark-color);
    text-decoration: none;
    font-style: normal;
}
.address-phone:hover{
    color: var(--sky);
}
.nav-button{
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 3%;
    color: var(--dark-color);
}
.posts-section-list {
    display: flex;
    flex-wrap: wrap; 
    gap: 30px;
    justify-content: center;
    padding: 0;
    margin-bottom: 94px;
    margin-top: 40px;
    list-style: none;
  }
  .post-item {
   flex-basis: calc((100% - 60px) / 3);
   position: relative;
   overflow: hidden;
  }
  figure.post-item-wrap {
     margin: 0;
     border: 1px solid #EEEEEE;
  }
  figure.post-text {
    padding-left: 20px;
  }
.post-photo{
    position: relative;
    overflow: hidden;
}
.post-img{
    width: 100%;
}
.post-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(33, 150, 243, 0.9); 
  color: #fff;
  padding: 65px 24px;
  transform: translateY(100%);
  transition: transform 300ms ease-in-out;
  box-sizing: border-box;
}
.post-item-wrap:hover .post-overlay {
  transform: translateY(0);
}
.post-overlay-text {
  font-size: 16px;
  line-height: 1.5;
}
.post-title{
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 6%;
    color: var(--dark-color);
}
.post-subtitle{
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 3%;
    color: var(--grey);
}
.footer{
    background-color: var(--primary-color);
    padding: 50px 0;
}
.footer-address{
    font-size: 14px;
    font-weight: 400;
    font-style: normal;
    color: var(--white-color);
    line-height: 1.71;
}
.footer-text{
    color: var(--white-color);
}
.footer-email{
    text-decoration: none;
    color: var(--white-color);
}
.footer-phone{
    text-decoration: none;
    color: var(--white-color);
}
  nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
  }
.logo {
    margin-right: 50px;
  }
  .our-works-title, .team-section-title {
    margin-bottom: 30px;
  }
  .features-list, .our-works-list {
    gap: 30px;
  }
  .address-email {
    margin-right: 20px; 
  }
  .header-nav-list{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    list-style: none;
    margin: 0;
  }
  .nav-link {
    font-size: 16px;
    font-weight: 500;
    color: var(--dark-color);
    text-decoration: none;
    transition: color 0.3s ease-in-out;
  }
  .nav-link:hover {
    color: var(--sky);
  }
  .address {
    display: flex;
    gap: 40px; 
    align-items: center;
    margin-left: auto;
  }
  .address-email,
  .address-phone {
    font-size: 14px;
    font-weight: 400;
    color: var(--dark-color);
    text-decoration: none;
    font-style: normal;
  }
  .address-email:hover,
  .address-phone:hover {
    color: var(--sky);
  }
  .logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-color);
    display: flex;
    align-items: center; 
  }
  .logo span {
    color: var(--sky);
  }
  .button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px; 
  }
  .nav-button {
    background-color: #e0e0e0;
    border: none;
    color: black;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 5px;
  }
  .nav-button:hover{
    background-color: #007aff;
    color: white;
  }
  