
/*
@font-face {
    font-family: 'RobotoMedium';
    src: url("/fonts/Roboto-Medium-webfont.eot");
    src: url("/fonts/Roboto-Medium-webfont.eot?#iefix") format("embedded-opentype"), url("/fonts/Roboto-Medium-webfont.woff") format("woff"), url("/fonts/Roboto-Medium-webfont.ttf") format("truetype"), url("/fonts/Roboto-Medium-webfont.svg#RobotoMedium") format("svg");
    font-weight: normal;
    font-style: normal
}
*/

/* Scoped to .url (de URL-testbalk van deze pagina) i.p.v. kaal "input":
   deze pagina laadt responsive_app.css sitewide via BaseLayout, dus een
   ongescopte input-regel brak ook de invoervelden van het footer-
   contactformulier (Footer.astro, overal op de site aanwezig) — die
   kregen dan float:left, 85% breedte en 1.4em tekst in plaats van hun
   normale .input-block-level-opmaak. */
.url input {
    width: 85%;
    margin-right: 1%;
    height: 1.8em;
    font-size: 1.4em;
    float: left
}



.url h2 {
    margin: 1em
}

.url p {
    line-height: 1.6;
    margin: 1em 2em
}

.promos a.button {
    width: 100%;
    font-size: 1.5em;
    background-color: #cc4e46;
    color: #ede6dc
}

.display {
    position: relative;
    width: 800px;
    height: 590px;
    margin: 0 auto;
    overflow: hidden;
    transform-origin: top center;
    -webkit-transform-origin: top center;
    -o-transform-origin: top center;
    -ms-transform-origin: top center;
    -moz-transform-origin: top center;
}

.url {
    float: left;
    background-color: #cc4e46;
    width: 100%;
    margin: 0 auto;
    box-shadow: 0px -2px 5px #333
}

/* ==========================================================
   Modern, neutral, pure-CSS device frames (no product photos)
   ========================================================== */

.myiframes {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background-color: #fff;
    transform-origin: top left;
    -webkit-transform-origin: top left;
    -o-transform-origin: top left;
    -ms-transform-origin: top left;
    -moz-transform-origin: top left;
}

/* the "screen" cut-out that clips each iframe to the frame's glass area */
.trim {
    position: absolute;
    overflow: hidden;
    background-color: #000;
}

/* ---------- Desktop monitor ---------- */
.desktop {
    position: absolute;
    top: 0;
    left: 160px;
    width: 460px;
    height: 310px;
    z-index: 1;
}

.desktop .trim {
    top: 10px;
    left: 10px;
    width: 440px;
    height: 248px;
    border-radius: 3px;
}

.desktop .myiframes {
    width: 1920px;
    height: 1080px;
    transform: scale(0.229167);
    -webkit-transform: scale(0.229167);
    -o-transform: scale(0.229167);
    -ms-transform: scale(0.229167);
    -moz-transform: scale(0.229167);
}

/* monitor bezel */
.desktop::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 460px;
    height: 274px;
    background: #2b2d31;
    border-radius: 10px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

/* stand neck */
.desktop::after {
    content: "";
    position: absolute;
    top: 274px;
    left: 205px;
    width: 50px;
    height: 26px;
    background: #c8cacc;
}

.desktop .stand-foot {
    position: absolute;
    top: 300px;
    left: 150px;
    width: 160px;
    height: 10px;
    background: #c8cacc;
    border-radius: 5px;
}

/* ---------- Laptop ---------- */
.laptop {
    position: absolute;
    top: 230px;
    left: 370px;
    width: 416px;
    height: 289px;
    z-index: 2;
}

.laptop .trim {
    top: 10px;
    left: 8px;
    width: 400px;
    height: 250px;
    border-radius: 2px;
}

.laptop .myiframes {
    width: 1366px;
    height: 854px;
    transform: scale(0.292826);
    -webkit-transform: scale(0.292826);
    -o-transform: scale(0.292826);
    -ms-transform: scale(0.292826);
    -moz-transform: scale(0.292826);
}

/* laptop lid + bezel */
.laptop::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 416px;
    height: 270px;
    background: #d9dadc;
    border: 1px solid #b9bbbe;
    border-radius: 10px 10px 2px 2px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

/* camera dot on the top bezel */
.laptop .cam-dot {
    position: absolute;
    top: 4px;
    left: 204px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #8b8d90;
    z-index: 1;
}

/* hinge line */
.laptop .hinge {
    position: absolute;
    top: 270px;
    left: 0;
    width: 416px;
    height: 3px;
    background: #a9abae;
}

/* keyboard deck, slightly wider than the lid for a subtle open-laptop look */
.laptop .deck {
    position: absolute;
    top: 273px;
    left: -18px;
    width: 452px;
    height: 16px;
    background: #c3c4c6;
    clip-path: polygon(4% 0, 96% 0, 100% 100%, 0 100%);
    border-radius: 0 0 6px 6px;
}

