body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #1A1A1A;
    color: whitesmoke;
    line-height: 1.6; /* Improved line height for better readability */
 }
 
 
 main {
    flex: 1;
 }
 
 
 /* Navbar Styling */
 .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    border-bottom: 1px solid #ddd;
 }
 
 
 .heading {
    font-family: "Cinzel Decorative", serif;
    font-weight: 700;
    font-size: 30px;
    text-align: center;
    color: whitesmoke;
    margin: 0;
    flex-grow: 1;
    opacity: 0.9;
 }
 
 
 #heading, #heading:visited {
    text-decoration: none;
    color: whitesmoke;
 }
 
 
 .nav-links {
    display: flex;
    align-items: center;
    position: absolute;
    right: 10px;
 }
 
 
 .nav-links a {
    margin: 0 15px;
    text-decoration: none;
    color: whitesmoke;
    font-weight: bold;
    text-transform: uppercase;
 }
 
 
 .nav-links a:hover {
    color: #1A1A1A;
    background-color: whitesmoke;
 }
 
 
 /* Paragraph Styling */
 p {
    max-width: 800px; /* Limit the width for better readability */
    margin: 20px auto; /* Center the paragraphs and add spacing */
    padding: 0 20px; /* Padding to add space around text */
    line-height: 1.6; /* Line height for improved readability */
    text-align: justify; /* Justify text for better distribution */
 }
 
 
 h2, h3, h4 {
    display: flex;
    justify-content: center;
 }
 
 
 .artworks {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
 }
 
 
 .artwork-item {
    position: relative;
    margin: 15px;
    width: 250px;
    height: 250px;
    border: 1px solid #1A1A1A;
    overflow: hidden;
 }
 
 
 .artwork-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
 }
 
 
 .artwork-item img:hover {
    background-color: #1a1a1add;
    opacity: 0.2;
 }
 
 
 .footer {
    border-top: 1px solid #ddd;
    position: relative;
    bottom: 0;
    width: 100%;
    text-align: center;
    padding: 20px;
 }
 
 
 /* Media Queries for Responsive Design */
 
 
 /* For tablets (screen width 768px and smaller) */
 @media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: center;
    }
 
 
    .heading {
        font-size: 24px;
    }
 
 
    .nav-links {
        display: flex;
        flex-direction: column;
        width: 100%;
        text-align: center;
        padding-top: 10px;
    }
 
 
    .nav-links a {
        margin: 0 10px;
        font-size: 14px;
        padding: 10px;
    }
 
 
    p {
        max-width: 90%; /* Adjust width for smaller screens */
    }
 }
 
 
 /* For mobile phones (screen width 480px and smaller) */
 @media (max-width: 480px) {
    .navbar {
        padding: 15px;
    }
 
 
    .heading {
        font-size: 20px;
    }
 
 
    .nav-links a {
        font-size: 12px;
        margin: 0 8px;
    }
 
 
    .artworks {
        flex-direction: column;
        align-items: center;
        padding: 5px;
    }
 
 
    .artwork-item {
        width: 150px;
        height: 150px;
        margin: 10px 0;
    }
 
 
    .footer {
        padding: 10px;
        font-size: 14px;
    }
 
 
    h4 {
        font-size: 12px;
    }
 
 
    p {
        max-width: 100%; /* Full width for mobile devices */
        padding-left: 10px;
        padding-right: 10px;
    }
 }