
@media (max-width: 768px) {
  .container {
    width: calc(100% - 30px);
  }
}

/* Target elements */

.targets-wrapper {
  margin: 0 -5px;
  padding: 10px 0 20px;
  display: flex;
  flex-wrap: wrap;
}

.target,
.target-click,
.target-notice {
  cursor: default;
  font-size: 18px;
  line-height: 25px;
  height: 52px;
  border-radius: 4px;
  overflow: hidden;
  border: 2px solid #e2e2e2; 
  text-align: center;
  font-weight: 500;
  position: relative;  
  width: calc(25% - 10px);
  margin: 5px;
  transition: border-color .2s, background-color .2s;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.target:hover,
.target-click:hover,


.target-click,
.target-notice {
  cursor: pointer;
}

.target.active,
.target-click.active,


@media (max-width: 768px) {

  .target,
  .target-click,
  .target-notice {
    width: calc(50% - 10px);
  }
}

.demo-img {
  width: calc(25% - 10px);
  margin: 5px;
}

@media (max-width: 500px) {
  .demo-img {
    width: calc(50% - 10px);
  }
}

.demo-img>img {
  border: 4px solid #e2e2e2;
  border-radius: 4px;
  width: 100%;
  height: auto;
  filter: grayscale(100%);
  transition: filter .2s, border-color .2s;
}

.demo-img:hover>img {
  filter: none;
  border-color: #bbb;
}

@media (max-width: 768px) {
  .demo-img>img {
    border-width: 2px;
  }
}



#stephan {
  display: block;
  position: absolute;
  top: 50%;
  right: 0;
  width: 40px;
  height: 40px;
  transform: translateY(-50%);
  border-radius: 3px;
  background: no-repeat center center url(https://stephanwagner.me/img/stephan.jpg);
  background-size: 100%;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, .3);
}

#stephan>span {
  font-size: 0;
  line-height: 0;
  white-space: nowrap;
  position: absolute;
  top: 50%;
  right: 50%;
  pointer-events: none;
  transition: font-size .2s, margin .2s, opacity .2s, line-height .2s;
  opacity: 0;
}

#stephan:hover>span {
  opacity: 1;
  font-size: 17px;
  margin-right: 40px;
}

@media (max-width: 500px) {
  #stephan>span {
    display: none;
  }
}

/* jBox styles */

.ajax-sending {
  color: #49d;
}

.ajax-complete {
  color: #390;
}

.ajax-success tt {
  color: #666;
  display: block;
  padding-top: 10px;
  font-size: 14px;
}

.ajax-error {
  color: #d00;
}
