*,
*::before,
*::after {
    box-sizing: border-box;
}

::-moz-selection {
    background-color: rgba(255, 255, 128, 0.2);
}

::selection {
    background-color: rgba(255, 255, 128, 0.2);
}

:root {
    --font-stack-monospace: ui-monospace, "SFMono-Regular", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

@font-face {
    font-family: 'Mona Sans';
    src:
        url('./fonts/mona-sans/Mona-Sans.woff2') format('woff2 supports variations'),
        url('./fonts/mona-sans/Mona-Sans.woff2') format('woff2-variations');
    font-weight: 200 900;
    font-stretch: 75% 125%;
}

html {
    color: #cccccc;
    background-color: #1a1a1a;
    text-align: center;
    font-family: "Courier New", Courier, monospace;
    font-size: 1.3em;
}

body {
    max-width: 1200px;
    margin: 4.5em auto;
    padding: 0 1em;
}

a,
a:visited,
a.active {
    color: #cccccc;
}

h1,
.logo-guru {
    color: #ffff80;
    font-weight: 400;
    margin-bottom: 0.2em;
    margin-top: 0.2em;
    font-size: 1.9em;
    display: inline-block;
}

.text-highlight {
    color: #ffff80;
    font-size: 75%;
    margin-bottom: 10px;
    margin-top: 25px;
}

.text-highlight a {
    color: #ffff80;
}

#banner {
    position: absolute;
    top: 0;
    left: 0;
    height: 3em;
    width: 100%;
    text-align: left;
    padding: 0.66em 1em;
    font-weight: 400;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
    color: #fff;
}

#banner .wide-container {
    max-width: 1200px;
    margin: auto auto;
    position: relative;
}

#banner .cronitor-logo {
    padding-top: 0.05em;
    margin-top: 5px;
}

#banner .button {
    position: absolute;
    right: 0;
    margin-top: 3px;
    padding: 6px 12px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 67%;
    border-radius: 4px;
    margin-left: 20px;
    border: 1px solid #00df4d;
    background-color: inherit;
    color: #00df4d;
    box-shadow: 0 5px 10px rgba(0, 223, 77, 0.5);
}

#banner .button:hover,
#cronitordetails .sign-up-button:hover {
    box-shadow: 0 5px 10px rgba(0, 223, 77, 0.75);
}

#banner a {
    text-decoration: none;
}

#cronitordetails {
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';

}

#cronitordetails .blurb {
    font-size: 100%;
    line-height: 1.5em;
}

.monitoring {
    line-height: 1.5em;
    max-width: 1200px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: -25px auto 0 auto;
}

.monitoring h2 {
    margin: 2em 0 0 0;
    font-weight: 500;
}

/* .variant-x styles so this code doesn't collide with the previous code */

.variant-x {
    --fill-color: #49F57F;
    --fill-hover: #37c96a;
    /* Adjusted hue value */
}

.variant-x h2 {
    color: #ffffff;
    font-family: var(--font-stack-monospace);
    margin: 2em 0 1.5em 0;
    font-size: 115%;
    font-weight: normal;
}

.variant-x p {
    color: rgba(255, 255, 255, 0.6);
    font-family: "Mona Sans";
    margin: 0 0 1.5em 0;
    padding: 0 10%;
    font-size: 90%;
    font-weight: normal;
    font-weight: 400;
    line-height: 150%;
}

.variant-x img {
    max-width: 85%;
    margin: 1em 0 1em 0;
    border-radius: 3px;
    /* Control the button roundness */
    border: 4px solid #49F57F;
}

.variant-x .action {
    margin: 1.25em 0 5em 0;
}

.variant-x-button {
    background-color: var(--fill-color);
    border: 2px solid transparent;
    /* Start with no visible border */
    border-radius: 3px;
    font-family: var(--font-stack-monospace);
    font-size: 90%;
    font-weight: bold;
    line-height: 1;
    padding: .75em 1.25em;
    color: #000000;
    /* Text color for solid button */
    transition: background-color 0.25s, border-color 0.25s, color 0.25s;
    text-decoration: none;
    /* Remove underline for links */
    display: inline-block;
    /* Ensures it behaves like a button */
}

.variant-x-button:visited {
    color: #000000;
    /* Maintain the initial text color */
}

.variant-x-button:hover,
.variant-x-button:focus {
    background-color: #000000;
    border-color: var(--fill-hover);
    /* Add border color */
    color: var(--fill-hover);
    /* Change text color to match border */
}

