/* ===========================
   Fonts
=========================== */

@font-face {
    font-family: "Geist";
    src: url("assets/fonts/Geist-Regular.ttf") format("truetype");
    font-weight: 400;
}

@font-face {
    font-family: "Geist";
    src: url("assets/fonts/Geist-Medium.ttf") format("truetype");
    font-weight: 500;
}

@font-face {
    font-family: "Geist";
    src: url("assets/fonts/Geist-SemiBold.ttf") format("truetype");
    font-weight: 600;
}

/* ===========================
   Reset
=========================== */

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

html {
    font-size: 16px;
}

body {
    min-height: 100vh;
    background: #FFFFFF;
    color: #111111;
    font-family: "Geist", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: #5B2EFF;
    color: #FFFFFF;
}

/* ===========================
   Layout
=========================== */

.hero {
    min-height: 100vh;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    padding: 2rem;

    transform: translateY(-6%);

    animation: fadeIn .7s ease;
}

/* ===========================
   Logo
=========================== */

.logo-container {
    margin-bottom: 3rem;
}

.logo {
    width: 80px;
    height: 80px;
    display: block;

    user-select: none;
    -webkit-user-drag: none;

    transition: transform .25s ease;
}

.logo.rotate {
    transform: rotate(90deg);
}

/* ===========================
   Headline
=========================== */

.headline {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.static {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    letter-spacing: -.05em;

    color: #6B7280;

    margin-bottom: 1rem;
}

.dynamic-wrapper {
    width: min(650px, 90vw);
    min-height: 3em;

    display: flex;
    justify-content: center;
    align-items: flex-start;

    text-align: center;
}

.dynamic {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    letter-spacing: -.05em;
    line-height: 1.15;

    transition:
        opacity .25s ease,
        transform .25s ease;

    opacity: 1;
}

.dynamic.fade-out {
    opacity: 0;
    transform: translateY(8px);
}

/* ===========================
   Footer
=========================== */

.footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 1.5rem;

    text-align: center;

    font-size: .75rem;
    font-weight: 400;
    letter-spacing: -.01em;

    color: #9CA3AF;

    pointer-events: none;
}

/* ===========================
   Animations
=========================== */

@keyframes fadeIn {

    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}