:root {
    --ACCENT: rgb(134, 179, 0);
    --DANGER_ACCENT: rgb(205, 0, 0);
}

* {
    margin: 0;
    font-family: sans-serif;
    box-sizing: border-box;
    word-break: break-word;
}

body {
    background-color: #fff;
    min-height: 100vh;
    min-height: 100svh;
}

header, footer, .content {
    width: 90%;
    max-width: 720px;
    margin: 0 auto;
}

header {
    display: flex;
    flex-direction: column;
    padding: 16px 0 32px 0;
}

header > span > a {
    color: black;
    text-decoration: none;
    font-size: 28px;
    font-weight: bold;
}

footer {
    position: sticky;
    top: 100vh;
    margin-top: 32px;
}

#quiz {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    border:  solid 2px var(--ACCENT);
    border-radius: 4px;
    transition-duration: 1s;
}

#quiz * {
    color: #000;
}

#quiz #questionBox {
    text-align: center;
    font-weight: bold;
}

#quiz #questionBox #question {
    display: inline-block;
    padding: 32px 0;
    font-size: 24px;
    text-align: left;
}

#quiz > button {
    background-color: var(--ACCENT);
    color: #fff;
    padding: 4px 8px;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: bold;
}

#quiz #retry {
    display: none;
    background-color: var(--DANGER_ACCENT);
}

#quiz #prev {
    display: none;
    background-color: var(--DANGER_ACCENT);
    width: 50%;
    margin-top: 8px;
}

#quiz > button:hover {
    opacity: 0.8;
}

#ans {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#resultShare {
    width: 100%;
    font-size: 18px;
}

.content {
    margin-bottom: 16px;
}

.server_info {
    display: flex;
    gap: 8px;
    border: solid 2px var(--ACCENT);
    border-radius: 4px;
    text-decoration: none;
    overflow: hidden;
}

.server_info > div {
    display: flex;
    justify-content: center;
    flex-direction: column;
    line-height: 1.2;
}

.server_info > div > img {
    height: 64px;
    aspect-ratio: 1/1;
    object-fit: contain;
}

.server_info > div > span {
    color: #000;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.server_info div .server_name {
    font-size: 18px;
    font-weight: bold;
}

.server_info div .server_meta {
    font-size: 14px;
}