* {
    margin: 0.5rem;
    font-family: Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-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: start;
    align-self: center;
    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: black;;
    width: 100%;
    height: 100%;
    background-color: rgb(240, 240, 240);
    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;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.topBox  #topRecommends> div {
    background-color: rgb(240, 240, 240);
    height: 350px;
    width: 250px;
    padding: 10px 10px;
    margin: 0;
}

#topRecommends {
    display: flex;
}

.book img {
    margin: 0%;
}

.book a {
    margin: 0%;
}

.bookContent{
    display:none
}

.book:hover + .bookContent, .bookContent:hover {
    display: block;
}

main {
    grid-column: 2/8;
    grid-row: 3/4;
    background-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: 1260px) {
    .bookContent {
        display: block;
        grid-column: 2 / 3;
        width: auto !important;
        overflow: hidden;
    }

    .topBox {
        flex-direction: column;
    }

}

@media only screen and (max-width: 684px) {
    iframe{
        width: 100%;
    }

   #topRecommends {
       flex-direction: column;
   }
    .book {
        display: flex;
        grid-column: 1 / 3;
        width: 100% !important;
        margin: 0;
        padding: 0px 0px !important;
        justify-content: space-around;
    }

    main {
        grid-column: 1 / -1;
        
    }
}
