/* General styles */
body {
    height: 100%;
    color: #12141D;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(180deg, rgba(249, 249, 249, 0.00) 0%, #728390 100%);
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 50px 160px;
}

/* Header styles */
.header {
    text-align: center;
    margin-bottom: 50px;
}

.header img {
    max-width: 100%;
}

/* Subscription section */
.subscription {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 50px;
}

.subscription h1 {
    font-size: 50px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin-top: 16px;
    margin-bottom: 16px;
}

.subscription p {
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 32px;
}

.subscription span {
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.subscription button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border: 0;
    border-radius: 16px;
    text-align: center;
    color: #FFFFFF;
    padding: 16px 40px;
    margin-bottom: 24px;
    transition: background-color .2s ease-in-out;
}

.subscription button img {
    height: 24px;
    width: auto;
    margin-right: 8px;
}


.subscription-text {
    margin-right: 80px;
}

/* Books section */
.books-section {
    text-align: center;
    margin-bottom: 50px;
}

.books-section h1 {
    text-align: center;
    font-size: 48px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin-bottom: 16px;
}

.books-section p {
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.books-items {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    flex-wrap: wrap;
}

.book {
    width: 270px;
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 32px 0;
    margin-bottom: 32px;
    margin-right: 16px;
    margin-left: 16px;
}

.book img {
    height: 150px;
    border-radius: 0 5px 5px 0;
    / * width: 100%; */
    object-fit: contain;
    margin-bottom: 10px;
}

.book h2 {
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin-bottom: 16px;
    flex: 1;
}

.book p {
    opacity: .5;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 16px;
    flex: 1;
}

.book p.price {
    text-align: center;
    font-size: 22px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    opacity: 1;
    flex: 1;
}

.book .buy-btn {
    margin: 0 auto;
    width: 150px;
    color: #FFFFFF;
    border: none;
    border-radius: 16px;
    padding: 16px 20px;
    cursor: pointer;
    text-decoration: none;
    background-color: #FBB03b;
    transition: background-color .2s ease-in-out;
}

.book .buy-btn:hover {
    background-color: #B66E00;
}

/* Footer styles */
.footer {
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer p,
.footer a {
    color: #52525B;
}

.footer a {
    margin-right: 16px;
    text-decoration: none;
}

.footer a:last-child {
    margin-right: 0;
}

/* Media Query */
@media only screen and (max-width: 1200px) {
    .container {
    	padding: 30px 20px;
    }
    .subscription,
    .books-items {
        flex-direction: column;
    }
    .subscription-image img {
    	width: 100%;
    }
    .subscription-text {
        margin-right: 0;
        margin-bottom: 30px;
    }
}
