body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #131c28;
    background-size: cover;
    background-position: center;
}

.card {
    padding: 1rem;
    overflow: hidden;
    border-radius: 12px;
    min-width: 344px;
    max-width: 90%;
    margin: auto;
    position: relative;
}

.wrap {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    z-index: 10;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #befdfc;
    animation: glow 2s infinite alternate;
    background: rgba(0, 0, 0, 0.7);
}

@keyframes glow {
    from {
        box-shadow: 0 0 5px #befdfc, 0 0 10px #befdfc66;
    }
    to {
        box-shadow: 0 0 15px #befdfc, 0 0 30px #befdfc66;
    }
}

.terminal {
    display: flex;
    flex-direction: column;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
      "Liberation Mono", "Courier New", monospace;
}

.head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 40px;
    padding-inline: 12px;
    background-color: #202425;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.title {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 2.5rem;
    user-select: none;
    font-weight: 600;
    color: #8e8e8e;
}

.title .icon {
    width: 16px;
    height: 16px;
    filter: brightness(0.7);
}

.copy_toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
    border: 0.65px solid #c1c2c5;
    border-radius: 6px;
    background-color: #202425;
    color: #8e8e8e;
    cursor: pointer;
    transition: all 0.2s;
}

.copy_toggle:hover {
    border-color: #befdfc;
    color: #befdfc;
}

.body {
    display: flex;
    flex-direction: column;
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
    overflow-x: auto;
    padding: 1rem;
    line-height: 19px;
    color: white;
    background-color: rgba(0, 0, 0, 0.8);
    white-space: nowrap;
    position: relative;
}

.body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('img/bg.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: -1;
}

.pre {
    display: flex;
    align-items: center;
    font-size: 16px;
}

.pre code:nth-child(1) {
    color: #575757;
}

.pre code:nth-child(2) {
    color: #c2fefd;
}

.cmd {
    height: 19px;
    position: relative;
    display: flex;
    align-items: center;
}

.cmd::before {
    content: attr(data-cmd);
    position: relative;
    white-space: nowrap;
    overflow: hidden;
    animation: inputs 8s steps(22) infinite;
}

.cmd::after {
    content: "";
    height: 100%;
    border-right: 0.15em solid #bbfdfe;
    animation: cursor 0.5s step-end infinite alternate;
    transition: all 0.2s ease;
}

@keyframes inputs {
    0%,
    100% {
        width: 0;
    }
    10%,
    90% {
        width: 58px;
    }
    30%,
    70% {
        width: 215px;
    }
}

@keyframes cursor {
    50% {
        border-right-color: transparent;
    }
}