@font-face {
    font-family: 'ChromaST';
    src: url('./fonts/ModernGothic-Light-trial.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

body {
    margin: 0;
    background: #000;
    color: #A4A79E;
    font-family: monospace;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    user-select: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    font-family: 'ChromaST', monospace;
    box-sizing: border-box;
    cursor: default;
    overflow: auto;
}

p {
    margin: 0;
}

main {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100vh;
    position: relative;
}

#container {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000000;
    overflow: visible;
    display: flex;
    justify-content: center;
    align-items: center;
}

.word {
    position: absolute;
    font-size: 4rem;
    mix-blend-mode: difference;
    user-select: none;
    pointer-events: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    z-index: 2;
    transition: transform 0.15s ease;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
    pointer-events: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    transition: opacity 0.3s ease;
}

.flash {
    animation: flashAnim 0.3s ease forwards;
}

@keyframes flashAnim {
    0% {
        opacity: 0.8;
        transform: scale(1.1);
    }

    100% {
        opacity: 0.6;
        transform: scale(1);
    }
}

.flashover {
  pointer-events: none;
}

.header {
    position: fixed;
    height: auto;
    padding: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    z-index: 100;
}

.h-text {
    position: relative;
    font-size: 1rem;
    color: #ffffff;
    text-align: left;
    z-index: 3;
    text-transform: uppercase;
    text-align: left;
}

.footer {
    position: fixed;
    bottom: 0;
    height: auto;
    padding: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    z-index: 999;
}


.flashToggle {
    position: absolute;
    bottom: 0;
    left: 0;
    font-size: 0.90625rem;
    color: #ffffff;
    text-align: right;
    padding: 0.75rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10;

}


.soundToggle {
    position: absolute;
    bottom: 0;
    right: 0;
    font-size: 0.90625rem;
    color: #ffffff;
    text-align: right;
    padding: 0.75rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10;
}

.sound:hover {
    color: #ffffff;
}

.sound.on {
    color: #ffffff;
}

.sound.on:hover {
    color: #ffffff;
}

a {
    color: inherit;
    text-decoration: none;
}
a:hover {
    color: #A4A79E;
    transition: color 0.3s ease-in-out;
}

.overlay {
  position: fixed;
  top: 0;
  opacity: 0;
  left: 0;
  width: 100%;
  min-height: 100%; 
  max-height: 100%; 
  z-index: 10;
  display: none;
  flex-direction: column;
  justify-content: flex-start;
  align-items: start;
  color: #fff;
  transition: top 0.5s ease;
  overflow-y: auto;
  box-sizing: border-box;
}

.overlay.active {
  opacity: 1;
  display: flex;
}

.info-container {
    position: relative;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: 0.75rem;
    padding: 4rem 0.75rem 1.25rem 0.75rem;
    top: 0;
    color: #ffffff;
    flex-grow: 1;
    gap: 0;
}

.bio {
    grid-column: 1 / 7;
    padding-right: 3.75rem;
    top: 0.75rem;
}

.bio p {
    font-size: 1.6rem;
    line-height: 1.25;
    margin: 0;
}

.info {
    border: none;
    grid-column: 7 / -1;
    max-width: 70ch;
    padding: 0;
    position: sticky;
    top: 0.75rem;
    margin: 0;
}

.info p {
    font-size: 0.90625rem;
    line-height: 1.25;
    margin: 0 0 1.5em;
}

@media (max-width: 768px) {
    .info-container {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .bio {
        padding-right: 0;
    }
}