/* GLOBAL */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: Georgia, Times, 'Times New Roman', serif; 
    background: #fff; 
    overflow-y: auto; 
    transition: background-color 0.5s;
}
#p5-canvas { position: fixed; top: 0; left: 0; z-index: 1; cursor: pointer; }
.content { position: relative; z-index: 2; min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; align-items: center; pointer-events: none; padding: 40px; }
.artist-page .content { pointer-events: auto; }
.artist-page { display: grid; padding: 1vw 3vw 1vw 1vw; }
.main-text { font-size: 18px; text-align: center; padding: 0 20px; }
.main-text > div {margin: 0 auto;}
.main-nav { position: fixed; top: 0; right: 0; display: flex; padding: 1rem; z-index: 6; pointer-events: auto; }
.nav-hoofd { width: 50px; height: 50px; transition: transform 0.2s; }
.nav-hoofd:hover { transform: scale(1.1); }

h1 { font-size: 2.4rem; line-height: 3rem; color: rgb(85, 107, 47); margin-bottom: 1rem; font-weight: 500; margin-left: 1rem; font-family: Helvetica, Arial, sans-serif;}
h2 { text-align: left; font-family: Helvetica, Arial, sans-serif; font-weight: normal;}
p { font-size: 17px; line-height: 1.35; text-align: left; }

footer { margin-top: auto; padding: 1rem; }
footer p { font-size: 14px; color: blue; text-align: center;}

/* CONTACT GRID */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; width: 100%; max-width: 1200px; margin: 2rem auto; padding: 1rem; }
.contact-col { padding: 1rem; line-height: 1.6; font-size: 16px; text-align: left; }
.contact-col p { text-align: left; }
.contact-col a { text-decoration: none; }
.contact-col a:hover { opacity: 0.7; }

/* VOORLOPIGE ARCHIVE/WEBSITE LINK */
.archive-link {
    text-decoration: none;
    color: black;
}

.archive-link:hover {
    color: red;
}



/* AGENDA */
.agenda-list { display: flex; flex-direction: column; width: 100%; }
.agenda-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; align-items: center; padding: 0.8rem 1rem; text-decoration: none; color: inherit; border-bottom: 1px solid rgba(0,0,0,0.05); -webkit-tap-highlight-color: rgba(0,0,0,0.05); transition: backgrounc 0.2s; }
/* .agenda-row { display: block; padding: 0.2rem 1rem; text-decoration: none; color: inherit; }
.agenda-row > div {display: inline;}
.agenda-row > div:not(:last-child)::after {content:",";} */
.agenda-row:hover { background: rgba(0,0,0,0.02); }
.agenda-title { font-weight: 700; }
.agenda-title:hover { opacity: 0; }
.agenda-artist { cursor: pointer; transition: opacity 0.2s; -webkit-tap-highlight-color: transparent; }
.agenda-artist:hover { opacity: 0; }
/* .agenda-date {font-family: 'Courier New', Courier, monospace;}
.agenda-date::after {margin-right: 0.5em;} */

.agenda-row.organizer-camille { border-bottom-color: blue; }
.agenda-row.organizer-camille .agenda-title, .agenda-row.organizer-camille .agenda-date, .agenda-row.organizer-camille .agenda-location, .agenda-row.organizer-camille .agenda-artist { color: blue; }

.agenda-row.organizer-ruben { border-bottom-color: red; }
.agenda-row.organizer-ruben .agenda-title, .agenda-row.organizer-ruben .agenda-date, .agenda-row.organizer-ruben .agenda-location, .agenda-row.organizer-ruben .agenda-artist { color: red; }

.agenda-row.organizer-soetkin { border-bottom-color: darkolivegreen; }
.agenda-row.organizer-soetkin .agenda-title, .agenda-row.organizer-soetkin .agenda-date, .agenda-row.organizer-soetkin .agenda-location, .agenda-row.organizer-soetkin .agenda-artist { color: darkolivegreen; }

.agenda-row.organizer-boegbeeld { border-bottom-color: orange; }
.agenda-row.organizer-boegbeeld .agenda-title, .agenda-row.organizer-boegbeeld .agenda-date, .agenda-row.organizer-boegbeeld .agenda-location, .agenda-row.organizer-boegbeeld .agenda-artist { color: orange; }

.back-row {background: none; border-bottom: 1px solid rgba(255, 165, 0); border-top: 1px solid rgba(255, 165, 0); color: orange; cursor: pointer; padding: 0.5rem 0.5rem; transition: opacity 0.2s;}
.back-btn {background: none; border: none; color: rgb(255, 165, 0); cursor: pointer; padding: 0.5rem 0.5rem; transition: opacity 0.2s;}
.back-btn:hover{opacity: 0.5;}



/* RESPONSIVE */
@media (max-width: 768px) {
	.main-text { font-size: 24px; padding: 0 15px; }
	.content { padding: 15px; }
    .nav-hoofd {width: 40px; height: 40px;}
    h1 {font-size: 1.8rem; line-height: 2.2rem;}
}

@media (max-width: 720px) {
	.agenda-row { 
        grid-template-columns: 1fr;
        padding: 1rem 0.5rem;
        gap:0.3rem;
    }
    .agenda-date, .agenda-location { font-size: 0.8rem; }
    .agenda-title { font-size: 0.95rem;}
	.contact-grid { 
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0.5rem;
    }
    .contact-col{
        padding: 0.5rem;
        font-size: 14px
    }
	.work-detail-images-container { --gallery-height: 40vh; }
    .artist-page {padding: 1vw;}
}

@media (max-width: 480px) {
	.main-text { font-size: 20px; }
    .main-text h1 {font-size: 1.5rem; margin-bottom: 0.5rem;}
    .main-text > div {font-size: 14px !important; padding: 0 10px !important;}
	.work-detail-images-container { --gallery-height: 60vw; }
    .nav-hoofd{width: 35px; height:35px;}
    .main-nav {padding: 0.5rem;}
    h1 {font-size: 1.5rem; line-height: 1.8rem;}
    p {font-size: 14px;}
    footer p { font-size: 10px}
}

