@font-face {
    font-family: 'Freshman';
    src: url('Freshman.ttf') format('truetype');
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Courier New', Courier, monospace;
    margin: 0;
    padding: 0;
}
#background {
    background-attachment: fixed;
    background-image: url('cover-bg.png');
    background-position: center;
    background-position-y: 28%;
    background-repeat: round;
    background-size: cover;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
header {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #000;
}
header h1 {
    font-family: "Freshman", monospace;
    letter-spacing: 6px;
    word-spacing: 14px;
    font-size: 3.6rem;
    text-transform: uppercase;
    margin: 0;
}
header h2 {
    font-size: 2rem;
    margin: 20px 0;
}
header .cover-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-bottom: 4rem;
}
header .cover-wrapper section {
    flex: 1;
    margin: 0 20px;
}
header a, #about a {
    display: inline-block;
    background-color: #000;
    color: #fff;
    padding: 20px 30px;
    text-decoration: none;
    margin: 10px;
    border-radius: 5px;
    font-size: 1.6rem;
    transition: transform 0.3s ease;
}
#about a {
    font-size: 1.8rem;
}
#about a:hover {
    transform: scale(1.02);
}
header a:hover {
    transform: scale(1.02);
}
header a.cover {
    border-radius: 10px;
    padding: 14px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.1), 0 0 45px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 40px;
}
header a.cover:hover {
    transform: scale(1.07);
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.2), 0 0 55px rgba(0, 0, 0, 0.3);
}
.ebook-options {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.ebook-column {
    display: flex;
    flex-direction: column;
    width: 48%;
}
section {
    padding: 50px;
    text-align: center;
}
section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}
section h3 {
    font-size: 1.8rem;
    margin: 0 0 20px;
}
section p {
    font-size: 1.4rem;
    line-height: 1.6rem;
    margin-bottom: 40px;
    color: #333;
}
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px;
}
footer .social img {
    width: 32px;
    padding: 0 10px;
}
.newsletter-form {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
    display: inline-block;
}
.newsletter-form input[type="email"] {
    padding: 10px;
    margin-right: 10px;
    border-radius: 5px;
    border: 1px solid #333;
    font-size: 1rem;
}
.newsletter-form button {
    padding: 10px 20px;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.newsletter-form button:hover {
    background-color: #444;
}
@media only screen and (max-width: 768px) {
    body {
        font-size: 14px; /* Adjust base font size for mobile */
    }
    .ebook-options {
        flex-direction: column;
    }
    .ebook-column {
        width: 100%;
    }
    h1 {
        font-size: 2rem; /* Smaller font size for headers */
    }
    p {
        font-size: 1rem; /* Smaller paragraph text */
    }
    header {
        height: auto;
        margin-top: 20px;
    }
    header a {
        width: 80%;
    }
    header .cover-wrapper {
        flex-direction: column; /* Stack elements vertically on smaller screens */
        padding: 0 20px; /* Reduce side padding */
    }
    header .cover-wrapper img {
        max-width: 100%;
        height: auto;
    }
    header a.cover {
        margin-bottom: 20px; /* Add space between stacked elements */
    }
    header .cover-wrapper section {
        margin: 0 10px;
    }
    header h1 {
        font-size: 2.5rem; /* Reduce font size for smaller screens */
        letter-spacing: 2px;
        word-spacing: normal;
    }

    header h2, section h2 {
        font-size: 1.2rem;
    }
    section h3 {
        font-size: 1.2rem;
    }
    section {
        padding: 0;
    }
    section p {
        font-size: 1rem;
        padding: 0 20px; /* Add padding for text readability on mobile */
    }

    .newsletter-form input[type="email"] {
        width: 80%; /* Adjust input width to fit smaller screens */
        margin-bottom: 10px; /* Add margin for better stacking */
    }

    .newsletter-form button {
        width: 80%; /* Button takes up more space on mobile */
    }
}