:root {
    --color-ivory: #FDF5E6;
    --color-dark-brown: #4B3621;
}

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

body {
    background-color: var(--color-ivory);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.logo-container {
    width: 90vw;
    max-width: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.animated-logo {
    width: 100%;
    height: auto;
    display: block;
}

.logo-text-svg {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 64px;
    font-weight: 600;
    fill: var(--color-dark-brown);
}

.anim-branch-in {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: drawLine 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.5s forwards;
}

.anim-branch-out {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: drawLine 1.2s cubic-bezier(0.4, 0, 0.2, 1) 1.9s forwards;
}

.anim-commit-base {
    transform-origin: 130px 40px;
    transform: scale(0);
    animation: pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 1.5s forwards;
}

.anim-commit-glow {
    transform-origin: 130px 40px;
    transform: scale(0);
    opacity: 0;
    animation:
        pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 1.5s forwards,
        fadeIn 0.6s ease-in-out 1.9s forwards;
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes pop {
    0% {
        transform: scale(0);
    }

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

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}