html{
    scroll-behavior: smooth;
}
*{
    box-sizing: border-box;
}
body{
    font-family: 'Lora', serif;
    overflow-x: hidden;
}
header{
    width: 100%;
    height: 100%;
    padding: 0 45px 0px 45px;
    position: relative;
    background-color: #eaeaea;
}
header .row{
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-row{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-img{
    width: 50%;
    align-self: flex-end;
}
.header-img img{
    width: 100%;
    height: 100%;
}
.menu{
    column-gap: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.menu-item{
    text-decoration: underline;
    font-size: 20px;
    color: #2C2C2C;
    transition: 0.5s;
}
.menu-item:hover{
    color: #f8b045;
}
.social{
    column-gap: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-right: 10px;
}
.fa-lg{
    height: 20px;
    width: 20px;
}
.social i{
    color: #000;
    transition: 0.5s;
}
.social i:hover{
    color: #f8b045;
}
.heading{
    width: 44%;
    display: flex;
    justify-content: center;
    align-items: start;
    flex-direction: column;
}
.heading h1{
    width: 100%;
    font-size: 3rem;
    color: #2C2C2C;
    letter-spacing: 2px;
    margin-bottom: 25px;
}
.heading p{
    color: #565656;
    font-family: 'Lato', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 25px;
}
main{
padding-top: 50px;
}
.preview{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    padding: 0 45px 50px 45px;
}
.preview h1{
    font-size: 60px;
    color: #282828;
    margin-bottom: 30px;
}

.paragraphs{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding-top: 50px;
    margin-bottom: 60px;
}
.paragraphs::before{
    content: '';
    display: block;
    width: 100%;
    height: 20px;
    background-image: url(./images/separator.png);
    background-position: center;
    background-size: cover;
    position: absolute;
    top: 0px;
    left: 0;
}
.paragraphs p{
    width: 30%;
    color: #565656;
    font-family: 'Lato', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.7;
}
.paragraphs p span{
    width: 100%;
    display: inline-block;
    margin-bottom: 5px;
    color: #282828;
    font-family: 'Lora', serif;
    font-size: 22px;
}
.buy-btn{
    display: block;
    text-align: center;
    line-height: 50px;
    width: 155px;
    height: 50px;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 1px;
    transition: 0.5s;
    position: relative;
}
.buy-btn:hover, .order-btn:hover{
    background-color: #f8b045;
    color: #000;
}
.buy-icons::after{
    content: '';
    display: block;
    width: 216px;
    height: 109px;
    background-image: url(./images/also-avaliable.png);
    background-position: center;
    background-size: cover;
    position: absolute;
    right: -2%;
    top: -100%;
}
.buy-icons{
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 45px;
}
.icon{
    width: 20%;
    height: 100px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    transition: 0.5s;
}
.icon-amazon{
    background-image: url(./images/amazon-gold.png);
}
.icon-amazon:hover {
    background-image: url(./images/amazon-normal.png);
}
.icon-ebay {
    background-image: url(./images/ebay-gold.png);
}
.icon-ebay:hover{
    background-image: url(./images/ebay-normal.png);
}
.icon-kindle {
    background-image: url(./images/kindle-gold.png);
}
.icon-kindle:hover{
    background-image: url(./images/kindle-normal.png);
}
.icon-barnes {
    background-image: url(./images/barnes-gold.png);
}
.icon-barnes:hover{
    background-image: url(./images/barnes-normal.png);
}
.kindle-promo {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url(./images/promo-background.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 45px 45px 0 45px;
    position: relative;
}
.desc {
    width: 40%;
    display: flex;
    justify-content: center;
    align-items: start;
    flex-direction: column;
    color: #fff;
    margin-bottom: 45px;
    margin-right: 20px;
}
.desc h1{
    font-size: 3rem;
    margin-bottom: 25px;
    position: relative;
}

.desc p{
    font-family: 'Lato', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}
.image{
    width: 55%;
    align-self: flex-end;
}
.kindle-promo::before{
    content: '';
    display: block;
    width: 17%;
height: 28%;
    background-image: url(./images/kendle-version.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    bottom: 0;
    right: 0;
}
.rewievs {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 70px 30px 70px 30px;
    background-color: #eaeaea;
}
.card {
    width: 30%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.card img{
    margin-bottom: 20px;
}
.card p{
    font-size: 16px;
    font-family: 'Lato', sans-serif;
    color: #565656;
    text-align: center;
    margin-bottom: 20px;
}
.person {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.person img{
    margin-bottom: 10px;
}
.person h2{
    font-size: 20px;
    color: #282828;
    margin-bottom: 10px;
}
.person h3{
    font-size: 14px;
    font-family: 'Lato', sans-serif;
    color: #565656;
}
.audio-version {
    width: 100%;
    padding: 40px 40px 50px 40px;
    display: flex;
    justify-content: space-between;
}
.audio-version img {
    width: 45%;
}
.description{
    width: 45%;
    display: flex;
    align-items: start;
    justify-content: center;
    flex-direction: column;
    gap: 30px;
    position: relative;
}
.description h1{
    color: #282828;
    font-size: 3rem;
    line-height: 62px;
    font-weight: 400;
    letter-spacing: 1px;
}
.description p{
    font-size: 16px;
    line-height: 1.5;
    font-family: 'Lato', sans-serif;
    color: #565656;
}
.parallax{
    width: 100%;
    height: 570px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url(./images/parallax.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
.parallax-desc {
    width: 60%;
    color: #fff;
    text-align: center;
}
.parallax-desc h1{
    font-size: 60px;
    line-height: 62px;
    font-weight: 400;
    letter-spacing: 3px;
    margin-bottom: 20px;
}
.parallax-desc p{
    font-family: 'Lato', sans-serif;
    font-size: 24px;
    line-height: 40px;
    font-weight: 300;
    margin-bottom: 20px;
}
.order {
    width: 100%;
    display: flex;
    padding: 100px 50px 50px 50px;
}
.order-desc {
    width: 50%;
}
.order img{
    width: 45%;
}
.order-desc h1{
    color: #2c2c2c;
    font-size: 40px;
    line-height: 42px;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 20px;
}
.order-desc p{
    color: #565656;
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    line-height: 26px;
    font-weight: 400;
    margin-bottom: 20px;
}
.order-form{
    display: flex;
    flex-direction: column;
}
.order-row {
    display: flex;
    justify-content: space-between;
}
.name, .last-name{
    width: 49%;
}
.name, .last-name, .email, .message {
    height: 55px;
    border-color: #cacaca;
    border-width: 1px;
    border-style: solid;
    color: #565656;
    font-family: 'Lato', sans-serif;
    font-size: 17px;
    line-height: 22px;
    margin-bottom: 22px;
    outline: none;
    padding-left: 15px;
}
.order-btn{
    display: block;
    text-align: center;
    line-height: 50px;
    width: 155px;
    height: 50px;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 1px;
    transition: 0.5s;
}
.about-author {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 50px 0 50px;
    background-color: #eaeaea;
}
.author {
    width: 50%;
    height: 100%;
}
.author img{
    width: 100%;
    height: 100%;
}
.author-desc {
    width: 45%;
    text-align: left;
}
.author-desc h1{
    font-size: 3rem;
    line-height: 62px;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 20px;
}
.author-desc p{
    color: #565656;
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    line-height: 26px;
    font-weight: 400;
    margin-bottom: 20px;
}
.icons{
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
}
.icons img{
    width: 25%;
}
footer{
    height: 200px;
    width: 100%;
    background-color: #282828;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}
.footer-text{
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-family: 'Lato', sans-serif;
    font-size: 17px;
    letter-spacing: 1px;
    line-height: 28px;
    font-weight: 300;
}
.social-footer{
    margin-top: 15px;
    width: 30%;
    justify-content: space-between;
}
.social-footer a i{
    color: #fff;
}
.animation-1 {
    width: 35px;
    height: 35px;
    position: absolute;
    top: 170px;
    left: 420px;
}
.animation-1 img, .animation-2 img{
    width: 100%;
    height: 100%;
}
.animation-2 {
    width: 60px;
    height: 60px;
    position: absolute;
    top: 330px;
    left: 530px;
}
.animation-1 img{
    animation: animation-1 3s linear infinite;
}
.animation-2 img{
    animation: animation-2 3s linear infinite;
}

.order img{
    width: 50%;
}
@keyframes animation-1 {
    0%{
        transform: translate(0);
    }
    50%{
        transform: translateX(-20px); 
    }
    100%{
        transform: translate(0);
    }
}
@keyframes animation-2 {
    0%{
        transform: translate(0);
    }
    50%{
        transform: translateX(20px); 
    }
    100%{
        transform: translate(0);
    }
}
@media (max-width: 768px) {
    .heading p{
        display: none;
    }
    .paragraphs{
        display: flex;
        flex-direction: column;
        row-gap: 25px;
    }
    .paragraphs p{
        width: 100%;
    }
    .buy-icons{
        margin-top: 0;
    }
    .buy-icons::after{
        display: none;
    }
    .kindle-promo{
        display: flex;
        flex-direction: column;
    }
    .desc{
        width: 100%;
    }
    .image{
        width: 100%;
    }
    .rewievs{
        flex-direction: column;
        row-gap: 35px;
    }
    .card{
        width: 90%;
    }
    .audio-version, .header-row{
        flex-direction: column;
    }
    .audio-version img{
        width: 90%;
    }
    .description{
        width: 100%;
    }
    .parallax{
        padding-top: 35px;
        padding-bottom: 35px;
        height: auto;
       background-attachment: unset;
    }
    .parallax-desc{
        width: 100%;
    }
    .order, .order-row, .about-author, .buy-icons{
        flex-direction: column;
    }
    .order-desc, .order-form, .order img, .name, .last-name, .author, .author-desc, .heading, .header-img{
        width: 100%;
    }
    .order img{
        margin-top: 35px;
    }
   .animation-1, .animation-2{
    display: none;
    visibility: hidden;
   }
   .social{
    display: none;
   }
   .menu{
    width: 100%;
    column-gap: 10px;
   }
   .icon{
    width: 60%;
   }
  }