body {
    background-color: #1676c2;
    font-family: Arial, sans-serif;
    font-size: 14px;
    margin: 0;
}

#header {
    max-width: 600px;
    border-bottom: 1px #A4B494 solid;
    margin: 0 auto;
    padding: 12px 0;
    display: flex;
    justify-content: space-between;
}

#header a {
    color: #ffffff;
    text-decoration: none;
    margin-right: 12px;
}

#header a:last-of-type {
    margin-right: 0;
}

#header div:last-of-type a {
    font-weight: bold;
}

#languages {
    text-align: center;
    max-width: 600px;
    border-bottom: 1px #A4B494 solid;
    margin: 0 auto;
    padding: 12px 0;
    display: none;
}

#languages a {
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
    margin-right: 12px;
}

#languages a:last-of-type {
    margin-right: 0;
}

#logo {
    text-align: center;
    max-width: 600px;
    margin: 36px auto;
}

form {
    background-color: #1676c2;
    max-width: 566px;
    border-radius: 8px;
    margin: 0 auto;
    padding: 12px;
}

form>div {
    position: relative;
}

form div div:nth-of-type(1) {
    display: flex;
}

form input {
    font-size: 16px;
    font-family: Arial, sans-serif;
    height: 48px;
    border: none;
}

form input[type="text"] {
    color: #4c956c;
    width: 79.86111111111111%;
    border-radius: 4px 0 0 4px;
    padding: 0 1.736111111111111%;
    outline: none;
}

form input[type="submit"] {
    color: #ffffff;
    background-color: #4c956c;
    font-weight: normal;
    width: 16.66666666666667%;
    border-radius: 0 4px 4px 0;
    padding: 0;
    cursor: pointer;
    appearance: none;
}

#lookup {
    background-color: #4c956c;
    width: 16.66666666666667%;
    height: 48px;
    border-radius: 0 4px 4px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
}

.loader {
    display: block;
    border: 4px #97a97c solid;
    border-top: 4px #fefee3 solid;
    border-radius: 50%;
    animation: spin 2s linear infinite;
    height: 16px;
    width: 16px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#text {
    max-width: 600px;
    margin: 36px auto;
}

#text h1 {
    color: #ffffff;
    font-size: 24px;
    font-weight: normal;
    margin: 0;
}

#text h2 {
    color: #ffffff;
    font-size: 24px;
    font-weight: normal;
    margin: 0;
}

#text h3 {
    color: #ffffff;
    font-size: 24px;
    font-weight: normal;
    margin: 0;
}

#text h4 {
    color: #ffffff;
    font-size: 24px;
    font-weight: normal;
    margin: 0;
}

#text p {
    color: #ffffff;
    line-height: 24px;
    text-align: justify;
    margin: 12px 0 0 0;
}

#text p:nth-of-type(2) {
    color: #ffffff;
    font-size: 16px;
    text-align: center;
}

#text a {
    color: #ffffff;
}

#text2 {
    background-color: #ffffff;
    max-width: 566px;
    border-radius: 8px;
    margin: 0px auto 36px auto;
    padding: 12px;
}

#text2 h1 {
    color: #ffffff;
    font-size: 24px;
    font-weight: normal;
    margin: 0;
}

#text2 h2 {
    color: #000000;
    font-size: 20px;
    font-weight: normal;
    margin: 24px 0 12px 0;
}

#text2 p {
    color: #434343;
    line-height: 24px;
    text-align: justify;
    margin: 12px 0 0 0;
}

#text2 p a {
    color: #434343;
}

#text2 .b {
    font-weight: bold;
}

#text2 .u {
    text-decoration: underline;
}

ul {
    color: #ffffff;
    line-height: 24px;
    text-align: justify;
    margin: 0;
    padding: 0;
    list-style-position: inside;
    list-style-type: lower-alpha;
}
ol {
    color: #ffffff;
    line-height: 24px;
    text-align: justify;
    margin: 0;
    padding: 0;
    list-style-position: inside;
    list-style-type: lower-alpha;
}


ul li {
    margin-bottom: 6px;
}

ul li:last-of-type {
    margin-bottom: 0;
}

ul li ul {
    padding-left: 12px;
    list-style-type: lower-roman;
}

ul li ul li:first-of-type {
    margin-top: 6px !important;
}

ul li ul li:last-of-type {
    margin-bottom: 6px !important;
}

ul div {
    font-weight: bold;
    text-align: center;
    margin: 6px 0;
}

#margin {
    margin-top: 24px;
}

#footer {
    text-align: center;
    max-width: 600px;
    border-top: 1px #A4B494 solid;
    margin: 0 auto;
    padding: 12px 0;
}

#footer a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 6px;
}

#changelog {
    color: #bfe0ff;
    font-size: 12px;
    text-align: center;
    max-width: 600px;
    margin: 36px auto;
}

@media only screen and (max-width:600px) {
    #header {
        padding: 12px;
    }

    #header a:nth-of-type(2) {
        display: none;
    }

    form input[type="text"] {
        width: 75.86111111111111%;
    }

    form input[type="submit"] {
        width: 20.66666666666667%;
    }

    #lookup {
        width: 20.66666666666667%;
    }

    #text {
        width: 94%;
    }
}

@media only screen and (max-width:600px) {
    #suggestion {
        width: 79.33333333333333%;
    }
}

#results {
    display: none;
    max-width: 600px;
    margin: 36px auto;
}

iframe {
    border: none;
}

.result {
    background-color: #fdfdfd;
    max-width: 566px;
    border-radius: 8px;
    margin: 0px auto 8px auto;
    padding: 12px;
}

.result div:nth-of-type(1) {
    color: #003261;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.result div:nth-of-type(2) {
    margin-top: 12px;
    display: flex;
}

.result a {
    color: #ffffff;
    background-color: #4c956c;
    text-decoration: none;
    width: 120px;
    height: 45px;
    border-radius: 4px;
    margin-right: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.result a:nth-of-type(3) {
    width: 60px;
}

.result a:last-of-type {
    color: #4c956c;
    background-color: #fdfdfd;
    width: 60px;
    border: 1px #4c956c solid;
    margin-right: 0;
    box-sizing: border-box;
}

#player {
    background-color: #1676c2;
    max-width: 566px;
    border-radius: 8px;
    margin: 0px auto 8px auto;
    padding: 12px;
}

#suggestion {
    display: none;
    position: absolute;
    background-color: #ffffff;
    border: 1px solid #ccc;
    overflow: hidden;
    z-index: 1;
    width: 100%;
    margin-top: 48px;
}

.suggestion-item {
    padding: 6px 12px;
    cursor: pointer;
    display: block;
    text-decoration: none;
    color: #333;
}

.suggestion-item:hover {
    background-color: #f2f2f2;
}

.suggestion-item.active {
    background-color: #f2f2f2;
}