@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Goudy+Bookletter+1911&family=Lato&display=swap');

/* Reset some default browser styles */
body, h1, h2, h3, p, ul, li {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Goudy Bookletter 1911', serif;
    font-family: 'Lato', sans-serif;
    font-size: 1em;
    line-height: 1.5;
}

/* Header styles */
header {
    background-color: #fff; 
    color: white; /* Text color in the header */
    padding: 20px 0; 
}

#header-content {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav {
   
font-family: 'Lato', sans-serif;
}

nav ul {
   padding-top: 45px;
    list-style: none;
    display: flex;
}

nav li {
    margin-right: 20px;
}

nav a {
    text-decoration: none;
    color: #16325a;
    transition: color 0.3s;
}

nav a:hover {
    color: white; /* Change text color on hover */
    background-color:#16325a ;
    padding: 10px;
}

/* Banner styles */
#banner {
    font-family: 'Goudy Bookletter 1911', serif;
    
    background-color: white;
    background-image: url('images/home-banner.jpg'); 
    height: 300px; 
}

/* Color Bar styles */
#color-bar {
    font-family: 'Goudy Bookletter 1911', serif;
   font-size: 1.25em;
    background-color: #a32973; /* Dark blue color for the bar */
    color: white; /* Text color in the bar */
    padding: 1%;
    text-align: center;
}

/* Wrapper White styles */
#wrapper-white {
    max-width: 80%;
    margin: 2.1% auto;
   
    padding: 2.1%;
    display: flex;
}

/* Section styles */
section {
    background-color: white;
    width: 60.4%;
    margin: 0 auto;
    text-align: center;
}

section h1 {
    font-family: 'Goudy Bookletter 1911', serif;
   
    text-align:left;
    text-transform: uppercase;
    font-size: 2.25em;
    color: #a32973; /* Heading color */
}

section p {
    
    font-family: 'Lato', sans-serif;
    text-align:left;
    font-size: 1em;
    color: #555; /* Paragraph text color */
}

/* Aside styles */
.book-details {
    font-family: 'Goudy Bookletter 1911', serif;
    font-size: 1.75em;
    color:#a32973;
    border: 3px solid #16325a; 
    box-sizing: border-box;
    padding: 2.1%;
    text-align: center;
}

aside {
    width: 31.25%;
    height: 300px;
    float: right;
    position: relative;
   
    padding: 20px 1.5% 14px;
    text-align: center;
}

aside h2 {
    font-family: 'Goudy Bookletter 1911', serif;
     color:#a32973;
     text-align: center;
     text-transform:uppercase;
}

/* 3-Column Content styles */
#wrapper-shop {
    width: 100%;
    margin: 0 auto;
    padding-top: 40px;
    background-color: #f4f3f0;
}

#shop-content {
    width: 75%;
    background-color: #f4f3f0;
    background-repeat: repeat;
    display:block;
    justify-content: center;
    padding-left: 10%;
    padding-bottom: 70px;
}

#wrapper-shop h1 {
    text-transform: uppercase;
    color: #a32973;
    font-family: 'Goudy Bookletter 1911', serif;
    text-align: center;
    font-size: 2em;
    margin: 20px 0 2.9%;
}

.shop-box {
    text-align: center;
    width: 31.25%;
    float: left;
    margin-right: 2.1%;
    box-sizing: border-box;
}

