/*! Devices.css v0.2.0 | MIT License | github.com/picturepan2/devices.css */
.device,
.device *,
.device ::after,
.device ::before,
.device::after,
.device::before {
  box-sizing: border-box;
  display: block;
}
.device {
  position: relative;
  transform: scale(1);
  z-index: 1;
}
.device .device-frame {
  z-index: 1;
}
.device .device-screen {
  background-color: #ffffff;
  background-position: center center;
  background-size: cover;
  object-fit: cover;
  position: relative;
}

.device-google-pixel-6-pro {
  height: 862px;
  width: 404px;
}
.device-google-pixel-6-pro .device-frame {
  background: #ffffff;
  border-radius: 28px;
  box-shadow: inset 0 0 12px rgb(141 141 134 / 50%), inset 0 7px 0 3px #fdfdfc,
    inset 0 -6px 0 3px #fdfdfc;
  height: 862px;
  margin: 0 2px;
  padding: 20px 12px 26px 12px;
  width: 400px;
  position: relative;
}
.device-google-pixel-6-pro .device-screen {
  border-radius: 27px;
  height: 816px;
  width: 376px;
}
.device-google-pixel-6-pro .device-header {
  background: linear-gradient(to bottom, #8d8d86 0, #cbcbc8 30%, #cbcbc8 100%);
  height: 10px;
  left: 50%;
  margin-left: -147px;
  position: absolute;
  top: 0;
  width: 294px;
}
.device-google-pixel-6-pro .device-stripe::after {
  background: linear-gradient(to top, #121212, #666661);
  border-radius: 50px 50px 0 0;
  bottom: 0;
  content: '';
  height: 2px;
  left: 50%;
  margin-left: -22px;
  position: absolute;
  width: 44px;
}
.device-google-pixel-6-pro .device-stripe::before {
  background: #cbcbc8;
  bottom: 0;
  content: '';
  height: 9px;
  left: 50%;
  margin-left: 40px;
  position: absolute;
  width: 11px;
}
.device-google-pixel-6-pro .device-sensors {
  background: #121212;
  border-radius: 50%;
  height: 22px;
  left: 50%;
  margin-left: -11px;
  margin-top: -11px;
  position: absolute;
  top: 39px;
  width: 22px;
}
.device-google-pixel-6-pro .device-sensors::after,
.device-google-pixel-6-pro .device-sensors::before {
  content: '';
  position: absolute;
}
.device-google-pixel-6-pro .device-sensors::after {
  background: linear-gradient(to bottom, #121212, #666661);
  border-radius: 0 0 50px 50px;
  height: 4px;
  left: 50%;
  margin-left: -103px;
  top: -18px;
  width: 206px;
}
.device-google-pixel-6-pro .device-sensors::before {
  background: radial-gradient(farthest-corner at 20% 20%, #6074bf 0, transparent 40%),
    radial-gradient(farthest-corner at 80% 80%, #513785 0, #24555e 20%, transparent 50%);
  border-radius: 50%;
  box-shadow: 0 0 1px 1px rgba(255, 255, 255, 0.05);
  height: 8px;
  left: 7px;
  top: 7px;
  width: 8px;
}
.device-google-pixel-6-pro .device-btns {
  background: #b2b2ae;
  height: 102px;
  position: absolute;
  right: 0;
  top: 306px;
  width: 3px;
}
.device-google-pixel-6-pro .device-power {
  background: #b2b2ae;
  height: 58px;
  position: absolute;
  right: 0;
  top: 194px;
  width: 3px;
}
.device-google-pixel-6-pro.device-gold .device-frame {
  box-shadow: inset 0 0 12px #ff962e, inset 0 7px 0 3px #fff, inset 0 -6px 0 3px #fff;
}
.device-google-pixel-6-pro.device-gold .device-header {
  background: linear-gradient(to bottom, #ff962e 0, #ffd6ad 30%, #ffd6ad 100%);
}
.device-google-pixel-6-pro.device-gold .device-stripe::after {
  background: linear-gradient(to top, #121212, #e07000);
}
.device-google-pixel-6-pro.device-gold .device-stripe::before {
  background: #ffd6ad;
}
.device-google-pixel-6-pro.device-gold .device-btns {
  background: #ffbd7a;
}
.device-google-pixel-6-pro.device-gold .device-power {
  background: #ffbd7a;
}
.device-google-pixel-6-pro.device-black .device-frame {
  box-shadow: inset 0 0 12px #000, inset 0 7px 0 3px #646668, inset 0 -6px 0 3px #646668;
}
.device-google-pixel-6-pro.device-black .device-header {
  background: linear-gradient(to bottom, #000 0, #323334 30%, #323334 100%);
}
.device-google-pixel-6-pro.device-black .device-stripe::after {
  background: linear-gradient(to top, #121212, #000);
}
.device-google-pixel-6-pro.device-black .device-stripe::before {
  background: #323334;
}
.device-google-pixel-6-pro.device-black .device-btns {
  background: #191a1a;
}
.device-google-pixel-6-pro.device-black .device-power {
  background: #191a1a;
}

@media only screen and (max-height: 960px) {
  .device {
    transform: scale(0.8);
  }
}
@media only screen and (max-height: 795px) {
  .device {
    transform: scale(0.6);
  }
}
@media only screen and (max-height: 600px) {
  .device {
    transform: scale(0.4);
  }
}

/* ------------------------------------------------------------------------------- */
/* Browser mock */

.browser-window {
  max-width: 1440px;
  width: 100%;
  height: 100%;
  margin-inline: auto;
  position: relative;
  border: 1px solid rgba(145, 158, 171, 0.24);
  box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 1px 0px;
  border-radius: 6px;
}

.browser-window-toolbar {
  width: 100%;
  height: 46px;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  background-color: #f9fafb;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-inline: 16px;
}

.browser-window-toolbar .browser-window-toolbar-button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #e5e5e5;
}

.browser-window-toolbar .browser-window-toolbar-button:nth-child(1) {
  background-color: #ff5f56;
}

.browser-window-toolbar .browser-window-toolbar-button:nth-child(2) {
  background-color: #ffbd2e;
}

.browser-window-toolbar .browser-window-toolbar-button:nth-child(3) {
  background-color: #27c93f;
}

.browser-window-content {
  width: 100%;
  height: calc(100% - 46px);
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
  background-color: #fff;
  position: relative;
}

.browser-window-content iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 0 0 6px 6px;
}

/* ------------------------------------------------------------------------------- */
