*,
*::before,
*::after {
    box-sizing: border-box;
}

/* https://kilianvalkhof.com/2022/css-html/your-css-reset-needs-text-size-adjust-probably/ */
html {
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
}

body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
    margin: 0;
}

/* https://www.scottohara.me/blog/2019/01/12/lists-and-safari.html */
[role="list"] {
    list-style: none;
    margin: 0;
    padding: 0;
}

body {
    min-block-size: 100vh;
    line-height: 1.6;
}

h1,
h2,
h3,
button,
input,
label {
    line-height: 1.1;
}

h1,
h2,
h3,
h4 {
    text-wrap: balance;
}

p,
li {
    text-wrap: pretty;
}

img,
picture {
    max-inline-size: 100%;
    display: block;
}

input,
button,
textarea,
select {
    font: inherit;
}

.cascadia-mono-regular {
    font-family: "Cascadia Mono", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

body {
    overflow-x: hidden;
    /*background: #3f3f3f;*/
    /*color: white;*/
}

header {
    padding: 1rem;
}

#main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

main {
    display: flex;
    width: 100vw;
    height: 80vh;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

main label {
    font-size: 20px;
    display: flex;
    flex-direction: column;
}

main label textarea {
    width: 300px;
    height: 200px;
    border-radius: 10px;
}

#actions {
    display: flex;
    justify-content: center;
    align-items: center;
}

#actions button {
    width: fit-content;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

#actions button img {
    height: 20px;
    width: 20px;
}

#actions #statusText {
    color: lightseagreen;
}


#works-guide {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#works-guide article {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
