:root {
    --primary: #55633b;
    --accent: #f9b600;
    --accent-dark: #0c252f;
}

@font-face {
    font-family: "akidenz grotesk bold cn";
    src: url("assets/akzidenzgroteskpro_boldcn.ttf");

    font-family: "akidenz grotesk black cn";
    src: url("assets/akzidenzgroteskpro_xbd.ttf");
}
body {
    font-family: "akidenz grotesk bold cn", sans-serif;
    margin: 0;
    padding: 0;
    text-align: left;
    background-size: 100% 600px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    color: rgb(var(white));
    font-size: 20px;
    line-height: 1.7;
    scroll-behavior: smooth;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "akidenz grotesk black cn", sans-serif;
    font-weight: bolder;
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
}
strong,
b {
    font-weight: 900;
}
a {
    color: var(--accent);
}
a:hover {
    color: var(--accent);
}
p {
    font-family: sans-serif;
    margin-bottom: 1em;
}
label {
    display: block;
    font-family: "akidenz grotesk bold cn" sans-serif;
    font-size: 1.5em;
}

input {
    font-size: 20px;
    padding: 1rem;
    font-family: sans-serif;
    display: flex;
}

input[type="text"] {
    text-align: center;
    display: flex;
    width: 500px;
}

input[type="submit"] {
    font-family: "akidenz grotesk bold cn", sans-serif;
    font-weight: 900;
    font-size: 1.3rem;
    color: white;
    border-radius: 15px;
    background: var(--primary);
    border: none;
    transition: 0.2s;
}

input[type="submit"]:hover {
    color: var(white);
    background: var(--accent);
}

button {
    font-family: "akidenz grotesk bold cn", sans-serif;
    font-weight: 900;
    font-size: 1.3rem;
    color: white;
    border: none;
    border-radius: 15px;
    background: var(--primary);
    padding: 1rem;
    margin-top: 1rem;
    transition: 0.2s;
}

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

header {
    justify-content: center;
    align-items: center;
    display: flex;
    background-color: var(--primary);
    color: white;
}

.base {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.gen-input {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#gen-text-btn {
    margin: 1rem;
}

.gen-output .wrapper {
    border: 10px solid var(--accent-dark);
    width: 400px;
    height: 500px;
}

.maincanvas {
    width: 400px;
    height: 500px;
    display: flex;
}

#output {
    display: flex;
    flex-direction: column;
    user-select: none;
}

#download-btn {
    width: 100%;
}
