

@keyframes disco {
  0% {
    color: red;
  }

  25% {
    color: #13c513;
  }

  50% {
    color: rgb(117, 224, 224);
  }

  75% {
    color: #ffd300;
  }

  100% {
    color: red;
  }
}

#forwarding {
  animation: disco 6s infinite;
  /* right: 0; */
  /* position: fixed; */
}

.forwarding_toggle {
    /* right: ; */
    display: flex;
    position: relative;
    /* display: inline-block; */
    width: 50px;
    height: 25px;
    /* right: 0; */
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: rgb(61, 61, 61);
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  input:checked + .slider {
    background-color: #7d1f1f;
  }
  
  input:focus + .slider {
    box-shadow: 0 0 1px #7d1f1f;
  }
  
  input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
  }
  
  /* Rounded sliders */
  .slider.round {
    border-radius: 34px;
  }
  
  .slider.round:before {
    border-radius: 50%;
  }

  .settings{
    position: absolute;

    background-color: rgba(0, 0, 0, 0.61);
    
    backdrop-filter: blur(5px);
    height: 100%;
    width: 100%;
    z-index: 19;
    display: none;
    
  }
  .Pipe-Table, .Help{
    position: absolute;

    background-color: rgba(50, 50, 50, 0.21);
    
    backdrop-filter: blur(1px);
    height: 100%;
    width: 100%;
    z-index: 19;
    display: none;
    
  }
  .setOut{
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: 18;
  }
  .set_align{
    position: absolute;
    height: 75%;
    left: 25%;
    top: 8%;
    width: 50%;
    color: aliceblue;
    background-color: #7d1f1f;
    z-index: 20;
  }
  .Pipe-table_holder, .help_holder{
    position: absolute;
    height: 77%;
    left: 14%;
    top: 7%;
    width: 70%;
    color: aliceblue;
    background-color: #7d1f1f;
    z-index: 20;
  }
  .setting_holder, .table_holder, .Help_insider{
    display: flex;
    height: 90%;
    background-color: #212121;
  }
  .s_latency, .s_cache{
    /* display: flex; */
    margin-top: 10%;
    height: inherit;
    width: inherit;
    /* background-color: aqua; */
    
  }
  .s_marker{
    width: 3%;
    margin-right: 3%;
    background-color: #011e3a;
  }
  .t_marker{
    width: 2%;
    margin-right: 1.3%;
    background-color: #011e3a;
  }
  .s_sidebar{
    background-color: rgb(16, 16, 16);
    height: 100%;
    width: 15%;
    /* margin-right: 5%; */
  }
  .t_sidebar{
    background-color: rgb(16, 16, 16);
    height: 100%;
    width: 8%;
    /* margin-right: 5%; */
  }
  #latency_input, #cache_size_input{
    background-color: #999999;
    /* margin-right: 1%; */
  }
  .s_cache_holder{
    width: 100%;
    display: grid;
    grid-template-columns: auto auto;
    row-gap: 1.5px;
    /* column-width: inherit; */
    column-gap: 1%;
  }
  .s_latency_holder{
    display: grid;
    grid-template-columns: auto auto;
    row-gap: 1.5px;
    column-gap: 1%;
  }
  .s_cache{
    display: none;
  }
