
body {
    position: relative;
    width: 100%;
    margin: 0 auto;
    background-color: #FFFFFF;
}

.reveal{
    position: relative;
    transform: translateY(42px);
    opacity: 0;
    transition: 1.5s all ease;
  }
  
.reveal.active{
    transform: translateY(0);
    opacity: 1;
}

.logo {
    font-family: "IvyPresto Headline Lt", serif;
    font-style: normal;
    font-weight: 300;
    font-size: 1.5rem;
    color: #142026;
}

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.hero, .feature-1 {
    animation: fadein 2.5s;
}

a:hover {
    color: currentColor;
}

h1, h2, h3, h6 {
    font-family: "IvyPresto Headline Lt", serif;
    font-style: normal;
    font-weight: 300;
    color: #151C20;
}

h1 {
    font-size: 8.25rem;
    line-height: 9rem;
    text-align: center;
    margin-bottom: 0;
}

h2 {
    font-size: 3rem;
    line-height: 3.9rem;
    margin-bottom: 0;
}

h3 {
    font-size: 3rem;
    line-height: 3.74rem;
    text-align: center;
    margin-bottom: 0;
}

h5 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 1.25rem;
    line-height: 2rem;
    color: #151C20;
    text-align: center;
}

h6 {
    font-size: 1.125rem;
    margin: 0;
    padding-top: 4.5rem;
}

.currently-reading h6 {
    padding-bottom: 0.313rem
}

.book-suggestions h6, .my-collections h6  {
    padding-bottom: 0.563rem;
}

.book-count {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 0.688rem;
    color: #716F6F;
    padding-bottom: 0.563rem;
}

header {
    display: flex;
    padding: 3rem 4rem 2rem;
    justify-content: space-between;
    align-content: center;
}

.header-right {
    display: flex;
}

.header-right a {
    display: inline-block;
    align-self: flex-end;
    margin-left: 3rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 400;
}

p, a {
    font-family: 'Inter', sans-serif;
    color: #494E50;
    font-size: 1.125rem;
}

.gradient {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -1;
    background: url("../assets/gradient_1.svg") no-repeat top left,
    url("../assets/gradient_2.svg") no-repeat top 17.5% right,
    url("../assets/gradient_3.svg") no-repeat bottom left, #FFFFFF;
    background-size: contain;
    transition: background 1.5s cubic-bezier(0.2, 0.29, 0.62, 0.99);
}

a {
    text-decoration: none;
    color: black;
}