/* ---------- Tablet ---------- */
.tablet {
    position: absolute;
    top: 150px;
    left: 0;
    width: 292px;
    height: 406px;
    z-index: 3;
}

.tablet .trim {
    top: 16px;
    left: 16px;
    width: 260px;
    height: 374px;
    border-radius: 14px;
}

.tablet .myiframes {
    width: 820px;
    height: 1180px;
    transform: scale(0.317073);
    -webkit-transform: scale(0.317073);
    -o-transform: scale(0.317073);
    -ms-transform: scale(0.317073);
    -moz-transform: scale(0.317073);
}

.tablet::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 292px;
    height: 406px;
    background: #232326;
    border-radius: 28px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.tablet .cam-dot {
    position: absolute;
    top: 8px;
    left: 143px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #57585b;
    z-index: 1;
}

/* ---------- Mobile ---------- */
.mobile {
    position: absolute;
    top: 190px;
    left: 170px;
    width: 182px;
    height: 386px;
    z-index: 5;
}

.mobile .trim {
    top: 8px;
    left: 6px;
    width: 170px;
    height: 368px;
    border-radius: 24px;
}

.mobile .myiframes {
    width: 390px;
    height: 844px;
    transform: scale(0.435897);
    -webkit-transform: scale(0.435897);
    -o-transform: scale(0.435897);
    -ms-transform: scale(0.435897);
    -moz-transform: scale(0.435897);
}

.mobile::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 182px;
    height: 386px;
    background: #101012;
    border-radius: 32px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

/* punch-hole camera, Samsung-style */
.mobile .cam-dot {
    position: absolute;
    top: 11px;
    left: 88px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #3a3b3e;
    z-index: 1;
}

/* Down to tablet width the frames keep their overlapping desktop-style
   composition (fixed 800x590 canvas, scaled down as one unit — transform-
   origin is top center, and the container height shrinks to match so the
   shrunk composition doesn't leave a big empty gap below it). */
@media (max-width: 1160px) {
    .url input {
        width: 88%
    }
}

@media (max-width: 900px) {
    .display {
        transform: scale(0.85);
        -webkit-transform: scale(0.85);
        -o-transform: scale(0.85);
        -ms-transform: scale(0.85);
        -moz-transform: scale(0.85);
        height: 510px;
    }
}

/* Below 768px the overlap no longer reads well on a narrow screen, so the
   4 frames switch to a simple, non-overlapping vertical stack — each one
   sized down individually (see the k-factor comment on each device) rather
   than relying on the fixed-canvas transform trick above. */
@media (max-width: 768px) {
    .display {
        position: static;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 28px;
        width: auto;
        height: auto;
        margin: 0;
        padding: 30px 10px;
        overflow: visible;
        transform: none;
        -webkit-transform: none;
        -o-transform: none;
        -ms-transform: none;
        -moz-transform: none;
    }

    .desktop,
    .laptop,
    .tablet,
    .mobile {
        /* stays a positioning context for its own ::before bezel, .trim
           screen and decorative cam-dot/hinge/deck/stand-foot children —
           only "static" would strip that and send them to the nearest
           positioned ancestor instead, scattering them across the page */
        position: relative;
        top: auto;
        left: auto;
        margin: 0 auto;
    }

    /* desktop monitor, ~65% size */
    .desktop {
        width: 299px;
        height: 202px;
    }
    .desktop .trim {
        top: 7px;
        left: 7px;
        width: 286px;
        height: 161px;
    }
    .desktop .myiframes {
        transform: scale(0.148958);
        -webkit-transform: scale(0.148958);
        -o-transform: scale(0.148958);
        -ms-transform: scale(0.148958);
        -moz-transform: scale(0.148958);
    }
    .desktop::before {
        width: 299px;
        height: 178px;
    }
    .desktop::after {
        top: 178px;
        left: 133px;
        width: 33px;
        height: 17px;
    }
    .desktop .stand-foot {
        top: 195px;
        left: 98px;
        width: 104px;
        height: 7px;
    }

    /* laptop, ~70% size */
    .laptop {
        width: 291px;
        height: 202px;
    }
    .laptop .trim {
        top: 7px;
        left: 6px;
        width: 280px;
        height: 175px;
    }
    .laptop .myiframes {
        transform: scale(0.204978);
        -webkit-transform: scale(0.204978);
        -o-transform: scale(0.204978);
        -ms-transform: scale(0.204978);
        -moz-transform: scale(0.204978);
    }
    .laptop::before {
        width: 291px;
        height: 189px;
    }
    .laptop .cam-dot {
        top: 3px;
        left: 143px;
        width: 4px;
        height: 4px;
    }
    .laptop .hinge {
        top: 189px;
        width: 291px;
        height: 2px;
    }
    .laptop .deck {
        top: 191px;
        left: -13px;
        width: 316px;
        height: 11px;
    }

    /* tablet, ~85% size */
    .tablet {
        width: 248px;
        height: 345px;
    }
    .tablet .trim {
        top: 14px;
        left: 14px;
        width: 221px;
        height: 318px;
        border-radius: 12px;
    }
    .tablet .myiframes {
        transform: scale(0.269512);
        -webkit-transform: scale(0.269512);
        -o-transform: scale(0.269512);
        -ms-transform: scale(0.269512);
        -moz-transform: scale(0.269512);
    }
    .tablet::before {
        width: 248px;
        height: 345px;
        border-radius: 24px;
    }
    .tablet .cam-dot {
        top: 7px;
        left: 122px;
        width: 4px;
        height: 4px;
    }

    /* mobile, ~95% size — the phone preview stays close to full size */
    .mobile {
        width: 173px;
        height: 367px;
    }
    .mobile .trim {
        top: 8px;
        left: 6px;
        width: 162px;
        height: 350px;
        border-radius: 23px;
    }
    .mobile .myiframes {
        transform: scale(0.414103);
        -webkit-transform: scale(0.414103);
        -o-transform: scale(0.414103);
        -ms-transform: scale(0.414103);
        -moz-transform: scale(0.414103);
    }
    .mobile::before {
        width: 173px;
        height: 367px;
        border-radius: 30px;
    }
    .mobile .cam-dot {
        top: 10px;
        left: 84px;
    }

    .url a.button {
        font-size: 1.6em;
        line-height: 1.75em;
        margin-top: 0.5em;
        width: 100%
    }
    .url input {
        height: 1.2em;
        width: 100%
    }
}

