#simulation-container {
    position: relative;
    top: 40px;
	width: 100%;
	height: 330px;
    box-sizing: border-box;
    padding: 2px;
    /* border: 1px solid black; */
}
#isPromptBox,
#isStatusBox,
#isPromptBoxB,
#isStatusBoxB
{
    height: 25px;
    padding-left: 0;
    font-family: underwood, monospace;
    font-size: 0.8rem;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    transition: opacity 0.5s ease;
    margin-bottom: 5px;
}
.killPrompt{
    opacity: 0;
    position: fixed;
    top: -50px;
}

#tranSimBox{
    top: 30%;
    height: 220px;
    height: 100%;
    max-height: 260px;
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: pre;
    scroll-behavior: smooth;
    /* pointer-events: none; */
}
#tranSimBox::-webkit-scrollbar{
    width: 6px;
    height: 5px;
    border-radius: 5px;
    cursor: pointer;
    /* border: 1px outset gray; */
    background-color: rgba(163, 255, 71, 0.433);
}
#tranSimBox::-webkit-scrollbar-thumb{
    background-color: rgba(255, 99, 71);
    border-radius: 5px;
    cursor: grab;
}

#tranSimBox:active::-webkit-scrollbar-thumb{
    cursor: grabbing;
}
/* //// */
.dasSkipButton,
.dasSkipButtonB,
.dasSkipButtonC,
.dasSkipButtonD
{
    width: auto;
    min-width: 50px;
    height: 25px;
    position: fixed;
    /* top: 60px; */
    bottom: 85px;
    /* right: 5px; */
    left: 5px;

    color: wheat;
    background-color: sienna;
    box-shadow: 2px 2px 5px burlywood;
    font-family: source;
    padding: 10px;
    border-radius: 10px;
    transition: opacity 1s ease;
    pointer-events: all;
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: -1px;
    word-spacing: 2px;
}

.hideSkip{
    pointer-events: none;
    opacity: 0;
}
/* .dasSkipButtonD{
    opacity: 1;
} */

/* //// */
.rrz{
    position: sticky;
    height: 10px;
    width: 100%;
    z-index: 1;
}
.rrz0{
    top: 0px;
    left: 0px;
}
/* ///// */

.rrzPeg{
    position: relative;
    top: -250px;
    left: -250px;
    height: 10px;
    transition: all 2s ease-in-out;
}
.pegInPlace{
    top: -85px;
    left: 54%;
}
.pegSentAway{
    top: 100px;
    left: 100%;
}
/* ///// */

.rnaPolymerase{
    position: absolute;
    top: 0;
    left: 0;
    width: 120px;
    height: 160px;
    opacity: 0.8;

    background: 
        radial-gradient(
            circle at 60% 40%,
            #c69c6d, 
            #8b5e3c
        )
    ;
    border-radius: 50% 60% 45% 55% / 55% 40% 60% 50%;
    box-shadow: 
        inset
        -10px -10px 20px rgba(255, 255, 255, 0.1),
        5px 15px 20px rgba(0, 0, 0, 0.3)
    ;
}
.activeEnzyme_rnaP
{
    animation: wobble 10s infinite ease-in-out;
}
.enz_cap,
.prz_cap{
    position: absolute;
    width: 70px;
    height: 70px;
    white-space: nowrap;
    font-family: source;
    font-size: 0.85rem;
}
#rnaP{
    display: flex;
    align-items: center;
    justify-content: center;
    top: 60px;
    left: 25px;
    color: white;
    text-shadow:  1px 1px 1px black;
    font-weight: bold;
    white-space: nowrap;
}

/* ////// */
.prz{
    position: absolute;
    top: 0px;

    margin-left: 58%;
    width: 50px;
    height: 50px;
    transform: scale(1.6);
    transition: all 1s ease-in-out;
}