.title-block {
    margin-top: 3.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.title-block .title {
    margin-top: 0;
    max-width: 35rem;
}

.title-block .subtitle {
    max-width: 45rem;
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
}

.input-group {
    display: flex;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    color: #494E50;
    font-size: 1rem;
    filter: drop-shadow(0px 2px 4px rgba(26, 26, 26, 0.16));
}

input {
    line-height: 1.5rem;
    padding: 1rem;
    width: 20rem;
    border: none;

    border-radius: 0.5rem 0 0 0.5rem;
    transition: 1s width ease;
}

input:focus {
    width: 25.5rem;
    outline: none;
}

button {
    cursor: pointer;
    font-weight: 700;

    border-radius: 0 0.5rem 0.5rem 0;
    border: none;
    text-align: center;
    text-decoration: none;
    display: inline-block;

    background-color: #262626;
    color: white;
    padding: 0 2.6rem;
    flex: 0 0 auto;
    transition: background-color 0.5s ease;
}

.input-group button:hover {
    background-color: #1A1A1A;
    box-shadow: -4px 4px 14px rgba(192, 194, 194, 0.25);
}

button:focus {
    border-style: none;
    outline: none;
}

.problem-statement {
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin: 0 auto;
    max-width: 39rem;
    text-align: center;
    animation: fadein 3s;
}

.problem-statement .title {
    margin-top: 0;
}

.problem-statement .subtitle {
    color: #494E50;
    margin-top: 1rem;
}

.spacer {
    height: 10.875rem;
}

.features {
    display: flex;
    flex-flow: column;
    margin: 10rem 3rem 0;
    align-content: center;
    align-items: center;
    justify-content: space-evenly;
    flex-grow: 3;
}

.feature {
    text-align: left;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-bottom: 5rem;
    align-items: flex-start;
}

.feature-text {
    max-width: 28rem;
    min-width: 20rem;
    position: sticky;
    top: 0;
    padding-bottom: 5rem;
}

/* smaller padding ahead of bottom CTA */
.feature:last-of-type .feature-text {
    padding-bottom: 10rem;
}

.feature h2 {
    margin-bottom: 1.125rem;
    line-height: 1.2;
    max-width: 35rem;
}

.feature:last-of-type {
    padding-bottom: 0;
}

.shelves {
    padding-left: 6.25rem;
}

.discussions {
    padding-left: 2.5rem;
    padding-top: 2.5rem;
}

.nooks {
    padding-left: 3.5rem;
}

.book-suggestions {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.book-suggestions .book-suggestion-spacer {
    width: 7rem;
}

.currently-reading img {
    height: 10rem;
}

.book-suggestions img {
    height: 10.75rem;
}

.my-collections img {
    height: 12rem;
}

.discussions-flexbox, .nooks-flexbox {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-top: 1rem;
}

.discussions-flexbox .discussions-spacer {
    width: 4rem;
}

.discussions .post-img {
    height: 14rem;
    box-shadow: 0px 4px 14px rgba(192, 194, 194, 0.25);
    border-radius: 16px;
}

.discussions .comment-img {
    height: 7rem;
}

.nooks-flexbox .nook-spacer {
    width: 5rem;
}

.nooks .header-img {
    height: 6rem;
    padding-top: 2.5rem;
}

.nooks .event-img {
    height: 12rem;
}


.feature p {
    margin-top: 1.125rem;
    line-height: 1.5;
    max-width: 25rem;
}

footer {
    display: flex;
    flex-flow: column;
    position: relative;
    margin-top: 5rem;
}

.bottom-cta {
    display: flex;
    align-self: center;
    flex-flow: column;
    align-content: center;
    text-align: center;
    max-width: 38.5rem;
}

.bottom-cta .title {
    margin-top: 0;
}

.bottom-cta .subtitle {
    margin-top: 1rem;
    margin-bottom: 1.25rem;
}


.bottom-social {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 16.5rem 11.25rem 6.5rem;
}

.bottom-social p {
    margin-top: 0;
    margin-bottom: 1rem;
}

.social-links {
    margin-top: 2rem;
    display: flex;
    justify-content: space-around;
}

.social-links a {
    color: #151C20;
    padding-left: 1.25rem;
}

.social-links a i {
    font-size: 1.25em;
}

.social-links a:hover {
    color: #1A1A1A;
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    h1 {
        font-size: 5rem;
        line-height: 6.5rem;
        margin-top: 0;
        margin-bottom: 0;
        text-align: center;
    }

    h5 {
        font-size: 1.125rem;
        line-height: 2rem;
    }

    p {
        font-size: 1rem;
    }

    header {
        padding: 2rem 3rem;
    }

    .title-block {
        margin-top: 1.5rem;
        padding: 0 2rem;
    }

    .problem-statement, .bottom-cta {
        max-width: 33rem;
    }

    .features {
        margin-right: 0;
        overflow-x: hidden;
        align-items: flex-start;
    }

    .feature-preview {
        padding-left: 3rem;
    }

    .bottom-social {
        margin: 6rem 3rem 2rem;
    }
}

@media only screen and (max-width: 767px) {
    header {
        padding: 1.5rem 1rem 1rem;
    }

    .logo {
        font-size: 1.25rem;
    }

    .header-right a {
        font-size: 1rem;
    }

    .spacer {
        display: none;
    }

    .hero {
        padding: 0 2rem;
    }

    .problem-statement {
        padding: 0 2.5rem;
    }

    .gradient {
        background: url("../assets/gradient_1.svg") no-repeat top left,
        url("../assets/gradient_2.svg") no-repeat top 22.5% right,
        url("../assets/gradient_4.svg") no-repeat top 60% left,
        url("../assets/gradient_2.svg") no-repeat top 115% right, #FFFFFF;
        background-size: 550px 850px;
    }

    .title-block .subtitle {
        margin-top: 1.25rem;
    }

    .waitlist-button {
        padding: 0 1rem;
    }

    h1 {
        font-size: 2.75rem;
        line-height: 3rem;
        margin-top: 0;
        text-align: center;
    }

    h3 {
        font-size: 1.75rem;
        line-height: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
        line-height: 1.5rem;
    }

    h3 {
        font-size: 1.5rem;
        line-height: 1.75rem;
    }

    h5 {
        font-size: 1rem;
        line-height: 1.5;
    }

    h6 {
        font-size: 1rem;
    }

    p, a {
        font-size: 0.95rem;
        line-height: 1.25rem;
    }

    .book-count {
        font-size: 0.4rem;
    }

    .currently-reading h6 {
        padding-top: 0.5rem;
        padding-bottom: 0.1rem;
    }

    .book-suggestions h6, .my-collections h6 {
        padding-top: .5rem;
    }

    .input-group {
        height: 2.5rem;
        display: flex;
        justify-content: center;
        font-size: 0.75rem;
    }

    input:focus {
        width: 65%;
    }

    .problem-statement {
        margin: 8rem 0 6rem;
    }

    .feature {
        display: flex;
        flex-direction: column;
        justify-content: center;
        max-width: 90%;
        padding-bottom: 3vh;
    }

    .features {
        margin: 3rem 0.5rem;
    }

    .feature {
        margin-bottom: 1rem;
    }

    .feature h2 {
        margin-bottom: 1.125rem;
        line-height: 1.25;
        max-width: 90%;
    }
    
    .feature p {
        max-width: 90%;
        margin-bottom: 2rem;
    }

    .feature .feature-text {
        padding-bottom: 0;
        position: relative;
    }

    .feature:last-of-type .feature-text {
        padding-bottom: 0;
    }

    .shelves {
        padding-left: 2rem;
    }

    .discussions {
        padding-left: 0;
        padding-top: 0;
    }

    .nooks {
        padding-left: 0;
    }

    .book-suggestions .book-suggestion-spacer {
        width: 3rem;
    }

    .currently-reading img {
        height: 6rem;
    }

    .book-suggestions img {
        height: 7rem;
    }

    .my-collections img {
        height: 8rem;
    }

    .currently-reading img, .my-collections img, .book-suggestions img {
        padding-top: 0;
        margin-top: 0;
    }

    .discussions-flexbox .discussions-spacer {
        width: 2rem;
        padding-top: 0;
    }

    .discussions .post-img {
        height: 9rem;
        box-shadow: 0 4px 14px rgba(192, 194, 194, 0.25);
        border-radius: 8px;
    }

    .discussions .comment-img {
        height: 4.75rem;
    }


    .nooks-flexbox .nook-spacer {
        width: 3rem;
    }

    .nooks .header-img {
        height: 3.5rem;
        padding-top: 1rem;
    }

    .nooks .event-img {
        height: 8rem;
    }

    .waitlist-email {
        width: 65%;
    }



    .reveal {
        opacity: 1;
        transform: none;
    }

    footer {
        margin-top: 2.5rem;
        padding-top: 2.5rem;
        justify-content: center;
    }

    .bottom-cta .title, .bottom-cta .subtitle {
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }

    .bottom-cta .subtitle {
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .bottom-cta .input-group {
        padding: 0 2rem;
    }

    .bottom-social {
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        margin: 4rem 0.5rem 2rem;
    }

    .bottom-social p {
        margin-bottom: 0.5rem;
    }

    .social-links {
        justify-content: center;
        margin-top: 1vh;
    }

    .social-links a {
        padding-right: 1.5rem;
    }

    .social-links a:last-of-type {
        padding-right: 0;
    }

    .social-links a i {
        font-size: 1.5rem;
    }
}