.btn_type1 {
    right: 60%;
    color: rgba(218, 218, 218, 0.596);
    /* padding: 0.75rem 1rem; */
    text-decoration: none;
    display: block;
  }
  .setting_header, .table_header, .help_header{
    align-items: center;
    display: flex;
  }
  .btn_type2{
    color: #ffffff;
    margin-right: 76%;
    margin-left: 2%;
    text-decoration: none;
    display: block;
  }
  .btn_type2:hover{
    color: #ffffff;
    text-decoration: none;
    display: block;
  }
  /* Change color of dropdown links on hover */
  .btn_type1:hover {
    color: #dec7bc;
    text-decoration: none;
    display: block;
  }
  .close_tab{
    margin-left: 10%;
  }
  .Pipe-Table{
    position: absolute;
    background-color: rgba(0, 0, 0, 0.61);
    backdrop-filter: blur(5px);
    height: 100%;
    width: 100%;
    z-index: 19;
    /* display: none; */
    
  }


  .b2 {

    color: white;
    /* White text */
    cursor: pointer;
    /* Pointer/hand icon */
    display: block;
    background-color: #a52a2a;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    transition: 0.3s;
    font-size: 0.7625rem;
    /* border: none; */
    
  
    /* me2 */
    padding: 0rem;
    width:2.5rem;
    height: 2rem;
    border: 0.0625rem solid black;
  }
  .b2:hover {
    background-color: tomato;
  }


  
  /* CSS */
  .button-85 {
    padding: 0.6em 2em;
    border: none;
    outline: none;
    color: rgb(255, 255, 255);
    background: #111;
    cursor: pointer;
    position: relative;
    z-index: 0;
    border-radius: 10px;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    
    font-size: 0.7625rem;
    /* border: none; */
    
  
    /* me2 */
    padding: 0rem;
    width:2.5rem;
    height: 2rem;
    border: 0.0625rem solid black;
  }
  
  .button-85:before {
    content: "";
    background: linear-gradient(
      45deg,
      #ff0000,
      #ff7300,
      #fffb00,
      #48ff00,
      #00ffd5,
      #002bff,
      #7a00ff,
      #ff00c8,
      #ff0000
    );
    position: absolute;
    top: -0.2px;
    left: -0.2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(0.5px);
    -webkit-filter: blur(0.5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing-button-85 20s linear infinite;
    transition: opacity 0.3s ease-in-out;
    border-radius: 10px;
  }
  
/* CSS */
.button-85:hover:after {
  animation: 0.5s glitch;
}

@keyframes glitch {
  0% {
    clip-path: var(--slice-1);
    transform: translate(-2px, -1px);
  }
  10% {
    clip-path: var(--slice-3);
    transform: translate(1px, 1px);
  }
  20% {
    clip-path: var(--slice-1);
    transform: translate(-1px, 1px);
  }
  30% {
    clip-path: var(--slice-3);
    transform: translate(0px, 0.5px);
  }
  40% {
    clip-path: var(--slice-2);
    transform: translate(-0.5px, 0px);
  }
  50% {
    clip-path: var(--slice-3);
    transform: translate(0.5px, 0px);
  }
  60% {
    clip-path: var(--slice-4);
    transform: translate(0.5px, 1px);
  }
  70% {
    clip-path: var(--slice-2);
    transform: translate(-1px, 1px);
  }
  80% {
    clip-path: var(--slice-5);
    transform: translate(2px, -1px);
  }
  90% {
    clip-path: var(--slice-1);
    transform: translate(-1px, 0px);
  }
  100% {
    clip-path: var(--slice-1);
    transform: translate(0);
  }
}

@media (min-width: 768px) {
  .button-49,
  .button-49:after {
    width: 200px;
    height: 86px;
    line-height: 88px;
  }
}
  
  @keyframes glowing-button-85 {
    0% {
      background-position: 0 0;
    }
    50% {
      background-position: 400% 0;
    }
    100% {
      background-position: 0 0;
    }
  }
  
  .button-85:after {
    z-index: -1;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: #222;
    left: 0;
    top: 0;
    border-radius: 10px;
  }

  #pipeline_table{
    margin-top: 1%;
  }
  #run_wait::after{
    content: 'ms';
  }

  /* CELEBRATION CODE */
  .confetti {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1000;
  }
  .confetti-piece {
    position: absolute;
    width: 10px;
    height: 30px;
    background: #ffd300;
    top: 0;
    opacity: 0;
  }
  .confetti-piece:nth-child(1) {
    left: 7%;
    -webkit-transform: rotate(-90deg);
    -webkit-animation: makeItRain 1000ms infinite ease-out;
    -webkit-animation-delay: 182ms;
    -webkit-animation-duration: 1116ms;
  }
  .confetti-piece:nth-child(2) {
    left: 14%;
    -webkit-transform: rotate(46deg);
    -webkit-animation: makeItRain 1000ms infinite ease-out;
    -webkit-animation-delay: 161ms;
    -webkit-animation-duration: 1076ms;
  }
  .confetti-piece:nth-child(3) {
    left: 21%;
    -webkit-transform: rotate(-151deg);
    -webkit-animation: makeItRain 1000ms infinite ease-out;
    -webkit-animation-delay: 481ms;
    -webkit-animation-duration: 1103ms;
  }
  .confetti-piece:nth-child(4) {
    left: 28%;
    -webkit-transform: rotate(61deg);
    -webkit-animation: makeItRain 1000ms infinite ease-out;
    -webkit-animation-delay: 334ms;
    -webkit-animation-duration: 708ms;
  }
  .confetti-piece:nth-child(5) {
    left: 35%;
    -webkit-transform: rotate(-52deg);
    -webkit-animation: makeItRain 1000ms infinite ease-out;
    -webkit-animation-delay: 302ms;
    -webkit-animation-duration: 776ms;
  }
  .confetti-piece:nth-child(6) {
    left: 42%;
    -webkit-transform: rotate(382deg);
    -webkit-animation: makeItRain 1000ms infinite ease-out;
    -webkit-animation-delay: 180ms;
    -webkit-animation-duration: 1168ms;
  }
  .confetti-piece:nth-child(7) {
    left: 49%;
    -webkit-transform: rotate(112deg);
    -webkit-animation: makeItRain 1000ms infinite ease-out;
    -webkit-animation-delay: 395ms;
    -webkit-animation-duration: 1200ms;
  }
  .confetti-piece:nth-child(8) {
    left: 56%;
    -webkit-transform: rotate(49deg);
    -webkit-animation: makeItRain 1000ms infinite ease-out;
    -webkit-animation-delay: 14ms;
    -webkit-animation-duration: 887ms;
  }
  .confetti-piece:nth-child(9) {
    left: 63%;
    -webkit-transform: rotate(-72deg);
    -webkit-animation: makeItRain 1000ms infinite ease-out;
    -webkit-animation-delay: 149ms;
    -webkit-animation-duration: 805ms;
  }
  .confetti-piece:nth-child(10) {
    left: 70%;
    -webkit-transform: rotate(10deg);
    -webkit-animation: makeItRain 1000ms infinite ease-out;
    -webkit-animation-delay: 351ms;
    -webkit-animation-duration: 1059ms;
  }
  .confetti-piece:nth-child(11) {
    left: 77%;
    -webkit-transform: rotate(4deg);
    -webkit-animation: makeItRain 1000ms infinite ease-out;
    -webkit-animation-delay: 307ms;
    -webkit-animation-duration: 1132ms;
  }
  .confetti-piece:nth-child(12) {
    left: 84%;
    -webkit-transform: rotate(42deg);
    -webkit-animation: makeItRain 1000ms infinite ease-out;
    -webkit-animation-delay: 464ms;
    -webkit-animation-duration: 776ms;
  }
  .confetti-piece:nth-child(13) {
    left: 91%;
    -webkit-transform: rotate(-72deg);
    -webkit-animation: makeItRain 1000ms infinite ease-out;
    -webkit-animation-delay: 429ms;
    -webkit-animation-duration: 818ms;
  }
  .confetti-piece:nth-child(odd) {
    background: #7431e8;
  }
  .confetti-piece:nth-child(even) {
    z-index: 1;
  }
  .confetti-piece:nth-child(4n) {
    width: 5px;
    height: 12px;
    -webkit-animation-duration: 2000ms;
  }
  .confetti-piece:nth-child(3n) {
    width: 3px;
    height: 10px;
    -webkit-animation-duration: 2500ms;
    -webkit-animation-delay: 1000ms;
  }
  .confetti-piece:nth-child(4n-7) {
  background: red;
  }
  @-webkit-keyframes makeItRain {
    from {opacity: 0;}
    50% {opacity: 1;}
    to {-webkit-transform: translateY(350px);}
  }

  /* -----------END--------- */







