*{
    margin: 0;
    box-sizing: border-box;
    --primary-font: 'Dancing Script', cursive;
}
body{
    font-family: var(--primary-font);
    background-color: rgb(22, 22, 22);
    color: white;
    font-size: 15px;
}
.container{
    margin: 0 3vw;
}
.logo{
    text-align: center;
    padding: 2vh;
    text-shadow: 3px 2px 1px orangered;
}

/* hero section  */
.hero{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5rem;
}
.hero__form{
    width: 60vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.hero__form img{
    height: 20rem;
    position: relative;
    top: 8rem;
    right: 4rem;
    z-index: -1;
}
.hero__img{
    max-width: 35vw;
    min-width: 250px;
}
form{
    display: flex;
    flex-direction: column;
    width: 20rem;
    padding: 2rem;
    border: 1px solid orangered;
    border-radius: 5px;
}
form > input{
    padding: 8px;
    margin: 2px;
}
.form-submit{
    background-color: orangered;
    border: none;
    color: white;
    padding: 1rem;
}
.form-submit:hover{
    box-shadow: 0 0 5px orangered;
    cursor: pointer;
}
form > input:focus{
    outline: none;
    border: 1px solid orangered;
}


/* table  */
table, th, td{
    border-bottom: 1px solid orangered;
    border-collapse: collapse;
    padding: 15px;
}
thead{
    font-weight: bold;
    font-size: 25px;
}
.books-stored{
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
}
button{
    background-color: red;
    padding: 0.5rem;
    border: none;
    color: white;
}
.delete{
    border-radius: 5px;
}

footer{
    margin-top: 5rem;
    padding: 1rem;
    text-align: center;
}
footer a{
    color: orangered;
}

/* book added  */

.remove-added{
    display: none;
    text-align: center;
    background-color: orangered;
    padding: 5px;
    border-radius: 2px;
    margin: 10px 0;
}
.showAdded{
    display: block;
}


/* responsive */
@media screen and (max-width : 768px){
    .hero{
        display: flex;
        flex-direction: column;
    }
    .hero__form{
        margin-bottom: 5rem;
    }
}