@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP&family=Nunito&display=swap');

* {
    box-sizing: border-box;
}

html, 
body {
    font-family: "Nunito";
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    background: #ffffc7;
    color: #ffffc7;
    text-align: center;
}

header {
    background: #1eae98;
    padding: 10px;
    color: #ffffc7;
    text-align: center;
}

main {
    padding: 10px;
    overflow: auto;
}

article {
    float: left;
    width: 50%;
}

aside {
    float: right;
    width: 50%;
}

h3 {
    font-family: "Noto Sans JP";
    font-size: 1.5rem;
}

hr {
    margin: 0 25px 15px 25px;
    border: 1px solid #a9f1df;
    border-radius: 2px;
}

.container {
    border-radius: 5px;
    background: #1eae98;
    margin: 25px 10px;
    padding: 1px 0 1px 0;
    height: fit-content;
}

.form-input {
    display: flex;
    flex-direction: column;
    margin: 5px;
}

.form-radio {
    margin: 2px;
}

label {
    font-size: 16px;
    font-weight: bold;
    font-family: "Nunito";
    margin-bottom: 5px;
}

input[type=text],
input[type=number] {
    font-family: "Nunito";
    color: #233e8b;
    font-weight: bold;
    background: #ffffc7;
    border: 2px solid #a9f1df;
    border-radius: 5px;
    box-sizing: border-box;
    margin: 0 20px;
    height: 35px;
    text-align: center;
}

.btn-submit {
    width: 25%;
    border: none;
    font-family: "Nunito";
    font-weight: bold;
    border-radius: 5px;
    padding: 5px 10px;
    background-color: #233e8b;
    color: #ffffc7;
    margin: 15px 0;
    cursor: pointer;
}

.btn-submit:hover {
    background-color: #ffffc7;
    color: #233e8b;
}


.book-item {
    text-align: left;
    background: #ffffc7;
    color: #1eae98;
    border-radius: 5px;
    margin: 15px 10px;
    padding: 2px 10px;
}

.book-item > .book-content h2 {
    margin-bottom: unset;
}

.book-item > .book-content p {
    margin-top: 2px;
}

button {
    margin: 10px;
}

.check-button {
    padding: 5px;
    background: url('../img/check2.svg');
    background-size: contain;
    width: 35px;
    height: 35px;
    margin-left: auto;
    cursor: pointer;
    border: none;
}

.check-button:hover {
    background: url('../img/check.svg');
    background-size: contain;
}

.trash-button {
    background: url('../img/trash.svg');
    background-size: contain;
    width: 35px;
    height: 35px;
    margin-left: auto;
    cursor: pointer;
    border: none;
}

.trash-button:hover {
    background: url('../img/trash2.svg');
    background-size: contain;
}

.incomplete-button {
    background: url('../img/open-book2.svg');
    background-size: contain;
    width: 35px;
    height: 35px;
    margin-left: auto;
    cursor: pointer;
    border: none;
}

.incomplete-button:hover {
    background: url('../img/open-book.svg');
    background-size: contain;
}

.footer-book {
    height: 50px;
    width: 100%;
    background-color: #1eae98;
}

.footer-book > p {
    font-weight: bold;
    padding-top: 15px;
}

@media only screen and (max-width: 720px) {
    article {
        width: 100%;
    }
    aside {
        width: 100%;
    }
}