
@media screen and (min-width: 700px) {

}


/*----------------------------------*/
/*           Main Code              */
/*----------------------------------*/

html,body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Align items to the top */
    height: auto;
    font-family: 'arial' , sans-serif;
}

body {
    background-image: url('images/repeatbooks.jpg');
    background-repeat: repeat; /* This makes the image repeat both horizontally and vertically */
    background-size: auto; /* Ensures the image is used at its original size */
    background-attachment: fixed; /* Makes the background image fixed, so it doesn't scroll with the page */
}



p {
    margin: 0;
    padding: 0;
    font-size: 12px;
}

h1, h2, h3 {
    margin: 0;
}

.container {
    margin: 5px;
    width: 98vw;
    margin-top: 0px;
}

.lavishly-yours-regular {
    font-family: "Lavishly Yours", cursive;
    font-weight: 400;
    font-style: normal;
  }
  

@media screen and (min-width: 700px) {

    .container {
        margin: 5px;
        margin-top: 0px;
        width: 1200px;
}
}




/*----------------------------------*/
/*            Header SECTION    */
/*----------------------------------*/

.header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.logo {
    width: 30vw;
    height: auto;
    padding: 20px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.logo img {
    object-fit: cover;
    width: 20vw;
}

.menubar {
    width: 80vw;
    margin-top: 2rem;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.menubar a{
    text-decoration: none;
}

.background {
    position: absolute;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(circle, rgba(140, 248, 97, 0.5), rgba(255, 255, 255, 0));
    filter: blur(20px);
  }

  .background2 {
    position: absolute;
    width: 150px;
    height:150px;
    background-image: radial-gradient(circle, rgba(134, 86, 194, 0.5), rgba(255, 255, 255, 0));
    filter: blur(10px);
  }


@media screen and (min-width: 700px) {

    .header {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        position: relative;
        height: 90px;
    }
    
    .logo {
        width: auto;
        height: auto;
        padding: 20px;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        margin-right: 350px;
    }
    
    .logo img {
        object-fit: cover;
        width: 100px;
        height: 86px;
    }
    
    .menubar {
        width: 400px;
        margin-top: 2rem;
        margin-bottom: 2rem;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
    
    .menubar a{
        text-decoration: none;
        color: black;
    }
    
    .background {
        display: none;
        position: absolute;
        width: 100px;
        height: 100px;
        background-image: radial-gradient(circle, rgba(140, 248, 97, 0.5), rgba(255, 255, 255, 0));
        filter: blur(20px);
      }
    
      .background2 {
        display: none;
        position: absolute;
        width: 150px;
        height:150px;
        background-image: radial-gradient(circle, rgba(134, 86, 194, 0.5), rgba(255, 255, 255, 0));
        filter: blur(10px);
      }
}



/*----------------------------------*/
/*         Main Banner   SECTION    */
/*----------------------------------*/


.main { 
    background-color:;
    background-image: url(images/fadelibrary\ 2.png);
    background-size: cover;
    background-position: center;
    margin-top: 2px;
    height: 18rem;
    display: grid;
    grid-template-columns:  1fr 1fr;
    grid-template-rows: 1fr 1fr;
    grid-template-areas: 
        "slogan photo"
        "button photo";
    gap: 1rem;
    padding: 1rem;
    box-sizing: border-box;
}

.slogan {
    grid-area: slogan;
    align-self: start;
    padding: 1rem;
    text-align: center;
    height:3rem;
    text-align: left;
    line-height:3rem;
}

.bannerphoto {
    grid-area: photo;
    align-self: stretch;
    width: 40vw;
    justify-self: stretch;
    overflow: hidden;
    object-position: center;
    justify-content: center;
    align-items: center;
 }

 .bannerphoto img{
    width: auto;
    height: 100%;
    object-fit: contain;
    border-radius: 5px;
}

.button {
    grid-area: button;
    display: flex; /* Use flexbox to align the button within its cell */
    align-items: flex-end; /* Align the button to the bottom */
    padding: 10px;
    text-align: center;
    width: 8rem;
}

.button button {
    padding: 10px 20px;
    background-color: #40bc83;
    border: none;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    width: 100%; /* Ensure the button takes full width if needed */
}




@media screen and (min-width: 700px) {

    .main { 
        background-color:;
        background-image: url(images/fadelibrary\ 2.png);
        background-size: cover;
        background-position: center;
        margin-top: 2px;
        height: 700px;
        display: grid;
        grid-template-columns:  400px 400px;
        grid-template-rows: 1fr 1fr;
        grid-template-areas: 
            "slogan photo"
            "button photo";
        gap: 1rem;
        padding-left: 150px;
        padding-right: 150px;
        box-sizing: border-box;
   
    }
    
    .slogan {
        grid-area: slogan;
        align-self: start;
        padding: 1rem;
        margin-left: 10px;
        text-align: center;
        height:3rem;
        text-align: left;
        margin-top: 60px;
        font-size: 1.6rem;
        line-height: 6rem;
    }
    
    .slogan h1{

    }

    .bannerphoto {
        grid-area: photo;
        justify-self: stretch;
        overflow: hidden;
        object-position: center;
        justify-content: center;
        align-items: center;
        border-radius: 3rem;
        margin-top: 40px;
     }
    
     .bannerphoto img{
        width: 450px;
        height: auto;
        margin-left: 40px;
        object-fit: contain;
        border-radius: 30px;
    }
    
    .button {
        grid-area: button;
        margin-left: 10px;
        display: flex; /* Use flexbox to align the button within its cell */
        align-items: flex-end; /* Align the button to the bottom */
        padding: 10px;
        text-align: center;
        width: 8rem;
        margin-bottom: 160px;
    }
    
    .button button {
        padding: 10px 20px;
        background-color: #40bc83;
        border: none;
        color: white;
        border-radius: 5px;
        cursor: pointer;
        width: 100%; /* Ensure the button takes full width if needed */
    }   
}



/*----------------------------------*/
/*            Profile SECTION    */
/*----------------------------------*/

.profile {
        background-color: white;
        padding: 1rem;
        background-image: url(images/fadelibrary\ 2.png);
        background-size: cover;
        background-position: center;
    }

.profile-container {
    display: grid;
    background-color: #f2e9ff;
    grid-template-columns:  1fr 1fr;
    grid-template-rows:  1fr ;
    grid-template-areas: 
        "nphoto intro"
        ;
    gap: 1rem;
    padding: 1rem;
    box-sizing: border-box;
    border-radius: 1rem;
}
        
    .nphoto {
        grid-area: nphoto;
        align-self: stretch;
        justify-self: stretch;
        height: 14rem;
    }
    
    .nphoto img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 5px;
}

.intro {
    grid-area: intro;
    line-height: 1rem;
    height: 12rem;
    font-weight: 100;
}

.intro h6 {
    font-weight: 100;
    line-height: 1.5rem;
}

@media screen and (min-width: 700px) {
    .profile {
        background-color: white;
        padding: 1rem;
        height: 400px;
    }

    .profile-container {
        display: grid;
        background-color: #f2e9ff;
        grid-template-columns:  1fr 1fr;
        grid-template-rows:  1fr ;
        grid-template-areas: 
            "nphoto intro"
            ;
        gap: 1rem;
        padding: 1rem;
        height: auto;
        box-sizing: border-box;
        border-radius: 1rem;
        margin: -100px 150px 0px 150px;
    }
        
    .nphoto {
        grid-area: nphoto;
        align-self: stretch;
        justify-self: stretch;
        height: auto;
        padding: 30px;
    }
    
    .nphoto img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 5px;
    }

    .intro {
        grid-area: intro;
        line-height: 1rem;
        height: auto;
        font-size: 1.8rem;
    }

    .intro h6 {
        line-height: 3.6rem;
    }


}


/*----------------------------------*/
/*            Services SECTION    */
/*----------------------------------*/

/* 
.services {
    background-color: #a77be4;
    margin-top: 2px;
    height: 30rem;
    display: grid;
    grid-template-columns: 1fr ;
    grid-template-rows: auto auto auto;
    gap: 1rem;
    height: auto;
    padding: 2rem;
    box-sizing: border-box;
}

.services h3 {
    margin-top: 2rem;
    color: white;
    font-size: 1.3rem;
}



.serv-card {
    display: grid;
    grid-template-columns: 40% 60%;
    grid-template-rows: auto;
    height: 7rem;
    background-color: white;
    border-radius: 1rem;
    padding: 1rem;
    margin-top: 2rem;
    text-align: center;
}

.serv-card img {
    object-fit: contain;
    max-height: 100%;
    height: 80%;
    margin-top: auto;
    margin-bottom: auto;
    object-position: center;
    overflow: hidden;
}

.serv-card p {
    align-self: center;
    font-size: 1.1rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media screen and (min-width: 700px) {

    .services {
        background-color: #a77be4;
        margin-top: -40px;
        height: 30rem;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: auto;
        padding: 50px;
        box-sizing: border-box;
    }
    
    .services h3 {
        margin-top: 2rem;
        color: white;
        font-size: 1.3rem;
    }
        
.services-cards {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: 380px;
    margin-top: 0px 50px 0px 50px;
}

  
    .serv-card {
        display: grid;
        grid-template-columns: 40% 60%;
        grid-template-rows: auto;
        background-color: white;
        border-radius: 1rem;
        padding: 1rem;
        margin-top: 2rem;
        margin: 80px 20px  0px 20px;
        text-align: center;
        height: 220px;
    }
    
    .serv-card img {
        object-fit: contain;
        max-height: 100%;
        height: 100px;
        margin-top: auto;
        margin-bottom: auto;
        object-position: center;
        overflow: hidden;
    }
    
    .serv-card p {
        align-self: center;
        font-size: 1.1rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
} */



.services {
    background-color: #a77be4;
    padding: 2rem;
    padding-top: 3rem;
    padding-bottom: 4rem;
    box-sizing: border-box;
    text-align: center;
}

.services h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.services-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.serv-card {
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: 1rem;
    height: 3rem;
    padding: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.serv-card img {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    margin-right: 1rem;
}

.serv-card p {
    font-size: 1.1rem;
    color: #333;
    margin: 0;
}

@media (min-width: 700px) {
    .services {
        padding: 4rem;
        padding-top: 7rem;
        padding-bottom: 6rem;
    }
    
    .services h3 {
        font-size: 2rem;
    }
    
    .services-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .serv-card {
        height: 220px;
        margin: 1rem 0;
    }
    
    .serv-card img {
        width: 60px;
        height: 60px;
    }
    
    .serv-card p {
        font-size: 1.2rem;
    }
}



/*----------------------------------*/
/*           Testimonial SECTION    */
/*----------------------------------*/

/* .testimonial {
    background-color: white;
    margin-top: 2px;
    height: 22rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.testimonial h5 {
    margin-left: 2rem;
    margin-right: 2rem;
    line-height: 1.8rem;
    font-weight: 200;
} */




.testimonial {
    position: relative;
    background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent background */
    margin-top: 2px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: url('/images/openbook.jpg') no-repeat center center fixed; /* Background image */
    background-size: cover; /* Cover the entire area */
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5); /* Inner shadow for better readability */
    height: auto;
}






.testimonial h6 {
    margin: 0;
    padding: 2rem;
    line-height: 1.6rem;
    font-weight: 100;
    color: rgb(111, 111, 111);
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.7); /* Semi-transparent background for text */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.testimonial .author {
    font-weight: bold;
    display: block;
    margin-top: 1rem;
    font-size: 0.8rem;
}

@media (min-width: 700px) {

    .testimonial {
        height: 20rem;
        padding-top: 4rem;
        padding-bottom: 4rem;

    }

    .testimonial h6 {
        font-size: 1.2rem;

        padding: 3rem;
        line-height: 3rem;
    }
    
    .testimonial .author {
        font-size: 1.2rem;
    }
}





/*----------------------------------*/
/*           Book  SECTION    */
/*----------------------------------*/

/* 
.book-section {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 1rem;
    height: auto;
    padding: 10px;
    box-sizing: border-box;
    background-color: black;
}

.book-section-title {
    margin-top: 2rem;
    color: white;
    margin-left: 2rem;
}

.book-section-photo img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;  
}

.book-section-photo img:hover {
    transform: scale(1.05);  
}



.book-section-photo img {
    width: 40%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.book-section-review {
    display: flex;
    flex-direction: column;
    height: auto;
    background-color: white;
    border-radius: 1rem;
    padding-left: 2rem;
    padding-right: 2rem ;
    padding-top: 1rem;
    margin: 1rem 2rem 1rem 2rem;
}

.book-section-review h5 {
    font-weight: 100;
    line-height: 1.2rem;
}


.book-section-review img {
    object-fit: contain;
    width: 40%;
}

.book-section-collab {
    color: white;
    display: flex;
    padding-left: 2rem;
    flex-direction: column;
    justify-items: center;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.book-section-collab img {
    object-fit: cover;
    overflow: hidden;
    width: 50%;
    margin-top: 3rem;
    margin-left: auto;
    margin-right: auto;
}


    .collabphotos {
        display: grid;
        grid-template-columns: repeat(3, 1fr); 
        gap: 10px;
        padding: 10px;
    }
    
    .collabphotos a {
        display: block;
    }
    
    .collabphotos img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 8px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        transition: transform 0.2s; 
    }
    
    .collabphotos img:hover {
        transform: scale(1.05); 
    }
    



@media (max-width: 768px) {
    .collabphotos {
        grid-template-columns: repeat(2, 1fr); 
    }
}


 */


 .book-section {
    padding: 2rem;
    padding-top: 5rem;
    padding-bottom: 5rem;
    box-sizing: border-box;
    background-color: black; /* Black background */
}

.book-section-title h3 {
    color: white; /* White text for titles */
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2rem;
}

.book-section-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

.book-section-photo img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.book-section-photo img:hover {
    transform: scale(1.05);
}

.book-section-review {
    background-color: white; /* Dark grey background for contrast */
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
    color: white; /* White text for review */
}

.book-section-review img {
    width: 100px;
    height: auto;
    display: block;
    margin-bottom: 1rem;
}

.book-section-review h4 {
    font-weight: 300;
    line-height: 2rem;
    color: rgb(111, 111, 111); /* Light grey text for better readability */
}

.book-section-review .review-author {
    font-weight: bold;
    color: white; /* White text for author name */
    margin-top: 1rem;
}

.book-section-collab {
    margin-top: 3rem;
    color: white; /* White text for titles */
}

.book-section-collab h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 5rem;
    margin-top: 4rem;
}

