body {
    width: 100vw;
    margin: -0%;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

@font-face {
    font-family: poiret;
    src: url(fonts/PoiretOne-Regular.ttf);
}

@font-face {
    font-family: poppins;
    src: url(fonts/Poppins-ExtraLight.ttf);
}

@font-face {
    font-family: nunito;
    src: url(fonts/Nunito-VariableFont_wght.ttf);
}

@font-face {
    font-family: dosis;
    src: url(fonts/Dosis/Dosis-VariableFont_wght.ttf);
}

@font-face {
    font-family: script;
    src: url(fonts/StyleScript-Regular.ttf)
}

@font-face {
    font-family: ku;
    src: url(fonts/Kurale-Regular.ttf)
}

@keyframes welcomeFrame {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.citation {
    color: #1D1426;
    margin-top: -0.2%;
    margin-left: 1%;
}

p {
    color: white;
    font-size: 18px;
    font-family: poppins;
}



.advert {
    font-family: nunito;
    background-color: #0f0b14;
    width: 100vw;
    color: white;
    padding: 0.5vh;
    font-size: medium;
    text-align: center;
    margin-top: auto;
    align-items: center;
    z-index: 10;
}

nav {
    z-index: 10;
    position: fixed;
    margin: auto;

    a {
        font-family: nunito;
        text-decoration: none;
        color: #0f0b14;
        z-index: 2;

    }


}

nav a:hover {
    color: gray
}

.navigation {
    background-color: white;
    padding: 1vh;
    width: 100vw;
    text-align: center;

    a {
        margin-left: 3vw;
    }

    border-bottom: 1px solid #0f0b14;
}

.logo {
    position: absolute;
    left: 10vw;
    display: flex;
    align-items: center;

    img {
        border: 1px solid #1D1426;
        height: 30px;
    }

    p {
        font-size: small;
        color: #0f0b14;
    }
}

.hero_page {
    height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)), url('images/floral4.jpg');
}

.welcome {
    position: absolute;
    top: 33%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;


    h1 {
        font-family: poiret;
        font-size: 270%;
        padding: 6vh 3vw;
        color: white;
        font-weight: bolder;
        border: white 1px solid;
    }


}

.welcome-text {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);

    h2 {

        color: white;
        text-align: center;
        font-weight: lighter;
        font-size: 150%;
        font-family: poppins;

    }


}

.welcome-text {
    a {
        font-weight: bold;
        color: white;
    }
}

.explore-now {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.explore-now button {
    font-family: ku;
    padding: 2vh 4vw;
    background: transparent;
    font-size: large;
    background-color: #1D1426;
    color: white;
    font-size: x-large;
    opacity: 70%;
    border: 1px solid #1D1426;
}

.explore-now button:hover {
    cursor: pointer;
    opacity: 100%;
}

.letter {
    opacity: 0;
    animation: welcomeFrame 4s;
    animation-fill-mode: forwards;
}

.letter:nth-child(1) {
    animation-delay: 0s;
}

.letter:nth-child(2) {
    animation-delay: 0.2s;
}

.letter:nth-child(3) {
    animation-delay: 0.4s;
}

.letter:nth-child(4) {
    animation-delay: 0.6s;
}

.letter:nth-child(5) {
    animation-delay: 0.8s;
}

.letter:nth-child(6) {
    animation-delay: 1s;
}

.letter:nth-child(7) {
    animation-delay: 1.2s;
}

.letter:nth-child(8) {
    animation-delay: 1.4s;
}

.letter:nth-child(9) {
    animation-delay: 1.6s;
}

.letter:nth-child(10) {
    animation-delay: 1.8s;
}

.letter:nth-child(11) {
    animation-delay: 2s;
}

.letter:nth-child(12) {
    animation-delay: 2.2s;
}

.letter:nth-child(13) {
    animation-delay: 2.4s;
}

.letter:nth-child(14) {
    animation-delay: 2.6s;
}

.letter:nth-child(15) {
    animation-delay: 2.8s;
}

.letter:nth-child(16) {
    animation-delay: 3s;
}

.letter:nth-child(17) {
    animation-delay: 3.2s;
}

.letter:nth-child(18) {
    animation-delay: 3.4s;
}

.letter:nth-child(19) {
    animation-delay: 3.6s;
}


h2 {
    color: white;
    margin: auto;
    font-size: xxx-large;
    font-family: poiret;
}

.curated_list {
    margin: 5vh auto;
    justify-content: space-between;

    h2 {
        color: #0f0b14;
        text-align: center;
    }

    p {
        padding-top: 10vh;
        text-align: center;
        margin: auto;
        width: 40vw;
        color: #0f0b14;
        font-family: ku;
        font-size: x-large;
    }
}

.curated_books {
    width: 70vw;
    margin: 5vh auto;

}

.book_detail {
    width: 20vw;
    margin: auto;
    align-items: center;
    padding: 5% 0.6%;
    border: 1px solid #260101;
    background-color: transparent;

    img {
        height: 200px;
        border-radius: 1vh;
        margin-left: 6.5vw;
    }

    p {
        width: 18vw;
        color: #0f0b14;
        text-align: justify;
        text-align: center;

    }
}

#pinterest {
    p {
        color: #0f0b14;
    }
}

