html {
    word-break: break-word;
    background-color: #eee;
    font-size: 16px;
    text-rendering: optimizeSpeed;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
         text-size-adjust: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 101vh;
    color: #090a0a;
    font-size: 1em;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
}

body, button, input, optgroup, select, textarea {
    font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

h4 {
    font-weight: 600;
}

.hero2 {
    background-image: url('/static/tower_picture.jpg');
    background-color: #222;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero2 > div {
    color: #f7f7f7;
    font-size: 1.6em;
    margin-top: 5em;
    margin-bottom: 5em;
    font-weight: 600;
}

.hero2 .btn-availability {
    text-align: center;
    box-sizing: border-box;
    background-color: #f7f7f7;
    color: rgb(28,28,30);
    border-radius: 0.3em;
    display: inline-block;
    padding: 0.8em 3em;
    user-select: none;
    text-transform: uppercase;
    font-size: 0.8em;
}

.hero2 h1 {
    font-size: 2.5em;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -3px;
}

.btn-availability {
    font-size: 1.2em;
    max-width: max-content;
    padding: 0.5em 1em;
    background-color: #3635e9;
    margin-top: 1.5em;
    text-decoration: none;
}

.btn-availability::after {
    content: '❯';
    margin-left: 0.5em;
}

.pricing-card .btn-availability {
    min-width: 100%;
    text-align: center;
    box-sizing: border-box;
    background-color: #3434ea;
    color: #f7f7f7;
    border-radius: 0.3em;
    padding: 0.65em 0;
}

.pricing-card .btn-availability:hover {
    background-color: rgb(47, 75, 202);
}

.banner {
    max-width: 1500px;
    width: 100%;
    margin-right: 1em;
}

.banner, footer {
    display: flex;
    align-items: center;
    margin: 0;
    color: #fafbfe;
    background-color: rgb(28,28,30);
    line-height: 1;
}

#logo {
    font-weight: 500;
    margin-left: 6px;
    padding: 5px;
    display: flex;
    align-items: center;
}

#logo > img {
    margin-right: 10px;
    height: 2em;
    width: 2em;
}

#logo:hover {
    color: cornflowerblue;
}

nav h2 {
    margin: 0;
}

.banner-links {
    box-sizing: border-box;
    display: flex;
    flex: auto;
    justify-content: flex-end;
    align-items: center;
}

#signup {
    line-height: 1.5;
    margin: 0 0.5em;
    color: #26262b;
    border-radius: 0.3em;
}

#header-always {
    display: flex;
    align-items: center;
    /* align-self: start; */
    justify-content: space-between;
}

#menu-button {
    display: flex;
    /*border: 1px solid black;*/
    padding: 14px 8px;
    margin-right: 6px;
    align-items: center;
}

nav {
    display: flex;
    justify-content: center;
    background-color: rgb(28,28,30);
    top: 0;
    z-index: 100;
}

nav a {
    text-decoration: none;
}

nav h2 a {
    padding: 8px;
}

.nav-link {
    padding: 6px 0;
    margin: 12px;
    border-top: 3px solid rgba(0,0,0,0);
    border-bottom: 3px solid rgba(0,0,0,0);
}

#nav-toggle {
    display: none;
}

#hamburger {
    display: none;
}

#bar-wrapper {
    margin-left: 14px;
}

.bar {
    width: 32px;
    height: 4px;
    background-color: #fafbfe;
    margin: 5px 0;
}

main {
    flex: auto;
}

footer {
    margin-top: 200px;
}

section {
    padding-left: 8px;
    padding-right: 8px;
    box-sizing: border-box;
}

section h2.heading {
    margin-top: 2em;
}

.dark-section {
    background-color: #e8e8e8;
}

section.dark-section {
    padding-top: 40px;
    padding-bottom: 50px;
    margin-bottom: 30px;
}

a {
    color: inherit;
}

a:visited {
    color: inherit;
}

a:hover {
    color: #3434ea;
}

a.nav-link:hover {
    color: inherit;
    border-bottom: 3px solid cornflowerblue;
}

