* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h1 {
    color: white;
}

#main {
    width: 70%;
    height: 70vh;
    background-color: #001524;
    position: relative;
    left: 15%;
    top: 130px;
    border-radius: 20px;
    padding: 20px 12px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    
}

#graphics, #summary {
    width: 31%;
    height: 100%;
    background-color: #e9d8a6;
    border-radius: 20px;
}

#graphics {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background-color: #6A6A6A;
}

#edit-content {
    width: 100%;
    height: 70%;
    display: flex;
    padding: 20px;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

hr {
    width: 90%;
    border: 1px solid black;
    border-radius: 50%;
}

.delete {
    width: 100%;
    height: 23%;
    display: flex;
    padding: 20px;
    justify-content: center;
    align-items: center;
}

#delete-all {
    width: 70%;
    height: 80%;
    border-radius: 10px;
    font-size: 20px;
    font-weight: bold;
    background-color: #001524;
    color: white;
    position: relative;
    margin-bottom: 10px;
    cursor: pointer;
    border: none;
}

#delete-all:hover {
    color: red;
    transition: 0.5s;
}

#main-content {
    width: 31%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

#content {
    width: 100%;
    height: 70%;
    background-color: #e9d8a6;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    align-self: flex-start;
    background-color: #003DDB;
}

#content h1 {
    text-align: center;
    font-weight: bold;
}

label {
    width: 80px;
}

form {
    width: 100%;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    font-weight: bold;
}

.form-items {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

select, input {
    width: 60%;
    height: 30px;
    border-radius: 10px;
    padding: 4px;
    border: 2px solid black;
}

#add, #edit {
    width: 120px;
    height: 40px;
    background-color: #001524;
    color: white;
    font-size: 15px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
}

#add:hover, #edit:hover {
    background-color: #2E2E38;
}

.created {
    width: 100%;
    height: 25%;
    background-color: #003DDB;
    border-radius: 20px;
    padding: 20px;
}

.creator {
    text-align: center;
    font-size: 40px;
    font-weight: bold;
}

/* ---------- EXPENSES ---------- */

#summary {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #00D789;
}

#summary > h1 {
    justify-self: flex-start;
}

.baslik {
    width: 100%;
    height: 12%;
    text-align: center;
}

.info-box {
    width: 100%;
    height: 20%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}

.info-box > div {
    width: 100%;
    height: 50%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.option {
    width: 40%;
    height: 70%;
    background-color: black;
    color: white;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.option:hover {
    background-color: #2E2E38;
}

.info-box p {
    font-size: 20px;
    text-align: center;
    font-weight: bold;
}

#filter {
    width: 100%;
    height: 6%;
}

#filter-search {
    width: 100%;
}

.active {
    width: 40%;
    height: 70%;
    background-color: white;
    color: black;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.active:hover{
    background-color: #fff;
}

#expenses {
    width: 100%;
    height: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5px;
    overflow-y: scroll;
    background-color: #ffe8d6;
    border-radius: 10px;
}

.summary-main {
    width: 100%;
    min-height: 37%;
    border-bottom: 1px solid black;
    padding: 8px 8px 4px 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.expenses-item {
    width: 75%;
    font-weight: bold;
    cursor: pointer;
    padding: 5px;
}

.expenses-item:hover {
    opacity: 0.7;
}

.delete-button {
    width: 40px;
    height: 40px;
    border-radius: 10%;
    border: none;
    background-color: red;
    color: white;
    font-size: 20px;
    font-weight: bolder;
    cursor: pointer;
}

.delete-button:hover {
    background-color: black;
    color: red;
    transform: scale(1.3);
    transition: 0.3s;
    
}