@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body {
    background: radial-gradient(ellipse at top left,#03045e, rgba(0,0,0,0) 80%), radial-gradient(ellipse at bottom right, #1F1046, rgba(0,0,0,0) 50%), linear-gradient(black, black);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100svh;
    padding: 0; margin: 0;

    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 500;

    overflow: hidden;
}

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

    position: absolute;
    width: 100%;
    height: 100%;
    margin: 0; padding: 0;
    box-sizing: border-box;

    top: 0; left: 0;
    transform: scale(1);
    transition: transform 0.5s cubic-bezier(0.200, 0.000, 0.735, -0.470);
}

.card {
    --accent-color: rgba(0,150,255,.5);

    background: rgba(0,0,0,0.5);
    padding: min(10vw, 100px) min(15vw, 150px);
    box-shadow: 2px 2px 10px #000;
    border: none;
    border-top: 2px var(--accent-color) solid;
    backdrop-filter: blur(10px);

    transition: transform 0.75s cubic-bezier(0.680, -0.550, 0.265, 1.550);
}

.outerwrap.out {
    transform: scale(0);
    pointer-events: none;
}

.bigbtn {
    font-family: "Montserrat", sans-serif;
    padding: 1em 1.5em;
    display: inline-block;
    color: #fff;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    text-shadow: 0 0 15px black;
    -webkit-text-stroke: 2px black;
    paint-order: stroke fill;
    font-weight: 700;
    box-shadow: 0 0 1px 1px #fff;
    transition: box-shadow .5s ease-in-out;
    cursor: pointer;
    background: none;
    border: none;
}

.bigbtn:hover,
.bigbtn:focus {
    box-shadow: 0 0 20px 0px white;
}

.bigbtn:hover,
.bigbtn:focus {
    box-shadow: 0 0 20px 0px white;
}

.bigbtn:active,
.bigbtn:disabled {
    transition: box-shadow 0.1s ease-in-out;
    box-shadow: 0 0 20px 0px black;
}

.bigbtn::after {
    content: '➤';
    margin-left: 1em;
    display: inline-block;
    transform: translateX(0);
    transition: transform 0.25s ease-in-out;
}

.bigbtn:hover::after,
.bigbtn:focus::after,
.bigbtn:disabled::after {
    transform: translateX(1em);
}

.bigbtn::before {
    content: '';
    display: block;
    position: absolute;
    z-index: -1;
    background: linear-gradient(
        to right,
        #e6400e 0%,
        #9366b3 25%,
        #0596cf 50%,
        rgba(0, 0, 255, 0) 100%
    );
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    transform: translateX(-100%);
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.bigbtn:hover::before,
.bigbtn:focus::before,
.bigbtn:disabled::before {
    transform: translateX(0);
}

.bigbtn:disabled {
    pointer-events: none;
}

.bigbtn:disabled::before {
    opacity: 0.3;
}

input[type="text"] {
    margin-bottom: 10px;
    padding: 12px 16px;
    text-align: center;
    font-size: 16px;
}

.disconnectMsg {
    position: absolute;
    display: block;
    width: 100%;
    box-sizing: border-box;
    top: 0; left: 0;
    text-align: center;
    z-index: 999;

    --accent-color: rgba(255,100,100,.5);

    background: rgba(0,0,0,0.5);
    box-shadow: 2px 2px 10px #000;
    border: none;
    border-bottom: 5px var(--accent-color) solid;
    backdrop-filter: blur(10px);

    padding: 1em 20px 1.5em 20px;

    transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(0.550, 0.055, 0.675, 0.190);
}

.disconnectMsg h1, .disconnectMsg p {
    margin: 0;
}

.disconnectMsg p {
    margin-top: 5px;
}

.disconnectMsg.show {
    transform: translateY(0);
    transition: transform 0.5s cubic-bezier(0.215, 0.610, 0.355, 1.000);
}

.disconnectMsg.done {
    --accent-color: rgba(150,255,150,.5);
}

code {
    font-family: 'Consolas', monospace;
}