*{
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/*Style Navigation Bar*/
/* Style navbar menu*/
.nav{
    background-color: rgb(235, 62, 62);
    display: flex;
    justify-content: space-around;
    padding: 20px 0;
    color: white;
}
.nav ul{
    display: flex;
    justify-content: space-between;
    list-style: none;
    width: 40%;
}
.nav ul li a{
    text-decoration: none;
    color: white;
    text-align: center;
}

/* hamburger menu */
.menu-toggle{
    display: none;
    flex-direction: column;
    height: 20px;
    justify-content: space-between;
    position: relative;
}
.menu-toggle span{
    display: block;
    width: 30px;
    height: 3px;
    background-color: white;
    border-radius: 3px;
    transition: all 0.5s;
}
.menu-toggle input{
    position: absolute;
    width: 30px;
    height: 20px;
    left: -1px;
    top: -3px;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}
/* hamburger menu animation */
.menu-toggle span:nth-child(2){
    transform-origin: 0 0;
}
.menu-toggle span:nth-child(4){
    transform-origin: 0 100%;
}
.menu-toggle input:checked ~ span:nth-child(2){
    transform: rotate(45deg) translate(-1px, -1px);
}
.menu-toggle input:checked ~ span:nth-child(3){
    transform: scale(0);
}
.menu-toggle input:checked ~ span:nth-child(4){
    transform: rotate(-45deg) translate(-2px, 1px);
}

@media screen and (max-width: 576px){
    .menu-toggle{
        display: flex;
    }
    .nav ul{
        position: absolute;
        right: 0;
        margin-top: 20px;
        height: 100vh;
        flex-direction: column;
        align-items: center;
        justify-content: space-evenly;
        background-color: rgb(235, 62, 62);
        z-index: 2;
        width: 100%;
        transform: translateX(100%);
        transition: all 1s;
        transform: translateX(0);
        display: none;
    }
    nav ul.slide{
        transform: translateX(0);
    }
    .footer{
        margin-top: 2000px;
    }
    .menu-ebook button{
        margin-top: 50px;
    }
}


/* style menu e-book */
h1{
    text-align: center;
    color: rgb(235, 62, 62);
    margin-top: 30px;
}
.menu-ebook{
    display: flex;
    flex-wrap: wrap;
    margin-top: 40px;
    margin-left: 100px;
    margin-right: 100px;
    height: 1000px;
    justify-content: center;
}
.menu-ebook button{
    background-color: #ff914d;
    height: 350px;
    width: 240px;
    margin-left: 50px;
    cursor: pointer;
    border: 0;
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s;
}
.menu-ebook button:hover{
    transform: scale(1.1);
}
.hide{
    display: none;
}

/* style footer */
.footer{
    position: relative;
    left: 0;
    bottom: 0;
    width: 100%;
    color: white;
    text-align: center;
    background-color: rgb(56, 55, 55);
}
.footer p{
    padding: 20px;
}