body,
html {
    padding: 0;
    margin: 0;
    font-family: Tahoma;
    font-weight: 400;
    overflow: hidden;
}

.writing {
    width: 320px;
    height: 200px;
    background-color: #3f3f3f;
    border: 1px solid #bbbbbb;
    border-radius: 6px 6px 4px 4px;
    position: relative;
}

.writing .topbar {
    position: absolute;
    width: 100%;
    height: 12px;
    background-color: #f1f1f1;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.writing .topbar div {
    height: 6px;
    width: 6px;
    border-radius: 50%;
    margin: 3px;
    float: left;
}

.writing .topbar div.green {
    background-color: #60d060;
}

.writing .topbar div.red {
    background-color: red;
}

.writing .topbar div.yellow {
    background-color: #e6c015;
}

.writing .code {
    padding: 15px;
}

.writing .code ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.writing .code ul li {
    background-color: #9e9e9e;
    width: 0;
    height: 7px;
    border-radius: 6px;
    margin: 10px 0;
}

.container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    /* height: 100vh; */
    width: 100%;
    -webkit-transition: -webkit-transform .5s;
    transition: -webkit-transform .5s;
    transition: transform .5s;
    transition: transform .5s, -webkit-transform .5s;
}

.stack-container {
    position: relative;
    width: 420px;
    height: 210px;
    -webkit-transition: width 1s, height 1s;
    transition: width 1s, height 1s;
}

.pokeup {
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
}

.pokeup:hover {
    -webkit-transform: translateY(-10px);
    transform: translateY(-10px);
    -webkit-transition: .3s ease;
    transition: .3s ease;
}


.error {
    width: 400px;
    padding: 40px;
    text-align: center;
}

.error h1 {
    font-size: 125px;
    padding: 0;
    margin: 0;
    font-weight: 700;
}

.error h2 {
    margin: 0px 0 0 0;
    padding: 0px;
    font-size: 47px;
    letter-spacing: 12px;
}

.perspec {
    -webkit-perspective: 1000px;
    perspective: 1000px;
}

.writeLine {
    -webkit-animation: writeLine .4s linear forwards;
    animation: writeLine .4s linear forwards;
}

.explode {
    -webkit-animation: explode .5s ease-in-out forwards;
    animation: explode .5s ease-in-out forwards;
}

.card {
    -webkit-animation: tiltcard .5s ease-in-out 1s forwards;
    animation: tiltcard .5s ease-in-out 1s forwards;
    position: absolute;
}

@-webkit-keyframes tiltcard {
    0% {
        -webkit-transform: rotateY(0deg);
        transform: rotateY(0deg);
    }

    100% {
        -webkit-transform: rotateY(-30deg);
        transform: rotateY(-30deg);
    }
}

@keyframes tiltcard {
    0% {
        -webkit-transform: rotateY(0deg);
        transform: rotateY(0deg);
    }

    100% {
        -webkit-transform: rotateY(-30deg);
        transform: rotateY(-30deg);
    }
}

@-webkit-keyframes explode {
    0% {
        -webkit-transform: translate(0, 0) scale(1);
        transform: translate(0, 0) scale(1);
    }

    100% {
        -webkit-transform: translate(var(--spreaddist), var(--vertdist)) scale(var(--scaledist));
        transform: translate(var(--spreaddist), var(--vertdist)) scale(var(--scaledist));
    }
}

@keyframes explode {
    0% {
        -webkit-transform: translate(0, 0) scale(1);
        transform: translate(0, 0) scale(1);
    }

    100% {
        -webkit-transform: translate(var(--spreaddist), var(--vertdist)) scale(var(--scaledist));
        transform: translate(var(--spreaddist), var(--vertdist)) scale(var(--scaledist));
    }
}

@-webkit-keyframes writeLine {
    0% {
        width: 0;
    }

    100% {
        width: var(--linelength);
    }
}

@keyframes writeLine {
    0% {
        width: 0;
    }

    100% {
        width: var(--linelength);
    }
}

@media screen and (max-width: 1000px) {
    .container {
        -webkit-transform: scale(.85);
        transform: scale(.85);
    }
}

