* {
    padding: 0;
    margin: 0;
}

body {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    background-color: rgb(253, 242, 244);
    margin-top: 20px;
}

.headline {
    width: 80%;
    height: 350px;
    border: 2px;
    border-color: black;
    border-style: solid;
    margin-top: 30px;
    border-radius: 10px;
    background-color: rgb(238, 200, 231)
}

.title {
    padding: 10px;
    border-bottom: 1px solid black;
}

.col {
    width: 200px;
    height: 40px;
    margin-top: 20px;
}

.inputbox {
    width: 600px;
    height: 40px;
    border-radius: 10px;
    margin-top: 20px;
    border-width: 2px;
}

.button {
    background-color: #258159;
    margin-left: 20%;
    height: 50px;
    width: 250px;
    margin-top: 30px;
    position: absolute;
    font-size: 20px;
    border-radius: 10px;
    border-style: none;
    color: aliceblue;
}

.button:hover {
    background-color: #62af8e;
    cursor: pointer;
}

.bookdetails {
    width: 80%;
    height: auto;
    border: 2px;
    border-color: black;
    border-style: solid;
    margin-top: 30px;
    border-radius: 10px;
    background-color: rgb(238, 200, 231)
}

#second {
    width: 100%;
    font-size: 18.72px;
    border-collapse: collapse;
    margin: 10px auto;
}

#update {
    text-align: center;
}

.icon {
    width: 50px;
    height: 50px;
    border-radius: 100%;
}

#deletebut {
    background-color: #e3130c;
    height: 40px;
    width: 85px;
    border: none;
    border-radius: 20px;
    font-size: 15px;
    color: white;
    margin-top: 10px;
}

.h2 {
    padding: 10px;
    border-bottom: 1px solid black;
}

#deletebut:hover {
    background-color: #da6763;
    cursor: pointer;
}

thead {
    border-bottom: 1px solid black;
}

@media only screen and (max-width:600px) {

    .headline,
    .bookdetails {
        width: 90%;
        height: auto;
        padding: 10px;
    }

    .inputbox {
        width: 100%;
        max-width: 100%;
        font-size: 14px;
        height: 35px;
        margin-top: 10px;
    }

    .col {
        width: 100%;
        display: block;
        margin-top: 10px;
    }

    .button {

        position: relative;
        left: 30px;
    }

    #second {
        font-size: 14px;
        display: inline-block;
        overflow-x: auto;
        white-space: nowrap;

    }

    #second th,
    #second td {
        padding: 8px;
        padding-left: 80px;
        margin-left: 40px;
    }
}