* {
    margin: 0;
    padding: 0;
}

body {
    background-color: #000000e2;
}

header {
    background-color: #000;
    color: #ccc;
    text-align: center;
    padding: 50px 0px;
}

main {
    display: flex;
    color: #ccc;
}

aside {
    width: 20%;
    background-color: darkgray;
    color: #000;
    border: 10px solid #ccc;
    border-radius: 0 10px 100% 0;
    text-align: center;
}

aside p {
    font-size: 1.2rem;
    padding: 10px 5px 10px 10px;
    border-bottom: 5px solid #ccc;
    cursor: pointer;
}

aside p:hover {
    font-size: 1.5rem;
    background-color: #ccc;
}

section {
    display: flex;
    flex-direction: column;
    padding: 50px;
    justify-content: center;
}

#chart-article {
    display: flex;
    align-items: end;
    margin-bottom: 30px;
} 

.guide-div {
    display: flex;
    align-items: center;
    /* margin-left: 25px; */
    position: relative;
    bottom: 50px;
}

.guide-box {
    width: 10px;
    height: 10px;
    border: 1px solid #ccc;
    margin-right: 5px;
}

#green-guide {
    background-color: green;
}

#red-guide {
    background-color: red;
}

h2 {
    margin-bottom: 15px;
}

#details div {
    display: flex;
}

#details div > p:first-of-type {
    width: 150px;
}

canvas {
    background-color: #ccc;
    border: 1px solid #fff;
    border-radius: 50%;
}

#daily-log-modal, 
#bonus-log-modal,
#income-log-modal {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #cccccca1;
    color: #000;
}

#daily-log-modal {
    display: none;
}

#bonus-log-modal {
    display: none;
}

#income-log-modal {
    display: none;
}

#daily-log-modal > div,
#bonus-log-modal > div,
#income-log-modal > div {
    width: 60%;
    margin: 100px auto 0px auto;
    border: 2px solid white;
    background-color: #000;
    color: #ccc;
    height: 50%;
    border-radius: 8px 50px 8px 50px;
    /* align-items: center; */
}

#daily-log-modal p,
#bonus-log-modal p,
#income-log-modal p {
    text-align: center;
}

.modal-header {
    align-items: center;
    display: flex;
    justify-content: center;
    width: 50%;
    margin: 20px auto 0 auto;
}

.modal-header > img {
    cursor: pointer;
    margin: 0 0 15px 30px;
}

form {
    /* text-align: center; */
    width: 50%;
    margin: 30px auto 0 auto;
}

input[type="number"], 
textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

button {
    color: #000;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

button:hover {
    color: #ccc;
    background-color: #000;
    border: 1px solid #ccc;
}