html, body{
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: "Roboto", sans-serif;
}

body{
    display: flex;
    flex-direction: column;
}

.page-content {
    padding: 2rem;
    position: relative;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 2rem;
    overflow: auto;
}

* {
    box-sizing: border-box;
}

.header {
    display: flex;
    flex-direction: row;
    padding: 1rem;
    border-bottom: 1.5px solid gray;
    align-items: center;
    background-color: black;
    color: white;
}
.header .headline {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-weight: bold;
}
.header .headline p {
    margin: 0;
}
.header .headline .name{
    font-size: 26px;
}

.header .links{
    display: flex;
    flex-direction: row;
    gap: 1rem;
    margin-left: auto;
    justify-content: end;
    cursor: pointer;
}
.header .links a{
    transition: all 200ms ease-in-out;
}
.header .links a:hover{
    font-weight: bold
}

span.by {
    font-size: 14px !important;
}
span.by a{
    color: inherit;
    text-decoration: none;
}
span.hint {
    color: rgb(0 0 0 / 0.5);
    font-size: inherit;
}

div.centered{
    position: relative;
    display: flex;
    flex-direction: row;
    flex-shrink: 0;
    flex-grow: 0;

    margin-left: auto;
    margin-right: auto;
    margin-bottom: 8rem;

    justify-content: center;
    width: fit-content;
    max-width: 70vw;

    background-color: white;
    border: 1.5px solid lightgray;
    border-radius: 1rem;
    padding: 2rem;
    gap: 2rem;

    box-shadow: 6px 6px 10px 4px rgb(0 0 0 / 0.1);
    transition: all 200ms ease-in-out;
    overflow: hidden;
}
div.centered.full-width {
    max-width: none;
    width: calc(100% + 4rem) !important;
    margin-left: -2rem !important;
    margin-right: -2rem !important;
    border-radius: 0;
    box-shadow: none;
    border: none;
    background-color: rgb(220 220 220 / 0.25);
}
div.centered:NOT(.full-width):hover{
    box-shadow: 6px 6px 10px 4px rgb(0 0 0 / 0.2);
    transform: translateY(-2%);
}
div.centered .banner{
    position: relative;
    display: flex;
    align-self: stretch;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    margin: -2rem auto -2rem -2rem !important;
    width: 200px;
}
div.centered .banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
            linear-gradient(to left, white 0%, transparent 20%),
            linear-gradient(to top left, white 0%, transparent 40%),
            linear-gradient(to bottom left, white 0%, transparent 40%);
    pointer-events: none;
}
div.centered .content{
    display: flex;
    flex-direction: column;
}
div.centered h1{
    margin-top: 0;
}
div.centered p{
    margin: 0.25rem;
}

div.footer{
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
    bottom: 0;

    margin-top: auto;
    margin-bottom: 0;

    width: 100%;
    padding: 1rem;
    background-color: black;
    color: white !important;
}
div.footer a{
    color: inherit;
}

div.footer p.name:hover a{
    text-decoration: underline;
}

#promptContainer .error-text{
    color: indianred;
    border: 1.5px solid indianred;
    background-color: rgb(205 92 92 / 0.2);
    padding: 0.5rem;
    margin: 1rem 0;
    border-radius: 0.5rem;
}