.first-half {
    width: 100%;
    background-color: #e6c5ed;
    padding: 1rem clamp(1rem, 2.5vw, 2.25rem);
}

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

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


.first-half h1 {
    margin: 0 0 1rem;
    font-family: "Jersey 25", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: clamp(1.5rem, 2vw, 2rem);
    line-height: 1.2;
}

.project-with-calendar {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.project-with-calendar > #calendar {
    margin-left: auto;
    flex-shrink: 0;
}

.nearest-project {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1.25rem;
    background-color: #8C1FA2;
    padding: 0.9375rem 0.75rem;
    border-radius: 8px;
    flex: 1;
}

.project,
.create-new-project {
    display: flex;
    flex: 0 0 7.8125rem;
    align-items: center;
    justify-content: center;
    min-height: 11.875rem;
    max-width: 100%;
    padding: 0.75rem;
    border-radius: 8px;
    margin: 0;
    text-align: center;
    overflow-wrap: anywhere;
}

.project {
    background-color: #D9D9D9;
}

.project a,
.create-new-project a {
    max-width: 100%;
    font-family: "Jersey 25", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.25rem;
    line-height: 1.2;
    text-decoration: none;
}

.nearest-project 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;
    overflow-wrap: anywhere;
}

.description {
    display: flex;
    flex-direction: column;
    flex: 1 1 12rem;
    min-width: 0;
    max-width: 15.625rem;
    gap: 0.3125rem;
}

.description p {
    background-color: #D9D9D9;
}

.projects-settings {
    display: flex;
    flex-direction: column;
    flex: 1 1 15rem;
    min-width: 0;
    max-width: 17rem;
    gap: 1.25rem;
}

.projects-settings p {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.3125rem;
    background-color: #D9D9D9;
}

.projects-settings span {
    margin-left: auto;
    max-width: 100%;
}

.projects-settings ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    min-height: 2.5rem;
    margin: 0;
    padding: 0.375rem 0.625rem;
    background-color: #D9D9D9;
    border-radius: 8px;
    list-style: none;
    margin-left: auto;
}

.projects-settings li {
    background-color: whitesmoke;
    border: 1px solid #6A117C;
    border-radius: 8px;
    padding: 0.25rem 0.5rem;
    font-size: 1.125rem;
    font-family: "Jaro", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    line-height: 1.2;
    margin: 0;
}

.priority-high,
.priority-medium,
.priority-low {
    display: inline-block;
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
}

.priority-high {
    background-color: red;
}

.priority-medium {
    background-color: #FFCC00;
}

.priority-low {
    background-color: #22DF6E;
}

.notifications-allowed,
.discord-connected {
    display: inline-block;
    background-color: #22DF6E;
    border-radius: 8px;
    color: whitesmoke;
    padding: 0.125rem 0.3125rem;
}

.notifications-disabled,
.discord-disabled {
    display: inline-block;
    background-color: #df223e;
    border-radius: 8px;
    color: whitesmoke;
    padding: 0.125rem 0.3125rem;
}

.projects {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1.25rem;
    padding: 1rem clamp(1rem, 2.5vw, 2.25rem);
}

.create-new-project {
    background-color: #ADADAD;
}

[data-status] {
    cursor: pointer;
}

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

@media (max-width: 600px) {
  .project-with-calendar {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .nearest-project,
  #calendar {
    width: min(100%, 34rem);
  }

  #calendar {
    justify-self: center;
    margin-inline: auto;
  }
}