/**
 * DaisyUI phone mockup - plain CSS subset derived from mockup.css
 * (https://github.com/saadeghi/daisyui). Tailwind @apply removed for static site use.
 */

.mockup-phone {
  display: inline-grid;
  justify-items: center;
  border: 5px solid #6b6b6b;
  border-radius: 65px;
  background-color: #000;
  padding: 6px;
  overflow: hidden;
  width: 100%;
  max-width: 462px;
  aspect-ratio: 462 / 978;
  box-sizing: border-box;
  vertical-align: middle;
}

.mockup-phone-camera {
  grid-column: 1 / 1;
  grid-row: 1 / 1;
  position: relative;
  z-index: 3;
  /* Pill reads on dark wallpapers and video (was easy to lose: display painted after camera with z-index ignored). */
  background: #0a0a0a;
  height: 3.7%;
  width: 28%;
  border-radius: 17px;
  margin-top: 3%;
  align-self: start;
  justify-self: center;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.1);
}

.mockup-phone-display {
  border-radius: 54px;
  grid-column: 1 / 1;
  grid-row: 1 / 1;
  position: relative;
  z-index: 0;
  overflow: hidden;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

.mockup-phone-display > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Tailwind-class equivalents from DaisyUI docs */
.mockup-phone-display.text-white {
  color: #fff;
}

.mockup-phone-display.bg-neutral-900 {
  background-color: #171717;
}

.mockup-phone-display.grid.place-content-center {
  display: grid;
  place-content: center;
}

.mockup-phone.border-accent {
  border-color: #ff8938;
}

/* Tailwind arbitrary value from docs: border-[#ff8938] */
.mockup-phone.border-\[\#ff8938\] {
  border-color: #ff8938;
}