.collabphotos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.collabphotos a {
    display: block;
}

.collabphotos img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.collabphotos img:hover {
    transform: scale(1.05);
}

@media (min-width: 700px) {
    .book-section-content {
        grid-template-columns: 1fr 2fr;
        gap: 4rem;
    }

    .collabphotos {
        grid-template-columns: repeat(5, 1fr);
        gap: 1rem;
    }
}




 













/*----------------------------------*/
/*           Inquiry SECTION    */
/*----------------------------------*/


.inquiry {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    gap: 20px;
    padding: 20px;
    border-radius: 8px;
    justify-content: center;
    place-items: center;
}

.inquiry-title, .inquiry-how {
    text-align: center;
    padding: 10px;
    border-radius: 4px;
    width: 70vw;
}

.inquiry-title h5 {
    font-family: "Lavishly Yours";
    font-size: 3rem;
    color: #b87a2b;
    margin: 0px;
}



.inquiry-title {
    font-size: 1.5rem;
    font-weight: bold;
}

.inquiry-how {
    font-size: 1.5rem;
    font-weight: 100;
    line-height: 3rem;
}

.inquiry-how h5 {
    color: rgb(111, 111, 111);
}




.inquiry-one, .inquiry-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 1rem;
    border-radius: 4px;
    margin: 0 1rem  1rem 1rem;
    height: 16rem;
    line-height: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.inquiry-one-photo img, .inquiry-group-photo img {
    width: 8rem;
    object-fit: cover;
    height: 16rem;
    margin-right: 20px;
    border-radius: 8px;

}

