
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #000000;

    text-shadow:
        2px 2px 4px rgb(181, 211, 246);
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: rgb(104, 129, 173);
}

header {
    text-align: center;
    padding: 20px 0;
    background-color: hsl(192, 6%, 83%);
    margin-bottom: 20px;
}

h1 {
    color: #2c3e50;
    text-shadow:
        2px 2px 4px rgb(181, 211, 246);
}

nav ul {
    list-style-type: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 10px;
}

nav ul li a {
    text-decoration: none;
    color: rgb(106, 106, 164);
}

.filter-container {
    margin-bottom: 20px;
}


/* New styles for artist profiles */
.artist-profiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.artist-profile {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.artist-profile:hover {
    transform: translateY(-5px);
}

.artist-profile-image-container {
    width: 100%;
    padding-top: 100%;
    /* Create a 1:1 aspect ratio container */
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.artist-profile img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* This will ensure the image covers the area without stretching */

}

.artist-profile h3 {
    margin-top: 0;
    color: #2c3e50;
}

.artist-profile .speciality {
    font-size: 0.9rem;
    line-height: 1.5;
    font-style: italic;
    color: #666;
    margin-bottom: 0.5rem;
}

.artist-profile p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #555;
    flex-grow: 1;
    /* Allow the bio to take up remaining space */
}

.artist-profile a, .artist-profile button.view-work {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background-color: #2c3e50;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    font-family: inherit;
    font-size: inherit;
    border: none;
    cursor: pointer;
}

.artist-profile a:hover, .artist-profile button.view-work:hover {
    background-color: #34495e;
}

.artist-profile .website {
    background-color: #3498db;
    margin-left: 0.5rem;
}

.artist-profile .website:hover {
    background-color: #2980b9;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .artist-profiles {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
        padding: 1rem;
    }

    .artist-profile {
        padding: 1rem;
    }
}


.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    overflow: hidden;
    width: 100%;
    height: 0;
    transition: .5s ease;
}

.gallery-item:hover .overlay {
    height: 100%;
}

.gallery-item .text {
    color: white;
    font-size: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.pagination button {
    margin: 0 5px;
    padding: 5px 10px;
    background-color: #2c3e50;
    color: white;
    border: none;
    cursor: pointer;
}

.pagination button.active {
    background-color: #34495e;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
}

.contact-form label {
    display: block;
    margin-top: 10px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
}

.contact-form button {
    display: block;
    width: 100%;
    padding: 10px;
    margin-top: 20px;
    background-color: #2c3e50;
    color: white;
    border: none;
    cursor: pointer;
}

footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    background-color: #f0dd71;
    border-radius: 5px;
}


.about-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    /* Adjust this value as needed */
    margin: 0 auto;
}

.video-container {
    width: 100%;
    max-width: 500px;
    /* Adjust this value to your preferred video width */
    margin-bottom: 2rem;
}

#artistVideo {
    width: 100%;
    height: auto;
    display: block;
}

.artist-bio {
    width: 100%;
}


/* For mobile responsiveness */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
    }

    .video-container {
        width: 100%;
        margin-bottom: 1rem;
    }
}


.blog-search {
    margin-bottom: 20px;
}

.blog-search input,
.blog-search select,
.blog-search button {
    padding: 5px 10px;
    margin-right: 10px;
}

.blog-post {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.blog-post h2 {
    margin-top: 0;
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    color: #2c3e50;
    text-decoration: none;
    font-weight: bold;
}

.read-more:hover {
    text-decoration: underline;
}

.social-links {
    margin-top: 10px;
}

.social-links a {
    color: #333;
    font-size: 24px;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #2c3e50;
}

.purchase-info {
    margin-top: 2rem;
    padding: 1rem;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.purchase-info h3 {
    margin-bottom: 0.5rem;
}

.artpal-link {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: #2c3e50;
    color: white;
    text-decoration: none;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

.artpal-link:hover {
    background-color: #34495e;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* New styles for the games page */
.games-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.game-item {
    background-color: #f0f0f0;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.game-item:hover {
    transform: translateY(-5px);
}

.game-item h2 {
    margin-top: 0;
}

.game-item a {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #2c3e50;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.game-item a:hover {
    background-color: #34495e;
}

/* Styles for game containers */
.game-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#gameCanvas {
    display: block;
    margin: auto;
    border: 1px solid #000;
}

.game-container h2 {
    text-align: center;
    color: #2c3e50;
}

.game-container button {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
    background-color: #2c3e50;
    color: white;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.game-container button:hover {
    background-color: #34495e;
}

#animation-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: red;
    /* Red background color*/
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    /* Ensure it covers other content */
}

#animation-overlay canvas {
    width: 100%;
    height: 100%;
}


/* Furniture gallery container */
.furniture-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

/* Individual furniture item container */
.furniture-item {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.2s;
    height: 100%;
}

.furniture-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Image container */
.furniture-item .img-container {
    position: relative;
    width: 100%;
    padding-top: 75%;
    /* Default aspect ratio container */
    overflow: hidden;
}

/* Image styling */
.furniture-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* This preserves aspect ratio */
    background-color: #f5f5f5;
    /* Light background for transparent images */
}

/* Item details container */
.item-details {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.item-details h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #333;
}

.item-details p {
    margin: 0;
    color: #666;
    line-height: 1.4;
}

.item-details .price {
    font-weight: bold;
    color: #2c5282;
    margin-top: auto;
}

/* Buy button styling */
.buy-button {
    width: 100%;
    padding: 0.75rem;
    background-color: #2c5282;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 1rem;
}

.buy-button:hover {
    background-color: #2a4365;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .furniture-gallery {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .furniture-gallery {
        grid-template-columns: 1fr;
    }
}








.about-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.video-container {
    width: 100%;
    max-width: 500px;
    margin-bottom: 2rem;
    text-align: center;
    /* Center the image horizontally */
}

.designer-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    /* Optional: adds rounded corners to the image */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Optional: adds a subtle shadow */
}



@media (max-width: 768px) {
    .about-container {
        padding: 10px;
    }

    .video-container {
        max-width: 100%;
    }
}