@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: 16px;
    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: 20px;
    background-color: #a32973; /* Dark blue color for the bar */
    color: white; /* Text color in the bar */
    padding: 10px;
    text-align: center;
}

/* Wrapper White styles */
#wrapper-white {
    max-width: 960px;
    margin: 20px auto;
   
    padding: 20px;
    display: flex;
}

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

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

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

/* Aside styles */
.book-details {
    font-family: 'Goudy Bookletter 1911', serif;
   font-size: 28px;
    color:#a32973;
    width: 350px;
    border: 3px solid #16325a; /* Dark blue border color */
    box-sizing: border-box;
    padding: 20px;
    text-align: center;
}

aside {
    width: 300px;
    height: 300px;
    float: right;
    position: relative;
    border: 3px solid #16325a;
    padding: 20px 14px 14px;
    text-align: center;
}

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

#shop-content {
    width: 100%;
    background-color: #f4f3f0;
    background-repeat: repeat;
    display:flex;
    justify-content: center;
    overflow: hidden;
    padding-bottom: 70px;
}

.shop-box {
    text-align: center;
    width: 300px;
    float: left;
    margin-right: 20px;
    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: 28px;
    text-transform: uppercase;
    text-align: center;
}

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


 .shop-box a {
    text-decoration: none; 
    background-color: #a32973; 
    color: #fff; 
   margin-top: 3px;
    padding: 5px; 
}
/* Footer styles */
footer {
    background-color: #16325a; /* Dark blue background color */
    color: #fff;
    padding-top: 10px;
    text-align: center;
}

#footer-content {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

#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: 16px;
    text-transform: uppercase;
}

.group1 p, .group2 p {
    font-size: 16px;
}

/* Responsive styles */
@media (max-width: 768px) {
    header nav {
        position: absolute;
        bottom: auto;
        right: auto;
        margin-top: 20px;
    }

    header nav ul {
        flex-direction: column;
    }

    header nav li {
        margin-right: 0;
        margin-bottom: 10px;
    }

}
.uppercase {
text-transform:uppercase
}

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

aside .book-details {
    opacity: 1;
}

.mask {
    width: 328px;
    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: 32px;
    color: #fff;
    margin-top: 25%;
    opacity: 1;
}

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

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

