:root{--accent: #7b3a99}*,*:before,*:after{box-sizing:border-box}html,body{width:100%;height:100%;min-height:100%;margin:0;font-family:Lato,sans-serif;font-weight:300;font-size:18px;color:#222;line-height:1}textarea{border:none;outline:gray;width:100%;padding:1rem;box-shadow:-2px 4px 6px 1px #00000018,0 0 4px #00000010;border-radius:.25rem;background:#ffffff}label{font-weight:400}input[type=text]{border:none;outline:gray;width:100%;padding:.5rem;box-shadow:-2px 4px 4px #00000010;border-radius:.25rem;background:#ffffff;font-family:Lato;font-weight:400;font-size:16px;color:#555}.input-select{display:inline-flex;align-items:center;justify-content:space-between;cursor:pointer;font-family:Lato;font-weight:600;font-size:16px;color:#555;border:1px solid #c8c8c8;padding:0;margin:0;box-shadow:-2px 2px 16px #00000010;border-radius:.25rem;background:linear-gradient(180deg,#f0f0f0,#e8e8e8 20%,#e0e0e0 90%,#cdcdcd)}.input-select:hover{border:1px solid #c4c4c4;box-shadow:-2px 2px 20px #00000010;background:linear-gradient(180deg,#fff,#ededed 20%,#e8e8e8 90%,#c0c0c0)}.input-select select{cursor:pointer;height:100%;appearance:none;transform:translateY(-.0625rem);padding:.35rem 0 .35rem .35rem;margin:0;border:none;outline:none;background:none;font-family:Lato;font-weight:600;font-size:16px;color:#555}.input-select .material-symbols-outlined{display:grid;place-content:center;width:1.75rem;height:1.75rem;transform:translateY(.0625rem)}button,.button{text-decoration:none;display:grid;place-content:center;height:38px;cursor:pointer;font-family:Lato;font-weight:600;font-size:16px;color:#555;border:1px solid #c8c8c8;padding:.5rem 1.5rem;box-shadow:-2px 2px 16px #00000010;border-radius:.25rem;background:linear-gradient(180deg,#f0f0f0,#e8e8e8 20%,#e0e0e0 90%,#cdcdcd);transition:all .1s ease-in}button:hover,.button:hover{border:1px solid #c4c4c4;box-shadow:-2px 2px 20px #00000010;background:linear-gradient(180deg,#fff,#ededed 20%,#e8e8e8 90%,#c0c0c0)}button.compact,.button.compact{padding:.35rem;font-size:15px}button:disabled,.button:disabled{cursor:default;opacity:.4;filter:grayscale(1)}button:disabled:hover,.button:disabled:hover{border:1px solid #c8c8c8;box-shadow:-2px 2px 16px #00000010;background:linear-gradient(180deg,#f0f0f0,#e8e8e8 20%,#e0e0e0 90%,#cdcdcd)}button.icon,.button.icon{padding:.125rem;display:grid;place-content:center}button.icon .material-symbols-outlined,.button.icon .material-symbols-outlined{font-size:19px}.table .cell button,main.page-admin .users-table .cell button,.table .cell .button,main.page-admin .users-table .cell .button{padding:.3rem 1rem}.link,a:not(.button),a:not(.button):visited{cursor:pointer;color:var(--accent);text-decoration:none}.link:hover,a:not(.button):hover,a:not(.button):visited:hover{text-decoration:underline}.mono{font-family:monospace;font-size:90%}.icon-text{display:flex;align-items:center;gap:.5rem}hr{width:100%;max-width:100ch;height:1px;background:#ccc;border:none;margin:0}.vr{height:100%;width:1px;background:#ccc}.dotted{cursor:help;border-bottom:2px dotted #555}@media screen and (min-width: 1200px){.math{max-width:100%}}@media screen and (max-width: 1200px){.math{max-width:calc(100vw - 3.5rem);overflow-x:auto}}.math-inline{font-size:95%}p{margin:0}p+p{margin-top:.5rem}h1{margin:0;font-size:31.25px;font-weight:500}h1:not(:first-child){padding-top:.9765625rem}h1{line-height:1}h2{margin:0;font-size:25px;font-weight:500}h2:not(:first-child){padding-top:.78125rem}h2{line-height:1}h3{margin:0;font-size:20px;font-weight:500}h3:not(:first-child){padding-top:.625rem}h3{line-height:1}h4{margin:0;font-size:16px;font-weight:500}h4:not(:first-child){padding-top:.5rem}h4{line-height:1}.row{display:flex;gap:.5rem;align-items:center}.col{width:100%;display:flex;gap:.5rem;align-items:center}.col label{align-self:start;display:grid;place-content:center}.text-body,.markdown-editor .preview .preview-content,.solution .solution-content,.problem .problem-content{font-family:EB Garamond,serif;font-weight:400;font-size:18px;line-height:1.41}.text-body b,.markdown-editor .preview .preview-content b,.solution .solution-content b,.problem .problem-content b,.text-body strong,.markdown-editor .preview .preview-content strong,.solution .solution-content strong,.problem .problem-content strong{font-weight:600}body{display:flex;flex-direction:column;align-items:center;background:#f8f8f8}main{padding:2rem 2rem 6rem;width:100%;display:flex;flex-direction:column;align-items:center;gap:2rem}main .col{display:flex;flex-direction:column;align-items:center;gap:.5rem}main .title{font-size:32px}@media screen and (max-width: 925px),(pointer: coarse){main .title{text-align:center}}main .subtitle{font-size:28px}@media screen and (max-width: 925px),(pointer: coarse){main .subtitle{text-align:center}}main .info{font-size:20px;display:grid;grid-template-columns:auto auto;gap:1rem}main .info-box{padding:1rem;font-size:28px;box-shadow:-2px 4px 6px 1px #00000018,0 0 4px #00000010;border-radius:.5rem;background:#ffffff}main .fill-main{display:flex;gap:.5rem;width:100%;max-width:80ch}main.page-home .board{width:100%;display:grid;grid-template-columns:repeat(auto-fit,minmax(auto,71ch));gap:2rem;justify-content:center}main.page-home .board .fill-row{grid-column:1/-1}main.page-home .board .board-controls{justify-self:start}main.page-problem summary{padding:1rem;text-align:center;user-select:none}main.page-scores .table,main.page-scores main.page-admin .users-table,main.page-admin main.page-scores .users-table{grid-template-columns:repeat(3,auto)}main.page-scores .table .icon,main.page-scores main.page-admin .users-table .icon,main.page-admin main.page-scores .users-table .icon{cursor:pointer;display:grid;place-content:center}main.page-scores .table .cell,main.page-scores main.page-admin .users-table .cell,main.page-admin main.page-scores .users-table .cell{padding:1rem 2rem 1rem 1rem}main.page-scores .table .cell.header,main.page-scores main.page-admin .users-table .cell.header,main.page-admin main.page-scores .users-table .cell.header{font-weight:400;font-size:22px;padding-right:.5rem;background:#f0f0f0;display:flex;gap:1rem;align-items:center;text-align:center;justify-content:space-between}main.page-scores .table .cell:nth-child(3),main.page-scores main.page-admin .users-table .cell:nth-child(3),main.page-admin main.page-scores .users-table .cell:nth-child(3){border-top-right-radius:.5rem}main.page-scores .table .cell:nth-last-child(3),main.page-scores main.page-admin .users-table .cell:nth-last-child(3),main.page-admin main.page-scores .users-table .cell:nth-last-child(3){border-bottom-left-radius:.5rem}main.page-jumbotron{width:100%;height:100%;justify-content:center;transform:scale(1.7)}main.page-jumbotron .row{display:grid;gap:2rem;grid-template-columns:auto minmax(22rem,1fr);place-content:center}main.page-jumbotron .row .qr-code{width:10rem}main.page-jumbotron .row .qr-code svg{width:100%;height:100%}main.page-jumbotron .row .box{flex-grow:1}.scrollable{display:flex;overflow:auto;max-width:100%;padding:1rem}.table,main.page-admin .users-table{display:grid;grid-template-columns:repeat(var(--cols),auto);box-shadow:-2px 4px 6px 1px #00000018,0 0 4px #00000010;border:1px solid #ddd;border-radius:.5rem;background:#ffffff;user-select:none}.table .cell,main.page-admin .users-table .cell{padding:.75rem;white-space:nowrap;border-right:1px solid #ddd;border-bottom:1px solid #ddd;display:flex;gap:.75rem;align-items:center;justify-content:start}.table .cell:first-child,main.page-admin .users-table .cell:first-child{border-top-left-radius:.5rem}.table .cell:last-child,main.page-admin .users-table .cell:last-child{border-bottom-right-radius:.5rem}.table .cell.last-col,main.page-admin .users-table .cell.last-col{border-right:none}.table .cell.last-row,main.page-admin .users-table .cell.last-row{border-bottom:none}.table .cell.header,main.page-admin .users-table .cell.header{font-weight:400;padding-right:1rem;background:#f0f0f0;display:flex;align-items:center;text-align:center;justify-content:space-between}.table .cell:not(.header),main.page-admin .users-table .cell:not(.header){user-select:text}@media screen and (max-width: 925px),(pointer: coarse){.table .cell,main.page-admin .users-table .cell{padding:.5rem;gap:.5rem}.table .cell.header,main.page-admin .users-table .cell.header{padding:.75rem .5rem}}details{width:100%;max-width:80ch}.solution-list{display:flex;flex-direction:column;align-items:center;gap:1rem;width:100%;max-width:80ch}.solution-list .controls{display:flex;width:100%;gap:1rem}header{display:grid;place-content:center;width:100%;position:relative;padding:2rem 0;box-shadow:0 0 .5rem #00000028;background:#fdfdfd}header .logo{z-index:1;font-size:42px;font-family:Lato;font-weight:300}header .logo a:hover{text-decoration:none;border-bottom:3px solid var(--accent)}header nav{position:absolute;width:100%;height:100%;z-index:0}header nav .nav-left{gap:1rem;display:flex;height:100%;align-items:center;position:absolute;left:2rem}header nav .nav-right{gap:1rem;display:flex;height:100%;align-items:center;position:absolute;right:2rem}header nav .nav-item{font-size:20px;font-weight:300}header nav .nav-item a.active{border-bottom:1px solid var(--accent)}header nav .nav-item a:hover{text-decoration:none;border-bottom:2px solid var(--accent)}.problem{padding:1rem;max-width:80ch;box-shadow:-2px 4px 6px 1px #00000018,0 0 4px #00000010;border-radius:.5rem;background:#ffffff;display:flex;flex-direction:column;gap:.5rem}.problem .problem-header{display:grid;grid-template-columns:auto;gap:.25rem}.problem .problem-header .problem-title{font-size:22px;font-weight:400}.problem .problem-content{flex-grow:1}.problem .problem-footer{font-size:16px}.solution{padding:1rem .5rem .5rem 1rem;width:100%;max-width:80ch;box-shadow:-2px 4px 6px 1px #00000018,0 0 4px #00000010;border-radius:.5rem;background:#ffffff;display:flex;flex-direction:column;gap:.5rem;transition:all .1s ease-in-out}.solution.correct{border:4px solid #00aa00}.solution.wrong{border:4px solid #cc0000}.solution .solution-header{display:grid;grid-template-columns:auto;gap:.25rem;font-size:18px;line-height:1.25}.solution .solution-content pre,.solution .solution-content code{margin:0;font-family:DM Mono,monospace;font-size:16px;background:#f0f0f0}.solution .solution-content pre{padding:.25rem;overflow-x:auto;border-radius:.25rem;white-space:break-spaces}.solution .solution-content{padding-right:.5rem}.solution .solution-footer{display:flex;justify-content:end;font-size:16px}.solution .solution-footer .label{font-weight:400}.solution .solution-footer .pending{color:#1653a3;font-style:italic}.solution .solution-footer .correct{color:green}.solution .solution-footer .wrong{color:#8b0000}.solution .solution-footer .status-label{user-select:none;text-align:right}.form{min-width:50ch;max-width:80ch;background:#f0f0f0;display:grid;grid-template-columns:auto 1fr;box-shadow:-2px 4px 6px 1px #00000018,0 0 4px #00000010;border:1px solid #ddd;border-radius:.5rem;padding:1.5rem 2rem 1rem;gap:1rem;align-items:center}.form .fill{grid-column:span 2;justify-self:center}.markdown-editor{display:flex;flex-direction:row;box-shadow:-2px 4px 6px 1px #00000018,0 0 4px #00000010;border-radius:.25rem;background:#ffffff}.markdown-editor .editor,.markdown-editor .preview{width:100%;max-width:60ch;min-width:25ch;flex:0 1 100%;display:flex;flex-direction:column;align-items:center}.markdown-editor .editor .label,.markdown-editor .preview .label{display:flex;align-self:start;font-size:16px;font-weight:400;padding:.5rem}.markdown-editor .editor{justify-self:end}.markdown-editor .editor .label{right:0}.markdown-editor .editor textarea{font-family:DM Mono,monospace;font-size:16px;resize:none;overflow-y:hidden;min-height:12rem;box-shadow:none;border-radius:unset;background:none}.markdown-editor .preview{justify-self:start;border-left:1px solid #ddd}.markdown-editor .preview .label{left:0}.markdown-editor .preview .placeholder{color:#666}.markdown-editor .preview .preview-content{width:100%;padding:1rem;word-break:break-word}@media screen and (max-width: 1200px),(pointer: coarse){.markdown-editor{flex-direction:column;max-width:100%}.markdown-editor .editor textarea,.markdown-editor .preview .preview-content{padding:.75rem}.markdown-editor .editor textarea{min-height:3rem}.markdown-editor .preview{border-left:none;border-top:1px solid #ddd}.markdown-editor .preview .preview-content{min-height:4rem}}main.page-admin .create-problem-form{display:flex;flex-direction:column;align-items:center;gap:1rem}main.page-admin .users-table{grid-template-columns:auto 1fr auto auto}main.page-admin .users-table .cell:nth-child(4){border-top-right-radius:.5rem}main.page-admin .users-table .cell:nth-last-child(4){border-bottom-left-radius:.5rem}@media screen and (max-width: 925px),(pointer: coarse){main{padding:2rem 1rem 6rem}main.page-home .board{gap:1rem}header{display:flex;flex-direction:column;align-items:center;gap:2rem;padding:1rem}header nav{position:relative;display:flex;flex-direction:column;align-items:center;gap:1rem}header nav .nav-left,header nav .nav-right{left:unset;right:unset;position:relative;flex-direction:column}.problem{padding:.75rem}.form{width:100%;padding:1rem;min-width:unset;display:flex;flex-direction:column}.form label{align-self:start}.solution .solution-content pre{white-space:pre-line;word-break:break-all}}