.shop-box img {
   padding-top: 60px;
    display: block;
    margin: 0 auto;
    max-width: 100%;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.shop-box img:hover {
    opacity: 1;
}

.shop-box h3 {
    font-family: 'Goudy Bookletter 1911', serif;
  
    color:#a32973;
    font-size: 1.75em;
    text-transform: uppercase;
    text-align: center;
}

.team h3 {
    font-family: 'Goudy Bookletter 1911', serif;
    color: #a32973;
    font-size: 1.75em;
    text-transform: uppercase;
    text-align: center;
}

.team h1 {
    font-family: 'Goudy Bookletter 1911', serif;
    color: #a32973;
    font-size: 1.75em;
    text-transform: uppercase;
    text-align: center;
    margin: 0;
}

.shop-box p {
   
    font-family: 'Lato', sans-serif;
    font-size: 0.875em;
    text-align: center;
    margin-bottom: 0px;
    padding-bottom: 10px;
}


 .shop-box a {
    text-decoration: none; 
    background-color: #a32973; 
    color: #fff; 
    margin-top: 3px;
    padding: 1.5%; 
}

.team p {
    font-family: 'Lato', sans-serif;
    font-size: 0.875em;
    text-align: center;
    margin-bottom: 0px;
    padding-bottom: 10px;
}

.team {
    width: 20.83%;
    text-align: center;
    display: inline-block;
}

.team:first-of-type {
    margin-right: 25px;
}

.team:nth-of-type(2),
.team:nth-of-type(3) {
    margin-left: 24px;
    margin-right: 24px;
}

.team:last-of-type {
    margin-left: 25px;
}


/* Footer styles */
footer {
    background-color: #16325a; 
    padding-top: 10px;
    text-align: center;
}

#footer-content {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 2.1%;
}

footer h3 {
    color:#fff;
    font-family: 'Goudy Bookletter 1911', serif;
    font-size:1.125em;
    text-decoration: solid;
}

footer p {
    color:#f4f3f0;
    font-family: 'Lato', sans-serif;
    font-size: 0.875em;
}

#footer-left, #footer-right {
    flex: 1;
}

#footer-left {
    text-align: left;
}

#footer-right {
    text-align: right;
}

.group1, .group2 {
    color: #fff;
    opacity: 0.7;
}

.group1 h3, .group2 h3 {
    font-size: 1em;
    text-transform: uppercase;
}

.group1 p, .group2 p {
    font-size: 1em;
}



*/
.uppercase {
text-transform:uppercase
}

/* --------- TRANSITION EFFECTS --------- */

aside .book-details {
    opacity: 1;
}

.mask {
    width: 34.16%;
    height: 334px;
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
    background-color: #a32973;
    opacity: 0;
    transition: linear 2s; }

    .mask:hover {
        opacity: 1;
   }

   .mask h2,
.mask p,
.mask .learn {
     opacity: 0;
}

.mask:hover h2 {
    font-size: 2em;
    color: #fff;
    margin-top: 25%;
    opacity: 1;
}

.mask:hover p {
    font-size: 1.25em;
    color: #fff;
    margin-bottom: 40px;
    opacity: 1;
}

.mask:hover .learn {
    background-color: #16325a;
    color: #fff;
    font-family: 'Lato', sans-serif;
    font-size: 1.25em;
    opacity: 1;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    padding: 16px 3.5%;
    display: inline-block;
}

/* --------- SLIDESHOW --------- */

/* Slideshow wrapper */
#slideshow-wrapper {
    width: 100%;
    height: 441px;
}

/* Slideshow container */
#slideshow {
    width: 100%;
    height: 441px;
    overflow: hidden;
    white-space: nowrap;
}

/* Slideshow images */
#slideshow img {
    width: 100%;
    height: 100%;
    display: inline-block;
}

/* Circles */
.circle {
    display: inline-block;
    background-color: lightgrey;
    width: 1.25%;
    height: 12px;
    border-radius: 50%;
    margin-right: 1.5%;
}

/* Circle navigation */
#circle-nav {
    margin-top: -50px;
    text-align: center;
}

.circle:hover {
    background-color:#a32973
}

/*TABLET MEDIA */

@media only screen and (max-width: 1024px) {
    header nav {
        text-align: center;
    }

    #header-content {
        flex-direction: column;
        align-items: center;
    }
    
    #slideshow-wrapper {
        height: 300px;
       }

    #slideshow,
    #banner {
        height: 300px; /* Adjust the height of the banner and slideshow */
    }

   
   section {
    margin-top: 30px;
   }
   
    section h1,
    section p {
        font-size: 1.5em; /* Reduce the font size of h1 and p in the section */
    }

    .wrapper-shop,
    .shop-box {
        width: 100%; /* Make the three columns stack instead of being columns */
        margin-right: 0;
        margin-bottom: 20px;
    }

    .shop-box img {
        padding-top: 20px; /* Adjust the padding of images in the shop box */
    }

    .circle{
        height: 9px;
    }

    footer h3 {
        font-size: 1em; /* Reduce the font size of h3 in the footer */
    }
    aside {
     margin-top: 60px;
        height: 300px;
        width: 75%; /* Make the aside take full width */
        float: none; /* Remove the float property */
      
        margin-left: 5%;
    }

    .book-details {
        width: 100%; /* Make the book-details take full width */
    }

    section {
        width: 100%; /* Make the section take full width */
       
    }