.book_detail:hover {
    cursor: pointer;
    background-color: #8f8297;
    border-color: transparent;

    h3 {
        color: white;
    }

    h4 {
        color: white;
    }

    p {
        color: white;
    }
}

h3 {
    text-align: center;
    font-size: x-large;
    font-family: nunito;
    color: #1D1426;

}

h4 {
    text-align: center;
    font-size: large;
    color: #0f0b14;
    font-family: poppins;
}

.curated_books_list {
    margin: auto;
    width: 90vw;
    justify-content: space-between;
    display: flex;
    gap: 5vw;
    overflow-x: scroll;
    scrollbar-width: thin;
    scrollbar-color: #4A3259 transparent;
}

.curated_books_list::-webkit-scrollbar {
    width: 1vw;
    scroll-behavior: smooth;
}

.curated_books_list::-webkit-scrollbar-track {
    background: #0f0b14;
}

.curated_books_list::-webkit-scrollbar-thumb {
    background-color: transparent;

}

.discover_container {
    margin-top: 20vh;
    width: 100vw;
    background-color: #0f0b14;
    padding: 5vw;

}

.discover {

    width: 40vw;

    p {
        text-align: justify;
    }

    a {
        color: white;
        font-weight: bold;
    }


}

/* comment */
.comment-given {
    h2 {
        color: #0f0b14;
        text-align: center;
        padding: 5vh;
    }

    margin: auto;
}

.comment-detail {
    background-color: rgb(238, 228, 228);
    padding: 3vh 3vw 0vw;
    margin: auto;
    margin-bottom: 5vh;

    width: 40vw;
    border: #1D1426 1px solid;

    p {
        padding-left: 1vw;
        color: #0f0b14;
    }

}

.profile {
    align-items: center;
    display: flex;

    img {
        width: 50px;
        border-radius: 50vw;
    }
}

/* footer */


footer {
    padding-top: 3vh;
    height: 30vh;
    width: 100vw;
    background-color: #1D1426;

    a {
        color: white;
        font-size: small;
    }

    h2 {
        font-size: xxx-large;
        color: white;
        text-align: center;
    }

}

#socials {
    width: 35vw;
    position: absolute;
    gap: 4%;
    left: 50%;
    padding-top: 33vh;
    transform: translate(-50%, -50%);
    color: white;
    display: flex;
    align-items: center;
}

form {
    position: absolute;
    transform: translate(-50%, -50%);
    left: 50vw;
    padding-top: 10vh;
    font-size: large;
    color: white;
}

.join-us input {
    margin-top: 2vh;
    width: 25vw;
    height: 5vh;
}

.join-us button {
    cursor: pointer;
    width: 10vw;
    height: 5vb;
}

.join-us button:hover {
    color: white;
}
@media (max-width: 320px)  {
    .logo {
        top: 0vh;

        img {
            width: 30px;
        }

    }

    body {
        width: 100vw;
    }

    .advert {


        width: 100vw;

        p {

            font-size: x-small;
        }
    }

    nav {
        position: fixed;
    }

    .navigation {
        a {
            font-size: x-small;
        }

    }

    .welcome {
        padding-top: 10vh;

        h1 {
            font-size: small;
        }
    }

    .welcome-text {

        h2 {
            width: 95vw;
            font-size: x-small;
            top: 70vh;
        }

    }

    .curated_books {
        h3 {
            font-size: large;
        }

        h4 {
            font-size: medium;
        }
    }

    .curated_list {
        h2 {
            font-size: x-large;
        }

        p {
            font-size: 16px;
            width: 100vw;
        }
    }

    #pinterest {
        font-size: x-small;
    }


    .discover {
        width: 80vw;
        margin: auto;

        h2 {
            font-size: x-large;
        }

        p {
            font-size: 16px;

        }

        .comment-given {
            width: 80vw;
        }

        .comment-detail {
            width: 70vw;

            p {}
        }
    }

    .discover_container {
        padding: 0;
        width: 100vw;
        overflow-x: hidden;
        padding-top: 10%;

    }

    .discover {
        width: 80vw;

        p {
            font-size: smaller;
        }
    }

    .curated_list {
        p {
            font-size: x-small;
        }
    }

    .curated_books {
        h2 {}

        h3 {
            font-size: large;
        }

        h4 {
            font-size: medium;
        }
    }

    .book_detail {
        height: 30vh;
        width: 40vw;
        margin: auto;

        img {
            margin-left: 10vw;
            height: 30vw;
        }

        h3 {
            font-size: large;
        }

        h4 {
            font-size: medium;
        }

    }
