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

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  height: 100%;
}

body {
  font-weight: 400;
  font-family: "Genos", sans-serif;
  font-size: 1.5rem;
  color: #ececec;

  background-image: url("/images/bg/default.jpeg");
  background-size: cover;

  overflow: hidden;
  height: 100%;
  margin: 0px;
  padding: 0px;

  align-items: center;
  display: flex;
  flex-direction: column;
  align-items: center;

    overflow-x: auto;
    overflow-y: auto;
}

body.title {
  background-image: url("/images/bg/titlebg.jpg");
}

::-webkit-scrollbar {
  display: none;
}

.container {
  display: flex;
  align-items: center;
  flex-direction: column;
  height: 80%;
  width: 70%;
  margin-top: 2%;

}

.container#stage1 {
  width: 100%;
  margin-top: 0%;
  transition: opacity 2s;
  
}

@keyframes genericfade {
    100% {opacity:0;}
}

.input-button-form {
  display: flex;
  flex-direction: row;
  gap: 10px;
  font-size: 1.5rem;
}

.input-button-form input {
  flex-grow: 1;
}



.btn-submit {
  display: inline-block; /* This makes sure padding and other block properties apply */

  font-size: 100%;
  background-color: white;
  box-sizing: border-box;
  margin-top: 1rem;
  padding: 0.7rem 1rem;
  transition: 500ms;
  opacity: 0.9;
  font-weight:400;
  border-radius: 8px;
  background-color: #111111;
  text-decoration: none; /* remove the underline from the anchor element */
  color: springgreen; /* setting the text color, you can adjust as necessary */
  transform: translate(-0.35rem, -0.5rem);

  font-family: inherit;
}

.btn-big {
  font-size: 200%;

}

/* Style the dropdown container */
select#teamName {
    width: 100%; 
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    background-color: #212121;
    text-align: center;
    color: white;
    border-color: green;
    font-family: inherit;
    font-size: inherit;
}

/* Style the dropdown options */
select#teamName option {
    padding: 8px 10px;
}

/* Styling for the optgroup label */
select#teamName optgroup[label] {
    font-weight: bold;
    color: #333;
    background-color: #ddd;
}

/* Styling for the team names */
select#teamName option {
    padding: 8px 10px;
}

/* stage 3 */
.securityform {
  display: flex;
  flex-direction: column;
}

.sidebar {
  position: absolute;
  left:0;
  height: 100vh;
  background-color: #212121;
  width:15%;
  border-right: 3px solid #418841ff; 
  display:flex;
  flex-direction: column;

  font-weight: 400;
  font-family: "Genos", sans-serif;
  color: #ececec; 
}

.sidebartitle {
  padding:10px;
  text-align: center;
  padding-bottom: 40px;
}


.historyentry {
  padding:10px;
  background-color: #11111180;
}

.historyentry:hover {
  background-color: #33333380;
}

a.historylink {
  text-decoration: none; 
  font-weight: inherit;
  font-family: inherit;
  color: inherit;
}

#chatbox_container {
    align-items: center;
    position: relative;
    width: 70%;
    height: 90%;
}

#chatbox_container.stage2 {
    min-width: 70%;
}

#chatbox_container.stage3 {
max-height: 30%;
min-height: 30%;
}

#chatbox_container.stage5 {
}

#chatbox_container.stage6 {
}

#chatbox {
    width: 100%;
    height: 70%;
    max-height: 70%;
    background-color: #212121; 
    border: 1px solid #dcdcdc; 
    border-radius: 8px;
    padding-left: 30px;
    padding-right: 30px;

    overflow-y: scroll;
    overflow-wrap: break-word;
    display: block;

    font-size: 1.5rem;
    font-weight: 200;
}


#chatbox::-webkit-scrollbar {
width: 1em;
}

#chatbox::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 0px rgba(0, 0, 0, 0.3);
}

