@import url('https://fonts.googleapis.com/css2?family=Kalam&family=Lato&display=swap');

h1, h2{
    font-family: 'Kalam', cursive;  
    text-align: center;
}

h1{
    font-size: 2rem;
}
main, footer {
    font-family: 'Lato', sans-serif;
    background-color: #0b0b50;
    color: white;
    text-align: center;
}
body {
    background-color:#0b0b50;
    color:#F5F5F4;
}

.menu_icon {
width: 50px;
height: 50px;
z-index: 10;
position: relative;

}

.menu_icon span {
position: absolute;
display: block;
height: 4px;
width: 50px;
background-color: #F5F5F4;
transform: rotate(0);
transition: all 200ms cubic-bezier(0.895, 0.03, 0.685, 0.22);
}

span.one {
top: 0px;
}

span.two {
top: 20px;
}

span.three {
top: 40px;
}
.clicked .one {
transform: translateY(20px) rotate(45deg);
}

.clicked .two {
opacity: 0;
}

.clicked .three {
transform: translateY(-20px) rotate(-45deg);
}
nav hr {
    display: none;
}
nav ul {
    display: none;
    padding-left: 0;
}
nav ul.open {
    display: block;
    list-style-type: none;
    font-size: 1.5rem;
    text-align: center;
    background-color:  #F5F5F4;
    color: black;
}
nav ul li {
    padding: .5rem;
}
nav ul :hover {
    background-color: #18a999;
    border: 1px solid white;

}
.active {
    font-weight: bold;
}

.author-pic img{
    max-width: 98%;
    margin: 1%;
    border-radius: 10px;
    border: 2px solid #F5F5F4;
}
.series-cards img{
    width: 98%;
}
#series {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.grid .cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.cards section {
    border: 1px solid white;
    margin: 5px;
    background-color: #F5F5F4;
    color: black;
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 1rem;
    box-shadow: 0 6px 6px #777;
}
.bookCard img {
    width: 75%;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 0 30px #0b0b50;
}
.bookCard h2 {
    font-size: 1.5rem;
    color: black;

}
.bookCard p {
    margin: .5rem 0 .5rem 0;
    
}
.viewChanger {
    margin-left: 30%;
}
.viewChanger button {
    padding-top: .2rem;
    margin: 1rem;
}

.list .cards {
    display: flex;
    flex-direction: column;
}
.list img {
    display: none;
}
.list h2, .list p {
    text-align: left;
    margin: .5rem .5rem .2rem .2rem;
}
.list .infodiv {
    display: flex;
    flex-wrap: wrap;

}
.bio p{
    text-align: left;
}
footer {
    font-size: 1.2rem;
    text-align: center;
}