/* Import a retro pixelated font for headings */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

/* General Styles */
body {
    font-family: 'Verdana', sans-serif; /* 90s-friendly font */
    background-color: #fafafa; /* Light grey background */
    color: #333; /* Dark grey text */
    margin: 0;
    padding: 0;
}

header {
    background-color: #00bcd4; /* Bright retro teal */
    color: #ffffff; /* White text */
    padding: 20px 0;
    text-align: center;
    border-bottom: 4px solid #ffd54f; /* 90s yellow accent */
    font-family: 'Press Start 2P', cursive; /* Retro pixel font for headers */
    font-size: 20px; /* Playfully large text */
    text-transform: uppercase;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: flex; /* Use flexbox for better control */
    justify-content: center; /* Center the items */
    flex-wrap: wrap; /* Allow items to wrap to the next line if needed */
    gap: 15px; /* Add space between the buttons */
}

nav ul li {
    display: block; /* Ensure each button takes its own space */
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    padding: 8px 12px;
    background-color: #ff80ab; /* Retro pink background for links */
    border: 2px solid #333; /* Black pixelated border */
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

nav ul li a:hover {
    background-color: #ffd54f; /* Bright yellow on hover */
}


main {
    padding: 20px;
}

#intro {
    background-color: #e0f7fa; /* Light teal background */
    padding: 20px;
    border: 3px dashed #00bcd4; /* Dashed border for a retro vibe */
    margin-bottom: 20px;
    font-family: 'Verdana', sans-serif;
}

h2 {
    font-family: 'Press Start 2P', cursive; /* Retro pixelated font */
    font-size: 26px;
    font-weight: bold;
    color: #333; /* Dark text for readability */
    text-align: center;
    text-transform: uppercase;
}

#books ul {
    list-style-type: none; /* Remove bullet points */
    padding-left: 0;
}

#books ul li {
    background: #ffffff;
    margin: 10px 0;
    padding: 15px;
    border: 2px solid #333; /* Black retro pixel border */
    box-shadow: 5px 5px 0px #ffd54f; /* Yellow pixel-style offset shadow */
    font-size: 16px;
    font-family: 'Verdana', sans-serif; /* 90s-era font */
}

#books ul li a {
    color: #00bcd4; /* Teal for links */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

#books ul li a:hover {
    color: #ff80ab; /* Pink hover for links */
}

#contact {
    background-color: #ffebee; /* Light retro pink */
    padding: 20px;
    border: 3px dotted #ff80ab; /* Dotted retro border */
    margin-top: 20px;
}

#contact-form label {
    display: block;
    margin: 10px 0 5px;
    font-weight: bold;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 2px solid #333; /* Black retro pixel border */
    background-color: #ffffff;
    font-family: 'Verdana', sans-serif;
    font-size: 14px;
    border-radius: 4px;
}

#contact-form button {
    background-color: #ffd54f; /* 90s yellow button */
    color: #333;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

#contact-form button:hover {
    background-color: #ff80ab; /* Pink hover for buttons */
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #00bcd4; /* Teal footer background */
    color: #ffffff;
    border-top: 4px solid #ffd54f; /* Yellow accent border */
    font-family: 'Press Start 2P', cursive;
    font-size: 12px;
    position: fixed;
    width: 100%;
    bottom: 0;
}

/* Fun 90s hover effects */
header, footer, nav ul li a, h2, #contact-form button {
    transition: transform 0.2s ease-in-out;
}

header:hover, footer:hover, nav ul li a:hover, h2:hover, #contact-form button:hover {
    transform: scale(1.03); /* Subtle scaling hover effect */
}