.inquiry-one h4, .inquiry-group h4 {
    font-size: 1rem;
    font-weight: 100;
    color: rgb(111, 111, 111);
}


.inquiry-text {
    display: flex;
    flex-direction: column;
    font-weight: 100;

}

.inquiry button {
    width: 8rem;
    height: 2rem;
    background-color: #40bc83 ;
    color: white;
    border: none;
    border-radius: 0.3rem;
    margin-bottom: 2rem;
} 




@media screen and (min-width: 700px) {

.two {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin-top: 3rem;
}


.one {
    margin-top: 3rem;
}

.inquiry {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    gap: 20px;
    padding: 20px;
    border-radius: 8px;
    justify-content: center;
    place-items: center;
}

.inquiry-title, .inquiry-how {
    text-align: center;
    padding: 10px;
    border-radius: 4px;
    width: 70vw;
}

.inquiry-title h5 {
    font-family: "Lavishly Yours";
    font-size: 3rem;
    color: #b87a2b;
    margin: 0px;
}



.inquiry-title {
    font-size: 1.5rem;
    font-weight: bold;
}

.inquiry-how {
    font-size: 1.5rem;
    font-weight: 100;
    line-height: 3rem;
}





.inquiry-one, .inquiry-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 1rem;
    border-radius: 4px;
    margin: 0 1rem  0 1rem;
    height: 20rem;
    background-color: #f9f9f9;
    line-height: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.inquiry-one-photo img, .inquiry-group-photo img {
    width: 13rem;
    object-fit: cover;
    height: 16rem;
    margin-right: 20px;
    border-radius: 8px;

}

.inquiry-one h4, .inquiry-group h4 {
    font-size: 1rem;
    font-weight: 100;
    color: #333;
}


.inquiry-text {
    display: flex;
    flex-direction: column;
    font-weight: 100;
    color: red;

}

.inquiry button {
    width: 8rem;
    height: 2rem;
    background-color: #40bc83 ;
    color: white;
    border: none;
    border-radius: 0.3rem;
    margin-bottom: 2rem;
} 







}





















/*----------------------------------*/
/*           Contact SECTION    */
/*----------------------------------*/

.contact-form {
    margin-top: 4rem;
    height:560px;
    padding: 2rem;
}


.contact-section {
    padding: 1rem;
    padding-bottom: 60px;

}

.contact-form h2 {
    margin-bottom: 30px;
    margin-left: 20px;
    font-size: 2rem;
    color: #6f6f6f;
}





/*----------------------------------*/
/*           Separator SECTION    */
/*----------------------------------*/



.starline {
    display: none;

}

          

@media screen and (min-width: 700px) {


    .starline {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    





}



















/*----------------------------------*/
/*           Footer SECTION    */
/*----------------------------------*/

.footer {
    position: relative;
    margin-top: 10px;
    height: 220px;
    background-color: black;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}



.footer p {
  color: white;
  line-height: 2rem;
  text-align: center
}












































/*----------------------------------*/
/*           Other SECTION    */
/*----------------------------------*/

.section {
    border: 2px solid blue;
    background-color: lightcyan;
    margin-top: 2px;
    height: 12rem;
}