@media screen and (max-width: 850px) {
    .container {
        -webkit-transform: scale(.75);
        transform: scale(.75);
    }
}

@media screen and (max-width: 775px) {
    .container {
        -ms-flex-wrap: wrap-reverse;
        flex-wrap: wrap-reverse;
        -webkit-box-align: inherit;
        -ms-flex-align: inherit;
        align-items: inherit;
    }
}

@media screen and (max-width: 370px) {
    .container {
        -webkit-transform: scale(.6);
        transform: scale(.6);
    }
}

.K2_CBox {
    position: relative;
    background: #3f3f3f;
    width: 55%;
    border-radius: 6px;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    padding: 10px;
    margin: 0px 400px 0px;
    height: 40%;
}

.K2_CBox .CB_Heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px
}

.K2_CBox .CB_Heading span {
    margin: 0;
    font-weight: 700;
    font-family: inherit;
    font-size: 1.1rem
}

.K2_CBox .C_box_main {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    padding: 12px;
    outline: 0;
    border: 0;
    border-radius: 50%;
    background: #004cbd;
    transition: all .3s ease;
    -webkit-transition: all .3s ease
}

.K2_CBox .C_box_main:hover {
    opacity: .8
}

.K2_CBox .C_box_main .CBox_icn {
    flex-shrink: 0;
    display: inline-block;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23fefefe' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' viewBox='0 0 24 24'><rect x='5.54615' y='5.54615' width='16.45385' height='16.45385' rx='4'/><path d='M171.33311,181.3216v-8.45385a4,4,0,0,1,4-4H183.787' transform='translate(-169.33311 -166.86775)'/></svg>");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center
}

.K2_CBox .C_box_main.copied {
    background: #2dcda7
}

.K2_CBox .C_box_main.copied .CBox_icn {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23fefefe' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' viewBox='0 0 24 24'><path d='M22 11.07V12a10 10 0 1 1-5.93-9.14'/><polyline points='23 3 12 14 9 11'/></svg>")
}

.K2_CBox pre {
    margin: 3px;
    background: #f6f6f6;
    padding: 15px;
    border-radius: 5px;
    color: #08102b;
    font-size: .8rem;
    font-family: monospace;
    overflow: scroll;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    white-space: pre-wrap;
    overflow-x : auto;
    overflow-y : auto;
    height: 68%;
    width: 96%;
}

.K2_CBox pre::before,
.K2_CBox pre::after {
    content: ''
}

.dark-Mode .K2_CBox {
    background: #2d2d30
}

.dark-Mode .K2_CBox pre {
    background: #252526;
    color: #fffdfc
}

.tNtf span {
    position: fixed;
    left: 24px;
    bottom: -70px;
    display: inline-flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    margin-bottom: 20px;
    z-index: 99981;
    background: #323232;
    color: rgba(255, 255, 255, .8);
    font-size: 14px;
    font-family: inherit;
    border-radius: 3px;
    padding: 13px 24px;
    box-shadow: 0 5px 35px rgba(149, 157, 165, .3);
    opacity: 0;
    transition: all .1s ease;
    animation: slideinwards 2s ease forwards;
    -webkit-animation: slideinwards 2s ease forwards
}

@media screen and (max-width:500px) {
    .tNtf span {
        margin-bottom: 20px;
        left: 20px;
        right: 20px;
        font-size: 13px
    }
}

@keyframes slideinwards {
    0% {
        opacity: 0
    }

    20% {
        opacity: 1;
        bottom: 0
    }

    50% {
        opacity: 1;
        bottom: 0
    }

    80% {
        opacity: 1;
        bottom: 0
    }

    100% {
        opacity: 0;
        bottom: -70px;
        visibility: hidden
    }
}

@-webkit-keyframes slideinwards {
    0% {
        opacity: 0
    }

    20% {
        opacity: 1;
        bottom: 0
    }

    50% {
        opacity: 1;
        bottom: 0
    }

    80% {
        opacity: 1;
        bottom: 0
    }

    100% {
        opacity: 0;
        bottom: -70px;
        visibility: hidden
    }
}

.darkMode .tNtf span {
    box-shadow: 0 10px 40px rgba(0, 0, 0, .2)
}