#chatbox::-webkit-scrollbar-thumb {
outline: 2px solid #333333;
background-color: white;
border: 2px solid black; /* Optional: border around each span */
border-radius: 8px;
}


#inputdiv {
  width:100%;
  display: flex;
  align-items: flex-start;
}

.inputbox {
  width:fit-content;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 5px;
  background-color: #ffffffb0;
  border-width: 1px;
  border-color: black;
  border-style: solid;
  border-radius: 6px;
  transition: flex 1s;
  font-size: 2rem;
  font-family: inherit;

}

.inputbox:focus  {
  flex: 1; /*take all the available space*/
  width:100%;
  background-color: #44Ef4480;
  transition: flex 0.4s;
  border-radius: 6px;
}

.submit {
    background-color: #2f2f2f;
}

.line {
    margin: 5px 0;
    padding: 4px;
    white-space: pre;
    text-wrap: auto;
}

.user {
    background-color: #2f2f2f; 
    border-radius: 4px;
    margin-top: 1rem;
    margin-bottom: 1rem;
    text-align: left;
    width: 80%;
    max-width: fit-content;
    margin-left: auto; 
    margin-right: 0;
    padding-left:10px;
    padding-right:5px;
}

.highlight {
    background-color: #0d0d0dAA; 
    border-radius: 4px;
    margin-top: 1rem;
    margin-bottom: 1rem;
    margin-left: 0; 
    width: 80%;
    max-width: fit-content;
    padding-left:10px;
    padding-right:10px;
}

.chatdate {
    margin-bottom: 3rem;
    margin-top: 0px;
    font-style: italic;
    color: #cccccc;
}


.hintdiv {
    text-align: center;
    text-shadow: 2px 2px 4px black;
    -webkit-text-stroke: 0.5px black;
    font-size: 20px;
    font-weight: 700;
}

.hintdiv>h1 {
  margin:0;
  color:#aaffaa;
}

