/* Retro Windows Theme for Bookworm.in */
@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');

body {
    font-family: 'VT323', monospace;
    background-color: #fff;
    color: #000080;
    margin: 0;
    padding: 0;
    text-align: center;
    background-image: 
        linear-gradient(to right, rgba(0, 0, 128, 0.1) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 0, 128, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 🔵 Header and Navigation 🔵 */
header {
    background: #000080;
    padding: 20px 0;
    color: #ffffff;
    border-bottom: 2px solid #ffffff;
}

header h1 {
    font-size: 2rem;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 2px 2px #000;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    padding: 10px;
    background: #000080;
    border: 2px solid #ffffff;
    border-radius: 3px;
    transition: 0.3s;
}

nav ul li a:hover {
    background: #ffffff;
    color: #000080;
    border: 2px solid #000080;
}

/* 🔍 Search Page Styling 🔍 */
.search-bar input {
    width: 80%;
    padding: 10px;
    font-size: 16px;
    border: 2px solid #000080;
    background: #ffffff;
    color: #000080;
    text-align: center;
    border-radius: 3px;
}

.search-bar button {
    padding: 10px 20px;
    font-size: 16px;
    background: #000080;
    color: #ffffff;
    border: 2px solid #ffffff;
    cursor: pointer;
    transition: 0.3s;
}

.search-bar button:hover {
    background: #ffffff;
    color: #000080;
    border: 2px solid #000080;
}

/* 📚 Books Page Styling 📚 */
.book-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.book {
    background: #f0f0f0;
    padding: 15px;
    border-radius: 5px;
    border: 2px solid #000080;
    transition: transform 0.3s;
    width: 250px;
    text-align: center;
}

.book:hover {
    transform: scale(1.05);
    border: 2px solid #000080;
}

.book img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    border: 2px solid #000080;
    border-radius: 3px;
}

/* 📩 Contact Page Styling 📩 */
.contact-us input,
.contact-us textarea {
    width: 80%;
    padding: 10px;
    font-size: 16px;
    border: 2px solid #000080;
    background: #ffffff;
    color: #000080;
    text-align: center;
    border-radius: 3px;
    display: block;
    margin: 10px auto;
}

.contact-us button {
    padding: 10px 20px;
    font-size: 16px;
    background: #000080;
    color: #ffffff;
    border: 2px solid #ffffff;
    cursor: pointer;
    transition: 0.3s;
}

.contact-us button:hover {
    background: #ffffff;
    color: #000080;
    border: 2px solid #000080;
}

/* 🎨 Footer Styling 🎨 */
footer {
    background: #000080;
    padding: 20px 0;
    margin-top: 20px;
    color: #ffffff;
    border-top: 2px solid #ffffff;
}
