#content {
    margin-left: auto;
    margin-bottom: 0;
    margin-right: auto;
    margin-top: 50px;
    width: min(600px, calc(100% - 32px));
}

* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

.service-table {
    margin-top: 16px;
    width: 100%;
}

.service-row {
    display: grid;
    grid-template-columns: 27px minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 12px;
    padding: 6px 0;
}

.service-table .icon {
    width: 27px;
    text-align: center;
}

.service-table .service {
    overflow-wrap: anywhere;
    word-break: break-word;
    min-width: 0;
}

.service-table .service-state {
    text-align: right;
    white-space: nowrap;
}

ul span {
    float: right;
}

.down {
    font-weight: bold;
    color: #ff1600;
}
.maintenance {
    font-weight: bold;
    color: #ff1600;
}
.up {
    color: #089a00;
    font-weight: bold;
}

.site-ant .up {
    color: #9bcdde;
}

.site-nbl .up {
    color: #2e99e7;
}

footer {
    text-align: center;
    font-size: 10px;
    margin-top: 50px;
    width: min(600px, calc(100% - 32px));
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 25px;
}

footer ul li {
    list-style:none;
    display: inline;
}

footer ul {
    padding: 0;
}

footer ul li:after {
 content:"·";
 color:#666;
}

footer ul li:last-child:after {
    content:"";
}

footer ul li a {
 margin:0 8px; 
 color:blue;
}

body {
    background: #0b1a2a no-repeat center center fixed;
    background-image: var(--site-bg-image);
    background-size: cover;
    color: #757575;
    text-shadow: #111 0px 1px 0px;
    font-family: "Lucida Grande", Verdana, Arial, sans-serif;
    line-height: 1.45;
    margin: 0;
    min-height: 100vh;
}

a:link, a:visited {
    color: #999;
    text-decoration: none;
    overflow-wrap: anywhere;
}
a:hover, a:visited:hover {
    color: #aaa;
}
.disclaimer {
    margin-top: 20px;
    text-align: center;
    font-size: 10px;
}
th {
    text-align: left;
}
h3 {
    padding-top: 0px;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    padding-bottom: 3px;
    margin-bottom: 10px;
    margin-top: 20px;
}

.status-dashboard {
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
}

.logo {
    height: 140px;
    margin: 0 auto;
    width: 100%;
    max-width: 550px;
    text-align: center;
}

.logo img {
    height: 100%;
}

p.api-description {
    font-size: 12px;
    padding-left: 15px;
    margin-top: 3px;
    margin-bottom: 3px;
}

.api {
    margin-bottom: 10px;
}

h4 {
  margin-top: 5px;
  margin-bottom: 5px;
}

:target {
  color: yellow;
}

:target a:visited {
  color: yellow;
}

@media (max-width: 640px) {
    #content {
        margin-top: 24px;
        width: min(100%, calc(100% - 24px));
    }

    .status-dashboard {
        max-width: 100%;
    }

    .service-row {
        grid-template-columns: 28px minmax(0, 1fr) auto;
        align-items: center;
        column-gap: 10px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
        background: rgba(8, 18, 31, 0.45);
        padding: 10px 0;
    }

    .service-table .icon {
        width: 28px;
        text-align: center;
    }

    .service-table .service {
        font-size: 0.95rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .service-table .service-state {
        text-align: right;
        white-space: nowrap;
        font-size: 0.9rem;
    }

    .service-table .service a {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    footer {
        width: min(100%, calc(100% - 24px));
        margin-top: 32px;
        font-size: 11px;
    }
}

@media (max-width: 420px) {
    #content {
        width: min(100%, calc(100% - 16px));
        margin-top: 16px;
    }

    .service-row {
        grid-template-columns: 24px minmax(0, 1fr) auto;
        column-gap: 8px;
        padding: 0 12px;
        border-radius: 12px;
        margin-bottom: 10px;
    }

    .service-table .icon {
        width: 24px;
    }

    .service-table .service {
        font-size: 0.86rem;
    }

    .service-table .service-state {
        font-size: 0.82rem;
    }

    footer {
        width: min(100%, calc(100% - 16px));
        margin-bottom: 18px;
    }
}

@media (hover: none), (pointer: coarse) {
    body {
        background-attachment: scroll;
    }
}

@supports (padding: max(0px)) {
    body {
        padding-left: max(0px, env(safe-area-inset-left));
        padding-right: max(0px, env(safe-area-inset-right));
        padding-bottom: max(0px, env(safe-area-inset-bottom));
    }
}
