body {
    background-color: #0069ca;
    font-family: Arial, sans-serif;
    font-size: 14px;
    margin: 0;
}

#header {
    text-align: center;
    max-width: 600px;
    border-bottom: 1px #005fb6 solid;
    margin: 0 auto;
    padding: 12px 0;
}

#header a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 6px;
}

#logo {
    text-align: center;
    max-width: 600px;
    margin: 36px auto;
}

#text {
    background-color: #ffffff;
    max-width: 576px;
    border-radius: 8px;
    margin: 0px auto 36px auto;
    padding: 12px;
}

#text h1 {
    color: #000000;
    font-size: 24px;
    font-weight: normal;
    margin: 0;
}

#text h2 {
    color: #000000;
    font-size: 18px;
    font-weight: normal;
    margin: 24px 0 12px 0;
}

#text p {
    color: #434343;
    line-height: 24px;
    text-align: justify;
    margin: 12px 0 0 0;
}

#text p a {
    color: #434343;
    font-weight: bold;
    text-decoration: none;
}

#text .b {
    font-weight: bold;
}

#text .u {
    text-decoration: underline;
}

#wallet {
    color: #ffffff;
    background-color: #0085ff;
    font-size: 14px;
    text-align: center;
    border-radius: 4px;
    margin: 12px 0 0 0;
    padding: 12px;
}

ul {
    color: #434343;
    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;
}

#addon, #bookmarklet {
    text-align: center;
    margin: 12px 0;
}

#addon a, #bookmarklet a {
    color: #ffffff;
    background-color: #0085ff;
    font-size: 14px;
    line-height: 48px;
    text-align: center;
    text-decoration: none;
    width: 144px;
    height: 48px;
    border-radius: 4px;
    margin-bottom: 8px;
    display: inline-block;
}

#addon a:last-of-type, #bookmarklet a:last-of-type {
    margin-bottom: 0;
}

#footer {
    text-align: center;
    max-width: 600px;
    border-top: 1px #005fb6 solid;
    margin: 0 auto;
    padding: 12px 0;
}

#footer a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 6px;
}

/* Search form component styles */
form {
    max-width: 600px;
    margin: 0 auto;
}

form > div > div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

input[type="text"]#query {
    flex: 1 1 420px;
    max-width: 420px;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #d9d9d9;
}

input[type="submit"] {
    background-color: #0085ff;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    padding: 8px 12px;
    height: 36px;
    cursor: pointer;
}

input[type="submit"]:hover {
    background-color: #006fe3;
}

#tou {
    color: #ffffff;
    text-align: center;
    font-size: 12px;
    margin: 12px auto 24px auto;
}

#tou a {
    color: #ffffff;
    font-weight: bold;
}

@media only screen and (max-width: 600px) {
    #header a:nth-of-type(2) {
        display:none;
    }

    #logo img {
        width: 180px;
        height: 64px;
    }

    #text {
        width: 88%;
        padding: 3%;
    }
  form > div > div {
      gap: 6px;
  }
  input[type="text"]#query {
      max-width: 320px;
  }
}