body {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}
.card-title {
  text-align: center;
}

.gallery {
  max-width: 70%;
  margin: 0 auto;
  text-align: center;
}

.main-image {
  margin-bottom: 20px;
}

.main-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.main-image img:hover {
  transform: scale(1.02);
}

.thumbnails {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.thumbnails img {
  width: 100px;
  height: 70px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0.7;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.thumbnails img:hover,
.thumbnails img.active {
  opacity: 1;
  transform: scale(1.05);
  border-color: #007bff;
}

.text-content {
  font-family: inherit;
  text-align: center;
}

.text-s {
  font-size: 24px;
}

.text-a {
  font-size: 20px;
}

.content {

    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.post-content {
    margin-top: 30px;
    padding: 15px;
       width: 40%;
    background-color: rgba(0, 0, 0, 0.15);
    outline: 2px solid #ffffff;
    outline-offset: -10px;

}

    .card-list {
      list-style: none;
      padding: 0;
      font-family: Arial, sans-serif;
    }

    .card-list li {
      display: flex;
      justify-content: space-between;
      align-items: center;
      background: #f5f5f5;
      padding: 10px 15px;
      margin-bottom: 5px;
      border-radius: 4px;
    }

    .left {
      color: #333;
      font-weight: 500;
    }

    .right {
      color: #888;
      font-size: 0.9em;
    }


    /* загрузка изображений */
    .download-gallery {
      margin: 0 auto;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  width: 100%;
  justify-content: space-between;
}

.download-item {
  position: relative;
  display: inline-block;
  text-decoration: none;
}

.download-item img {
  width: 250px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s;
}

.download-item:hover img {
  transform: scale(1.05);
}

.download-label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.9em;
  opacity: 0;
  transition: opacity 0.3s;
}

.download-item:hover .download-label {
  opacity: 1;
}

.mini-fasad {
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  width: 70%;
}

.text-f {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
}

hr {
    width: 60%;
    margin: 30px auto;
}

.close-button a {
    text-decoration: none;
    font-size: 18px;
}

.close-button {
    position: fixed;
    top: 5%;
    right: 5%;
    font-size: 24px;
    border: none;
    background: none;
    cursor: pointer;
    color: #000;
    padding: 0;
    transition: transform 0.5s ease;
}

.close-button:hover {
    transform: scale(1.05);
    transition: transform 0.5s;

}