@font-face {
    font-family: 'ABCOracleGreek';
    src: url('images/ABCOracleGreek-Book-Trial.woff') format('truetype');
}
@font-face {
    font-family: 'Signs Regular';
    src: url('images/SignsTrial-Bold.woff') format('truetype');
}
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    background: black;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.top-gradient, .bottom-gradient {
    position: fixed;
    left: 0;
    width: 100%;
    height: 10vh;
    background: linear-gradient(to bottom, #f9b3ff, transparent);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 20;
}
.top-gradient { top: 0; }
.bottom-gradient {
    bottom: 0;
    background: linear-gradient(to top, #f9b3ff, transparent);
}
.black-bg {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: #fff;
    transition: opacity 0.5s;
    opacity: 1;
    z-index: 10000;
}
.black-bg.hidden {
    opacity: 0; pointer-events: none;
}
.intro-text {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'ABCOracleGreek', sans-serif;
    color: #ffcff7;
    font-size: 4rem;
    line-height: 4rem;
    width: 100%;
    text-align: center;
    z-index: 100000;
    transition: all 0.3s;
    letter-spacing: -0.4rem;
    display: none;
}
.intro-text.hidden { opacity: 0; pointer-events: none; }
.top-text {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Signs Regular', sans-serif;
    color: #ececec;
    cursor: alias;
    font-size: 27vw;
    line-height: 22vw;
    text-align: center;
    transition: all 0.3s;
    z-index: 10000;
    letter-spacing: -0.6rem;
}
.top-text.shrink {
    top: 2.5%;
    color: #fff;
    font-size: 1.3rem;
    line-height: 1.3rem;
    letter-spacing: -0.01rem;
}
.bottom-text {
    position: absolute;
    bottom: 1%; left: 50%;
    transform: translateX(-50%);
    font-family: 'Signs Regular', sans-serif;
    color: #fff;
    cursor: alias;
    font-size: 1.3rem;
    text-align: center;
    z-index: 50;
    letter-spacing: -0.01rem;
}
.overlay-top, .overlay-bottom {
    position: fixed; left: 0; width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    transition: 0.3s cubic-bezier(0.8, 0, 0.58, 1);
}
.overlay-top {
    top: -100%; background: #000; color: #fff; font-family: 'ABCOracleGreek', sans-serif;
    z-index: 40; transition-property: top;
}
.overlay-top .text-container {
    width: 90%;
    font-size: 2.7rem;
    line-height: 2.3rem;
    letter-spacing: -0.25rem;
    cursor: default;
}
.overlay-top .text-container::selection {
    color: #000;
}
.overlay-top.active { top: 0; }
.overlay-top .overlay-link {
    color: #ffcff7;
    text-decoration: underline;
    transition: color 0.25s;
}
.overlay-top .overlay-link:hover{ color: yellow; }
.overlay-bottom {
    bottom: -100%; background: #000; color: #fff;
    flex-direction: column;
    z-index: 30; transition-property: bottom;
}
.overlay-bottom.active { bottom: 0; }
.spotify-container {
  width: min(80vw, 80vh * 16 / 9);
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
.spotify-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  aspect-ratio: 16 / 9;
  display: block;
}
.switch {
    position: absolute; top: 10px; right: 10px;
    width: 40px; height: 20px;
    background: #ccc; border-radius: 50px;
    display: flex; align-items: center; justify-content: space-between;
    padding: 3px; cursor: pointer; z-index: 5000;
}
.switch span {
    width: 20px; height: 20px;
    border-radius: 50%; background: #fff;
    transition: 0.3s;
}
.switch.active span {
    transform: translateX(20px);
    background: #f9b3ff;
}
.textbox {
    position: absolute; top: 40%; left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'ABCOracleGreek', sans-serif;
    letter-spacing: -2.5px; color: #f9b3ff;
    font-size: 2rem; line-height: 2rem; max-width: 20%;
    padding: 7px; border-radius: 5px; text-align: center;
    z-index: 5; display: none; cursor: help;
}
.cursor-dot {
    position: fixed; width: 15px; height: 15px;
    background: red; border-radius: 50%;
    pointer-events: none; z-index: 10000; opacity: 1;
    animation: blink 1s infinite;
}
.site-credit {
    position: fixed;
    bottom: 1.5%;
    right: 12px;
    font-size: 0.7rem;
    color: #ececec;
    font-family: 'ABCOracleGreek', sans-serif;
    opacity: 0.75;
    z-index: 1000;
    user-select: none;
    text-align: right;
    width: auto;
    max-width: 95vw;
    white-space: pre-line;
}
.credit-break {
  display: none;
}
.credit-link {
    color: #ffcff7;
    transition: color 0.2s;
}

.credit-link:hover,
.credit-link:focus {
    color: yellow;
}
.site-credit-2 {
    display: none; /* Hidden by default */
}

@media (max-width: 768px) {
    .credit-break {
        display: block;
        width: 100%;
        height: 0;
        content: "";
    }
    .site-credit {
        display: none;
    }
    .overlay-top {
        flex-direction: column;
    }
    .site-credit-2 {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-top: 4rem; /* space below text-container */
        width: 100%;
        font-size: 0.7rem;
        line-height: 0.7rem;
        color: #ececec;
        font-family: 'ABCOracleGreek', sans-serif;
        z-index: 100;
        text-align: center;
    }
    .site-credit-2 .credit-link {
        color: #ffcff7;
        text-decoration: underline;
    }
    .site-credit-2 .credit-link:hover {
        color: yellow;
    }
    .overlay-top .text-container {
        font-size: 2rem;
        line-height: 1.5rem;
        letter-spacing: -0.2rem;
    }
    .textbox { max-width: 100%; }
    .top-text { letter-spacing: -0.2rem; }
    .intro-text {
        top: 20%; font-size: 2rem; letter-spacing: -0.25rem;
    }
}
@media (max-width: 480px) {
    .site-credit {
        display: none;
    }
    .site-credit-2 {
        margin-top: 0.5rem; /* space below text-container */
    }
    .overlay-top .text-container {
        font-size: 1.8rem;
        line-height: 1.4rem;
        letter-spacing: -0.2rem;
    }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
