
/*body {
	background-color:#000;
	margin:0;
}
 canvas {
	display: block; /* Remove the default inline-block alignment */
/*}*/

body {
	margin:0;
    font-family: 'VT323', monospace;
}

.title-div {
	font-family: "Work Sans", sans-serif;
	font-size: 76px;
    margin: 0 0 -10px 3px;
}

.subtitle-div {
	font-size: 18px;
	text-align:center;
}

@media all and (max-width: 546px) {
	.title-div { 
		font-size: 50px;
	}
    .subtitle-div { 
		font-size: 14px;
	}
}

#divToCenter {
	pointer-events:none;
	color: rgba(255, 255, 255, .75);
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 10; /* Ensure the div is above the canvas */
}

canvas {
	background-color:#000;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%; /* Full width */
	height: 100%; /* Full height */
	z-index: 1;
}

#mailIcon {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 60px;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.55);
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
	-webkit-backdrop-filter: blur(5px);
	backdrop-filter: blur(5px);
    z-index:999;
}

#mailIcon i {
    color: white; /* Mail icon color */
}

#modalOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    display: none;
    z-index: 9999;
}

#miniGameContainer {
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, .6);
    padding: 20px 0 0 0;
    border-radius: 10px;
	-webkit-backdrop-filter: blur(5px);
	backdrop-filter: blur(5px);
	border: 5px solid rgba(13, 215, 255, .6);
    box-shadow: 0 0 50px rgba(13, 215, 255, .6);
}

.miniGame-upper-title-div {
	color:#fff;
	pointer-events:none;
}

.miniGame-title-div {
	font-size: 60px;
	pointer-events:none;
}

#minigameCanvas {
	width: 600px;
    height: 350px;
    position: relative;
	background-color: transparent;
}

@media all and (max-width: 546px) {
	#minigameCanvas {
		width: 350px;
	    height: 350px;
	    position: relative;
		background-color: transparent;
	}
}

#scoreDisplay {
	color:#fff;
	font-size:20px;
	pointer-events: none;
}

#winLoseScreen {
    width: 600px;
    height: 350px;
    background-color: rgba(0, 0, 0, .6);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    display: none;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    border-radius: 10px;
    color: #fff;

	border: 5px solid rgba(13, 215, 255, .6);
    box-shadow: 0 0 50px rgba(13, 215, 255, .6);
}

#decryptStrMessage {
	color: #fff;
    font-size: 82px;
    cursor: crosshair;
}

#winLoseMessage {
	font-size: 18px;
	margin-bottom:20px;
}

@media all and (max-width: 546px) {
	#winLoseScreen {
		width: 350px;
	    height: 350px;
	}
	#decryptStrMessage {
    	font-size: 62px;
	}
}


#clipboardPopup{
    display: none;
    z-index: 99999999;
    position: absolute;
    color: rgb(255, 255, 255);
    background-color: rgba(245, 5, 213, .25);
	-webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    padding: 4px;
    border-radius: 2px;
}

.unselectable {
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none;    /* Firefox */
  -ms-user-select: none;     /* Internet Explorer/Edge */
  user-select: none;         /* Non-prefixed version, currently supported by Chrome, Opera, and Edge */
}

.neon {
  color: rgba(255, 255, 255, .8);
text-shadow:
     0 0 5px rgba(13, 215, 255, 1),
    0 0 10px rgba(13, 215, 255, 1),
    0 0 20px rgba(13, 215, 255, 1),
    0 0 40px rgba(13, 215, 255, 1),
    0 0 80px rgba(13, 215, 255, 1),
    0 0 90px rgba(13, 215, 255, 1),
    0 0 100px rgba(13, 215, 255, 1),
    0 0 150px rgba(13, 215, 255, 1);
}

.neon-blink {
  color: rgba(247, 188, 239, 1);
  opacity:1;
  text-shadow:
     0 0 5px rgba(245, 81, 223, 1),
    0 0 10px rgba(245, 81, 223, 1),
    0 0 20px rgba(245, 81, 223, 1),
    0 0 40px rgba(245, 81, 223, 1),
    0 0 80px rgba(245, 81, 223, 1),
    0 0 90px rgba(245, 81, 223, 1),
    0 0 100px rgba(245, 81, 223, 1),
    0 0 150px rgba(245, 81, 223, 1);
}

.neon-blink-animation {
  animation-name: blink-animation;
  animation-duration: 0.05s; /* Faster blink */
  animation-fill-mode: forwards; /* Ensure the style stays at the last keyframe after the animation */
}

