/* colors */

:root {
    --white: #fff;
    --black: #202020;
    --beige: #FFF1CA;
    --yellow-light: #ffdb99;
    --yellow: #FFB823;
    --green: #708A58;
    --green-light: #9eb08d;
    --green-dark: #2D4F2B;
    --brown: #5b362e;
    --radius-s: 10px;
    --radius-m: 20px;
    --radius-l: 50px;
    --radius-round: 100px;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--beige);
    color: var(--black);
    font-family: "Lexend", sans-serif;
    font-weight: 300;
}


/* header */

.header {
    padding-bottom: 30px;
    background-color: var(--brown);
    box-sizing: border-box;
}

.header h1 {
    margin: 0;
    padding: 30px 0;
    color: var(--beige);
    font-size: 50px;
    text-align: center;
}

.buttons {
    display: flex;
    justify-content: center;
    align-items: center;
}


/* main page */

.content-wrap {
    width: 85%;
    max-width: 800px;
    margin: 0 auto;
    padding: 30px 0;
}

h1,
h2 {
    margin: 20px;
    font-family: 'Caveat', cursive;
}

.main-page h1,
.poems h1,
.ebook h1,
.footer h1 {
    width: 145px;
    margin: 20px auto;
    padding: 10px 24px 10px 16px;
    border-radius: var(--radius-s);
    background-color: var(--yellow-light);
    text-align: center;
    box-sizing: border-box;
}

.poems h1 {
    background-color: var(--green-light);
}

.ebook h1 {
    background-color: var(--yellow);
}

.footer h1 {
    background-color: var(--beige);
}

.header button {
    width: 145px;
    margin: 5px;
    padding: 10px 24px 10px 16px;
    border: none;
    border-radius: var(--radius-s);
    background-color: var(--yellow);
    font-family: 'Caveat', cursive;
    font-size: 30px;
    font-weight: 400;
    text-align: center;
    box-sizing: border-box;
}

button:hover {
    background-color: var(--beige);
}

img {
    width: 250px;
    height: 250px;
    margin: 0 20px;
    border-radius: var(--radius-s);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.about-me p {
    max-width: 600px;
    margin: 0 20px;
    line-height: 30px;
}

.paragraph {
    display: inline-flex;
}

.poems {
    background-color: var(--yellow-light);
}

.poems hr {
    width: 250px;
    margin-top: 20px;
    border: 5px;
    border-style: dotted none none none;
    border-color: var(--brown);
}

.poem {
    text-align: center;
}

.unselectable {
    user-select: none;
}

pre {
    height: auto;
    margin: 0;
    font-family: "Lexend", sans-serif;
    line-height: 30px;
    margin-block: 0;
}

.ebook {
    background-color: var(--green-light);
}

.ebook img {
    width: 184px;
    margin: 0;
}

.ebook p {
    line-height: 30px;
}

.download-btn {
    width: 184px;
    height: 250px;
    margin: 0 40px;
    transition: transform 0.5s;
    border: none;
    border-radius: var(--radius-s);
    box-shadow: 4px 4px 24px 0px var(--green-dark);
    padding-inline: 0;
}

.download-btn:hover {
    transform: scale(1.1);
    cursor: pointer;
}


/* footer */

.footer {
    background-color: var(--green);
}

.contact {
    margin-top: 30px;
    text-align: center;
}


/* Responsive */

@media screen and (max-width:780px) {
    .buttons,
    .paragraph {
        flex-wrap: wrap;
        justify-content: center;
    }
    .about-me p {
        margin: 20px auto;
    }
}