body {
  font-family: "Tahoma", sans-serif;
  font-size: 16px;
  line-height: 25px;
  color: midnightblue;
  background-color: lightcyan;
  margin: 0;
}
h1 {
  font-size: 1.5em;

  margin: 2em;
  text-align: center;
}

.questions {
}
.questions li {
  margin: 1em 0;
}

.photo {
  max-width: 100%;
}

.solution {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  margin: 2em 0;
  align-items: anchor-center;
  justify-content: center;
}

#items {
  display: flex;

  flex-wrap: wrap;

  justify-content: center;
  font-size: 1.25em;
}

table {
  border: 1px solid;
  border-collapse: collapse;
  width: 100%;
  font-size: 1.25em;
}
th,
td {
  border: 1px solid;
  width: 20%;
}
td {
  background: white;
  padding: 1em;
  text-align: center;
}

th {
  padding: 1em;
  background: whitesmoke;
}
td.drop-target {
  box-shadow: 0px -0px 15px 0px lightsteelblue inset;
}

.buttons {
  display: flex;
}

#items li {
  list-style-type: none;
  cursor: move;
  margin: 1em;
}

.layout {
  display: grid;
  grid-template-areas:
    "questions photo"
    "list     table"
    "list     buttons";
  grid-template-columns: 1fr 1.5fr;
  gap: 2em;
  margin: 2em;
}

.div-questions {
  grid-area: questions;
}
.div-photo {
  grid-area: photo;
}
.div-list {
  grid-area: list;
}
.div-table {
  grid-area: table;
}
.div-buttons {
  grid-area: buttons;
  text-align: right;
}

/* Адаптивная версия */
@media (max-width: 1000px) {
  .layout {
    grid-template-areas:
      "photo"
      "questions"
      "list"
      "table"
      "buttons";
    grid-template-columns: 1fr;
  }
}
