:root {
    --text-color: #6666FF;
    /* Linkp Blue */
}

@font-face {
    font-family: 'Avenir Next';
    src: url('fonts/AvenirNextLTPro-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Avenir Next';
    src: url('fonts/AvenirNextLTPro-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url('bg.svg') no-repeat center center fixed;
    background-size: cover;
    font-family: 'Avenir Next', sans-serif;
    overflow: hidden;
}

.container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    position: relative;
}

#textCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.hidden-logo {
    opacity: 0;
    transition: opacity 1.5s ease-in;
    width: 80%;
    max-width: 300px;
    z-index: 5;
}

.hidden-logo.visible {
    opacity: 1;
}

.hidden-logo.fade-out {
    opacity: 0;
}

.hidden-phrase {
    opacity: 0;
    transition: opacity 2s ease-in;
    position: absolute;
    /* Overlap or just appear in place */
    top: 50%;
    transform: translateY(-50%);
    width: 90%;
    max-width: 800px;
    color: var(--text-color);
    z-index: 6;
    letter-spacing: 1px;
    text-align: center;
    margin: 0;
    line-height: 1.2;
    /* Default Desktop Size */
    font-size: 40px;
}

.text-light {
    font-weight: normal;
    /* Maps to AvenirNextLTPro-Regular */
}

.text-bold {
    font-weight: bold;
    /* Maps to AvenirNextLTPro-Bold */
}

/* Tablet */
@media (max-width: 1023px) {
    .hidden-phrase {
        font-size: 32px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .hidden-phrase {
        font-size: 24px;
    }
}

.hidden-phrase.visible {
    opacity: 1;
}

.chain-logo {
    width: 100%;
    height: auto;
}