/* CSS */
body, html {
    font-family: arial, sans-serif;
    padding: 10px 15px;
    user-select: none;
    background: linear-gradient(45deg, #fdfdfd, #feffff);
}

.main {
    min-height: 100vh;
}

img.banner {
    border: 1px solid #eee;
    border-radius: 10px;
    width: 100%;
    display: block;
}

.banner {
    display: none;
}

.line {
    margin: 40px 0;
    text-align: center;
    display: flex;
    justify-content: center;
}

.line > span {
    border: 1px dotted #fff;
    padding: 3px;
    border-radius: 100%;
    background-color: #eee;
    color: #000;
    height: 16px;
    display: inline-block;
    width: 16px;
    align-content: center;
    font-size: 12px;
}

.container {
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 20px;
    margin: 20px 0;
}

.container > span {
    padding: 20px;
    border: 2px dotted #eee;
    border-radius: 10px;
    background-color: white;
}

.links {
    display: grid;
    grid-template-columns: auto auto auto auto;
    gap: 20px;
    margin: 20px 0;
    text-align: center;
}

.links a {
    text-decoration: none;
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 10px;
    background-color: #fff;
    color: #000;
    font-size: 14px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.links a:hover {
    background-color: #eee;
    color: #000;
    transition: 120ms ease-in;
}

.subscription {
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
}

.database {
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
}

table {
    border-collapse: collapse;
    width: 100%;
    border: 1px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    overflow-wrap: anywhere;
}

td, th {
    border: 1px solid #eee;
    text-align: left;
    padding: 8px;
    overflow: hidden;
}

.alert {
    border: 1px solid #eee;
    border-radius: 10px;
    background-color: rgba(245, 245, 245, 0.80);
    padding: 10px;
    margin: 20px 0;
}

.footer {
    text-align: center;
    padding: 40px 0 20px 0;
    font-size: 10px;
    color: grey;
    font-family: monospace;
}

@media only screen and (max-width: 768px) {
    body {
        font-size: 14px;
        padding: 10px 5px;
    }
    .container {
    grid-template-columns: auto;
    }
    .links {
    grid-template-columns: auto auto;
    }
    img.banner {
    display: none;
    }
    .banner {
    display: block;
    text-align: center;
    font-family: monospace;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 20px 10px;
    }
    .banner h1 {
    font-size: 3.75rem;
    font-weight: normal;
    margin: -5px;
    }
    .banner h2 {
    font-size: 1.15rem;
    margin: 0;
    }
    .banner h3 {
    font-size: 0.7rem;
    font-weight: normal;
    color: gray;
    }
    .links a {
    font-size: 12px;
    }
}