@font-face {
    font-family: 'Tech Mono';
    src: url(assets/fonts/share-tech-mono.woff2);
}

@font-face {
    font-family: 'Montserrat';
    src: url(assets/fonts/Montserrat/Montserrat-VariableFont_wght.ttf);
}

*,
*:after,
*:before {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    --bg-color: hsl(0, 0%, 8%);
    --secondary-color: hsl(0, 5%, 88%);
    --text-color: hsl(180, 5%, 87%);
    --accent-color: hsl(265, 30%, 25%);
    --secondary-accent-color: hsl(279, 57%, 77%);
    --highlight-color: hsl(334, 41%, 31%);
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
}

input {
    cursor: text;
}

body {
    position: relative;
    background: var(--bg-color);
    color: var(--text-color);
    font-size: 18px;
    line-height: 2rem;
    font-weight: 500;
    font-family: 'Tech Mono', 'Montserrat', Arial, sans-serif;
    width: 100vw;
    min-height: 100vh;
    overflow-x: hidden;
    scroll-behavior: smooth;
    cursor: none;
    display: grid;
    place-items: center;
}

a {
    text-decoration: none;
}

::-webkit-scrollbar {
    width: 0;
}

.hidden {
    display: none !important;
}


/* START MAIN STYLES */

.unicorn-embed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    user-select: none;
    z-index: -1;
    transition-duration: 0s;
}

.content {
    position: relative;
    width: 100%;
    min-height: 100vh;
    max-width: 800px;
    padding: 4em 2em 10em 2em;
    overflow: hidden;
}

.header-text {
    font-size: clamp(1.75em, 4vw, 3em);
}

.background {
    padding: 3em clamp(0em, 4%, 2em);
    text-align: justify;
}

.cta {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 3em;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 3em;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(35px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 80px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: clamp(1em, 2vw, 1.15em);
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient( 90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
}

.cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient( 180deg, rgba(87, 87, 87, 0.8), transparent, rgba(28, 28, 28, 0.3));
}

.links {
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 2em;
    width: 90%;
}

.links a {
    flex-grow: 1;
    flex-basis: 0;
    background: var(--bg-color);
    border: 1px solid var(--accent-color);
    opacity: .25;
    padding: 1em 1.5em;
    border-radius: 10px;
    text-align: center;
    font-size: .8em;
    transition: all .23s ease;
}

.links a:hover {
    opacity: .8;
}

.footer {
    position: absolute;
    cursor: pointer;
    width: 100%;
    text-align: center;
    font-size: .75em;
    left: 0;
    bottom: 0;
    padding: 2em;
    margin-top: 5vh;
    transform: translateY(100%);
    transition-duration: 0.3s;
    transition-timing-function: ease-in-out;
    z-index: 1000;
}

.footer-on {
    transform: translateY(0);
}


/* START TOOLTIP STYLES */

[tooltip] {
    position: relative;
}

[tooltip]::before,
[tooltip]::after {
    text-transform: none;
    font-size: 1em;
    line-height: 1;
    user-select: none;
    pointer-events: none;
    position: absolute;
    display: none;
    opacity: 0;
}

[tooltip]::before {
    content: '';
    border: 5px solid transparent;
    z-index: 1001;
}

[tooltip]::after {
    content: attr(tooltip);
    font-family: 'Montserrat', Arial, sans-serif;
    text-align: center;
    min-width: 3em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 1.5ch 1.75ch;
    border-radius: .3ch;
    box-shadow: 0 1em 2em -.5em rgba(83, 83, 83, 0.35);
    background: var(--bg-color);
    color: var(--text-color);
    z-index: 1000;
}

[tooltip]:hover::before,
[tooltip]:hover::after {
    display: block;
    opacity: 1;
}

[tooltip='']::before,
[tooltip='']::after {
    display: none !important;
}

[tooltip]:not([flow])::before,
[tooltip][flow^="up"]::before {
    bottom: 100%;
    border-bottom-width: 0;
    border-top-color: var(--bg-color);
}

[tooltip]:not([flow])::after,
[tooltip][flow^="up"]::after {
    bottom: calc(100% + 5px);
}

[tooltip]:not([flow])::before,
[tooltip]:not([flow])::after,
[tooltip][flow^="up"]::before,
[tooltip][flow^="up"]::after {
    left: 50%;
    transform: translate(-50%, -.5em);
}