body {
  margin: 0;
  font-family: Montserrat;
  background: #fff;
}

header,
footer {
  background: #111;
  color: #f28c28;
  text-align: center;
  padding: 24px;
}

footer {
  border-top: 1px solid #333;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: calc(100vh - 148px);
}

.panel {
  text-decoration: none;
  color: #fff;
  background-size: cover;
  background-position: center;
  position: relative;
}

.ar {
  background-image: url('images/Flexer3.png');
}

.us {
  background-image: url('images/Allux2.png');
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: 0.35s;
}

.panel:hover .overlay {
  background: rgba(0, 0, 0, 0.25);
}

img {
  width: 300px;
  max-width: 70%;
  transition: 0.35s;
}

.panel:hover img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
    height: auto;
  }

  .panel {
    min-height: 40vh;
  }
}