html {
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";  
}
body {
    background: #ccc;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100vh;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
header {
    background: #ddd;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}
header > a:hover > svg {
    transition: 0.2s;
    fill: goldenrod!important;            
}
footer {
    background: #aaa;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    color: white;
    font-weight: 100;
    box-sizing: border-box;
}
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-sizing: border-box;
    height: 100%;
    flex-grow: 1;
}
.options {
    display: flex;
    gap: 16px;
    margin: auto 0;
    flex-wrap: wrap;
    padding: 10px;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: appear-opacity 1s ease-in-out forwards;
    animation-fill-mode: forwards;
    max-width: 800px;
}
.options > h1 {
    width: 100%;
    text-align: center;
    font-weight: 400;
}
.options-block {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: center;
}
.version {
    width: 100%;
    display: flex;
    flex-direction: column;
    /* border: 1px solid #777; */
    padding: 20px;
    box-sizing: border-box;
    position: relative;
    border-radius: 16px;
    background: #eee;
}
.version::before {
    content: attr(data-title);
    width: 100%;
    display: block;
    text-align: center;
    color: black;   
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 700;
}
.version > ul > li {
    font-weight: 300;
    font-style: italic;
}
.options-block>a, .version >a {

    padding: 10px 20px;
    text-decoration: none;
    text-align: center;
    background: #333;
    box-sizing: border-box;
    color: white;
    font-weight: 100;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.options-block>p {
    width: 100%;
    text-align: center;
    margin: 16px 0 4px 0;
    font-weight: 300;
    font-style: italic;
}
.options-block::before {
    content: attr(data-title);
    border-top: 1px solid black;
    width: 100%;
    display: block;
    text-align: center;
    color: black;
    margin: 0 0 8px 0;
    font-weight: 200;
}
.options-item {
    cursor: pointer;
    display: flex;
    padding: 0;
    border: none;
    outline: none;
    border-radius: 8px;
    margin: 0;
    overflow: hidden;
    box-shadow: 0 0 8px 0 black;
    position: relative;
}
.options-item>img {
    max-width: 256px;
}
.options-item>span {
    position: absolute;
    right: 8px;
    bottom: 8px;
    color: white;
    font-weight: 800;
    max-width: 128px;
    text-align: right;
}
.options-item::after {
    content: '';
    left: 0;
    top: 0;
    display: block;
    position: absolute;
    z-index: 5;
    transition: 0.2s;
    max-height: 0;
    height: 100%;
    width: 100%;
    background: rgba(255, 255, 255, 0.5);
}
.options-item:hover::after {
    max-height: 100%;
}
.docs-block {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.docs-block-item {
    display: flex;
    flex-direction: column;
    padding: 34px 20px 20px 20px;
    box-sizing: border-box;
    border-radius: 16px;
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.3);
    background: #eee;
    gap: 8px;
    position: relative;
    flex-grow: 1;
    max-width: 40%;
    min-width: 240px;
}
.docs-block-item::before {
    display: block;
    content: attr(data-title);
    position: absolute;
    top: 0;
    left: 50%;
    line-height: 100%;
    transform: translateX(-50%);
    background: burlywood;
    padding: 4px 8px;
    box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    font-weight: 600;
}
.docs-block-item > a {
    text-decoration: none;
    text-align: center;
    background: #444;
    color: #eee;
    padding: 8px;
    border-radius: 8px;
    font-weight: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    transition: 0.2s;
}
.docs-block-item > a > svg {
    width: 24px;
    height: 24px;
    margin: 0 8px;
    transition: 0.5s;
}
.docs-block-item>a::after {
    content: '';
    left: 0;
    top: 0;
    display: block;
    position: absolute;
    z-index: 5;
    transition: 0.2s;
    max-height: 0;
    height: 100%;
    width: 100%;
    background: rgba(255, 255, 255, 0.2);
}
.soon {
    pointer-events: none;
    background: gray!important;
    font-style: italic!important;
    text-decoration: line-through!important;
}
.docs-block-item > a:hover {
    /* font-weight: 400; */
    color: orange;
}
.docs-block-item > a:hover::after {
    max-height: 100%;
}
.docs-block-item > a:hover > svg {
    transform: rotate(-360deg);
}
.docs-block-item-logo {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 128px;
    height: 128px;
    align-self: center;
    background: #ccc;
    border-radius: 50%;
    padding: 8px;
    margin: 0;
    border: 1px solid #888;
}
.docs-block-item-logo > img {
    /* height: ; */
    width: 100%;
}

#auth-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#auth-form > label, #auth-form > input[type="submit"], #auth-form > input[type="password"], #auth-form > input[type="email"] {
    text-align: center;
    padding: 4px 8px;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
    min-width: 300px;
    outline: none;
    border-radius: 4px;
    transition: 0.1s;
    border: 1px solid #777;
}

#auth-form > #new {
    display: none;
}

#auth-form > #new + label {
    background: #888;
    cursor: pointer;
    color: lightyellow;
}

#auth-form > #new + label:hover {
    box-shadow: 0 0 3px black;
}

#auth-form > #new:checked + label {
    background: #333;
    color: lightgreen;
}

#auth-form > #pwd-repeat {
    display: none;
}

#auth-form > #new:checked ~ #pwd-repeat {
    display: block;
}

#auth-form > input[type="submit"] {
    cursor: pointer;
}

#auth-form > input[type="submit"]:hover {
    box-shadow: 0 0 3px black;
}

@keyframes colorized {
    to {
        fill: #333;
    }
}
@keyframes appear {
    to {
        transform: translateX(0) translateY(0);
    }
}
@keyframes appear-opacity {
    to {
        opacity: 1;
    }
}
@media screen and (max-width: 600px) {
    .options {
        flex-direction: column;
    }
}