
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: rgb(169, 252, 153);
}

header {
    text-align: center;
    padding: 20px 0;
    background-color: hsl(49, 94%, 52%);
    margin-bottom: 20px;
}

h1 {
    color: #2c3e50;
    text-shadow:
        2px 2px 4px red;
}

nav ul {
    list-style-type: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 10px;
}

nav ul li a {
    text-decoration: none;
    color: blue;
}

.filter-container {
    margin-bottom: 20px;
}

.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%;
}



