html{
    box-sizing: border-box;
    height: 100%;
    width: 100%;
    scroll-behavior:smooth;
}
*,
*::after,
*::before{
    box-sizing: inherit;
}
body, h1, h2, p, ul {
  margin: 0;
  padding: 0;
}
body {
  font-family: "Inter", sans-serif;
font-weight: 400;
  font-style: normal;
  line-height: 1.6;
  background: #f9f9f9;
  color: #333;
  text-transform: uppercase;
}
.navbar{
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
   
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  background:#d1c7a0;
  color: #142238;
  position: relative;
}
.logo{
    width: 120px;
    height: auto;
    margin-left: 10px;
}
header .slogan {
  font-size: 14px;
  margin: 5px 0;
}
header .contacts a {
  color: white;
  text-decoration: none;
  margin: 0 5px;
}
.icons{
    width: 35px;
    height: 35px;
    border: 1px solid #142238;
    border-radius: 8px;
}
.btnNav{
    background: #142238;
    color: white;
    padding: 15px;
    border-radius: 5px;
    text-decoration: none;
    margin:10px;
}
.hamburger {
  display: none;
  font-size: 26px;
  cursor: pointer;
 
   
}
.bar {
    display: block;
    height: 4px;
    width: 30px;
    background: #142238;
    transition: all 0.3s ease;
    margin: 5px;
}




#nav-menu {
  background:#142238;
    text-align: center;
}
#nav-menu ul {
  display: flex;
  justify-content: center;
  list-style: none;
  flex-wrap: wrap;
}
#nav-menu li {
  margin: 10px 15px;
}
#nav-menu a {
  color:#c0af70;
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
  
}
#nav-menu a::after {
  content: "";
  position: absolute;
  left: 50%;              
  bottom: -6px;          
  width: 0;             
  height: 2px;           
  background-color: currentColor;
  transition:
    width 0.3s ease,
    left 0.3s ease,
    opacity 0.3s ease;   
  opacity: 0;
}
#nav-menu a:hover::after {
  width: 100%;
  left: 0;
  opacity: 1;
}
#nav-menu.active {
  display: block;
}

button{
    background-color: #d1c7a0;
    border: none;
}

/* ABOUT / TEAM / CONTACT */
#about, .team, .contact, .services {
  padding: 40px 20px;
  text-align: left;
}
#about{
    margin-top: 150px;
}

.about-content{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}
h2{
  margin-bottom: 20px;
  color: #6f7b8a;
  text-align: center;
}
.title{
    text-align: center;
}
.blockText{
   border: 1px solid #dce0e5;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
    padding: 20px;
    margin: 10px;
    width: 80%;
}
.blockText:hover{
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
    transform: translateY(-5px);
    transition: 0.3s;
    border: 2px solid #c0af70;
}
.about-text{
    font-size: 16px;
    line-height: 1.5;
    margin: 10px 0;
    text-transform: none;
    color: #6f7b8a;
    content: ".";
}
.about-text::before{
    content: ".";
    font-size: 30px;
    vertical-align: top;
    line-height: 0;
    margin-right: 5px;
    color: #c0af70;
}
    h3{
          color: #6f7b8a;
        text-transform: none;
        margin: 2px;
    }





footer {
  background: #142238;
  color: white;
  text-align: center;
  padding: 15px;
  font-size: 14px;
}


@media (max-width: 768px) {
  /* Гамбургер показываем */
  .hamburger {
    display: block;
  }

  
  #nav-menu {
    display: none;
    text-align: center;
  }
  #nav-menu li:hover{
    color: #0077b6;
  }
  #nav-menu.active {
    display: block;
  }
  #nav-menu ul {
    flex-direction: column;
    padding: 10px 0;
  }
  #nav-menu li {
    margin: 10px 0;
  }

.hamburger.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(7.5px, -7.5px);
}
 header {
    justify-content: space-around;
  }
  .hero-container{
    margin-top: 150px;
    width: 100%;
    height: 50vh;
}
#about{
    margin-top: 100px;
}
  .blockText{
    padding: 10px;
    margin: 5px;
    width: 90%;
}
}

@media (max-width: 480px) {
  header {
    padding: 15px;
  }
  header .logo {
    font-size: 18px;
  }
  
}