.device-set {
  margin: 0 auto;
  overflow: auto;
  padding: 1%;
}

/* START Macbook */
.macbook {
  margin: 0 auto;
  min-width: 90%;
  max-width: 800px;
}

.device-set .macbook {
  float: left;
  margin: unset;
  width: 73%;
  min-width: unset;
  max-width: unset;
}

@media
(max-width: 599px) {

  .device-set .macbook {
    float: unset;
    margin: 0 auto;
    width: 100%;
  }

}

.macbook .screen {
  background: #000;
  border-radius: 3% 3% 0.5% 0.5% / 5%;
  margin: 0 auto;
  position: relative;/* constrains image */
  width: 82%;
}

.macbook .screen:before {
  border: 2px solid #cacacc;
  border-radius: 3% 3% 0.5% 0.5% / 5%;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.8) inset, 0 0 1px 2px rgba(255, 255, 255, 0.3) inset;
  content: "";
  display: block;
  padding-top: 67%;
}

.macbook .viewport {
  background: #333;
  cursor: pointer;
  margin: 4.3% 3.2%;
  overflow-y:scroll;
  
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.macbook .viewport img {
  width: 100%;
}

.macbook .base {
  width: 100%;
  
  position: relative;
}

.macbook .base:before {
  background: linear-gradient(#eaeced, #edeef0 55%, #fff 55%, #8a8b8f 56%, #999ba0 61%, #4B4B4F 84%, #262627 89%, rgba(0, 0, 0, .01) 98%);
  border-radius: 0 0 10% 10%/ 0 0 50% 50%;
  content: "";
  display: block;
  padding-top: 2.8%;
}

.macbook .base::after {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.5), rgba(255, 255, 255, 0.8) 0.5%, rgba(0, 0, 0, 0.4) 3.3%, transparent 15%, rgba(255, 255, 255, 0.8) 50%, transparent 85%, rgba(0, 0, 0, 0.4) 96.7%, rgba(255, 255, 255, 0.8) 99.5%, rgba(0, 0, 0, 0.5) 100%);
  content: "";
  height: 53%;
  
  position: absolute;
  top: 0;
  width: 100%;
}

.macbook .notch {
  background: #ddd;
  border-radius: 0 0 7% 7% / 0 0 95% 95%;
  box-shadow: -5px -1px 3px rgba(0, 0, 0, 0.2) inset, 5px -1px 3px rgba(0, 0, 0, 0.2) inset;
  margin: -3% auto 0 auto;
  z-index: 2;
  
  position: relative;
  width: 14%;
}

.macbook .notch:before {
  content: "";
  display: block;
  padding-top: 9%;
}
/* END Macbook */



/* START Phone */
.phoney {
  margin: 0 auto;
  min-width: 30%;
  max-width: 400px;
}

.device-set .phoney {
  float: right;
  margin: unset;
  margin-right: 2%;
  width: 23%;
  min-width: unset;
  max-width: unset;
}

@media
(max-width: 599px) {

  .device-set .phoney {
    float: unset;
    margin: 20px auto 5px auto;
    width: 60%;
  }

}

.phoney .case {
  background-color: #d9d9d9;
  background-image: linear-gradient(315deg, #d9d9d9 0%, #f6f2f2 74%);
  border-radius: 10px;
  margin: 0 auto;
  
  position: relative;/* constrains image */
}

.phoney .case:before {
  border: 2px solid #cacacc;
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.8) inset, 0 0 1px 2px rgba(255, 255, 255, 0.3) inset;
  content: "";
  display: block;
  padding-top: 180%;
}

.phoney .viewport {
  background: #333;
  border-radius: 4px;
  cursor: pointer;
  margin: 4.3% 3.2%;
  overflow-y:scroll;
  
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.phoney .viewport img {
  width: 100%;
}
/* END Phone */