@font-face{font-display:swap;font-family:Raleway;font-style:normal;font-weight:100 900;src:url(fonts/Raleway-VariableFont_wght.4adc6b7b.ttf) format("truetype-variations"),url(fonts/Raleway-VariableFont_wght.4adc6b7b.ttf) format("truetype")}body{font-family:Raleway,sans-serif}body *,body :after,body :before{font-family:inherit}body.modal-open{overflow:hidden}#talouspeli{--dock-height:0px}#talouspeli .content{box-sizing:border-box;margin:0 auto;max-width:1500px;min-height:100vh;padding:2rem}@media(max-width:768px){#talouspeli .content{padding:0}}#talouspeli:has(dialog.card-modal:open) .content{visibility:hidden}.mobile{display:none!important}@media(max-width:768px){.mobile{display:inline!important}.desktop{display:none!important}}button{cursor:pointer}.hero-container{align-items:flex-end;background-color:#f25a24;display:flex;height:450px;justify-content:center;margin:0 auto;max-width:1500px;overflow:hidden;position:relative;width:100%}.hero-container .hero-image-wrapper{height:100%;inset:0;position:absolute;width:100%}.hero-container .hero-image-wrapper img{height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.hero-container .hero-content-box{align-items:center;background-color:#fff;display:flex;flex-direction:column;justify-content:center;padding:1rem;width:700px;z-index:2}.hero-container .hero-content-box h1{color:#ed6c41;font-size:50px;font-weight:800;line-height:54px;text-align:center}.hero-container .hero-content-box .hero-subtitle{color:#000;font-size:36px;font-weight:800;margin:0;text-align:center}@media(max-width:900px){.hero-container{max-height:350px}.hero-container .hero-content-box{margin-bottom:-2px;width:85%}.hero-container .hero-content-box h1{font-size:36px;line-height:40px;margin-top:0}.hero-container .hero-content-box .hero-subtitle{font-size:24px}}.info-text{font-size:22px;font-weight:500;margin:0 auto;max-width:880px;padding:2rem 1rem;text-align:center}.card-container{display:grid;gap:1rem;grid-template-columns:1fr}@media(min-width:768px){.card-container{grid-template-columns:repeat(2,1fr)}}@media(min-width:1024px){.card-container{grid-template-columns:repeat(3,1fr)}}@media(max-width:768px){.card-container{padding:1rem}}.card{background-color:#eef2f7;border:1px solid #000;display:flex;flex-direction:column;height:380px;justify-content:space-between;overflow:hidden;position:relative}.card .card-image{background-color:#fff;clip-path:polygon(0 0,100% 0,100% 90%,0 100%);flex:1;height:220px;position:relative;width:100%}.card .card-image img{display:block;height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.card .card-content-wrapper{background:none;border:none;color:#000;position:relative;text-align:inherit}.card .card-content-wrapper .card-content{padding:1rem}.card .card-content-wrapper .card-content h2{margin:0}.card .card-content-wrapper .card-button{align-items:center;background-color:transparent;border:none;cursor:pointer;display:flex;padding:1rem;width:-moz-fit-content;width:fit-content}.card .card-check-tick{align-items:center;background-color:#fff;border-radius:50%;bottom:1rem;box-shadow:0 4px 12px rgba(0,0,0,.08);display:flex;height:48px;justify-content:center;position:absolute;right:1rem;width:48px}.card .card-check-tick:after{border:solid #5b2c3f;border-width:0 4px 4px 0;content:"";height:18px;margin-bottom:4px;transform:rotate(45deg);width:10px}.card.answered{background-color:#c9e1ff}.card.answered .card-image img{mix-blend-mode:multiply;opacity:.7}.card.hide-done{opacity:0}.end-screen{display:flex;flex-direction:column;gap:2rem}.end-screen .end-screen-content{margin:0 auto;width:750px}@media(max-width:768px){.end-screen .end-screen-content{box-sizing:border-box;padding:1rem;width:100%}.end-screen .hero-container{height:250px}}.share-section{background-color:#f7e9e1;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;margin:0 auto;padding:4rem 2rem 2rem}.share-section h2{font-size:2rem;font-weight:800;margin-bottom:0;text-align:center}.share-section h2 .total-cut-amount{display:inline-block}.share-section .goal-text{font-size:22px;font-weight:500;margin-top:.5rem;text-align:center}.share-section .goal-text span{display:inline-block}.share-section .progress-numbers{display:flex;font-size:16px;justify-content:space-between;line-height:22px}.share-button-wrap{align-items:center;display:flex;flex-direction:column;margin-top:1.5rem;position:relative}.share-button-wrap .share-button{align-items:center;background-color:#5b2c3f;border:1px solid #5b2c3f;color:#fff;cursor:pointer;display:inline-flex;font-family:inherit;font-weight:500;gap:.5rem;letter-spacing:1.6px;line-height:27px;padding:8px 20px;transition:all .3s ease-in-out}.share-button-wrap .share-button:hover{background-color:transparent;border-color:#000;color:#000}.share-button-wrap .share-menu{background-color:#fff;border:1px solid #ddd;box-shadow:0 8px 24px rgba(0,0,0,.15);display:flex;flex-direction:column;min-width:220px;padding:.5rem 0;position:absolute;top:calc(100% - 1.5rem);z-index:50}.share-button-wrap .share-menu a,.share-button-wrap .share-menu button{background:none;border:none;color:#000;cursor:pointer;font:inherit;font-size:16px;padding:.6rem 1.25rem;text-align:start;text-decoration:none}.share-button-wrap .share-menu a:focus-visible,.share-button-wrap .share-menu a:hover,.share-button-wrap .share-menu button:focus-visible,.share-button-wrap .share-menu button:hover{background-color:#fdddd0}@media(max-width:768px){.share-button-wrap .share-menu{bottom:0;left:0;padding-bottom:1.5rem;position:fixed;right:0;top:auto;z-index:200}}.share-button-wrap .share-status{font-size:14px;margin:.5rem 0 0;min-height:1.5rem}.answers-table h2{font-size:36px;font-weight:800}.answers-table .responsive-table{max-width:100%;width:100%}.answers-table table{border-collapse:collapse;width:100%}.answers-table table td,.answers-table table th{padding-bottom:.5rem;padding-top:.5rem;text-align:start}.answers-table table td:not(:last-child),.answers-table table th:not(:last-child){padding-right:.5rem}.answers-table table td:last-child,.answers-table table th:last-child{text-align:end}.answers-table table .table-amount{white-space:nowrap;width:1%}.answers-table table thead tr{border-bottom:2px solid #f25a24}.answers-table table tfoot tr{border-top:2px solid #000}.game-buttons{display:flex;gap:1rem;justify-content:space-between;margin-top:2rem}.game-buttons button{cursor:pointer;padding:8px 20px;transition:all .3s ease-in-out}.game-buttons .end-game-button{background-color:#5b2c3f;border:1px solid #5b2c3f;color:#fff;font-weight:500;letter-spacing:1.6px;line-height:27px}.game-buttons .edit-game-button,.game-buttons .end-game-button:hover{background-color:transparent;border:1px solid #000;color:#000}.game-buttons .edit-game-button:hover{background-color:#5b2c3f;color:#fff}.progress-bar{background-color:#e0e0e0;border-radius:10px;height:20px;overflow:hidden;width:100%}.progress-bar .progress-bar-fill{background-color:#f25a24;height:100%;transition:width .3s ease-in-out;width:0}.bottomdock{background-color:#5b2c3f;bottom:0;box-sizing:border-box;color:#fff;display:flex;justify-content:center;padding:1rem;position:sticky;width:100%;z-index:101}.bottomdock .footer-container{align-items:center;display:flex;gap:5rem;justify-content:space-between;max-width:1500px;width:100%}.bottomdock .footer-container .footer-left{align-items:center;font-size:18px;font-weight:700;line-height:27px}.bottomdock .footer-container .toggle-hide-btn{align-items:center;gap:.5rem;margin:0}.bottomdock .footer-container .toggle-hide-text{align-items:center;display:flex;gap:.25rem}.bottomdock .footer-container .dashboard{flex:1}.bottomdock .footer-container .dashboard p{margin:0}.bottomdock .footer-container .dashboard .budgets{display:flex;flex-direction:row;justify-content:space-between;padding-top:1rem}.bottomdock .footer-container button{background-color:transparent;border:none;color:#fff;cursor:pointer;display:flex;font-weight:500;letter-spacing:1.6px;line-height:27px;margin-top:auto}.bottomdock .footer-container button[disabled]{cursor:not-allowed;opacity:.5}@media(max-width:768px){.bottomdock{padding-bottom:2px;padding-top:2px}.bottomdock .footer-container{padding-top:.5rem}.bottomdock .footer-container .footer-left{display:flex;flex-direction:row;gap:1rem}.bottomdock .footer-container .footer-left .hide-ready-cards-container{flex-direction:row-reverse}.bottomdock .footer-container .dashboard{width:100%}.bottomdock .footer-container .dashboard .budgets{padding-top:.25rem}.bottomdock .footer-container .footer-content{align-items:center;display:flex;flex-direction:row;justify-content:space-between;padding-top:.5rem}.bottomdock .footer-container .footer-content p{margin:0}}.end-footer{align-items:center;background-color:#000;box-sizing:border-box;color:#fff;display:flex;height:60px;justify-content:space-between;padding:0 2rem;width:100%}.end-footer p{margin:0}.end-footer .scroll-to-top{background-color:transparent;border:none;color:#fff;cursor:pointer;font-size:16px;text-decoration:underline}.end-footer .scroll-to-top:hover{text-decoration:none}body:has(dialog.card-modal:open) .end-footer{display:none}.card-modal{border:none;bottom:calc(var(--dock-height) + env(safe-area-inset-bottom));box-sizing:border-box;height:auto;left:0;margin:0;max-height:none;max-width:none;overflow-y:auto;padding:0;position:fixed;right:0;top:0;width:100%;z-index:100}.card-modal .close-button{background-color:hsla(0,0%,100%,.569);border:none;border-bottom-left-radius:10px;font-weight:700;padding:11px 14.1px;position:absolute;right:0;top:0}.card-modal .modal-content{display:flex;flex-direction:column;gap:1rem;margin:0 auto;max-width:1000px}.card-modal .modal-content .modal-actions{display:flex;justify-content:center;padding-bottom:2rem}.card-modal .modal-content .modal-actions>button{background-color:#5b2c3f;border:none;color:#fff;margin:0 auto;padding:8px 20px}.card-modal .modal-content .modal-actions>button:hover{background-color:#391b27;transition:background-color .3s ease}.card-modal .modal-header{display:flex;gap:2rem;justify-content:center;margin-bottom:1rem}.card-modal .modal-header img{max-height:275px;-o-object-fit:cover;object-fit:cover}.card-modal .modal-header .modal-header-info h2{font-size:2rem}.card-modal .modal-header .modal-header-info p{font-size:1.15rem}.card-modal .choices-container{align-items:center;display:flex;flex-direction:column;gap:1rem;justify-content:center;padding-left:1rem;padding-right:1rem}.card-modal .choices-container .choice{align-items:center;background-color:#eef2f7;border:1px solid #eef2f7;border-left:5px solid #f25a24;display:flex;gap:2rem;height:max 150px,-moz-fit-content;height:max 150px,fit-content;justify-content:space-between;padding:1rem;width:min(750px,100%)}.card-modal .choices-container .choice .choice-info-container{align-content:flex-start;display:flex;flex-direction:column;text-align:start}.card-modal .choices-container .choice .choice-info-container h3{color:#000;font-size:1.5rem;margin-bottom:0}.card-modal .choices-container .choice .choice-info-container p{color:#000;font-size:1.15rem}.card-modal .choices-container .choice .choice-amount-container{text-align:end;white-space:nowrap}.card-modal .choices-container .choice .choice-amount-container .choice-amount{color:#000;font-size:28px;font-weight:800;line-height:26px;margin:0}.card-modal .choices-container .choice .choice-amount-container .choice-amount p,.card-modal .choices-container .choice .choice-amount-container .choice-amount span{color:#000}.card-modal .choices-container .choice:hover{background-color:transparent;border:1px solid #f25a24;border-left-width:5px}.card-modal .choices-container .choice.selected{background-color:#fdddd0}.card-modal .choices-container .card-button:after{bottom:0;content:"";cursor:pointer;left:0;position:absolute;right:0;top:0;z-index:1}@media(max-width:768px){.card-modal .modal-header{flex-direction:column;gap:1rem}.card-modal .modal-header img{max-height:200px}.card-modal .modal-content{padding:1rem}.card-modal .modal-content button.choice{align-items:flex-start;flex-direction:column;gap:.5rem;height:auto}.card-modal .modal-content button.choice p{margin:0}.card-modal .modal-content button.choice .choice-info-container h3{margin-top:0}.card-modal .modal-content button.choice .choice-amount-container{display:flex;flex-direction:column;margin-right:auto}.card-modal .modal-content button.choice .choice-amount-container .choice-amount-label{display:none}}.visually-hidden{height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;clip:rect(0,0,0,0);border:0;white-space:nowrap}
