@import url("https://fonts.googleapis.com/css2?family=Quicksand&family=Material+Icons+Round&display=swap");

* {
    font-family: Quicksand;
    --color: #212121;
    --bg-color: #fafafa;
    --bg-on-bg-color: #f1f1f1;
}

body {
    color: var(--color);
    background-color: var(--bg-color);
    margin: auto;
    padding: 20px;
}

header {
    width: 100%;
    height: 50px;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

header img {
    height: 90%;
}

header a {
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--color);
}

header .material-icons-round {
    font-size: 36px;
}

details {
    margin-top: 10px;
}

summary {
    width: 100%;
    user-select: none;
    list-style: none;
}

summary a {
    color: var(--color);
    text-decoration: none;
}

summary a:hover span {
    text-decoration: underline;
}

summary a .material-icons-round {
    font-size: 26px;
}

summary a * {
    vertical-align: middle;
}

summary div {
    display: inline-flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: calc(100% - 50px);
    user-select: none;
    vertical-align: middle;
    margin-right: 10px;
}

details summary:after {
    font-family: "Material Icons Round";
    content: 'expand_more';
    font-size: 36px;
    vertical-align: middle;
}

details[open] summary:after {
    content: 'expand_less';
}

.material-icons-round {
    vertical-align: middle;
}

.tasks {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 10px;
}

.task {
    flex-grow: 1;
    flex-shrink: 1;
    width: calc(50% - 40px);
    background-color: var(--bg-on-bg-color);
    color: var(--color);
    text-decoration: none;
    border-radius: 10px;
    padding: 10px;
    display: inline-block;
    margin: auto;
}

.account_management .tile {
    text-decoration: none;
    color: var(--color);
    background-color: var(--bg-on-bg-color);
    padding: 10px;
    border-radius: 10px;
    display: block;
    width: fit-content;
    margin-bottom: 10px;
}

.account_management .tile span {
    vertical-align: middle;
}

.account_management .tile i {
    margin-right: 5px;
}

.progress {
    padding: 10px;
    border-radius: 5px;
    width: fit-content;
}

.progress.archived {
    background-color: #bdbdbd;
}

.progress.in_progress {
    background-color: #FFC107;
}

.progress.completed {
    background-color: #4caf50;
}

.progress.on_hold {
    background-color: #bdbdbd;
}

.view_task_title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.view_task_title a {
    text-decoration: none;
    color: var(--color);
}

.view_task_title span {
    vertical-align: middle;
    font-size: 20px;
}

.view_task_title i {
    vertical-align: middle;
    font-size: 20px;
}

.choose_status {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.choose_status .progress {
    display: block;
    border: 2px solid transparent;
}

.choose_status input {
    display: none;
}

textarea {
    height: 50vh;
    width: 95%;
    padding: 5px;
    display: block;
}

input[type="text"], input[type="password"] {
    width: 95%;
    padding: 5px;
    display: block;
}

button {
    background-color: var(--bg-on-bg-color);
    border: none;
    border-radius: 12px;
    padding: 12px;
}

.choose_status input:checked + .progress {
    border: 2px solid var(--color);
}

@media screen and (max-width: 900px) {
    .task {
        width: calc(100% - 20px);
    }
    
    summary a span {
        display: none;
    }
}