/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

p {
    text-wrap: pretty;
}

/* ---- */

/* rubik-latin-wght-normal */
@font-face {
    font-family: 'Rubik Variable';
    font-style: normal;
    font-display: swap;
    font-weight: 300 900;
    src: url(@fontsource-variable/rubik/files/rubik-latin-wght-normal.woff2) format('woff2-variations');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

body {
    font-family: 'Rubik Variable', sans-serif;
    background-color: oklch(36.4% 0.029 323.89);
    color: white;
    padding: min(5vw, 20rem);
    padding-bottom: 0;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    min-height: calc(100vh - min(5vw, 20rem));
    min-height: calc(100dvh - min(5vw, 20rem));
    overflow-x: hidden;
    overflow-y: hidden;
}

#bgContainer {
    position: relative;
    width: 100%;
    height: 100%;
}


#bgContainer::after {
    content: '';
    width: max(70vw, 70vh);
    height: max(70vw, 70vh);
    background-color: oklch(43.5% 0.029 321.78 / 0.3);
    top: calc(-1 * max(40vw, 40vh));
    left: calc(max(10vw, 10vh));
    position: absolute;
    transform: rotateZ(-20deg);
    z-index: -1;
}

h1 {
    font-size: 4vh;
    font-weight: 500;
    letter-spacing: 2%;
    margin-bottom: 1rem;
}

label {
    display: block;
    margin-bottom: 0.2rem;
    cursor: text;
}

a {
    color: currentColor;
}

input {
    padding: 0.2rem;
    border-radius: 4px;
    border: transparent;
    outline: none;
    font-size: 1rem;
    min-width: 60ch;
    background-color: oklch(92.2% 0.005 325.62);
    display: block;
}

@media screen and (width <=640px) {
    input {
        min-width: 35ch;
    }
}

input::placeholder {
    color: oklch(14.1% 0.005 285.823/0.6);
}

input:focus {
    outline: 4px solid oklch(43.5% 0.029 321.78);
}

button {
    border-radius: 4px;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    display: block;
    margin-top: 1rem;
    border: transparent;
    background-color: oklch(86.5% 0.012 325.68);
    color: oklch(14.5% 0.008 326);
}

#message {
    padding: 1rem;
    border-radius: 5px;
    margin-top: 1rem;
    background-color: oklch(43.5% 0.029 321.78);
    width: fit-content;
}

#message:empty {
    background-color: transparent;
}