/* CSS for CACHE */
  .b7{
    color: white;
    /* White text */
    cursor: pointer;
    /* Pointer/hand icon */
    display: block;
    background-color: #a52a2a;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    transition: 0.3s;
    font-size: 0.7625rem;
    /* border: none; */
    
  
    /* me2 */
    padding: 0rem;
    width:8rem;
    height: 2rem;
    border: 0.0625rem solid black;
}
.b71{
  color: white;
    /* White text */
    cursor: pointer;
    /* Pointer/hand icon */
    display: block;
    background-color: #a52a2a;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    transition: 0.3s;
    font-size: 0.7625rem;
    /* border: none; */
    
  
    /* me2 */
    padding: 0rem;
    width:18rem;
    height: 2rem;
    border: 0.0625rem solid black;
}
#cache_table_root{
  gap: 4rem;
  display: flex;
}


.pushable {
  background: hsl(340deg 100% 32%);
  /* border-radius: 12px; */
  margin-top: 4px;
  border: none;
  padding: 0;
  cursor: pointer;
  /* outline-offset: 4px; */
}
.front {
  display: block;
  padding: 1.2px 4.2px;
  border-radius: 1.2px;
  /* font-size: 1.25rem; */
  background: hsl(345deg 100% 47%);
  color: white;
  transform: translateY(-6px);
}

.pushable:active .front {
  transform: translateY(-2px);
}