body
{
    margin: 0;
    padding: 32px 32px 64px 32px;
    color: rgb(223, 207, 196);
    background-color: rgb(23, 24, 25);
    /* min-height: calc(100vh - 96px); */
}

.test-title {
    font-family: "Times New Roman", Times, serif;
    font-style: italic;
    font-weight: 500;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-decoration-style: solid;
    text-underline-offset: 4px;
    margin: 32px 0 8px 0;
    text-align: center;
    position: relative;
}

.copyright {
    font-size: 12px;
    text-align: center;
    font-style: italic;
    margin-bottom: 30px;
}

.leaderboard
{
    margin-top: 0;
    margin-left: 0;
}

.text-area, .info
{
    font-family: 'Lucida Sans Unicode', Verdana, monospace;
    padding: 10px 40px;
}

.question-mark
{
    color: rgb(219, 40, 40);
}

.info
{
    margin: 20px;
}

.test-items-list
{
    list-style-type: none;
    zoom: 115%;
}

.test-items-list li
{
    padding-bottom: 12px;
    padding-top: 12px;
}

.test-item
{
    font-weight: normal;
    font-family: 'Consolas', monospace;
}

.text-area, .info
{
    font-family: 'Lucida Sans Unicode', Verdana, monospace;
    padding: 10px 30px;
}

.test-item .monospace
{
    font-family: 'Lucida Sans Unicode', Verdana, monospace;
}

.test-items-list
{
    list-style-type: none;
    zoom: 115%;
    padding: 0;
    margin: 0;
}

.test-items-list li
{
    padding-bottom: 4px;
    padding-top: 4px;
}

.deg {
    transform: rotate(180deg);
    display: inline-block;
    padding-top: -1px;
    padding-bottom: 1px;
}

.separator
{
    border-top: 2.25pt double windowtext;
    border-top-color: rgb(140, 130, 115);
    width: 100%;
    margin: 36px 0 36px 0;
}

a {
    color: #ffefb0;
    text-decoration: none;
}

h2 {
    font-weight: normal;
    font-size: 24px;
}

p {
    font-size: 16px;
    margin: 6px 0 6px 0;
    padding: 0;
}

sup {
    font-size: 10px;
}

h2 {
    display: inline-block;
    user-select: none;
    position: relative;
}

h2::before { 
    position: absolute;
    left: 0;
    transition: transform 0.5s ease-out; 
}

table {
    border-collapse: collapse;
    text-wrap: nowrap;
    margin: 16px 0 16px 0;
}

.wrap {
    text-wrap: wrap;
}

.scores {
    margin: 36px 0 0 0;
    table-layout: fixed;      
}

td, th {
    border: 1px solid rgb(223, 207, 196);
    text-align: center;
    padding: 6px 8px;
}

.five-col th:nth-child(1), .five-col td:nth-child(1) { width: 300px; }
.five-col th:nth-child(2), .five-col td:nth-child(2) { width: 64px; }
.five-col th:nth-child(3), .five-col td:nth-child(3) { width: 40px; }
.five-col th:nth-child(4), .five-col td:nth-child(4) { width: 76px; }
.five-col th:nth-child(5), .five-col td:nth-child(5) { width: 182px; }

.four-col th:nth-child(1), .four-col td:nth-child(1) { width: 300px; }
.four-col th:nth-child(2), .four-col td:nth-child(2) { width: 64px; }
.four-col th:nth-child(3), .four-col td:nth-child(3) { width: 40px; }
.four-col th:nth-child(4), .four-col td:nth-child(4) { width: 76px; }

sup {
    font-size: 10px;
}

.norm {
    border-collapse: collapse;
    width: 190px;
}

.norm td, .norm th {
    border: 1px solid rgb(223, 207, 196);
    text-align: center;
    padding: 2px;
}

.h-scrollable {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.note {
    margin-top: 12px;
    font-size: 12px;
}

.desktop {
    display: default;
}

.mobile {
    display: none;
}

.external::after {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    /*Author: Krystonschwarze*/
    background: url("../files/external-link-svgrepo-com.svg") no-repeat center;
    background-size: contain;
}

.spoiler {
    background-color: rgb(223, 207, 196);
    color: transparent;
    border-radius: 4px;
    padding: 0 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    transition: color 0.3s ease;
    user-select: none;
}

.spoiler:hover {
    background-color: inherit;
    color: inherit;
}

.toggle {
    display: none;
}


label {
    cursor: pointer;
}

.content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.content p {
    line-height: 1.5;
    margin-bottom: 6px;
}

.toggle:checked + label + .content {
    max-height: 250vh;
    transition: max-height 0.7s ease-in;
}

h3 {
    text-decoration: underline;
    font-weight: bold;
    margin-bottom: 0;
    font-size: 16px;
    letter-spacing: .75px;
}

h2 {
    display: inline-block;
    user-select: none;
    position: relative;
}

h2.collapsible {
    padding-left: 20px; 
}

h2.collapsible::before {
    content: "›"; 
    position: absolute;
    left: 0;
    /* padding-left: 20px;  */
    transition: transform 0.5s ease-out; 
}

.toggle:checked + label>h2::before {
    transform: rotate(90deg); 
}

.tooltip {
    position: relative;
}

.tooltip:after {
    content: attr(data-tooltip);
    position: absolute;
    font-family: monospace;
    font-size: 16px;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 8px;
    border-radius: 4px;
    left: 0%;
    bottom: 36px;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.tooltip:hover::after {
    opacity: 1;
}

pre {
    line-height: 1.5;
    margin-bottom: 6px;
    font-size: 16px;
    margin: 6px 0 6px 0;
    padding: 0;
}

.flag-counter {
    display: none;
}

@media print {
    body
    {
        color: black;
        background-color: white;
    }

    .test-title {
        zoom: 80%;
    }

    .test-items-list
    {
        zoom: 77%;
    }
}

@media (max-width: 997px) {
    img {
        zoom: 50%;
    }
    
    .desktop {
        display: none;
    }

    .mobile {
        display: table-cell;
    }

    ul.test-items-list
    {
        padding: 0;
    }

    .test-title
    {
        zoom: 80%;
    }

    .text-area
    {
        zoom: 75%;
        padding: 10px 0;
    }

    .test-items-list
    {
        zoom: 100%;
    }

    .info
    {
        margin-left: 0;
        padding-left: 0;
    }

    .text-area
    {
        zoom: 75%;
        padding: 10px 0;
    }
    
    li:after {
        right: calc(100% + 3px);
    }
}