:root {
    --box-shadow: 0px 4px 6px 0px rgb(0 0 0 / 26%);
    --bg: EFF5F5;
    --accent: #098495;
    --bg-header: #d6e4e5;
    --accent-darker: #04434c;
}

@media (prefers-color-scheme: dark) {
    :root {
        --box-shadow: 0px 4px 6px 0px rgb(0 0 0 / 26%);
        --bg: EFF5F5;
        --accent: #098495;
        --bg-header: #d6e4e5;
        --accent-darker: #04434c;
    }
}

html * {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, avenir next,
        avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto,
        noto, arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
        'Segoe UI Symbol';
    font-weight: 200;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: auto;
}

body > * {
    padding: 1em;
}

.container {
    max-width: 750px;
    margin: auto;
}

header {
    display: block;
    text-align: center;
    overflow: hidden;
    background: var(--bg-header);
    /* background-position: 20% 60%; */
    /* background-image: url("/images/bg.jpg"); */
}

#avatar {
    margin: auto;
    width: 100%;
    height: auto;
    max-width: 300px;
    display: block;
    border-radius: 100%;
    margin-top: 3vh;
    box-shadow: var(--box-shadow);
}

#title > a {
    text-decoration: none;
}

#installPwa {
    display: none;
}

/* .opacity-layer {
  opacity: 0.3;
  background: black;
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
} */

main,
footer {
    background-color: var(--bg);
}

.job-item {
    margin-bottom: 3em;
}

.job-item > * {
    margin-block-end: 1em;
}

section:not(:last-of-type) {
    margin: 3px 0px;
    border-bottom: 1px solid black;
}

/* Form CSS */
input,
select,
textarea {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.button {
    width: 100%;
    background-color: var(--accent);
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: var(--box-shadow);
    max-width: 200px;
}

.button:hover {
    background-color: var(--accent-darker);
}

.button:disabled {
    background-color: lightgray;
    cursor: default;
    color: black;
}

textarea {
    height: 100px;
}

.alert {
    text-align: center;
    padding: 8px;
    background: #aad9df;
    color: #000;
    margin-bottom: 10px;
    border-radius: 20px;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    display: none;
    /* display: flex; */
}
