body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 20px auto;
    max-width: 800px;
    padding: 0 10px;
    background-color: #fafafa;
    color: #333;
}

h1 {
    text-align: center;
    color: #222;
}

h2 {
    color: #444;
    margin-top: 24px;
}

p, li {
    color: #333;
    margin-bottom: 10px;
}

ul {
    margin: 10px 0;
    padding-left: 20px;
}

strong {
    color: #000;
}

a {
    color: #0056b3;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

hr {
    opacity: 0.2;
}

#controls {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 1.5rem;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    margin-bottom: 30px;
    font-size: 0.8rem;
    font-weight: normal;
}


.document > div {
    margin-right: 20px;
}

.spacer {
    width: 100%;
}

.document {
    display: flex;
    flex-grow: 1;
    min-width: 600px;
}

.language {
    min-width: 220px;
    text-align: right;
}

#controls label {
    color: #333;
    text-align: right;
    height: 30px;
}

label:after {
    content: ":";
}

#controls select {
    background-color: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    margin-left: 5px;
    padding: 10px 5px;
    display: inline-block;
    border: 0;
    border-bottom: 1px solid #ccc;
    border-radius: 50px;
    padding: 10px;
    color: #69697d;
}

#controls select:focus {
    outline: none;
    border-color: #0078d7;
    box-shadow: 0 0 0 2px rgba(0, 120, 215, 0.2);
}

@media screen and (max-width: 880px) { 
    #controls {
        flex-direction: column;
        align-items: flex-end;
    }

    #controls select {
        min-width: 180px;
        text-align: right;
        margin-left: 10px;

    }

    #controls div {
        display: flex;
        margin-top: 10px;
        margin-right: 0;
        align-items: flex-end;
    }
    
    #controls > div:first-child {
        margin-top: 0;
    }
    
    #controls span {
        display: flex;
        align-items: center;
    }

    .language {
        min-width: 0;
    }

    #controls .document {
        flex-direction: column;
        text-align: right;
        min-width: auto;
    }

    #controls .spacer {
        width: 0;
        height: 0;
        margin: 0;
    }

    #controls label[for="versionSelect"] {
        margin-left: 0;
    }
}