  body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
  }
  header {
background-color: #f8f8f8;
display: flex;
justify-content: space-evenly;
align-items: center;
display: flex;
border-bottom: 4px solid rgba(231, 231, 231, .69);

  }
  header .logo {
height: 30%;
background-size: contain;
background-repeat: no-repeat;

  }
		nav {
display: flex;
justify-content: flex-start;
align-items: center;
white-space: nowrap

}

nav a {
margin-right: 12%;
text-decoration: none;
color: black;

}

nav a:hover {
text-decoration: none;

}

  main {
padding: 20px;
width: 90%;
max-width: 1200px;
margin: 0 auto;
padding-top: 50px;
  }
  main .block {
background-color: #f1f1f1;
padding: 20px;
margin-bottom: 20px;
  }
.project-block {
  height: auto;
  background-color: #f2f2f2;
  margin: 10px;
  padding: 1.5%;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.project-block h2 {
  margin-bottom: 10px;
}

.project-block p {
  margin-bottom: 20px;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(235, 235, 235, 0.7);
  display: flex;
  align-items: center;
  justify-content: right;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  
}

.project-block:hover .overlay {
  transform: translateX(0);
}

.overlay img {
  max-width: 100%;
  max-height: 100%;
}  
  
  
.container {
  display: flex;
}

.sidebar {
  width: 200px;
  background-color: #f2f2f2;
  padding: 20px;
}

.services-list {
  list-style: none;
  padding: 0;
}

.service-item {
  cursor: pointer;
  margin-bottom: 10px;
}

.main-content {
  flex: 1;
  padding: 20px;
}

.service-description {
  display: block;
  border-top: 1px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
}
  .h1{
	  font-size: 3rem;
  }
  .service-description:hover h2 {
  text-decoration: underline red;
  background-color: rgba(235, 235, 235, 0.7);
      transition: .5s ease;
  filter: brightness(1.2);
}
  
  .contact-info, .contact-form {
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
}

input, textarea {
  width: 100%;
  padding: 0.5rem;
  font-size: 1rem;
  border: 1px solid #ccc;
}

button {
  padding: 0.5rem 1rem;
  font-size: 1rem;
  background-color: #333;
  color: #fff;
  border: none;
  cursor: pointer;
}

button:hover {
  background-color: #555;
}
  
.map-container {
      position: relative;
      width: 100%;
      height: 200px;
    }
.map {
      position: absolute;
      top: 0;
      right: 0;
      height: 100%;
    }
  

.research-block {
  margin-bottom: 20px;
  border: 1px solid #ccc;
  padding: 10px;
}

.topic {
  font-weight: bold;
  
  margin-bottom: 10px;
}

.content {
  max-height: 100px; /* обрезаем текст до 5 строк */
  overflow: hidden;
}

.actions {
  margin-top: 10px;
  #text-align: right;
}

.expand-btn, .collapse-btn {
  padding: 5px 10px;
  cursor: pointer;
}

.expand-btn {
  
  border: none;
}

.collapse-btn {
  
  border: none;
}

  
  footer {
background-color: #333;
color: #fff;
padding: 10px;
text-align: center;
  }
  footer .logo {
width: 100px;
height: 50px;
background-image: url('logo.png');
background-size: contain;
background-repeat: no-repeat;
margin-bottom: 20px;
  }
  
  .table_block {
  width: 100%;
  border-collapse: collapse;
}

.table_block td, .table_block th {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: center;
}

.table_block th {
  background-color: #f2f2f2;
}