/* * {
    box-sizing: border-box;
}

#scene {
    perspective: 1400px;
    z-index: 1;
    min-height: 100vh;
    position: relative;
    padding-top: 100px;
    padding-left: 100px;
}

.laptop {
    position: relative;
    display: block;
    margin: 0;
    transform-style: preserve-3d;
    width: 600px;
    outline: 1px solid transparent;
    will-change: transform;
    transform-origin: 50% 100%;
    opacity: 0;
    font-family: "Manrope", sans-serif;
    transform: translateX(-800px) rotateX(0deg) rotateY(90deg) rotateZ(0deg);
    transition: none;
}

.laptop.slide-in {
    opacity: 1;
    transform: translateX(0) rotateX(-12deg) rotateY(12deg) rotateZ(4deg);
    transition: transform 2s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease-out;
}

.laptop .lid {
    width: 600px;
    height: 390px;
    display: block;
    position: relative;
    margin: 0 auto;
    outline: 1px solid transparent;
    border: 1px solid #333;
    border-radius: 20px;
    will-change: transform;
    transform-style: preserve-3d;
    transform-origin: 50% 100%;
    transform: rotateX(-90deg);
    transition: none;
}

.laptop .lid.open {
    transform: rotateX(0deg);
    transition: transform 2.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.laptop .lid .top {
    display: block;
    width: 600px;
    height: 390px;
    position: absolute;
    top: -1px;
    left: -1px;
    pointer-events: none;
    outline: 1px solid transparent;
    border-radius: 20px;
    border: 1px solid #cfcfcf;
    transform: translateZ(-4px);
    box-shadow: 0 0 30px #e5e5e5 inset;
    background: linear-gradient(135deg, #fff 0%, #f3f3f3 50%, #ededed 51%, #fff 100%);
}

.laptop .lid .top #apple {
    display: block;
    position: absolute;
    width: 90px;
    height: 90px;
    top: 50%;
    left: 50%;
    outline: 1px solid transparent;
    transform: translate3d(-50%, -50%, 0) scaleX(-1);
    filter: drop-shadow(0 0 1px #e5e5e5);
}

.laptop .lid .inner {
    pointer-events: none;
    display: block;
    position: relative;
    border-radius: 20px;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    width: 100%;
    height: 100%;
    padding: 21px;
    overflow: hidden;
    background-color: #1a1a1a;
}

.laptop .lid .inner .screen {
    display: block;
    width: 100%;
    height: 100%;
    outline: 1px solid transparent;
    background-color: #000;
    overflow: hidden;
    border-radius: 2px;
    pointer-events: none;
    user-select: none;
    border: 1px solid #1a1a1a;
}

.laptop .lid .inner .screen video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.laptop .lid .inner .camera {
    display: block;
    position: absolute;
    outline: 1px solid transparent;
    width: 8px;
    height: 8px;
    left: calc(50% - 4px);
    top: 8px;
    backface-visibility: hidden;
    background-color: #333;
    border-radius: 50%;
}

.laptop .lid .inner .camera:before {
    content: "";
    width: 90%;
    height: 90%;
    display: block;
    outline: 1px solid transparent;
    position: absolute;
    top: 5%;
    left: 5%;
    background-color: #1a1a1a;
    border-radius: 50%;
}

.laptop .lid .text {
    display: block;
    text-align: center;
    position: absolute;
    pointer-events: none;
    margin: 0 auto;
    left: 0;
    right: 0;
    user-select: none;
    bottom: 3px;
    font-size: 10.2px;
    color: #fff;
}

.laptop .lid .glare {
    width: 360px;
    height: 798px;
    display: block;
    position: absolute;
    transform-origin: 50% 100%;
    top: 0;
    left: 0;
    background-color: #fff;
    outline: 1px solid transparent;
    opacity: 0.025;
    transform: rotate(45deg);
    animation: shine 27s infinite both;
}

@keyframes shine {
    0%, 100% { margin-top: -198px; }
    50% { margin-top: 300px; }
}

.laptop .base {
    display: block;
    position: absolute;
    outline: 1px solid transparent;
    width: 600px;
    height: 390px;
    margin: 0 auto;
    left: 0;
    right: 0;
    border: 1px solid #cfcfcf;
    border-radius: 20px;
    transform: rotateX(90deg) translateZ(0);
    transform-origin: 50% 0;
    transform-style: preserve-3d;
    background: linear-gradient(135deg, #fff 0%, #f3f3f3 50%, #ededed 51%, #fff 100%);
}

/* Keyboard, touchpad, and other base elements with abbreviated CSS for brevity */ /*
.laptop .base .keyboard-container {
    display: block;
    position: relative;
    width: 510px;
    height: 195px;
    margin: 36px auto 0;
    padding: 4px;
    background-color: #e5e5e5;
    border-radius: 4px;
    box-shadow: 0 0 1px 1px #cfcfcf inset;
}

.laptop .base .keyboard-container .keyboard-row {
    display: flex;
}

.laptop .base .keyboard-container .keyboard-row .key {
    height: 30px;
    margin: 2px;
    background-color: #333;
    flex: 1;
    border-radius: 3px;
    box-shadow: 1px -1px 0 #1a1a1a, 1px -1px 0 0 #595959 inset;
}

.laptop .base .keyboard-container .keyboard-row .key.extra-size { flex: 1.25; }
.laptop .base .keyboard-container .keyboard-row .key.extra-size-two { flex: 1.625; }
.laptop .base .keyboard-container .keyboard-row .key.double-size { flex: 2.125; }
.laptop .base .keyboard-container .keyboard-row .key.space-bar { flex: 7.2; }
.laptop .base .keyboard-container .keyboard-row.thin .key { height: 20px; }
.laptop .base .keyboard-container .keyboard-row.bottom-row .key { height: 24px; }

.laptop .base .keyboard-container .keyboard-row.bottom-row .arrows {
    display: flex;
    flex: 4;
    padding-bottom: 4px;
}

.laptop .base .keyboard-container .keyboard-row.bottom-row .arrows .up-down {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    margin: 2px 3px;
}

.laptop .base .touchpad {
    display: block;
    position: absolute;
    width: 270px;
    height: 141px;
    left: 0;
    right: 0;
    bottom: 7.8px;
    border-radius: 4px;
    margin: 0 auto;
    background-color: #e5e5e5;
    box-shadow: 0 0 1px 1px #cfcfcf inset;
}

.laptop .base .speakers {
    display: block;
    position: absolute;
    width: 33px;
    height: 195px;
    top: 36px;
    background: radial-gradient(#cfcfcf 35%, transparent 36%);
    background-size: 3px 3px;
}

.laptop .base .speakers.left { left: 5.4px; }
.laptop .base .speakers.right { right: 5.4px; }

.laptop .hinges {
    display: block;
    width: 450px;
    height: 8px;
    background-color: #333;
    position: absolute;
    border-radius: 0 0 2px 2px;
    top: -1px;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.laptop .base .bottom {
    display: block;
    width: 600px;
    height: 390px;
    position: absolute;
    top: -1px;
    left: -1px;
    border-radius: 20px;
    border: 1px solid #cfcfcf;
    transform: translateZ(-8px);
    transform-style: preserve-3d;
    box-shadow: 0 0 30px #ccc inset;
    background: linear-gradient(135deg, #fff 0%, #f3f3f3 50%, #ededed 51%, #fff 100%);
}

.laptop .screw {
    display: block;
    border-radius: 50%;
    width: 6px;
    height: 6px;
    position: absolute;
    box-shadow: 0 2px 2px -2px #666 inset, 2px 0 2px -2px #666 inset, -2px 0 2px -2px #666 inset, 0 -2px 2px -2px #666 inset;
    background: linear-gradient(to bottom, #cfcfcf 0%, #cfcfcf 45%, #888 45%, #888 55%, #cfcfcf 55%, #cfcfcf 100%);
}

.laptop .screw.rl { left: 12px; top: 12px; }
.laptop .screw.ml { left: 12px; top: 50%; }
.laptop .screw.fl { left: 12px; bottom: 12px; }
.laptop .screw.fml { left: 33%; bottom: 12px; }
.laptop .screw.fmr { left: 66%; bottom: 12px; }
.laptop .screw.rml { left: 33%; top: 12px; }
.laptop .screw.rmr { left: 66%; top: 12px; }
.laptop .screw.rr { right: 12px; top: 12px; }
.laptop .screw.mr { right: 12px; top: 50%; }
.laptop .screw.fr { right: 12px; bottom: 12px; }

.laptop .base .bottom .rubber-leg {
    display: block;
    position: absolute;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #333;
    transform: translateZ(-1px);
}

.laptop .base .bottom .rubber-leg.fl { bottom: 30px; left: 30px; }
.laptop .base .bottom .rubber-leg.fr { bottom: 30px; right: 30px; }
.laptop .base .bottom .rubber-leg.bl { top: 30px; left: 30px; }
.laptop .base .bottom .rubber-leg.br { top: 30px; right: 30px; }

.laptop .facet {
    display: block;
    position: absolute;
    background-color: #e5e5e5;
    border-top: 1px solid #cfcfcf;
    border-bottom: 1px solid #cfcfcf;
    transform: rotateX(90deg);
    transform-origin: 0 100%;
    transform-style: preserve-3d;
}

.laptop .facet.front {
    top: 389px;
    left: 17px;
    width: 564px;
    transform: translateY(-100%) rotateX(90deg);
}

.laptop .facet.back {
    top: -1px;
    left: 17px;
    width: 564px;
    transform: translateY(-100%) rotateX(90deg);
}

.laptop .facet.left {
    top: 16px;
    width: 354px;
    transform: translateX(-1px) translateY(-100%) rotateX(90deg) rotateY(90deg);
}

.laptop .facet.right {
    top: 16px;
    width: 354px;
    transform: translateX(599px) translateY(-100%) rotateX(90deg) rotateY(90deg);
}

.laptop .facet .power,
.laptop .facet .usb,
.laptop .facet .slot {
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.laptop .facet .power {
    width: 5px;
    height: 5px;
    background-color: #e5e5e5;
    border-radius: 8px;
    border: 2px solid #333;
    left: 8px;
}

.laptop .facet .usb {
    width: 15px;
    height: 5px;
    background-color: #e5e5e5;
    border-radius: 8px;
    border: 2px solid #333;
    left: 28px;
}

.laptop .facet .usb + .usb { left: 56px; }

.laptop .facet .slot {
    width: 40px;
    height: 1px;
    background-color: #e5e5e5;
    border-radius: 8px;
    border: 1px solid #333;
    left: 48px;
}

.laptop .corner {
    display: block;
    width: 6.6px;
    height: 4px;
    position: absolute;
    background-color: #e5e5e5;
    transform-origin: 0 100%;
    border-top: 1px solid #cfcfcf;
    border-bottom: 1px solid #cfcfcf;
    transform-style: preserve-3d;
}

.laptop .corner.fl {
    bottom: 0;
    left: 0;
    transform: translateX(45%) translateY(-90%) rotateZ(45deg) rotateX(90deg);
}

.laptop .corner.bl {
    top: 0;
    right: 0;
    transform: translateX(-27%) translateY(-72%) rotateZ(42deg) rotateX(90deg);
}

.laptop .corner.ll {
    top: 0;
    left: 0;
    transform: translateX(45%) translateY(-5%) rotateZ(-45deg) rotateX(90deg);
}

.laptop .corner.rl {
    bottom: 0;
    right: 0;
    transform: translateX(0) translateY(-45%) rotateZ(-48deg) rotateX(90deg);
}

.laptop .lid .corner.ll {
    transform: translateX(45%) translateY(90%) rotateZ(-45deg) rotateX(90deg);
}

.laptop .lid .corner.fl {
    transform: translateX(45%) translateY(-185%) rotateZ(45deg) rotateX(90deg);
}

.laptop .lid .corner.rl {
    transform: translateX(-15%) translateY(-90%) rotateZ(-47deg) rotateX(90deg);
}

.laptop .lid .corner.bl {
    transform: translateX(-15%) translateY(-30%) rotateZ(45deg) rotateX(90deg);
} */
