.main {
    display: flex;
    align-items: stretch;
    min-height: calc(100vh - 4rem);
}

.main-box {
    background-color: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
}

.buttons {
    background-color: var(--accent);
    color: #ffffff;
}

.sidebar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.625rem;
    flex: 0 0 11.25rem;
    min-width: 0;
    background-color: #adadad;
    padding: 1.25rem 0.625rem;
}

.sidebar a {
    display: block;
    background-color: #d9d9d9;
    padding: 0.625rem;
    border-radius: 8px;
    font-family: "Jersey 25", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.25rem;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.main > .content {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    flex: 1;
    min-width: 0;
    margin: 0;
    padding: 1.25rem clamp(1rem, 2.8vw, 2.5rem);
    gap: 1.25rem;
}

.create-project-area {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    flex: 1 1 32rem;
    min-width: 0;
    background-color: #e6c5ed;
    padding: 0.9375rem 0.75rem;
    border-radius: 8px;
    gap: 1.25rem;
}

.create-project-area p {
    font-family: "Jersey 25", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.25rem;
    line-height: 1.2;
    padding: 0.3125rem;
    border-radius: 8px;
    margin: 0;
}

.field {
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0.375rem 0.5rem;
    background-color: whitesmoke;
    color: #222;
    border: 1px solid #6A117C;
    border-radius: 8px;
    font-family: "Jersey 25", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.25rem;
    line-height: 1.2;
}

.field::placeholder {
    color: #666;
}

.field:focus {
    outline: 2px solid #a020c0;
    outline-offset: 2px;
}

.create-project-area > .description {
    display: flex;
    flex-direction: column;
    flex: 1 1 12rem;
    min-width: 0;
    max-width: 18.75rem;
    gap: 0.625rem;
}

.description-field {
    min-height: 9rem;
    resize: vertical;
}

.main > .content > .calender {
    margin-left: auto;
}

.title-field {
    min-height: 5.5rem;
    resize: vertical;
    overflow-wrap: anywhere;
}

[data-priority] {
    cursor: pointer;
}

[data-priority].selected {
    outline: 2px solid #333;
    outline-offset: 3px;
}