.przPeg{
    position: relative;
    width: 50px;
    height: 50px;

    transition: 
        all 2s ease-in-out,
        opacity 1s ease-out
    ;
    opacity: 0;
    top: 120px;
    left: -100px;
}
.przPegSet{
    animation: przset 10s linear 0.01s 1 forwards normal;
}
@keyframes przset {
    0%{
        opacity: 0;
        top: 120px;
        left: -100px;
    }
    70%{
        opacity: 1;
        top: 50px;
        left: 70px;
    }
    80%{
        opacity: 1;
        top: 40px;
        left: 50px;
    }
    95%{
        opacity: 0;
        top: 120px;
        left: 120px;
    }
    100%{
        opacity: 0;
        top: 0px;
        left: 0px;
    }
}

.prz_cap{
    position: absolute;
    width: 100%;
    height: 50%;
    top: 60%;
    left: 20%;
    color: rgb(180, 218, 105);
    letter-spacing: -0.5px;
    font-weight: bold;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.75);
    font-size: 0.6rem;
    font-family: source;
    white-space: nowrap;
}
.polyAPolymerase{
    position: absolute;
    top: 0;
    left: 0;
    width: 125%;
    height: 150%;
    opacity: 0.8;

    background: 
        radial-gradient(
            circle at 65% 40%,
            #b4b22b,
            #4bba11,
            #ba95119b
        )
    ;
    border-radius: 78% 90% 75% 75% / 100% 90% 50% 50%;
    box-shadow: 
        inset
        -10px -10px 20px rgba(117, 0, 0, 0.682),
        5px 15px 20px rgba(100, 89, 0, 0.3)
    ;
}
/* ////// */


#isPreMRNA,
#isTemplateStrand,
#isNonTemplateStrand
{
    box-sizing: border-box;
    margin-left: 70%;
    position: relative;
    top: -90px;
    height: 45px;
    width: 200px;
    transition: all 1s ease;
}
@media only screen and (min-width: 950px){
    #isPreMRNA,
    #isTemplateStrand,
    #isNonTemplateStrand{
        margin-left: 58%;
    }
}
#isPreMRNA{
    padding-top: 15px;
}
.preBoxOFF{
    display: none;
}
.preBoxDormant{
    opacity: 0.9;
}
[class*="pre_"]{
    position: relative;
    transition: 
        all 0.65s ease-in-out;
    top: 0;
    left: 0;
}

.preBoxDetach{
    transform: translateX(-150px) translateY(-50px);
}
.rejoinNonTemplateStrand{
    transform: translateX(0px) translateY(45px);
}
.disappearStrand{
    opacity: 0;
}
.spotlight{
    transform: translateX(-250px) translateY(-25px) scale(0.7);
}
.spotlight2{
    /* transform: translateX(-250px) translateY(-25px) scale(0.4); */
    transform: scale(0.3);
}

.freebase{
    position: relative;
    /* top: 10px; */
    top: 150px;
    left: 50px;
    opacity: 0;
}

#isNonTemplateStrand{
    /* border: 1px solid yellowgreen; */
    padding-top: 16px;
}
/* #isTemplateStrand{
    border: 1px solid rebeccapurple;
} */
.nucleotide{
    display: inline-block;
    border: 1px solid silver;
    border-radius: 5px;
    padding: 2px;
    margin-left: 2px;
    background: radial-gradient(
        circle,
        rgb(29, 3, 3), gray
    );
    background-color: black;
    color: white;
    width: 30px;
    height: 30px;
    
    box-sizing: border-box;
    padding: 5px;
    font-size: 0.75rem;
}
.Adenine{
    background: none;
    background-color: green;
    box-shadow: 1px 1px 5px green;
    color: white;
    font-family: monospace;
    border-color: transparent;
}
.Uracil{
    background: none;
    background-color: orangered;
    box-shadow: 1px -1px 2px red;
    color: white;
    font-family: monospace;
}
.Guanine{
    background: none;
    background-color: greenyellow;
    color: black;
    font-family: monospace;
    border: 1px outset gray;
    box-shadow: 1px 1px 5px gray;
}
.Cytosine{
    background: none;
    background-color: pink;
    color: black;
    box-shadow: 1px 1px 5px gray;
    font-family: monospace;
}
.Thymine{
    background: none;
    box-shadow: 1px -1px 2px orangered;
    background-color: Red;
    color: white;
}
.hideBase
{
    opacity: 0;
    background: none;
    background-color: white;
    border: 1px solid black;
}
.nonScribere{
    background: none;
    background-color: transparent;
    transition: 
        all 0.001s linear;

}

