.device {
  position: relative;
  overflow: hidden;
  background: #000;
  transition: 
    width 0.6s ease,
    height 0.6s ease,
    border-radius 0.6s ease,
    box-shadow 0.6s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.controls {
    margin: 50px 0 20px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}
.device-wrapper {
    max-width: 720px;
    margin: 0 auto;
}

/* Desktop monitor look */
.desktop-view {
  width: auto;
  height: 430px;
  border-radius: 10px;
  border: 7px solid #111;
  margin: 0 auto;
}

/* Phone look */
.mobile-view {
  width: 300px;
  height: 620px;
  border-radius: 42px;
  border: 6px solid #000;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .controls {display: none;}

  .col.col-12.website-gallery {
      padding: 0px;
      color: white;
  }

  .mobile-view {
      width: 220px;
      height: 450px;
  }

  .device-slideshow .prevNext a {
      width: 40px;
      height: 40px;
      line-height: 60px;
      line-height: 60%;
      font-size: 50px;
  }

  #mobile-message {
    display: block;
  }

}
@media (min-width: 768px) {

  .device-slideshow .prevNext a {
      width: 60px;
      height: 60px;
      line-height: 60px;
      line-height: 79%;
      font-size: 60px;
  }

  #mobile-message {
    display: none;
  }

}

.desktopBtn, .mobileBtn {
  flex: none;
  padding: 10px 20px;
  font-size: 1rem;
  cursor: pointer;
  background-color: #1A2836;
  color: white;
  border: none;
  border-radius: 5px;
  transition: background-color 0.3s;
  border: 1px solid #058ED9;
}

.controls .active {
  background-color: #058ED9;
}

.base {
    position: relative;
    width: 200px;
    height: 80px;
    transition: opacity 0.4s ease;
    margin: 0 auto;
}

.neck {
    position: relative;
    width: 60px;
    height: 80px;
    background: #000;
    transition: opacity 0.4s ease;
    margin: 0 auto;
}
.foot {
    position: relative;
    width: 200px;
    height: 10px;
    background: #000;
    border-bottom-left-radius: 22px;
    border-bottom-right-radius: 22px;
    transition: opacity 0.4s ease;
    margin: 0 auto;
}

.screen-content {
  width: 100%;
  height: 100%;
  overflow-y: auto;
}

/* Credit goes to Roko C. Buljan for sharing this AWESOME Pure Responsive CSS3 Slideshow Gallery */

/* Desktop scroll (normal scrollbar) */
.desktop-view .screen-content {
  scrollbar-width: auto;
  overscroll-behavior: contain;
}

/* Mobile scroll — smooth momentum */
.mobile-view .screen-content {
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* hide scrollbar */
}

.mobile-view .screen-content::-webkit-scrollbar {
  display: none;
}

.screenshot {
  width: 100%;
  height: auto; /* automatic sizing */
  display: block;
  margin: -1px 0px 0px 0px;
}

/*SLIDESHOW ONLY*/

.device-slideshow {
  position: relative;
  overflow: hidden;
}

/* SLIDER */

.device-slideshow .slider {
  height: 100%;
  white-space: nowrap;
  font-size: 0;
  transition: 0.8s;
}

/* SLIDES */

.device-slideshow .slider > * {
  font-size: 1rem;
  display: inline-block;
  white-space: normal;
  vertical-align: top;
  height: auto;
  width: 100%;
  margin: 50px 0px 0px 0px;
}

/* PREV/NEXT, CONTAINERS & ANCHORS */

.device-slideshow .prevNext {
  position: absolute;
  z-index: 1;
  top: 50%;
  width: 100%;
  height: 0;
}

.device-slideshow .prevNext > div+div {
  visibility: hidden; /* Hide all but first P/N container */
}
.device-slideshow .prevNext a {
  background: #fff;
  position: absolute;
  text-align: center;
  left: 0;
  cursor: pointer;
  background-color: #1A2836;
  color: white;
  border: none;
  border-radius: 5px;
  transition: background-color 0.3s;
  border: 1px solid #058ED9;
}

