html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Montserrat';
    font-weight: 600;
    margin: 0px;

}

p {
    margin: 0;
}

.white-space {
    display: none;
}

@keyframes popup {

    0% {
        opacity: 0;
        visibility: hidden;
        transform: translate(-35%, -50%);
        pointer-events: none;
    }

    100% {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, -50%);
        pointer-events: all;
    }

}

[data-reveal] {
    opacity: 0;
    transition: 0.75s ease;
}

[data-reveal="top"] {
    transform: translateY(-30px);
}

[data-reveal="bottom"] {
    transform: translateY(30px);
}

[data-reveal="left"] {
    transform: translateX(-30px);
}

[data-reveal="right"] {
    transform: translateX(30px);
}

[data-reveal].revealed {
    transform: translate(0);
    opacity: 1;
}

.header {
    position: fixed;
    top: 0;
    padding: 8px;
    width: 100vw;
    background: rgba(255, 255, 255, 0.5);
    z-index: 5;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: top 0.5s;
}

.open-mobile-nav {
    align-self: self-end;
    margin: 0 16px;
    display: none;
    color: #537c78;

    font-size: 42px;
    border: none;
    background: rgba(255, 255, 255, 0);
}

.close-mobile-nav {
    align-self: self-start;
    margin-top: 8px;
    margin-left: 8px;
    display: block;
    color: #fff;
    border: none;
    background-color: #395750;
}

h1,
h3 {
    margin: 0;
    font-weight: 500;
}

h2 {
    font-weight: 500;
}

.img-logo {
    display: inline-block;
}

.cancel-logo {
    background-color: #395750;
    color: #395750;
    margin: 0;
    padding: 0;
}

.container {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.mobile-area {
    position: fixed;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    top: 0;
    right: -250px;
    width: 250px;
    height: 100%;
    background-color: #395750;
    color: #fff;
    box-shadow: -5px 0 5px -5px rgba(0, 0, 0, 0.5);
    transition: right 0.3s ease;
    z-index: 10;
}

.mobile-get-started {
    display: block;
    margin-bottom: 16px;
}

.mobile-get-started .nav-option {
    margin-top: 32px;
}

.mobile-area .logo {
    margin-top: 32px;
    display: block;
    text-align: center;

}

.mobile-area .text-logo h1 {
    color: #fff;
    display: block;
    font-size: 32px;
}

.mobile-area .nav-option {
    display: block;
    color: #fff;
}

.mobile-area .nav-options {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.drawer-icon {
    z-index: 1000;
}

.spacer {
    width: 16px;
    height: 16px;
}

@keyframes display {

    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }

}

.logo {
    display: flex;
    align-items: center;
}

.text-logo {
    margin-left: 16px;
    align-items: center;
    display: inline-block;
    text-align: center;
}

.text-logo h1 {
    color: #537c78;
    display: block;
    font-size: 32px;
}

.nav-option {
    padding-left: 24px;
    padding-right: 24px;
    border: none;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;

    color: #395750;
    font-size: 16px;
}

.nav-option:after {
    content: "";
    display: block;
    width: 0;
    height: 2px;
    background-color: #537c78;
    transition: width 0.3s ease-in-out;
    margin-top: 5px;
}

.nav-option:hover:after {
    width: 100%;
}


.download-button {
    text-decoration: none;
    font-weight: 500;
    background-color: #537c78;
    color: #FFF;
    border: 2px solid #537c78;
    border-radius: 16px;
    padding: 10px 20px;
    cursor: pointer;
}

.mobile-area .download-button {
    margin: 16px;
}

.download-button:hover {
    background-color: transparent;
    color: #537c78;
}

.small-area {
    display: flex;
    justify-content: center;
    /* Aligns items horizontally at the center */
    align-items: center;
    /* Aligns items vertically at the center */
}


.hero {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding-top: 96px;
    padding-bottom: 32px;
    padding-left: 32px;
    max-width: 100vw;
    height: 80vh;
    color: #395750;
    background-color: #fff;
}

.hero .taglines {
    padding: 0 32px;
    text-align: center;
}

.hero .tagline {
    font-size: 56px;
    font-weight: 500;
}

.sub-tagline {
    font-size: 18px;
    font-weight: 400;
    color: #537c78;
}

.hero .call-to-action {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 32px;
}

.hero .center-image {
    margin: 0 16px;
    align-self: center;
    height: 100%;
    z-index: 2;
}



.features {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    min-height: 70vh;
    max-width: 100vw;
    color: #395750;
}

.features:nth-child(odd) {
    background-color: #fff;
}

.features:nth-child(even) {
    background-color: #fff;
}

.features .features-content {
    width: 35vw;
}

.features-image {
    width: 45vw;
}

.heading {
    font-size: 32px;
}

.features .content {
    font-weight: 400;
    font-size: 18px;
}

#writeasepage {
    margin: 32px 0px;
    box-shadow: #e6eff3 0px 8px 24px;
    border-radius: 16px;
    height: 70vh;
    width: auto;
}

