{# Devices #}
.fn__devices {
  max-width: 1140px;
  position: relative;
  padding: 0 0.75rem 7rem;
  margin:auto;
}
.fn__devices .fn__device-mobile {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
  margin-left: 5rem;
  margin-bottom: 5rem;
}
.fn__devices .fn__device-mobile.only {
  position:relative;
  bottom:auto;
  left:auto;
  margin:auto;
}
@media (max-width: 991.98px) {
  .fn__devices .fn__device-mobile {
    display: none;
  }
  .fn__devices .fn__device-mobile.only {
    display:flex;
  }
}

.fn__devices .fn__device-browser {
  margin-left: auto;
  margin-right: 5rem;
}
.fn__devices .fn__device-browser.only{
  margin-right: auto;
}
.fn__devices .fn__device-tablet{
  margin-left: auto;
  margin-right: 5rem;
}
.fn__devices .fn__device-tablet.only{
  margin:auto;
}
@media (max-width: 991.98px) {
  .fn__devices .fn__device-mobile {
    margin-right: 0.5rem;
  }
  .fn__devices .fn__device-browser {
    margin-right: auto;
  }
}

.fn__device-shadow-none .fn__device-mobile-frame,
.fn__device-shadow-none .fn__device-browser-frame {
  box-shadow: none;
}

.fn__device-wrap {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -ms-flex-align: end;
      align-items: flex-end;
  grid-gap: 1rem;
}

@media (max-width: 991.98px) {
  .fn__device-wrap {
    display: none;
  }
  .fn__devices {
    padding-bottom:10px;
  }
  .fn__device-browser-frame {
    box-shadow: 0 1.75rem 2.5rem -4.5rem rgb(189 197 209 / 50%), 0 1rem 3rem -5rem rgb(33 50 91 / 30%);
  }
}

.fn__device-rotated {
  -webkit-transform: rotate(-22deg);
          transform: rotate(-22deg);
}

.fn__device-rotated .fn__device-rotated-body {
  -webkit-transform: translate3d(15%, 0, 0);
          transform: translate3d(15%, 0, 0);
}

.fn__device-top-start-50 {
  position: absolute;
  top: 0;
  left: 50%;
}

{# Mobile Device #}
.fn__device-mobile {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 100%;
  width: 15rem;
  height: auto;
}

.fn__device-mobile-frame {
  background: #f8fafd;
  box-shadow: 0 2.75rem 5.5rem -3.5rem rgba(189, 197, 209, 0.5), 0 2rem 4rem -2rem rgba(33, 50, 91, 0.3), inset 0 -0.1875rem 0.3125rem 0 rgba(151, 164, 175, 0.5);
  border-radius: 2rem;
  padding: 0.3125rem;
}

.fn__device-mobile-img {
  max-width: 100%;
  height: auto;
  border-radius: 1.6rem;
}
.rotated-3d-right {
    -webkit-transform: perspective(1140px) rotateX(7deg) rotateY(17deg) rotateZ(-4deg);
    transform: perspective(1140px) rotateX(7deg) rotateY(17deg) rotateZ(-4deg);
}
{# Tablet Device #}
.fn__device-tablet {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 100%;
  width: 50rem;
  height: auto;
  margin:auto;
}

.fn__device-tablet-frame {
  background: #f8fafd;
  box-shadow: 0 2.75rem 5.5rem -3.5rem rgba(189, 197, 209, 0.5), 0 2rem 4rem -2rem rgba(33, 50, 91, 0.3), inset 0 -0.1875rem 0.3125rem 0 rgba(151, 164, 175, 0.5);
  border-radius: 1rem;
  padding: 0.3125rem;
}

.fn__device-tablet-img {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
}

.fn__device-vertical-tablet {
  position: relative;
  z-index: 1;
  max-width: 100%;
  width: 30rem;
  height: auto;
}

.fn__device-vertical-tablet-frame {
  background: #f8fafd;
  box-shadow: 0 2.75rem 5.5rem -3.5rem rgba(189, 197, 209, 0.5), 0 2rem 4rem -2rem rgba(33, 50, 91, 0.3), inset 0 -0.1875rem 0.3125rem 0 rgba(151, 164, 175, 0.5);
  border-radius: 1rem;
  padding: 0.3125rem;
}

.fn__device-vertical-tablet-img {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
}

{# Browser Devices #}
.fn__device-browser {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 100%;
  width: 50rem;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}

.fn__device-browser-frame {
  background: #fff;
  box-shadow: 0 2.75rem 5.5rem -3.5rem rgba(189, 197, 209, 0.5), 0 2rem 4rem -2rem rgba(33, 50, 91, 0.3);
  border-bottom-right-radius: 0.5rem;
  border-bottom-left-radius: 0.5rem;
}

.fn__device-browser-img {
  max-width: 100%;
  height: auto;
  border-bottom-right-radius: 0.5rem;
  border-bottom-left-radius: 0.5rem;
}

.fn__device-browser-header {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  max-width: 50rem;
  background: #fff;
  border-bottom: 0.0625rem solid #f1f3f8;
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
  padding: 0.5rem 6.5rem;
}

.fn__device-browser-header-btn-list {
  display: -ms-flexbox;
  display: flex;
  grid-gap: 0.25rem;
  position: absolute;
  top: calc(50% - 0.25rem);
  left: 1rem;
}

.fn__device-browser-header-btn-list-btn {
  width: 0.5rem;
  height: 0.5rem;
  background-color: #e7eaf3;
  border-radius: 50%;
}

.fn__device-browser-header-browser-bar {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
      justify-content: center;
  -ms-flex-align: center;
      align-items: center;
  width: 100%;
  height: 100%;
  color: #677788;
  background-color: #e7eaf3;
  font-size: 0.5rem;
  border-radius: 0.125rem;
}

.fn__device-browser-lg {
  width: 60rem;
}

.fn__device-browser-lg .fn__device-browser-header {
  max-width: 60rem;
}