@keyframes shadow-fade-n {
  0% { filter: drop-shadow(0px 0px 20px #eeeeeeff); }
  50% { filter: drop-shadow(0px 0px 100px #eeeeee80); }
  100% { filter: drop-shadow(0px 0px 20px #eeeeeeff); }
}

@keyframes shadow-fade {
  0% { filter: drop-shadow(-20px 0px 20px #eeeeeeff); }
  50% { filter: drop-shadow(20px 0px 20px #eeeeeeff); }
  100% { filter: drop-shadow(-20px 0px 20px #eeeeeeff); }
}

.sadrobot {
  width: 100px;

  filter: drop-shadow(0px 0px 20px #eeeeeeff);
  animation: shadow-fade 2s infinite;

}





#securityquestions {
  background-color: black;
  border-radius: 8px;
  border-style:solid;
  border-color: #b1b1b1;
  padding: 10px;
  text-align:center;
  font-size: 1.5rem;
}

.secquestion>select {
  background-color: #fafefff0;
  border-radius: 8px;
  padding: 0.5rem;
}

.secquestion>select>option {
}

.secquestion>select {
  width: 15%;
  height: 2rem;
}
.secquestion {
  display: flex;
  flex-direction: row;
  margin-bottom: 0.5rem;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
}


#submitquestions {
  float: left;
  margin-left: 45%;
}


@keyframes fade {
    0% {background-color:rgba(42, 255, 100, 0.6);}
    50% {background-color:rgba(42, 255, 100, 1);}
    100% {background-color:rgba(42, 255, 100, 0.6);}
}


.linkcontainer {
  -webkit-mask-image: -webkit-radial-gradient(center, rgba(0,0,0,1), rgba(0,0,0,0.2));
  margin-bottom: 1rem;
  padding-left: 55px;
  padding-right: 50px;
  padding-bottom: 100px;
  padding-top: 0px;
  border-radius: 80px;
  height:100px;
}


.hardware {
    width:100px;
    display: block;
    height: auto;
    margin-left: -5px;
}

.imgletter {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50% , -50%);
    margin-left: -5px;
    font-size: 24px; /* Adjust font size as needed */
    color: white; /* Adjust color as needed */
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Optional: for better visibility */
}

.imgletterdiv {
    position: relative;
    display: inline-block;
    border-radius: 8px;
    background-color: #ff000000;

    -webkit-transition: all 1s linear;
    -moz-transition: all 1s linear;
    -o-transition: all 1s linear;
    -ms-transition: all 1s linear;
    transition: all 1s linear;

    margin-left: -5px;
}

.imgletterdiv.active {
    animation: fade 2s infinite;
    background-color: #ff000000;
}


@keyframes tored {
    0% {background-color:rgba(42, 255, 100, 1);}
    100% {background-color:rgba(255, 0, 0, 1);}
}


.imgletterdiv.disabled {
    animation: tored 1s normal;
    background-color: #ff0000ff;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.passwordbox {
    width: 100%; 
    border: 1px solid #ccc;
    border-radius: 4px;
    font-weight: 600;
    font-size: 16px;
    background-color: #212121;
    text-align: center;
    padding: 10px;
    color: white;
    border-color: green;
  font-family: inherit;
  font-size: inherit;
}

.help {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.helptitle {
    background-color: #222222a0;
    width: fit-content;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;
    border-color: green;
    border-style: solid;
    text-align: center;
  margin-bottom: 10px;
}
.helpinst {
    background-color: #222222a0;
    width: 80%;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 20px;
    text-align: center;

    border-color: green;
    border-style: solid;
    border-end-end-radius: 80px 80px;
}

.titlecard {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  border: 2px solid green;
max-width: 80%;
max-height: 80%;
}

.protected {
    opacity: 0%;
    transition: opacity 2s;
}


@keyframes shine {
    0% {
        left: 0%;
        opacity: 100%;
    }

    100% {
        left: 100%;
    }
}

.shiny {
    position: absolute;
    bottom: 0;
    z-index: 90;
    display: block;
    width: 50px;
    height: 410px;
    left: 400px;
    opacity: 100%;
    box-sizing: content-box;
}

.correct div.shiny {
    opacity: 0%;
    background: linear-gradient(to right,
        rgba(20, 200, 20, 0) 0%,
        rgba(20, 200, 20, 1) 90%,
        rgba(20, 200, 20, 0) 100%);

    overflow: hidden;
    overflow-x: hidden;
    overflow-y: hidden;
    animation: shine 1s 1;
}

.wrong div.shiny {
    opacity: 0%;
    background: linear-gradient(to right,
        rgba(220, 20, 20, 0) 0%,
        rgba(220, 20, 20, 1) 90%,
        rgba(220, 20, 20, 0) 100%);


    overflow: hidden;
    overflow-x: hidden;
    overflow-y: hidden;
    animation: shine 1s 1;
}

.br {
    flex: 1;
}


.challengesContainer {
    position: relative;
    align-self: center;
    flex: 7;
    width: 100%;
    display: grid;
    grid-template-rows: repeat(1, 1fr);
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
}


.bottom {
    position: relative;
    display: block;
    flex: 1;
    width: 100%;
    text-align: center;
}

.bottom h1 {
    padding-top: 1em;
}

.challenge {
    text-align: center;
    position: relative;
}

.challengeBox {
    position: relative;
    box-sizing: content-box;
    border-color: black;
    border-style: solid;
}



.challengeCanvas {
    display: block;
    text-align: center;
    align-content: center;
    background-color: black;
}

.imageGrid {
    margin: 0px;
    padding: 0px;
    display: grid;
    grid-gap: 0px;
}

.edit-wrapper {
    cursor: pointer;

    display: inline-block;
    transition: box-shadow 0.25s ease;

    pointer-events: auto;
}

.edit-wrapper.hovered {
  opacity: 0.50;
  outline: 5px solid rgb(0, 175, 38);
  outline-offset: -3px;  /* pulls it inside */
}

.edit-wrapper.clicked {
  filter: hue-rotate(90deg);
}

.partimg img {
  display: block;
}

.baseLayer {
    padding: 20px;
}


.gridPart {
    padding: 0px;
    margin: 0px;
    min-height: 0;
}

div.challengemsg {
    display: block;
    overflow: hidden;
    color: springgreen;
    background-color: #22222288;
    border-radius: 20px;
}

div.instructions {
    position: absolute;
    display: block;
    padding: 0.5em;
    overflow: hidden;
    font-weight: 400;
    background-color: #22222288;
    border-radius: 20px;
}

.style-editor {
    margin-top: 20px;
    padding: 15px;
    background-color: #22222288;
    border-radius: 20px;
    display: none;
    height: min-content;
}

.style-editor textarea {
    width: 100%;
    min-height: 150px;
    font-family: monospace;
    font-size: 14px;
    background-color: #1a1a1a;
    color: #ececec;
    border: 1px solid #444;
    border-radius: 5px;
    padding: 10px;
    resize: vertical;
}

.style-editor button {
    margin-top: 10px;
    padding: 8px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.style-editor button:hover {
    background-color: #45a049;
}

#ccc1inst:not(.disabled) {
    cursor: url(/images/stage1/c1_ref.jpg) 2 2, auto
}

#ccc2inst:not(.disabled) {
    cursor: url(/images/stage1/c2_ref.jpg) 2 2, auto
}

@keyframes shadow-fade-wrong {
  0% { filter: drop-shadow(0px 0px 2px #f9230bff); }
  50% { filter: drop-shadow(0px 0px 20px #f9230bff); }
  100% { filter: drop-shadow(0px 0px 2px #f9230bff); }
}
@keyframes shadow-fade-correct {
  0% { filter: drop-shadow(0px 0px 2px #25e40cff); }
  50% { filter: drop-shadow(0px 0px 20px #25e40cff); }
  100% { filter: drop-shadow(0px 0px 2px #25e40cff); }
}

.wrong {
  animation: shadow-fade-wrong linear 3s infinite;
}

.correct {
  animation: shadow-fade-correct linear 3s infinite;
}

.refimg {
    width: 100px;
}


.emojiCtr {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.emojiFace {
    /*<!--- Don't touch */
    position: relative;
    width: fit-content;
    padding: 20px;
    height: 150px;
    width: 250px;

    color: black;
    background-color: white;
}

.captcha {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 50px;
    z-index: 99;

    background-color: #eeeeeeff;
    color: black;


    border-style: solid;
    border-width: 1px;
    border-color: #888888cc;
    border-radius: 8px;

    display: flex;
}

.captcha label {
    padding-left: 20px;
}

.captcha input {
    -webkit-appearance: none;
    width: 30px;
    height: 30px;
    background: white;
    border-radius: 5px;
    border: 2px solid #555;
}

.captcha input:not(:disabled):hover {
    background: #999;
}

.captcha input:checked {
    background: #abd;
}

.hintbutton {
    position: absolute;
    left: 10px;
    top: 10px;
    padding-left: 10px;
    padding-right: 10px;
    background: #90ff9080;
    border: solid 1px green;
    z-index: 1001;
}

.helptitle {
    background-color: #222222a0;
    width: fit-content;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;
    border-color: green;
    border-style: solid;
    text-align: center;
    display: inline-block;
    margin-top: 5px;
}

@keyframes tilt-shaking {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(5deg); }
  50% { transform: rotate(0deg); }
  75% { transform: rotate(-5deg); }
  100% { transform: rotate(0deg); }
}

@keyframes tilt-n-move-shaking {
  0% { transform: translate(-10px, -10px) rotate(0deg); }
  25% { transform: translate(10px, 10px) rotate(3deg); }
  50% { transform: translate(-10px, -10px) rotate(0deg); }
  75% { transform: translate(10px, 10px) rotate(-3deg); }
  100% { transform: translate(-10px, -10px) rotate(0deg); }
}

@keyframes skew-y-shakeing{
 0% { transform: translate(10px, 10px) skewY(-15deg); }
 25% { transform: translate(-10px, -10px) skewY(15deg); }
 40% { transform: translate(10px, 10px) skewY(-15deg); }
 65% { transform: translate(-10px, -10px) skewY(15deg); }
 80% { transform: translate(10px, 10px) skewY(-15deg); }
 100% { transform: translate(-10px, -10px) skewY(15deg); }
}

.nextstagediv {
    position: absolute;
    width: 400px;
    height: 200px;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);

    padding: 10px;
    border-radius: 10px;
    border-style: solid;
    border-width: 5px;
    border-color: black;

    font-size: 50px;
    background-color: lawngreen;
    vertical-align: middle;
    display:block;
    z-index: 1000;

    box-sizing: border-box;
}

.nextstagediv a {
    position: absolute;
    text-decoration: none;
    color:black;

    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);

    height: 100%;
    width: 100%;
    align-content: center;
    text-align: center;
}

.closebutton {
    position: absolute;
    width: 20px;
    height: 20px;
    left: 10px;
    top: 10px;
    padding: 0px;
    font-size: 10px;
    z-index: 1001;
}



@keyframes firework {
  0% { transform: translate(var(--x), var(--initialY)); width: var(--initialSize); opacity: 1; }
  50% { width: 0.5vmin; opacity: 1; }
  100% { width: var(--finalSize); opacity: 0; }
}

/* @keyframes fireworkPseudo {
  0% { transform: translate(-50%, -50%); width: var(--initialSize); opacity: 1; }
  50% { width: 0.5vmin; opacity: 1; }
  100% { width: var(--finalSize); opacity: 0; }
}
 */
.firework,
.firework::before,
.firework::after
{
  --initialSize: 0.5vmin;
  --finalSize: 45vmin;
  --particleSize: 0.2vmin;
  --color1: yellow;
  --color2: khaki;
  --color3: white;
  --color4: lime;
  --color5: gold;
  --color6: mediumseagreen;
  --y: -30vmin;
  --x: -50%;
  --initialY: 60vmin;
  content: "";
  animation: firework 2s infinite;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, var(--y));
  width: var(--initialSize);
  aspect-ratio: 1;
  background: 
    /*
    radial-gradient(circle, var(--color1) var(--particleSize), #0000 0) 0% 0%,
    radial-gradient(circle, var(--color1) var(--particleSize), #0000 0) 100% 0%,
    radial-gradient(circle, var(--color1) var(--particleSize), #0000 0) 100% 100%,
    radial-gradient(circle, var(--color1) var(--particleSize), #0000 0) 0% 100%,
    */

    radial-gradient(circle, var(--color1) var(--particleSize), #0000 0) 50% 0%,
    radial-gradient(circle, var(--color2) var(--particleSize), #0000 0) 100% 50%,
    radial-gradient(circle, var(--color3) var(--particleSize), #0000 0) 50% 100%,
    radial-gradient(circle, var(--color4) var(--particleSize), #0000 0) 0% 50%,

    /* bottom right */
    radial-gradient(circle, var(--color5) var(--particleSize), #0000 0) 80% 90%,
    radial-gradient(circle, var(--color6) var(--particleSize), #0000 0) 95% 90%,
    radial-gradient(circle, var(--color1) var(--particleSize), #0000 0) 90% 70%,
    radial-gradient(circle, var(--color2) var(--particleSize), #0000 0) 100% 60%,
    radial-gradient(circle, var(--color3) var(--particleSize), #0000 0) 55% 80%,
    radial-gradient(circle, var(--color4) var(--particleSize), #0000 0) 70% 77%,

    /* bottom left */
    radial-gradient(circle, var(--color5) var(--particleSize), #0000 0) 22% 90%,
    radial-gradient(circle, var(--color6) var(--particleSize), #0000 0) 45% 90%,
    radial-gradient(circle, var(--color1) var(--particleSize), #0000 0) 33% 70%,
    radial-gradient(circle, var(--color2) var(--particleSize), #0000 0) 10% 60%,
    radial-gradient(circle, var(--color3) var(--particleSize), #0000 0) 31% 80%,
    radial-gradient(circle, var(--color4) var(--particleSize), #0000 0) 28% 77%,
    radial-gradient(circle, var(--color5) var(--particleSize), #0000 0) 13% 72%,

    /* top left */
    radial-gradient(circle, var(--color6) var(--particleSize), #0000 0) 80% 10%,
    radial-gradient(circle, var(--color1) var(--particleSize), #0000 0) 95% 14%,
    radial-gradient(circle, var(--color2) var(--particleSize), #0000 0) 90% 23%,
    radial-gradient(circle, var(--color3) var(--particleSize), #0000 0) 100% 43%,
    radial-gradient(circle, var(--color4) var(--particleSize), #0000 0) 85% 27%,
    radial-gradient(circle, var(--color5) var(--particleSize), #0000 0) 77% 37%,
    radial-gradient(circle, var(--color6) var(--particleSize), #0000 0) 60% 7%,

    /* top right */
    radial-gradient(circle, var(--color1) var(--particleSize), #0000 0) 22% 14%,
    radial-gradient(circle, var(--color1) var(--particleSize), #0000 0) 45% 20%,
    radial-gradient(circle, var(--color1) var(--particleSize), #0000 0) 33% 34%,
    radial-gradient(circle, var(--color1) var(--particleSize), #0000 0) 10% 29%,
    radial-gradient(circle, var(--color1) var(--particleSize), #0000 0) 31% 37%,
    radial-gradient(circle, var(--color1) var(--particleSize), #0000 0) 28% 7%,
    radial-gradient(circle, var(--color1) var(--particleSize), #0000 0) 13% 42%
    ;
  background-size: var(--initialSize) var(--initialSize);
  background-repeat: no-repeat;
}

.firework::before {
  --x: -50%;
  --y: -50%;
  --initialY: -50%;
/*   transform: translate(-20vmin, -2vmin) rotate(40deg) scale(1.3) rotateY(40deg); */
  transform: translate(-50%, -50%) rotate(40deg) scale(1.3) rotateY(40deg);
/*   animation: fireworkPseudo 2s infinite; */
}

.firework::after {
  --x: -50%;
  --y: -50%;
  --initialY: -50%;
/*   transform: translate(44vmin, -50%) rotate(170deg) scale(1.15) rotateY(-30deg); */
  transform: translate(-50%, -50%) rotate(170deg) scale(1.15) rotateY(-30deg);
/*   animation: fireworkPseudo 2s infinite; */
}

.firework:nth-child(2) {
  --x: 30vmin;
}

.firework:nth-child(2),
.firework:nth-child(2)::before,
.firework:nth-child(2)::after {
  --color1: pink;
  --color2: violet;
  --color3: fuchsia;
  --color4: orchid;
  --color5: plum;
  --color6: lavender;  
  --finalSize: 40vmin;
  left: 30%;
  top: 60%;
  animation-delay: -0.25s;
}

.firework:nth-child(3) {
  --x: -30vmin;
  --y: -50vmin;
}

.firework:nth-child(3),
.firework:nth-child(3)::before,
.firework:nth-child(3)::after {
  --color1: cyan;
  --color2: lightcyan;
  --color3: lightblue;
  --color4: PaleTurquoise;
  --color5: SkyBlue;
  --color6: lavender;
  --finalSize: 35vmin;
  left: 70%;
  top: 60%;
  animation-delay: -0.4s;
}







.firework:nth-child(4) {
  --x: 30vmin;
  --y: 20vmin;
}

.firework:nth-child(4):::before {
  --x: -50%;
  --y: -50%;
  --initialY: -50%;
/*   transform: translate(-20vmin, -2vmin) rotate(40deg) scale(1.3) rotateY(40deg); */
  transform: translate(-50%, -50%) rotate(40deg) scale(1.3) rotateY(40deg);
/*   animation: fireworkPseudo 2s infinite; */
}

.firework:nth-child(4)::after {
  --x: -50%;
  --y: -50%;
  --initialY: -50%;
/*   transform: translate(44vmin, -50%) rotate(170deg) scale(1.15) rotateY(-30deg); */
  transform: translate(-50%, -50%) rotate(170deg) scale(1.15) rotateY(-30deg);
/*   animation: fireworkPseudo 2s infinite; */
}

.firework:nth-child(5) {
  --x: 10vmin;
}

.firework:nth-child(5),
.firework:nth-child(5)::before,
.firework:nth-child(5)::after {
  --color1: pink;
  --color2: violet;
  --color3: fuchsia;
  --color4: orchid;
  --color5: plum;
  --color6: lavender;  
  --finalSize: 40vmin;
  left: 25%;
  top: 60%;
  animation-delay: -0.65s;
}

.firework:nth-child(6) {
  --x: -30vmin;
  --y: -50vmin;
}

.firework:nth-child(6),
.firework:nth-child(6)::before,
.firework:nth-child(6)::after {
  --color1: cyan;
  --color2: lightcyan;
  --color3: lightblue;
  --color4: PaleTurquoise;
  --color5: SkyBlue;
  --color6: lavender;
  --finalSize: 35vmin;
  left: 70%;
  top: 60%;
  animation-delay: -1.4s;
}

.robotCtr {
  width: fit-content;
  display: inline-block;
  position: relative;
  height: 70%;
  margin-bottom: 10px;
  overflow: hidden;
  width: min-content;
}



@keyframes colorize {
    0% {filter: invert(48%) sepia(13%) saturate(3207%) hue-rotate(0deg) brightness(95%) contrast(90%); }
    50% {filter: invert(48%) sepia(13%) saturate(3207%) hue-rotate(360deg) brightness(95%) contrast(90%); }
    100% {filter: invert(48%) sepia(13%) saturate(3207%) hue-rotate(0deg) brightness(95%) contrast(90%); }
}


.container {
  padding-top: 2%;
  height: 100%;
}

.happyrobot {
  padding-right:-5px;
  animation: colorize 10s infinite;
  z-index: 99;
  position:relative;
  padding:0px;
  height: 100%;
}

.robottext {
  position: relative;
  bottom: 30%;
  z-index:2;
  font-size: 50px;
  font-weight: bold;
  padding-right:-5px;
  align-self: center;
  left: 50px;
  animation: colorize 3s infinite;
 animation-delay: -1s; 
}

marquee {
  text-wrap: nowrap;
}

.endtext {
    background-color: #222222a0;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 20px;
    text-align: center;

    border-color: green;
    border-style: solid;
}

.video {
  height: 80%;
  width: 80%;
  text-align: center;
}

.video video {
  width: 100%;
  height: 100%;
  border-radius: 20px;

}

.bonusintrotext {
  background-color: #222222a0;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 20px;
  padding-right: 20px;
  border-radius: 20px;
  text-align: center;
  margin-top: 10rem;

  border-color: green;
  border-style: solid; 

}


body.history {
  background-color: rgba(0,0,0,0.6);
  background-blend-mode: darken;
}


.chatpage {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
    width: 40%;
}



.myaccount {
  position: absolute;
  right:5%;
  height: fit-content;
  background-color: #212121;
  padding: 20px;
  font-weight: 400;
  color: #ececec; 
  border-radius: 10px;
}

a {
  text-decoration: none; 
  font-weight: inherit;
  font-family: inherit;
  color: inherit;
}

.accountpage {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
    width: 40%;
}

.accounttext {
    text-align: center;
}

