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

body {
    background: white;
    /* color: greenyellow; */
    font-family: sans-serif;
}

#beat-one {
    display: flex;
    justify-content: center;
    align-items: center;    
    position: fixed;
    width: 100vw;
    height: 100vh;
}

#beat-two {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: none;
    width: 100vw;
    height: 100vh;
}

#project-overlay {
    position: absolute;
    width: 80vw;
    max-width: 1400px;
    margin: auto;
    background: rgba(119, 146, 236, 0.65);
    inset: 6em;
    z-index: 10;
    display: none;
    overflow-y: auto;
    overflow-x: hidden; 
    scrollbar-width: none;;
    padding: 2rem;
    backdrop-filter: blur(6px);

}

#project-overlay.visible {
    display: block;
    justify-content: center;
    align-items: center; 
}

.project-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem;
    font-size: 1.2rem;
    padding: 3rem;

}

.project-body {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 3rem;
    align-items: start;
}

#about-overlay {
    position: absolute;
    width: 80vw;
    max-width: 1400px;
    margin: auto;
    background: rgba(119, 146, 236, 0.65);
    inset: 6em;
    z-index: 10;
    display: none;
    overflow-y: auto;
    overflow-x: hidden; 
    scrollbar-width: none;;
    padding: 2rem;
    backdrop-filter: blur(6px);
}

#about-overlay.visible {
    display: block;
}

#about-bio {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

#about-bio p {
    margin: 0;
}

@media (max-width: 1200px) {
  .project-header {
    grid-template-columns: 1fr;
    margin-bottom: 2rem !important;
  }

  .project-media {
    grid-column: 1 !important;
    width: 100%;
    min-width: 0;
  }

  .project-body {
    grid-template-columns: 1fr;
  }

  .project-sidebar {
    position: static !important;
    top: auto;
    margin-bottom: 4rem;
    /* font-size: 1.2rem; */
  }
  
  .sidebar-elements {
    height: 100% !important;
}

}


.project-media img {
    margin-bottom: 2rem !important;
}

#role, #credits {
    /* border-top: solid;
    border-width: 1px;
    border-color:  rgb(0, 0, 0); */
    padding-top: 4rem;
    padding-top: 1rem;
}

 .project-media img {
    width: 100%;
    object-fit: contain;
    height: auto;
    display: block;
    margin-bottom: 2rem;
}

.video-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
}



.project-description,
.project-media {
    min-width: 0;
}

#project-description p {
    margin-bottom: 1em;
}

#project-vimeo iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16/9;
    height: auto;
    border: 0;
}

#project-vimeo {
    grid-column: 2;
    width: 100%;
    min-width: 0;
}

#project-vimeo:empty {
    display: none;
}

.project-media video {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 2rem;
}

.media-caption {
    font-size: 1rem;
    margin-left: auto !important;
    color: rgba(13, 8, 31, 0.8);
    margin-bottom: 2rem;
    text-align: right;
}

.project-sidebar {
    position: sticky;
    top: 2rem;
    align-self: start;
    font-size: 1.2rem;
}

.sidebar-elements:empty {
    display: none;
}

.sidebar-elements {
    padding: 2rem;
}



.sidebar-elements p {
    /* margin-bottom: .5rem; */
    padding: 0;
}

.sidebar-elements h4 {
    margin-bottom: 1rem;
    font-style: normal;
    font-weight: normal;
    border-bottom: 1px solid black;
}

nav {
     background: transparent !important;
    position: fixed;
    bottom: 2rem;
    top: 2rem;
    right: 2rem;
    z-index: 100;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
}


.menu-toggle img {
    width: 8rem;
    height: 8rem;
    display: block;
    object-fit: contain;
    animation: sigilGlow 5s ease-in-out infinite;
}

.menu-toggle:hover img{
    filter: brightness(0) saturate(100%) invert(19%) sepia(99%) saturate(7490%)  hue-rotate(359deg) brightness(103%) contrast(116%) drop-shadow(6px 6px 3px rgb(0, 0, 0)) !important;

    /* animation: none;  */
}

@keyframes sigilGlow {
    0% {
        filter: drop-shadow(1px 1px 1px rgb(167, 251, 0));
    }

    50% {
        filter: drop-shadow(4px 4px 4px rgb(25, 0, 247));
    }

     100% {
        filter: drop-shadow(4px 4px 4px rgb(213, 208, 255));
    }
}

.menu-toggle {
    background: transparent;
    cursor: pointer;
    position: fixed;
    left: auto !important;
    right: 1rem !important;
    bottom: 1rem !important;
    z-index: 102;
}



.spatial-label {
    position: fixed;
    z-index: 9999;
    font-size: 1.4rem;
    pointer-events: none;
    width: max-content !important;
    height: auto;
    display: none;
    background-color:rgb(251, 251, 253, 0.5);
    padding: 1rem !important;
}

.spatial-label-title,
.spatial-label-meta {
    position: static;
    display: block;
}

.spatial-label-title {
    font-style: italic;
}


#about-exhibition-list p,
#about-talks-list p {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
}

.exhibition-year,
.talk-year {
    margin-right: 3rem;
}

.exhibition-title,
.talk-title {
    font-style: italic;
    white-space: nowrap;
}

.exhibition-venue,
.talk-venue {
    white-space: nowrap;
    margin-left: 0.25rem;
}

.exhibition-location,
.talk-location {
    margin-left: auto !important;
    text-align: right !important;
}

.exhibition-info,
.talk-info {
    display: flex;
    flex-wrap: wrap;
    flex: 1;
    min-width: 0;
}

#selected-exhibitions,
#selected-talks,
#contact-section {
    margin-top: 3rem;
}
