* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
	font-family: 'Arcade';
	src: url('fonts/arcade.ttf') format('truetype');
}
@font-face {
	font-family: 'pixeldead';
	src: url('fonts/pixeldead.ttf') format('truetype');
}

@font-face{
	font-family: 'commodore';
	src: url('fonts/commodore.ttf') format('truetype');
}

body {
    font-family:'Arcade', Georgia, 'Times New Roman', serif;
    background-image: url(images/gingham3.png);     
    color: #222;
    line-height: 1.6;
}

a {
    color: #fff;
    text-decoration: none;
}

a:hover {
    color: #ae22c7;
}

/* Header */
.site-header {
    text-align: center;
    padding: 40px 20px 20px;
}

.site-header h1 {
    font-size: 2.4rem;
    letter-spacing: 2px;
}

.site-header h1 a {
    color: #F7EC09;
}

.site-header h1 a:hover {
    color: #565eff;
}

/* Navigation */
nav {
    background-image: url(images/pixelclouds3.png);
    background-repeat: no-repeat;
    background-size: 100%;
    border:5px solid white; 
    text-align: center;
    padding: 10px 20px 10px;
}

nav a {
    margin: 0 15px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.navigation-item img {
        
	width: 30px;
	height: 30px;
	vertical-align:middle;
}


/* Main Content */
.content {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

/* Hero */
.hero {
    text-align: center;
    margin-bottom: 40px;
}

.hero img {
    max-width: 88%;
    height: auto;
}

/* Buttons / External Links */
.external-links {
    text-align: center;
    margin: 30px 0;
}

.external-links a {
    display: inline-block;
    background: #5ea7e2;
    color: #fff ;
    padding: 10px 10px;
    box-shadow:
   	0px 8px 0px 0px #5698ce,
        0px 8px 0px 0px #4479a4;
    margin: 5px 8px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.3s;
}

.external-links a:hover {
    background: #ae22c7;
    color: #fff;
}

/* Events */
.events {
    margin: 40px 0;
    background-color: #67b7f8;
}

.events h2 {
    text-align: center;
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event {
    font-family: 'commodore';
    text-align: right;
    background: #9acaf5;	
    font-size:0.8rem;
    padding-right: 10%;
    margin-bottom: 15px;
}

.event a {
    color: #fff;
    font-weight: bold;
}

.event .location {
    color: #e9f2fa;
    font-style: bold;
}

/* Social Links */
.social {    
    text-align: center;
    margin: 30px 0;
}

.social a {
    display:inline-block;
    background: #62aeec;
    padding: 5px 10px;   
    border: 4px solid #e9f2fa;
    box-shadow:
   	4px 4px 0px 0px #5698ce,
        8px 8px 0px 0px #4479a4;	
    margin: 0 10px;
    font-size: 0.7rem;
    text-transform: uppercase;
    cursor: pointer;
}
.social a:hover {
    background: #ae22c7;
    color: #fff;
}

/* Archives */
.archives {
    margin: 50px 0;
    text-align: center;
}

.archives h2 {
    color: #eaf3fb;	
    font-size: 1.4rem;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.archive-grid {
    
    margin:0;	
    display: flex; 
    flex-wrap:wrap ;
    justify-content:space-between;
    gap: 10%;
}

.archive-item {
    text-align: center;
    width: 150px;
 
}

.archive-item img {
    
    width: 64px;
    height: 64px;
    
}

.archive-item p {
    margin-top: 0px;
    font-size: 0.75rem;
 
}

/* Page Title */
.page-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 30px;
}

/* Gallery */
.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.gallery-item {
    text-align: center;
    max-width: 400px;
}

.gallery-item img {
  	
    max-width: 100%;
    height: auto;
}

.gallery-item p {
    margin-top: 8px;
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
}

/* Artwork Gallery - year labels */
.artwork-gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin: 30px 0;
}

.artwork-piece {
    text-align: center;
    border: 5px solid white;
    max-width: 700px;
}

.artwork-piece img {
    max-width: 100%;
    height: auto;
}

.artwork-piece .year {
    font-size: 1.1rem;
    margin-top: 10px;
    color: #444;
}

/* Digital Art descriptions */
.digital-piece {
    max-width: 700px;
    margin: 0 auto 40px;
    text-align: center;
}

.digital-piece img {
    max-width: 100%;
    height: auto;
}

.digital-piece h3 {
    margin-top: 12px;
    font-size: 1.2rem;
}

.digital-piece p {
    margin-top: 8px;
    color: #555;
    font-size: 0.95rem;
}

/* Event page */
.event-description {
    max-width: 700px;
    margin: 0 auto 30px;
    text-align: center;
}

.event-description p {
    margin-bottom: 15px;
    background: #5ca3dd;
    font-size: 1rem;
    color: #444;
}

.event-description img {
    max-width: 100%;
    height: auto;
    margin: 15px 0;
}

/* Footer */
footer {
    font-family:'pixeldead';
    text-align: center;
    padding: 40px 20px;
    font-size: 1.2rem;
    color: #9ed1fb;
    border-top: 1px solid #eee;
    margin-top: 40px;
}

/* Responsive */
@media (max-width: 600px) {
    nav a {
        display: block;
        margin: 8px 0;
    }

    .archive-grid {
        gap: 15px;
    }

    .archive-item {
        width: 120px;
    }
}