@media (max-width: 480px) {
    .variant-x h2 {
        font-size: 95%;
    }

    .variant-x p {
        font-size: 90%;
        padding: 0 2%;
    }

    .variant-x img {
        max-width: 100%;
    }
}

#cronitordetails .sign-up-button {
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 8px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 100%;
    border-radius: 4px;
    border: 1px solid #00df4d;
    background-color: inherit;
    color: #00df4d;
    box-shadow: 0 5px 10px rgba(0, 223, 77, 0.5);
}

.man {
    font-size: 75%;
    text-align: left;
}

.man .comment {
    color: #737373;
    font-style: italic;
}

.man i {
    color: #e6e673;
}

select {
    font-size: 20px;
    width: 45px;
    margin-right: 5px;
}

div.select {
    position: relative;
    display: inline-block;
    height: 15em;
}

div.select label {
    position: absolute;
    top: 28px;
    left: 25px;
    transform: rotate(45deg);
    transform-origin: left top 0;
}

table {
    margin-left: auto;
    margin-right: auto;
    border-collapse: collapse;
    border-top: 1px solid #333333;
    border-bottom: 1px solid #333333;
    width: 100%;
    max-width: 400px;
}

table th,
table td {
    border-top: 1px solid #333333;
    border-bottom: 1px solid #333333;
}

table th {
    width: 13em;
    text-align: right;
    padding: 0.2em 1em 0.2em 0;
}

table td {
    text-align: left;
    padding: 0.2em 0 0.2em 1em;
}

.blurb {
    font-size: 75%;
    color: #fff !important;
    max-width: 800px;
    margin: 10px auto 0 auto;
}

.blurb a {
    color: #fff;
}

#content {
    min-height: 500px;
    max-width: 1000px !important;
    margin: 0 auto;
}

div.warning {
    color: saddlebrown;
    font-size: 75%;
    height: 0;
}

.text-editor input {
    font-family: "Courier New", Courier, monospace;
    text-align: center;
    font-size: 250%;
    width: 100%;
    background-color: #333333;
    border: 1px solid #cccccc;
    border-radius: 0.6em;
    color: #ffffff;
    padding-top: 0.075rem;
}

.text-editor input.invalid {
    border: 1px solid darkred;
}

.text-editor input.warning {
    border: 1px solid saddlebrown;
}

.text-editor input:focus {
    outline: none;
}

.text-editor input::-ms-clear {
    width: 0;
    height: 0;
}

.text-editor input::-moz-selection {
    color: #ffff80;
    background-color: rgba(255, 255, 128, 0.2);
}

.text-editor input::selection {
    color: #ffff80;
    background-color: rgba(255, 255, 128, 0.2);
}

.clickable {
    text-decoration: underline;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.part-explanation {
    font-size: 75%;
    color: #a8a8a8;
    height: 24em;
}

.part-explanation div {
    display: inline-block;
    vertical-align: top;
    margin: 0 1em 0 0;
}

.part-explanation .active {
    color: #ffff80;
}

.part-explanation .invalid {
    background-color: darkred;
}

.part-explanation .warning {
    background-color: saddlebrown;
}

.part-explanation .clickable {
    border-radius: 1em;
    padding: 0.1em 0.36em;
}

.part-explanation .clickable:last-child {
    margin: 0;
}

.human-readable {
    font-size: 200%;
    font-family: Georgia, serif;
    min-height: 2.2em;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: end;
    justify-content: flex-end;
    -ms-flex-line-pack: end;
    align-content: flex-end;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-bottom: 0.2em;
    margin-top: 0.9em;
}

.human-readable .active {
    color: #ffff80;
}

.next-date {
    font-size: 75%;
    margin-left: 0.5em;
}

.tips {
    font-size: 75%;
    text-align: left;
    display: inline-block;
    vertical-align: top;
    margin-bottom: 3em;
}

.tips .title {
    font-weight: bold;
}

.example {
    text-align: right;
    font-size: 75%;
    margin-top: -1em;
    margin-bottom: 7px;
}

#footer {
    font-size: 75%;
    margin-top: 40px;
    width: 100%;
}

#footer span {
    margin: 0 1em;
}

@media screen and (max-width: 400px) {
    .text-editor input {
        font-size: 200%;
    }

    .example {
        display: none;
    }

    .part-explanation .clickable {
        padding: 0.1em 0.01em;
        margin: 0 0.2em 0 0;
    }

    table {
        max-width: 360px;
    }

    table th {
        width: 7em;
    }
}