#circle-nav {
    margin-top: -50px;
    text-align: center;
}

}


@media screen and (max-width: 480px) {
    #header-content img {
        max-width: 80%; /* Adjust the size as needed */
        margin: 0 auto; /* Center the logo */
    }

    /* Navigation in a block, stacked layout below the logo */
    nav {
   
        width: 100%;
        text-align: center;
    }

    nav ul {
        width: 100%;
       
     display: block;
    }

    nav li {
      
        width: 100%;
        color:#fff;
        background-color:#a32973;
       margin-top: 1px;
        margin-right: 0;
      
    }

    nav a {
   
    color:#fff
   
    }


    /* Reduce the height of the banner and the slideshow */
    #banner {
        height: 200px
    }
   
   #slideshow-wrapper {
    height: 200px;
   }
   
    #slideshow {
        height: 200px;
    }

    #color-bar h3 {
        font-size: 0.85em;
    }

    /* Section is now 100% in width and not floated */
    section {
       text-align: left;
        width: 100%;
        float: none;
        padding-top: 5px;
    }

    /* Aside is about 90% wide, centered, and not floated */
    aside {
        width: 90%;
        float: none;
        margin: 0 auto; /* Center the aside */
    }

    /* Images of team members in a stacked layout */
    

 
    #footer-content {
     flex-direction: column;
        text-align: center;
       
    }
  
    #footer-left,
    #footer-right {
        width: 100%; /* Make each item take full width */
        text-align: center; /* Center text within each item */
        margin-bottom: 10px; /* Add spacing between items */
    }

        #footer-right {
            border-top: 1px solid #f4f3f0;
            margin-top: 20px;
        }
    
    #color-bar h3 {
        margin-top: 10px; 
    }
    
    #shop-content {display:block; width: 100%;}

.shop-box {
    width: 100%;
    margin-right: 0;
    margin-bottom: 20px; /* Add some space between stacked items */
}


.team p {
    margin-top: 100px;
}


.team {
    align-items:center;
  
}

.team p {
  
    text-align: center;
    display: inline-block;
    white-space: nowrap; /* Prevent text from wrapping */
    margin-top: 5px;
}

.team h3 {

    text-align: center;
    display: inline-block;
    white-space: nowrap; /* Prevent text from wrapping */
}

.team img {
    flex-direction: column;
    text-align:center;
    margin-left: auto;
    margin-right: auto;
   
}

#wrapper-white {
    display:block;
}
    
aside h2 { 
    
    font-size:150% ;
}

.book-details {
    margin-bottom: 40px;
}

}


h2 {
    font-size:2.25em;
    font-family: 'Goudy Bookletter 1911', serif;
     color:#a32973;
     text-align: center;
     text-transform:uppercase;
}

.table {

    background-color: #fff;
    max-width: 50%;
    border-collapse: collapse; 
    font-family: Arial, Helvetica, sans-serif;
}

th {
    background-color: #16325a;
    color: #fff;
    
    text-align: center;
    font-size: 16px;
}

td {
   text-align: right;

}

th, td {
   padding: 8px 12px;
   border: 3px solid #16325a;
}

table tr td:nth-child(2),
table tr td:nth-child(3) {
    font-weight: normal; /* or use font-weight: normal; if you prefer */
}

table tr td:nth-child(2),
table tr td:nth-child(3) {
    text-align: center;
}


h4 {
    padding-left: 10%;
    font-size:0.95em;
    font-family: 'Goudy Bookletter 1911', serif;
     color:#a32973;
     text-align: left;
}