* {
    margin: 0.5rem;
    font-family: Georgia, 'Times New Roman', Times, serif;
    border-radius: 10px;

}

body {
    display: grid;
    grid-template-columns: 100px auto repeat(4, minmax(auto, 280px)) auto 100px;
    background-color: rgb(57, 57, 57);
}

header {
    grid-column: 2 /-1;
    grid-row: 1/2;
    background-color: rgb(72, 72, 72);
    text-align: end;
    color: rgb(240, 240, 240);
}

nav {
    grid-column: 1/2;
    background-color: rgb(72, 72, 72);
}

.dropDown {
    float: left;
    overflow: hidden;
  }


.dropDown .dropDownButton {
    font-size: 16px;
    border: none;
    outline: none;
    color:  rgb(240, 240, 240);
    padding: 14px;
    background-color: rgb(88, 88, 88);
    margin: 0;
}

.dropDownContent {
    display: none;
    position: absolute;
    background-color: rgb(240, 240, 240);
    min-width: 160px;
    margin: 0;
}

.dropDownContent a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
  }

.dropDownButton:hover {
    background-color:rgb(99, 99, 99);
}

.dropDownContent a:hover {
    background-color: rgb(93, 93, 93);
  }


.topBox {
    grid-column: 1/-1;
    grid-row: 2/3;
    background-color: rgb(72, 72, 72);
    display: flex;
    justify-content: center;
}

.topBox > div {
    background-color:rgb(88, 88, 88);
    height: 350px;
    width: 250px;
    padding: 10px 10px;
    margin: 0%;
}

.box img {
    margin: 0%;
}

.box a {
    margin: 0%;
}

.bookContent{
    display:none;
    color: rgb(240, 240, 240);
}

.box:hover + .bookContent, .bookContent:hover {
    display: block;
}

main {
    grid-column: 2/8;
    grid-row: 3/4;
    background-color: rgb(72, 72, 72);
    color: rgb(240, 240, 240);
}

footer {
    grid-column: 1/-1;
    grid-row: 4/5;
    background-color: rgb(72, 72, 72);
    color:  rgb(240, 240, 240);   
}

@media only screen and (max-width: 600px) {
    .topBox {
        display: grid;
        grid-template-columns: auto;
        grid-template-rows: repeat(3, 350px);
    }

    .topBox > div {
        padding: 0%;
        width: 100%;
    }

    .box {
        grid-column: 1/2;
    }

    .bookContent {
        grid-column: 2/-1;
        display: block;
    }

    .dropDown:hover .dropDownContent {
        float: right;
    }
}
