body {
  background-color: #E2E8F3;
  font-size: 1em;
  font-family: "Roboto", Arial, Helvetica, sans-serif;
}

h2 {
  text-align: center;
}
ul li {
  list-style-type: none;
}
img {
  cursor: pointer;
}
a {
  color: #538cff;
  padding: 8px;
}

button {
  font-size: 16px;
  border-radius: 3px;
  background-color: lightgrey;
  border: 1px solid grey;
  box-shadow: 2px 2px #538cff;
  cursor: pointer;
}

button:hover {
  background-color: #ffd92c;
}

footer {
  position: absolute;
  bottom: 0;
  margin: 16px;
}
.container {
  height: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.parking-rules {
  padding: 0;
}
.parking-rules  > .parking-rule {
  display: flex;
  justify-content: center;
  text-align: center;
  background: #FDFEFE;
  padding: 16px;
  margin: 12px;
}
.parking-rule:nth-child(n) {
  border: 2px solid #538cff;
}
.parking-rule:nth-child(2n) {
  border: 2px solid #d51c00;
}
.parking-rule:nth-child(3n) {
  border: 2px solid #ffd92e;
}
.parking-rule ul {
  padding: 0;
}
.parking-rule li:first-child {
  font-weight: 700;
  text-transform: uppercase;
}
.drop-zone {
  position: relative;
  width: 300px;
  height: 300px;
  overflow: hidden;
  background: #878787;
  color: white;
  box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);
}
.drop-zone {
  display: flex;
  align-items: center;
  justify-content: center;
}
.drop-zone .dashing {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
}
.drop-zone .dashing:nth-of-type(1) {
  transform: rotate(0deg);
}
.drop-zone .dashing:nth-of-type(2) {
  transform: rotate(90deg);
}
.drop-zone .dashing:nth-of-type(3) {
  transform: rotate(180deg);
}
.drop-zone .dashing:nth-of-type(4) {
  transform: rotate(270deg);
}
.drop-zone .dashing i {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 200%;
  border-bottom: 12px dashed;
  animation: slideDash 5.5s infinite linear;
}
@keyframes slideDash {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0%);
  }
}
.drag-vehicle h2::before {
  content: "\2190";
}

.vehicles img {
  visibility: visible;
  opacity: 1;
}

.vehicles img.hide {
  visibility: hidden;
  opacity: 0;
}

/* media queries */
@media screen and (max-width: 48em) {
  .container {
    flex-direction: column;
  }
}