.buy-notebooks {
    padding-top: 64px;
    margin-left: 16px;
    margin-right: 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-self: center;
    align-items: center;
    justify-content: center;
    width: 100%;
    color: #395750;
}
.buy-notebooks .sub-tagline {
    width: 80vw;
}

.ai-features {
    padding-top: 64px;
    margin-left: 16px;
    margin-right: 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-self: center;
    align-items: center;
    justify-content: center;
    width: 100%;
    color: #395750;
}
.ai-features .ai-heading {
    font-size: 32px;
     color: #395750;
    margin: 0;
    padding: 0;
}

.ai-features .sub-tagline {
    width: 80vw;
}


.footer {
    max-width: 100vw;
    padding: 16px 0;
    background-color: #395750;
    color: #fff;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-around;
    align-items: center;
}

.footer .nav-options {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    gap: 32px;

}
.footer .sub-tagline {
    text-align: center;
    font-size: 16px;
    font-weight: 400;
}

.footer .footer-nav-option {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.app-features {
    width: 100vw;
    margin: 16px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.notebook-image {
    width: 200px;
    height: auto;
    margin: 16px;
    box-shadow: #e6eff3 0px 8px 24px;
}

.notebook-card {
    padding:16px;
    margin: 16px;
    max-width: 256px;
    min-height: 256px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 2px solid #e6eff3;
    border-radius: 16px;
}

.notebook-card .content {
    font-weight: 400;
    color: #537c78;
}

.notebook-card .buy-now-section {
    display: flex;
    flex-direction: row;
}

.notebook-card .price-section .sub-heading {
    font-size: 20px;
}

.notebook-card .price-section .content {
    font-size: 14px;
}

.app-features .app-feature {
    padding:16px;
    margin: 16px;
    max-width: 256px;
    min-height: 256px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: #e6eff3 0px 8px 24px;
    border-radius: 24px;
}

.app-feature .sub-heading {
    margin-bottom: 8px;
    font-size: 20px;
}

.app-feature .content {
    font-weight: 400;
    color: #537c78;
}



.iconify {
    position: relative;
    top: 6px;
    margin-bottom: 8px;
    font-size: 64px;
}



@media (max-width: 1200px) {
    .features-image {
        width: 50vw;
    }
}

@media (max-width: 1080px) {


    .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .container .nav-option {
        display: none;
    }

    .mobile-area {
        display: flex;
    }

    .open-mobile-nav {
        display: inline-block;
    }

    .text-content {
        padding-left: 24px;
        padding-right: 24px;
        max-width: 100%;
        justify-content: end;
        text-align: center;
    }


}

@media (max-width: 1000px) {

    .hero {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
    }

    .hero .images {
        position: relative;
        align-items: center;
        justify-content: center;
    }

    .hero .left-image {
        display: none;
    }

    .hero .center-image {
        width: 60vw;
    }
}

@media (max-width: 900px) {
    .features {
        height: 100vh;
        flex-direction: column;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .features-image {
        width: 90vw;
    }

    .features .features-content {
        width: 80vw;
        text-align: center;
    }

    .features .features-image {
        order: 2;
    }
}

@media (max-width: 800px) {

    .hero {
        height: auto;
    }

    .features {
        background-color: aqua;
        height: auto;
    }

    .hero .images {
        position: relative;
        align-items: center;
        justify-content: center;
    }

    .hero .right-image {
        display: none;
    }

    .hero .center-image {
        width: 70vw;
    }
}


@media (max-width: 500px) {

    .hero .center-image {
        width: 90vw;
    }

    #writeasepage {
         width: 80vw;
         height: auto;
    }



    .features {
        height: auto;
        flex-direction: column;
        align-items: center;
        justify-content: center;
       
    }

    .ai-features {
        margin: 0;
        padding: 0;
    }

    .hero {
        display: flex;
        flex-direction: column;
        margin: 0;
        justify-content: end;
        padding-top: 20vh;
        padding-left: 16px;
        padding-right: 16px;
        align-items: end;
    }

    .hero .tagline {
        font-size: 36px;
        padding: 0 16px;
    }

    .hero .sub-tagline {
        padding: 0 16px;
    }


    .hero .call-to-action {

        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
    }

    .small-area .download-button {
        display: none;
    }

    .logo {
        display: flex;
        align-items: center;
    }

    .open-mobile-nav {
        display: inline-block;
    }

    .text-content {
        padding-left: 12px;
        padding-right: 12px;
    }
}