* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    background: #111111;
    color: #e5e5e5;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

#container {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;
}

#redirectCard {
    width: 100%;
    max-width: 460px;

    padding: 48px;

    text-align: center;

    background: #181818;
    border: 1px solid #292929;
    border-radius: 14px;

    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.4),
        0 16px 40px rgba(0, 0, 0, 0.25);
}

.brand {
    color: #a0a0a0;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.22em;
}

.divider {
    width: 32px;
    height: 1px;

    margin: 28px auto;

    background: #444444;
}

h1 {
    margin: 0 0 12px;

    color: #f0f0f0;

    font-size: 24px;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.message {
    margin: 0;

    color: #858585;

    font-size: 14px;
    line-height: 1.7;
}

#countdown {
    display: inline-block;

    min-width: 1.2em;

    color: #d5d5d5;
    font-weight: 600;
}

.redirectLink {
    display: inline-block;

    margin-top: 28px;

    color: #bdbdbd;

    font-size: 14px;
    font-weight: 500;

    text-decoration: none;

    transition:
        color 150ms ease,
        transform 150ms ease;
}

.redirectLink:hover {
    color: #ffffff;
}

.redirectLink span {
    display: inline-block;
    margin-left: 4px;

    transition: transform 150ms ease;
}

.redirectLink:hover span {
    transform: translateX(3px);
}

.progressTrack {
    height: 2px;

    margin-top: 36px;

    overflow: hidden;

    background: #292929;
    border-radius: 2px;
}

#progressBar {
    width: 100%;
    height: 100%;

    background: #777777;

    transform-origin: left;
    animation: countdown 5s linear forwards;
}

@keyframes countdown {
    from {
        transform: scaleX(1);
    }

    to {
        transform: scaleX(0);
    }
}

@media (max-width: 520px) {
    #redirectCard {
        padding: 40px 28px;
    }
}