@keyframes blink-animation {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

/* btns  */

.cybr-btn {
  --primary: hsl(var(--primary-hue), 85%, calc(var(--primary-lightness, 49) * 1%));
  --shadow-primary: hsl(var(--shadow-primary-hue), 90%, 50%);
  --primary-hue: 311; /* Updated hue for pink */
  --primary-lightness: 49; /* Updated lightness for pink */
  --color: hsl(0, 0%, 100%);
  --font-size: 26px;
  --shadow-primary-hue: 180; /* Consider adjusting this if you want a different shadow color */
  --label-size: 9px;
  --shadow-secondary-hue: 60;
  --shadow-secondary: hsl(var(--shadow-secondary-hue), 90%, 60%);
  --clip: polygon(0 0, 100% 0, 100% 100%, 95% 100%, 95% 90%, 85% 90%, 85% 100%, 8% 100%, 0 70%);
  --border: 4px;
  --shimmy-distance: 5;
  --clip-one: polygon(0 2%, 100% 2%, 100% 95%, 95% 95%, 95% 90%, 85% 90%, 85% 95%, 8% 95%, 0 70%);
  --clip-two: polygon(0 78%, 100% 78%, 100% 100%, 95% 100%, 95% 90%, 85% 90%, 85% 100%, 8% 100%, 0 78%);
  --clip-three: polygon(0 44%, 100% 44%, 100% 54%, 95% 54%, 95% 54%, 85% 54%, 85% 54%, 8% 54%, 0 54%);
  --clip-four: polygon(0 0, 100% 0, 100% 0, 95% 0, 95% 0, 85% 0, 85% 0, 8% 0, 0 0);
  --clip-five: polygon(0 0, 100% 0, 100% 0, 95% 0, 95% 0, 85% 0, 85% 0, 8% 0, 0 0);
  --clip-six: polygon(0 40%, 100% 40%, 100% 85%, 95% 85%, 95% 85%, 85% 85%, 85% 85%, 8% 85%, 0 70%);
  --clip-seven: polygon(0 63%, 100% 63%, 100% 80%, 95% 80%, 95% 80%, 85% 80%, 85% 80%, 8% 80%, 0 70%);
  font-family: VT323, monospace; /*'Cyber', sans-serif;*/
  color: var(--color);
  cursor: pointer;
  background: transparent;
  text-transform: uppercase;
  font-size: var(--font-size);
  outline: transparent;
  letter-spacing: 2px;
  position: relative;
  font-weight: 700;
  border: 0;
  min-width: 180px;
  height: 45px;
  line-height: 45px;
  transition: background 0.2s;
}


.cybr-btn:hover {
  --primary: hsl(var(--primary-hue), 85%, calc(var(--primary-lightness, 50) * 0.8%));
}
.cybr-btn:active {
  --primary: hsl(var(--primary-hue), 85%, calc(var(--primary-lightness, 50) * 0.6%));
}

.cybr-btn:after,
.cybr-btn:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  clip-path: var(--clip);
  z-index: -1;
}

.cybr-btn:before {
  background: var(--shadow-primary);
  transform: translate(var(--border), 0);
}

.cybr-btn:after {
  background: var(--primary);
}

.cybr-btn__tag {
  position: absolute;
  padding: 1px 4px;
  letter-spacing: 1px;
  line-height: 1;
  bottom: -5%;
  right: 5%;
  font-weight: normal;
  color: hsl(0, 0%, 0%);
  font-size: var(--label-size);
}

.cybr-btn__glitch {
  position: absolute;
  top: calc(var(--border) * -1);
  left: calc(var(--border) * -1);
  right: calc(var(--border) * -1);
  bottom: calc(var(--border) * -1);
  background: var(--shadow-primary);
  text-shadow: 2px 2px var(--shadow-primary), -2px -2px var(--shadow-secondary);
  clip-path: var(--clip);
  animation: glitch 2s infinite;
  display: none;
}

.cybr-btn:hover .cybr-btn__glitch {
  display: block;
}

.cybr-btn__glitch:before {
  content: '';
  position: absolute;
  top: calc(var(--border) * 1);
  right: calc(var(--border) * 1);
  bottom: calc(var(--border) * 1);
  left: calc(var(--border) * 1);
  clip-path: var(--clip);
  background: var(--primary);
  z-index: -1;
}

@keyframes glitch {
  0% {
    clip-path: var(--clip-one);
  }
  2%, 8% {
    clip-path: var(--clip-two);
    transform: translate(calc(var(--shimmy-distance) * -1%), 0);
  }
  6% {
    clip-path: var(--clip-two);
    transform: translate(calc(var(--shimmy-distance) * 1%), 0);
  }
  9% {
    clip-path: var(--clip-two);
    transform: translate(0, 0);
  }
  10% {
    clip-path: var(--clip-three);
    transform: translate(calc(var(--shimmy-distance) * 1%), 0);
  }
  13% {
    clip-path: var(--clip-three);
    transform: translate(0, 0);
  }
  14%, 21% {
    clip-path: var(--clip-four);
    transform: translate(calc(var(--shimmy-distance) * 1%), 0);
  }
  25% {
    clip-path: var(--clip-five);
    transform: translate(calc(var(--shimmy-distance) * 1%), 0);
  }
  30% {
    clip-path: var(--clip-five);
    transform: translate(calc(var(--shimmy-distance) * -1%), 0);
  }
  35%, 45% {
    clip-path: var(--clip-six);
    transform: translate(calc(var(--shimmy-distance) * -1%));
  }
  40% {
    clip-path: var(--clip-six);
    transform: translate(calc(var(--shimmy-distance) * 1%));
  }
  50% {
    clip-path: var(--clip-six);
    transform: translate(0, 0);
  }
  55% {
    clip-path: var(--clip-seven);
    transform: translate(calc(var(--shimmy-distance) * 1%), 0);
  }
  60% {
    clip-path: var(--clip-seven);
    transform: translate(0, 0);
  }
  31%, 61%, 100% {
    clip-path: var(--clip-four);
  }
}