@media (max-width: 400px) {
    /* one more notch down for very narrow phones (~360px and below) */
    .desktop {
        width: 240px;
        height: 162px;
    }
    .desktop .trim {
        top: 6px;
        left: 6px;
        width: 229px;
        height: 129px;
    }
    .desktop .myiframes {
        transform: scale(0.119167);
        -webkit-transform: scale(0.119167);
        -o-transform: scale(0.119167);
        -ms-transform: scale(0.119167);
        -moz-transform: scale(0.119167);
    }
    .desktop::before {
        width: 240px;
        height: 142px;
    }
    .desktop::after {
        top: 142px;
        left: 106px;
        width: 27px;
        height: 14px;
    }
    .desktop .stand-foot {
        top: 156px;
        left: 78px;
        width: 84px;
        height: 6px;
    }

    .laptop {
        width: 233px;
        height: 162px;
    }
    .laptop .trim {
        top: 6px;
        left: 5px;
        width: 224px;
        height: 140px;
    }
    .laptop .myiframes {
        transform: scale(0.163985);
        -webkit-transform: scale(0.163985);
        -o-transform: scale(0.163985);
        -ms-transform: scale(0.163985);
        -moz-transform: scale(0.163985);
    }
    .laptop::before {
        width: 233px;
        height: 151px;
    }
    .laptop .cam-dot {
        top: 2px;
        left: 114px;
    }
    .laptop .hinge {
        top: 151px;
        width: 233px;
    }
    .laptop .deck {
        top: 153px;
        left: -10px;
        width: 253px;
        height: 9px;
    }

    .tablet {
        width: 198px;
        height: 276px;
    }
    .tablet .trim {
        top: 11px;
        left: 11px;
        width: 176px;
        height: 254px;
        border-radius: 10px;
    }
    .tablet .myiframes {
        transform: scale(0.214634);
        -webkit-transform: scale(0.214634);
        -o-transform: scale(0.214634);
        -ms-transform: scale(0.214634);
        -moz-transform: scale(0.214634);
    }
    .tablet::before {
        width: 198px;
        height: 276px;
        border-radius: 19px;
    }
    .tablet .cam-dot {
        top: 6px;
        left: 97px;
    }

    .mobile {
        width: 153px;
        height: 325px;
    }
    .mobile .trim {
        top: 7px;
        left: 5px;
        width: 143px;
        height: 310px;
        border-radius: 20px;
    }
    .mobile .myiframes {
        transform: scale(0.366667);
        -webkit-transform: scale(0.366667);
        -o-transform: scale(0.366667);
        -ms-transform: scale(0.366667);
        -moz-transform: scale(0.366667);
    }
    .mobile::before {
        width: 153px;
        height: 325px;
        border-radius: 27px;
    }
    .mobile .cam-dot {
        top: 9px;
        left: 74px;
    }

    .url p {
        margin: 1em
    }
}
