body {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Source Sans 3";
}

main {
    width: 375px;
    height: 375px;
}

.border,
.background {
    position: absolute;
    height: 100%;
    width: 100%;
}

.border {
    z-index: 2;
    pointer-events: none;
    border: 1px solid transparent;
    border-image: var(--border-window) 20 stretch;
    border-image-width: 20px;
    border-image-outset: 2px;
}

.background {
    background-image: var(--background);
    background-size: 30px;
}

.header {
    position: relative;
    text-align: center;
    font-size: 21px;
    padding: 10px 0;
    border: 1px solid transparent;
    border-image: var(--border-bar) 3.5 stretch;
    border-image-width: 8px;
    color: var(--header-text-color);
}

.content {
    position: relative;
    z-index: 1;
    height: calc(100% - 45px);  
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
    overflow-x: auto;
    background-color: var(--background-color);
}

p {
    margin-bottom: 0;
}

input {
    color: white;
    outline: none;
    text-align: center;
    background-color: var(--input-bg-color);
    border: 1px solid transparent;
    border-image: var(--border-input) 7 stretch;
    border-image-width: 10;
    border-image-outset: 3px;
}

button {
    width: 75px;
    height: 25px;
    color: white;
    cursor: pointer;
    background-color: var(--button-bg-color);
    border: 1px solid transparent;
    border-image: var(--border-button) 7 stretch;
    border-image-width: 10;
    border-image-outset: 1px;
}