p, ul, ol {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.main-width {
    display: flex;
    flex-direction: column;
    max-width: 1250px;
    margin: 0 auto;
}

.hero-container {
    flex-direction: row;
    align-items: center;
}

.hero-img {
    margin: 0.5em;
}

.hero-img > img {
    height: 400px;
    max-width: 100%;
}

.img-wide {
    background-color: #ddd;
    line-height: 0;
    position: relative;
    margin-top: 2em;
}

.img-wide img {
    max-width: 100%;
    margin: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0px 2px 36px 0px #00000020;
}

.hero {
    background-color: #0d0e10;
    color: #fafbfe;
    padding: 7vw 16px;
    margin-top: 0;
}

.hero-col {
    flex-basis: 50%;
    max-width: 50%;
}

.hero-col > h1 {
    font-size: 3.2em;
    margin-top: 0;
    margin-bottom: 0;
}

.hero-col > p {
    font-size: 1.4em;
    font-weight: 500;
}

img.cover {
    object-fit: cover;
}

img.contain {
    object-fit: contain;
}

.illustration {
    position: relative;
    top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.error-message {
    background-color: #ffadad;
    padding: 8px;
    border-radius: 3px;
    font-size: 0.9em;
    font-weight: 500;
    color: #5f0d0d;
}

.success-message {
    background-color: #c7ffc2;
    padding: 10px;
    border-radius: 7px;
    color: #083519;
}

.heading {
    margin: 0.5em 0;
    font-weight: 500;
}

.center-text {
    text-align: center;
}

.l-heading {
    margin: 0 0 1em 0;
}

.side-width {
    display: flex;
    flex-direction: column;
    max-width: 900px;
    margin: 0 auto;
}

.side-width p, .side-width ul, .side-width .main-text {
    margin-left: 0;
    margin-right: 0;
    font-size: 1.1rem;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

h2.heading {
    font-size: 1.8em;
}
h3.heading {
    font-size: 1.6em;
}

.pricing-container {
    display: flex;
    flex-wrap: wrap;
    font-size: 1.2em;
    flex-direction: row;
    align-self: center;
    justify-content: center;
}

.pricing-container > * {
    margin: 24px 8px;
}

.pricing-container ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    font-size: 0.85em;
    margin-top: 2em;
    margin-bottom: 1em;
}

.pricing-container li {
    padding-top: 0.2em;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    background-color: #f7f7f7;
    padding: 2em;
    border: 1px solid #d2d2d2;
}

.pricing-card h2 {
    border-bottom: 1px solid cornflowerblue;
    font-size: 1.2em;
    font-weight: 600;
}

.pricing-card__price {
    font-weight: 500;
}

.pricing-card__dollar {
    font-size: 1.8em;
}

.pricing-card__per {
    font-size: 0.9em;
    margin-left: 0.1em;
}

.pricing-card__points {
    align-self: stretch;
    flex-grow: 1;
}

#recommended-banner {
    text-align: center;
    font-weight: 500;
    padding: 3px;
    color: white;
    background-color: #2A368B;
}

.btn-small {
    font-size: 0.9em;
    background-color: #f7f7f7;
}

.card-container {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    margin: 2em auto 0 auto;
    max-width: 2000px;
}

.card {
    padding: 2em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.card:hover {
    background-color: #e2e4ec;
}

.card svg {
    width: 50px;
    height: 50px;
}

.card > h3 {
    font-size: 1.2em;
    font-weight: 500;
    text-align: center;
}

.card > a {
    text-decoration: none;
    border-bottom: 2px solid #3434ea;
    padding: 0.2em 0;
}

.card > a:hover {
    color: inherit;
}

sup > a {
    font-weight: normal;
}

.order-button {
    display: flex;
    width: 100%;
    margin: 2em auto 0 auto;
    border: 2px solid #2e3746;
    transition: background-color ease-out 0.15s;
    font-weight: 500;
    text-decoration: none;
}

.order-button > div {
    margin: auto;
    padding: 10px 0px;
}

.order-button:hover {
    background-color: #c3c3c6;
    text-decoration: inherit;
    color: #2A368B;
}

.main-text {
    font-size: 1.1rem;
    margin-left: 100px;
    margin-right: 100px;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.main-left {
    max-width: 1050px;
    width: 100%;
    font-size: 1.1rem;
    margin: 3em auto;
}

.answer img {
    max-width: 100%;
}

details {
    box-sizing: border-box;
    margin-left: 0.2em;
    border: 1px solid #00000000;
}

details[open] {
    border-color: #2c2c32;
    margin-bottom: 18px;
}

summary {
    cursor: pointer;
    user-select: none;
    font-weight: 500;
    font-size: 1.2rem;
    padding: 10px;
}

details[open] > summary {
    padding-bottom: 14px;
}

.answer {
    margin-left: 1em;
    margin-right: 1em;
    font-size: 1.1rem;
}

.alert {
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    font-weight: 500;
}

.alert-label {
    margin: 6px 10px;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 6px 10px;
    text-transform: uppercase;
    color: black;
}

.alert-message {
    margin: 12px 10px
}

.alert a {
    margin: 6px 6px 6px 10px;
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.2);;
    padding: 6px 10px;
}

.alert a:hover {
    color: inherit;
    text-decoration: underline;
}

.aside {
    color: #2c2c32;
}

.subscription-setup {
    display: flex;
    align-items: center;
    padding-top: 24px;
    margin-bottom: 2em;
}

.subscription-setup > img {
    max-width: 400px;
    padding-right: 20px;
}

.subscription-setup button {
    width: inherit;
    font-size: 0.9rem;
    padding: 3px 6px;
}

.warning-button {
    color: #d24c4c;
    background-color: #ffcccc;
    border-color: #ffcccc;
}

.opposite-ends {
    display: flex;
    justify-content: space-between;
}

.opposite-ends form {
    margin: 0;
}

.opposite-ends button {
    margin-top: 0.2em;
}

.all-cap-header {
    font-size: 1rem;
    text-transform: uppercase;
    margin-bottom: 1.5em;
}

form.date-selection * input[type="radio"] {
    flex-grow: 0;
}

form.date-selection > label {
    width: 100%;
    display: flex;
    align-items: center;
    user-select: none;
}

.date-selection * div:hover {
    border-color: grey;
}

.date-selection * div {
    padding: 10px;
    margin: 12px;
    background-color: white;
    border: 3px solid lightgrey;
    border-radius: 5px;
    width: 100%;
}

.date-selection * :checked + div, .date-selection * :focus + div {
    font-weight: bold;
    border-color: blue;
}

table {
    width: 100%;
}

thead {
    font-weight: 500;
}

thead > tr {
    margin-bottom: 8px;
}

thead td {
    border-bottom: 2px solid black;
}

td.invoice-paid {
    border-radius: 9px;
    font-size: 0.95em;
    color: white;
    background-color: #57c563;
    display: inline-block;
    padding: 0 5px;
}

td.invoice-partial {
    border-radius: 9px;
    font-size: 0.95em;
    color: white;
    background-color: #fbaf47;
    display: inline-block;
    padding: 0 5px;
}

td.invoice-unpaid {
    border-radius: 9px;
    font-size: 0.95em;
    color: white;
    background-color: #c55757;
    display: inline-block;
    padding: 0 5px;
}

td {
    padding: 4px;
}

th {
    text-align: start;
    padding: 4px;
    background-color: #eee;
}

tr:nth-child(odd) {
    background-color: #e2e2e2;
}

.footer-links {
    margin-left: 10%;
    padding: 50px 0px;
    line-height: 1.8;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.footer-links a:hover {
    color: cornflowerblue;
}

.footer-offset {
    padding-left: 0.6rem;
}

.footer-col {
    margin: 2em 9em 2em 0;
    display: flex;
    flex-direction: column;
}

.footer-col > h2 {
    margin-top: 0;
}

footer a {
    text-decoration: none;
    padding: 0.4rem;
    margin: 0.2rem;
    line-height: 1;
}

footer a:hover {
    text-decoration: underline;
}

.timestamp {
    background-color: #2e3746;
    color: #bbb;
    font-size: 0.9em;
    border-radius: 2px;
    margin-right: 8px;
    padding: 2px 6px;
}

.g-recaptcha {
    height: 78px;
}

.notification {
    padding: 12px;
    font-weight: 500;
}

div.notification-info {
    background-color: cornflowerblue;
}

div.notification-degraded {
    background-color: orangered;
}

div.notification-outage {
    background-color: #da284a;
}

div.notification-resolved {
    background-color: palegreen;
}

.notification > span {
    font-weight: 700;
    margin-right: 8px;
    text-transform: uppercase;
    user-select: none;
}

form div.formelement, fieldset {
    display: flex;
    flex-direction: column;
    margin-bottom: 1em;
    margin-top: 1em;
}

form div.formelement-row {
    display: flex;
    flex-direction: row;
    margin-bottom: 1em;
    margin-top: 1em;
}

form label, legend {
    font-size: 1em;
    font-weight: 500;
    color: #363636;
    margin-bottom: 0.5rem;
}

form input, form textarea {
    font-size: 1rem;
    padding: 0.5em;
    max-width: 100%;
    box-sizing: border-box;
}

form input[type="checkbox"], form input[type="radio"] {
    height: 20px;
    width: 20px;
    min-height: 20px;
    min-width: 20px;
    margin-right: 0.5em;
}

textarea {
    min-height: 2.6em;
}

button:disabled {
    cursor: not-allowed;
    color: #777;
}

button {
    width: 100%;
    margin-top: 1em;
    padding: 0.5em;
    font-size: 1.1em;
    font-family: inherit;
    font-weight: 500;
    border: 1px solid #aaa;
    border-radius: 1px;
    color: black;
    background-color: #dadbdf;
}

button:hover {
    border-color: #777;
}

fieldset > div:not(:last-child) {
    margin-bottom: 0.25em;
}

fieldset > legend {
    display: flex;
    align-items: center;
}

legend button {
    margin: 0 0 0 0.5em;
    padding: 0.1em 0.5em 0.2em 0.5em;
    background-color: inherit;
}

.side-margin {
    margin-right: 0.5em;
    margin-left: 0.5em;
}

.top-margin {
    margin-top: 2em;
}

#prevBtn {
    width: auto;
    flex-grow: 1;
}

#nextBtn {
    width: auto;
    flex-grow: 8;
}

article h1, article h2, article h3, article h4 {
    font-weight: 400;
}

figure {
    display: inline-block;
    max-width: 100%; /* this was width on the google site https://web.dev/aspect-ratio/*/
    margin: 0 auto;
    width: fit-content;
}

figure > figcaption {
    display: block;
    width: 100%;
    text-align: center;
    font-style: italic;
    font-size: 0.95em;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    background-color: #e6e7e9;
    border-radius: 0 0 10px 10px;
}

/* Round all corners by default */
figure img {
    border-radius: 10px;
}

/* Only round top corners if there's a figcaption */
figure:has(figcaption) img {
    border-radius: 10px 10px 0 0;
}

figure > :not(figcaption) {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

figure > picture {
    margin: 0;
}

article picture {
    display: flex;
    justify-content: center;
    margin-top: 2em;
    width: fit-content;
}

a:has(> picture) {
    display: block;
}

picture {
    display: block;
}

picture > img {
    max-width: 100%;
    display: block;
    height: 100%;
}

article {
    margin-top: 2em;
    max-width: 900px;
    margin-inline: auto;
}

article .title {
    font-size: 1.7em;
    margin-bottom: 0.5em;
}

article .subtitle {
    font-size: 0.9em;
}

article .footnote-definition {
    display: flex;
    flex-direction: row;
}

article sup {
    padding-right: 4px;
}

article .footnote-reference {
    padding-left: 3px;
}

article .footnote-reference > a {
    color: cornflowerblue;
    font-size: 0.9em;
    text-decoration: none;
}

article .footnote-reference > a:hover {
    text-decoration: underline;
}

article .footnote-reference > a::before {
    content: "[";
}

article .footnote-reference > a::after {
    content: "]";
}

.promotion-pip {
    border-radius: 4px;
    background-color: #3939f8;
    color: white;
    padding: 2px 6px;
    font-weight: bold;
}

::selection {
    color: #eee;
    background-color: #3434ea;
}

.loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    margin: 5em auto;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 400px) {
    html {
        font-size: 14px;
    }
}

@media (max-width: 850px) {
    .banner {
        flex-direction: column;
    }

    #hamburger {
        display: block;
    }

    #header-always {
        width: 100%;
    }

    .banner-links {
        display: none;
        flex-direction: column;
        margin: 0;
        padding: 0 6px;
        align-items: stretch;
        width: 100%;
    }

    .hero2 h1 {
        font-size: 2.3em;
        line-height: 1.3;
    }

    .hero2 .cta {
        padding: 1em;
    }

    #nav-toggle:checked ~ .banner-links {
        display: flex;
    }

    #nav-toggle:checked ~ .banner-links > .nav-link {
        font-size: 1.2em;
        padding: 14px;
        margin: 4px 10px;
        border: none;
    }

    .hero-container, .subscription-setup {
        flex-direction: column;
    }

    .hero-col {
        flex-basis: 100%;
        max-width: 100%;
    }

    .main-text {
        margin-left: 0;
        margin-right: 0;
    }

    .hero-img > img {
        margin-top: 1em;
        height: 280px;
    }

    #signup {
        margin: 1.5em 1em;
        font-size: 1.1em;
    }
}