.comment-given{
    h2{
        padding-top: 0%;
        font-size: x-large;
    }
}
    .comment-detail {
        
        width: 80vw;

        p {
            font-size: medium;
        }

    }

    footer {
        h2 {
            font-size: large;
        }

        label {
            padding-top: 10vh;
            font-size: small;
            font-family: ku;
        }
    }

    #socials {
        width: 90vw;

        padding-top: 40vh;

        p {
            font-size: x-small;
        }
    }

}
@media (min-width: 321px) and (max-width: 750px) {
    .logo {
        top: 0vh;

        img {
            width: 30px;
        }

    }

    body {
        width: 100vw;
    }

    .advert {


        width: 100vw;

        p {

            font-size: small;
        }
    }

    nav {
        position: fixed;
    }

    .navigation {
        a {
            font-size: small;
        }

    }

    .welcome {
        padding-top: 10vh;

        h1 {
            font-size: medium;
        }
    }

    .welcome-text {

        h2 {
            width: 95vw;
            font-size: small;
            top: 70vh;
        }

    }

    .curated_books {
        h3 {
            font-size: large;
        }

        h4 {
            font-size: medium;
        }
    }

    .curated_list {
        h2 {
            font-size: x-large;
        }

        p {
            font-size: 16px;
            width: 100vw;
        }
    }

    #pinterest {
        font-size: x-small;
    }


    .discover {
        width: 80vw;
        margin: auto;

        h2 {
            font-size: x-large;
        }

        p {
            font-size: 16px;

        }

        .comment-given {
            width: 80vw;
        }

        .comment-detail {
            width: 70vw;

            p {}
        }
    }

    .discover_container {
        padding: 0;
        width: 100vw;
        overflow-x: hidden;
        padding-top: 10%;

    }

    .discover {
        width: 80vw;

        p {
            font-size: smaller;
        }
    }

    .curated_list {
        p {
            font-size: x-small;
        }
    }

    .curated_books {
        h2 {}

        h3 {
            font-size: large;
        }

        h4 {
            font-size: medium;
        }
    }

    .book_detail {
        height: 30vh;
        width: 40vw;
        margin: auto;

        img {
            margin-left: 10vw;
            height: 30vw;
        }

        h3 {
            font-size: large;
        }

        h4 {
            font-size: medium;
        }

    }

    .comment-detail {
        width: 80vw;

        p {
            font-size: medium;
        }

    }

    footer {
        h2 {
            font-size: x-large;
        }

        label {
            padding-top: 3vh;
            font-size: medium;
            font-family: ku;
        }
    }

    #socials {
        width: 80vw;

        padding-top: 40vh;

        p {
            font-size: x-small;
        }
    }

}

@media (min-width: 751px) and (max-width: 900px) {
    .logo {
        left: 3vw;

        img {
            width: 60px;
        }

    }

    body {
        width: 100vw;
    }

    .welcome {
        padding-top: 10vh;

        h1 {
            font-size: xx-large;
        }
    }

    .welcome-text {
        font-size: small;
        width: 80vw;
    }

    .book_detail {
        height: 30vh;
        width: 40vw;
        margin: auto;

        img {
            margin-left: 10vw;
            height: 30vw;
        }

        h3 {
            font-size: large;
        }

        h4 {
            font-size: medium;
        }

    }

    .comment-detail {
        width: 80vw;

        p {
            font-size: medium;
        }

    }

    .discover_container {
        width: 90vw;
    }

    .discover {
        width: 70vw;
    }

    footer {
        padding-bottom: 0%;

        h2 {
            font-size: x-large;
        }

        label {
            padding-top: 3vh;
            font-size: medium;
            font-family: ku;
        }
    }

    #socials {
        width: 80vw;
        padding-top: 30vh;

        p {
            font-size: medium;
        }

    }

}

@media (min-width: 901px) and (max-width: 999px) {
    .discover {
        width: 70vw;
    }
    #socials {
        width: 80vw;
        padding-top: 30vh;

        p {
            font-size: medium;
        }

    }
    

    .discover_container {

        width: 90vw;
    }
    .book_detail {
        height: 30vh;
        width: 40vw;
        margin: auto;

        img {
            margin-left: 10vw;
            height: 30vw;
        }

        h3 {
            font-size: large;
        }

        h4 {
            font-size: medium;
        }

    }


    .welcome {
        padding-top: 10vh;

        h1 {
            font-size: xx-large;
        }
    }
}

@media (min-width: 1000px) and (max-width: 1500px) {
    .welcome-text{
        h2{
            font-size: medium;
        }
    }
    .advert{
        width: 100vw;
    }
    h1{
        font-size: large;
    }
    
    .curated_list {
        p {
            width: 70vw;
        }
    }

    .book_detail {
        width: 30vw;

        img {
            margin-left: 8vw;
        }
    }

    .discover {
        width: 70vw;
    }

    .comment-detail {
        width: 60vw;
    }

    .discover {
        width: 60vw;

        p {
            font-size: smaller;
        }
    }
    .discover_container{
        width: 90vw;
    }
    footer {
        h2 {
            font-size: large;
        }

        label {
            padding-top: 10vh;
            font-size: small;
            font-family: ku;
        }
    }

    #socials {
        width: 90vw;

        padding-top: 40vh;

        p {
            font-size: x-small;
        }
    }
}