.device-slideshow .prevNext a:hover {
  background-color: #058ED9;
}

.device-slideshow .prevNext a+a {
  left: auto;
  right: 0;
}

/* NAVIGATION */

.device-slideshow .bullets {
  position: relative;
  padding: 10px 0;
  width: 100%;
  text-align: center;
  margin-top: 20px;
}
.device-slideshow .bullets > a {
  display: inline-block;
  width:       30px;
  height:      30px;
  line-height: 30px;
  text-decoration: none;
  text-align: center;
  background: rgba(255, 255, 255, 1);
  -webkit-transition: 0.3s;
  transition: 0.3s;
  cursor: pointer;
}
.device-slideshow .bullets > a+a {
  background: rgba(255, 255, 255, 0.5); /* Dim all but first */
}
.device-slideshow .bullets > a:hover {
  background: rgba(255, 255, 255, 0.7) !important;
}

/* NAVIGATION BUTTONS */
/* ALL: */
.device-slideshow >s:target ~ .bullets >* {      background: rgba(255, 255, 255, 0.5);}
/* ACTIVE */
#s1:target ~ .bullets >*:nth-child(1) {background: rgba(255, 255, 255,   1);}
#s2:target ~ .bullets >*:nth-child(2) {background: rgba(255, 255, 255,   1);}
#s3:target ~ .bullets >*:nth-child(3) {background: rgba(255, 255, 255,   1);}
#s4:target ~ .bullets >*:nth-child(4) {background: rgba(255, 255, 255,   1);}
/* More slides? Add here more rules */

/* PREV/NEXT CONTAINERS VISIBILITY */
/* ALL: */
.device-slideshow >s:target ~ .prevNext >* {visibility: hidden;}
/* ACTIVE: */
#s1:target ~ .prevNext >*:nth-child(1) {visibility: visible;}
#s2:target ~ .prevNext >*:nth-child(2) {visibility: visible;}
#s3:target ~ .prevNext >*:nth-child(3) {visibility: visible;}
#s4:target ~ .prevNext >*:nth-child(4) {visibility: visible;}
/* More slides? Add here more rules */

/* SLIDER ANIMATION POSITIONS */

#s1:target ~ .slider {transform: translateX(   0%); -webkit-transform: translateX(   0%);}
#s2:target ~ .slider {transform: translateX(-100%); -webkit-transform: translateX(-100%);}
#s3:target ~ .slider {transform: translateX(-200%); -webkit-transform: translateX(-200%);}
#s4:target ~ .slider {transform: translateX(-300%); -webkit-transform: translateX(-300%);}
/* More slides? Add here more rules */

.device-slideshow{
  color: #fff;  
  text-align: center;
}
.device-slideshow .slider h2 {
  margin-top: 40vh;
  font-weight: 200;
  letter-spacing: -0.06em;
  word-spacing: 0.2em;
  font-size: 3em;
}
.device-slideshow a {
  border-radius: 50%;
  margin: 0 3px;
  color: rgba(0,0,0,0.8);
  text-decoration: none;
}

.scrolling,
.scrolling:before {
  position: absolute;
  left: 50%;
}
.scroll-icon {
    position: relative;
    width: 100%;
    display: block;
}
.scrolling {
    width: 40px;
    height: 70px;
    margin-left: -20px;
    box-shadow: inset 0 0 0 1px #fff;
    border-radius: 25px;
    z-index: 1;
    position: relative;
}
.scroll-text p {
    margin: 0 auto;
    width: fit-content;
    text-align: center;
}
.device-wrapper:hover .scrolling {
  display: none;
}
.scrolling:before {
  content: '';
  width: 8px;
  height: 8px;
  background: #fff;
  margin-left: -4px;
  top: 8px;
  border-radius: 4px;
  animation-duration: 1.5s;
  animation-iteration-count: infinite;
  animation-name: scroll;
}

@keyframes scroll {
  0% {opacity: 1;}
  100% {opacity: 0; transform: translateY(46px);}
}