#ProjectsGrid {
display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  justify-items: center;
  margin-top: 40px;
}
.ProjectBlock{
    background: rgba(83, 16, 38, 0.86);
    max-width: 500px;
    padding: 30px;
    border-radius: 40px;
    flex: 1 1 400px;
}
.ProjectBlock:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
}
.Project{
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
}
.ProjectIcons{

    max-width: 200px;
    height: auto;
    border-radius: 10px;
}
.ProjectOutline{
    max-width: 300px;
    height: auto;
    flex: 1;
}
.allTags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
  justify-content: center;
}

.Tag {
  background: #542881;
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
}
@media (max-width: 768px) {
  #ProjectsGrid {
    grid-template-columns: 1fr;
  }
    #outlineElectronics{
        max-width: 300px;
    }
}
/* ---------- Project---------- */
.ProjectImage{
    max-width: 700px;
    height: 300px;
     border-radius: 10px;
    margin-bottom: 10px;
}
.ProjectPage {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.ProjectImages {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;

}
.electronics-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: center; /* центрируем внутри */
  gap: 40px;
  margin-top: 20px;
  background: rgba(83, 16, 38, 0.86); /* фон как у ProjectBlock */
  padding: 30px;
  border-radius: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
    margin-bottom: 20px;
}

.electronics-list {
  list-style-type: disc;
  padding-left: 20px;
  margin: 0;
  color: #fff; /* белый текст для тёмного фона */
  font-weight: 500;
  text-align: left;
  max-width: 400px;
  line-height: 1.6;
}

.electronics-wrapper h2 {
  margin-bottom: 15px;
  color: #fff;
  font-size: 1.4rem;
}

.electronics-image {
  max-width: 300px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}
.video-wrapper {
  position: relative;
  width: 80%;
  max-width: 600px;
  margin: 20px auto;
  padding-bottom: 56.25%;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 10px;
}
.problem-block {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
  padding: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.problem-block .ProjectImage {
  max-width: 300px;
  height: auto;
  border-radius: 10px;
}
.problem-block p {
  max-width: 300px;

}
.problem-text {
  max-width: 600px;
}

.Pheading{
    margin-top: 20px;

}
p{
      text-align: left;
    font-size: 18px;
}
