:root{color-scheme:light;background:#70d5ee;font-family:system-ui,sans-serif}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;min-height:100svh}
body{background:#70d5ee url('assets/kraf-background.jpg') center center/cover no-repeat fixed}
main{min-height:100svh;display:grid;place-items:center;padding:24px 64px 40px}
.cinema{width:min(1100px,100%,calc((100svh - 104px)*1.15))}
.frame-heading{position:relative;z-index:3;display:flex;justify-content:center;margin:0 0 -18px;line-height:0}
.frame-heading img{display:block;width:min(78%,660px);height:auto;object-fit:contain;filter:drop-shadow(0 8px 8px #13377528)}
.video-frame{position:relative;width:100%;padding:24px;background:#153e89 url('assets/weave.svg') repeat;border:2px solid #133775;border-radius:24px;box-shadow:0 5px 0 #0c2b65,0 11px 0 -3px #edbf61,0 24px 60px -15px #15377545}
.screen{position:relative;border:3px solid #f5cd79;border-radius:9px;background:#bde8f3;box-shadow:0 0 0 5px #153e89;overflow:hidden}
video{width:100%;aspect-ratio:16/9;object-fit:contain;display:block;background:#bde8f3}
video:focus-visible{outline:3px solid white;outline-offset:-6px}
video:fullscreen{width:100%;height:100%;aspect-ratio:auto;object-fit:contain;background:#bde8f3}
video::backdrop{background:#bde8f3}
.corner{position:absolute;width:12px;height:12px;background:#ffdda0;border:3px solid #153e89;box-shadow:0 0 0 1px #efbe58;transform:rotate(45deg);z-index:2}
.top-left{top:7px;left:8px}.top-right{top:7px;right:8px}.bottom-left{bottom:7px;left:8px}.bottom-right{bottom:7px;right:8px}
@media(max-width:760px){body{background-position:82% center;background-attachment:scroll}main{padding:24px 24px 40px}.cinema{width:100%}.frame-heading{margin-bottom:-12px}.frame-heading img{width:calc(100% + 12px);max-width:none;flex-shrink:0}.video-frame{padding:16px;border-radius:18px}.screen{border-width:2px;border-radius:6px;box-shadow:0 0 0 3px #153e89}.corner{width:8px;height:8px;border-width:2px}.top-left{top:4px;left:5px}.top-right{top:4px;right:5px}.bottom-left{bottom:5px;left:5px}.bottom-right{bottom:5px;right:5px}}
@media(max-width:400px){main{padding-left:14px;padding-right:14px}.video-frame{padding:13px;border-radius:15px}}
@media(orientation:landscape) and (max-height:600px){main{padding:14px 40px 28px}.cinema{width:min(900px,100%,calc((100svh - 82px)*1.27))}.frame-heading{margin-bottom:-12px}.frame-heading img{width:55%;max-width:460px}.video-frame{padding:16px}.screen{border-width:2px}}
