html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  background-color: black;
}

.parent {
  display: flex;
  align-items: center;
  height: 100%;
}

.wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.header {
  flex-shrink: 0;
  height: 30px;
  background-image: url("assets/cima.jpg");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.footer {
  flex-shrink: 0;
  height: 30px;
  background-image: url("assets/baixo.jpg");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  height: 360px;
  min-width: 770px;
}

.left,
.right {
  flex-basis: calc((100% - 770px) / 2);
  background-image: url("assets/lado.jpg");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  height: 360px; /* set height to match the content wrapper */
}

.middle {
  flex-basis: 770px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.middle img {
  max-width: 100%;
  max-height: 100%;
}