/* cascade is IMPORTANT */
[class*="pre_"] p{
    transform: rotateZ(-35deg);
    text-align: center;
    line-height: 0.5;
}
[class*="pre_"]{
    box-sizing: border-box;
    padding: 2px;
    border-radius: 100%;
    border-bottom-left-radius: 75%;
    border-bottom-right-radius: 45%;
    transform: rotateZ(35deg);
}
[class*="rws_"] p{
    transform: rotateZ(35deg);
    text-align: center;
    line-height: 0.5;
}
[class*="rws_"]{
    box-sizing: border-box;
    padding: 2px;
    border-radius: 100%;
    border-top-left-radius: 75%;
    border-top-right-radius: 75%;
    transform: rotateZ(-35deg);
    border-color: transparent;

}

[class*="obv_"] p{
    transform: rotateZ(-35deg);
    text-align: center;
    line-height: 0.5;
}
[class*="obv_"]{
    box-sizing: border-box;
    padding: 2px;

    border-radius: 100%;
    border-bottom-left-radius: 75%;
    border-bottom-right-radius: 45%;
    transform: rotateZ(35deg);
}

.threePrime,
.fivePrime
{
    border-radius: 0px;
    transform: rotateZ(0);
    border: 0;
    border-top-left-radius: 50%;
    border-bottom-left-radius: 50%;
    box-shadow: 5px 0px 5px black;
    z-index: 1;
    position: relative;
    left: 3px;
}
.threePrime p,
.fivePrime p{
    transform: rotateZ(0);
}

.PolyATail
{
    position: relative;
    top: -80px;
    left: 500%;
    z-index: -1;

    width: 155px;
    height: 155px;

    display: flex;
    white-space: pre;
    gap: 0;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 5px;
    border-radius: 25px;
    transform: scale(0.9) rotateY(25deg) skewY(5deg);
    overflow: hidden;

}
.PolyATail div{
    border-radius: 68%;
    border-top-left-radius: 32%;
    box-shadow: 1px 1px 1px gold;
}

.killDisp{
    display: none;
}

.prog-steps {
    height: 30px;
	display: flex;
    align-items: center;
    gap: 5px;
}
.pgst {
	width: 25px;
	height: 25px;
	border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: skyblue;
    /* font-size: 0.6rem; */
    color: transparent;
    font-family: source, Helvetica, sans-serif;
    opacity: 0;
    transition: opacity 0.5s ease-in;
}


/* //////////////// */
/* // animations // */

.color-shift {
	background-color: tomato;
	animation: bgShift 2s forwards;
}
@keyframes bgShift {
	from {
		background-color: tomato;
        opacity: 1;
	}
	to {
        background-color: greenyellow;
        opacity: 1;
	}
}

/* ////////////////// */
@keyframes wobble {
    0%, 100% {
      transform: scale(1) rotate(0deg);
    }
    25% {
      transform: scale(1.05, 0.98) rotate(-5deg);
    }
    50% {
      transform: scale(1.1, 0.85) rotate(0.5deg);
    }
    87% {
      transform: scale(1.06, 0.92) rotate(-2.5deg);
    }
}

/* /////////////////////// */
/* splicing stage concerns */

.spliceStep1{
    transform: translateX(-180%) scale(0.4);
}
.firepop{
    border: 1px solid red;
    transform: scale(2);
}
.popoff{
    transform: scale(0);
}
.spliceStep2{
    transform: translateX(-160%) scale(0.5);
}
@media only screen and (max-width: 599.98px){
    .spliceStep2{
        transform: translateX(-160%) scale(0.4);
    }
}