@import url(media_Query/query.css);

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

html {
    margin: 0;
    padding: 0;
}
/* from edit */
.dataEditFrom {
    background-color: var(--color-frist);
    color: var(--color-text);
    padding: 15px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.dataEditFrom input {
    height: 30px;
    border-radius: 5px;
    outline: none;
    padding: 10px;
}
/* ===== */

/* color */
:root {
    --color-bg: #283739;
    --color-frist: #2C5D63;
    --color-scond: #A9C52F;
    --color-text: #F7EEBB;
    --font-web : Roboto;
}
/* edit menu */
.edit_menu {
    margin-top: 10px;
    padding: 10px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    background-color: var(--color-scond);
    margin-left: 10px;
}
.edit_menu input {
    border: none;
    padding: 5px;
    border-radius: 5px;
    height: 35px;
}
/* not found books */
.notFoundBooks {
    font-family: var(--font-web);
    color: rgb(255, 113, 113);
    border-bottom: var(--color-scond) 3px solid;
    border-bottom-style: dotted;
    padding-bottom: 10px;
    text-transform: uppercase;
}
.readyFoundBooks {
    font-family: var(--font-web);
    color: var(--color-text);
    border-bottom: var(--color-scond) 3px solid;
    border-bottom-style: dotted;
    padding-bottom: 10px;
    text-transform: uppercase;
}
/* footer */
footer {
    border-top: var(--color-bg) 1px solid;
    background-color: var(--color-frist);
    width: 100%;
    align-items: center;
    padding: 20px 50px;
    justify-content: space-between;
    display: flex;
    color: #F7EEBB;
    font-family: Roboto;
    font-weight: 500;
    height: fit-content;
    z-index: 1;
    position: relative;
}
.Footer_text {
    display: flex;
    flex-direction: column;
}
footer .Footer_text p {
    padding-top: 5px;
    font-weight: 300;
    font-style: italic;
    font-size: 0.9rem;
}
footer .media_social_text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
footer .media_social_text .social_media a {
 text-decoration: none;
 color: var(--color-text);
 font-size: 23px;
 padding-left: 3px;
}
footer .media_social_text .social_media a:hover{
    color: var(--color-scond);
}
footer .media_social_text .social_media a:active {
 color: red;
}

/* main */
main {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 35px;
}
.css-selector {
    background: linear-gradient(270deg, #283739, #2c5d63);
    background-size: 400% 400%;

    -webkit-animation: AnimationName 30s ease infinite;
    -moz-animation: AnimationName 30s ease infinite;
    animation: AnimationName 30s ease infinite;
}

@-webkit-keyframes AnimationName {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
@-moz-keyframes AnimationName {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}
@keyframes AnimationName {
    0%{background-position:0% 50%}
    50%{background-position:100% 50%}
    100%{background-position:0% 50%}
}

/*  container read or Unread */
.container_books_ {
    border: var(--color-scond) solid 3px;
    padding: 10px;
    margin-top: 14%;
    border-style: dotted;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    gap: 10px;
    font-family: Roboto;
    overflow: auto;
    height: fit-content;
    width: 45vw;
}
/* read books  */
.readBooks___ {
    padding: 15px;
    display: flex;
    flex-direction: column;
    color: #F7EEBB;
    border-radius: 10px;
    font-family: Roboto;
}
#readBooks{
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
}
.title_ {
    padding-left: 10px;
    padding-bottom: 5px;
}
/* un readbooks */
.unReadBooks_____ {
    justify-content: center;
    display: flex;
    background-color: var(--color-bg);
    color: #F7EEBB;
    border-radius: 10px;
    padding: 10px;
    font-family: Roboto;
    flex-direction: column;
}
#unReadBooks {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
}

.readBooks___, .unReadBooks_____ {
    background-color: var(--color-bg);
}
/* ======== */
.container_box_ {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background-color: var(--color-frist);
    color: #F7EEBB;
    border-radius: 10px;
    margin: 7px;
    box-shadow: 1px 1px 5px 0px rgba(0, 0, 0, 0.212);
}
/* items books */
.booksItem {
    padding: 10px;
}
.booksItem h2 {
    font-size: 1.5rem;
    text-transform: uppercase;
    padding-bottom: 5px;
}
.booksItem p:nth-child(2){
    font-size: 0.9rem;
    font-weight: 100;
}
.booksItem p:nth-last-child(1){
    font-size: 0.9rem;
    font-weight: 100;
}

.btn_books {
    align-items: center;
    display: flex;
    gap: 10px;
    height: auto;
    margin-left: 30px;
    border-left: var(--color-scond) 5px solid;
    padding-left: 10px;
    border-left-style: dotted;
}
.btn_books button {
    color: var(--color-text);
    font-size: 30px;
    border: none;
    background-color: rgba(240, 248, 255, 0);
    cursor: pointer;
}
.btn_books i:hover {
    color: var(--color-scond);
    cursor: pointer;
}

/* ========== */
/* input */
#input_books {
    width: 300px;
}
#input_data_books p {
    font-family: var(--font-web);
    text-transform: uppercase;
}
#input_data_books {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}
#input_data_books  label {
    padding: 5px 0;
}
.data_books {
    font-family: var(--font-web);
    font-weight: 300;
    display: flex;
    gap: 3px;
    flex-direction: column;
}
.data_books input {
    font-weight: 300;
    text-align: center;
    font-family: var(--font-web);
    border-radius: 5px;
    border: none;
    height: 30px;
}

/* date input */
.date_input {
    display: flex;
    flex-direction: column;
}
.date_input label {
    font-family: var(--font-web);
    font-weight: 300;
    padding-bottom: 5px;
}
.date_input input {
    font-family: var(--font-web);
    text-align: center;
    text-transform: uppercase;
    font-weight: 300;
    border-radius: 5px;
    border: none;
    padding: 5px;
    margin-bottom: 10px;
}

/* btn submit */
#submit {
    border-radius: 5px;
    border: none;
    height: 30px;
    background-color: var(--color-bg);
    color: var(--color-text);
}
#submit:hover {
    background-color: var(--color-scond);
    color: var(--color-bg);
}
#submit:active {
    background-color: var(--color-text);
    color: var(--color-bg);
}

/* froms input books */
.container {
    padding-top: 13%;
}
.container h2 {
    text-transform: uppercase;
    text-align: center;
    color: var(--color-text);
    padding-bottom: 20px;
    font-size: 0.9rem;
    font-family: var(--font-web);
}
#input_books {
    width: 340px;
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    padding: 15px;
    background-color: var(--color-frist);
    color: var(--color-text);
    box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.75);
    -webkit-box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.75);
}

/* navigasi */
header {
    display: flex;
    z-index: 1;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px;
    font-family: Roboto;
    background-color: var(--color-bg);
    color: var(--color-text);
    box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.75);
    -webkit-box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.75);
}
header h1 {
    font-size: 1.2rem;
    font-weight: 500;
    text-transform: uppercase;
}
header p {
    font-size: 0.8rem;
    font-style: italic;
    font-weight: 300;
}
