body {
	background-color: black;
	color: yellow;
}

header { 
	position: fixed;
	top: 0.5em;
	right: 1em;
}

footer { 
	position: fixed;
	bottom: 1em;
	right: 1em;
}

input {
	width: 40px;
	height: 20px;
	font-size: 14px;
	background-color: black;
	color: yellow;
	border: 0;
	cursor:pointer;
	float: right;
}

svg {
	width: 100%;
	height: 100%;
}

svg text {
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	transition: all 0.5s ease-in-out;
}

/*-------------------------*/
/* STATE */
/*-------------------------*/
.state {
	margin: 0px 0px 0px 0px; 
	position: absolute; 
	top: 0px; 
	left:0px;
	font-size: 0.75em;
	
	opacity: 0.25; /* Set transparency (for mouse-over effects on hover) */
}

/*-------------------------*/
/*SLIDER*/
/*-------------------------*/
.slidecontainer {
	width: 100%; /* Width of the outside container */
	height: 20px;
	margin-top: 10px;
	margin-inline-start: 106px;
	rotate: 90deg;	/*Para ficar na vertical*/
}

/* The slider itself */
.slider {
	-webkit-appearance: none;  /* Override default CSS styles */
	appearance: none;
	padding: 0px;
	margin: 0px;
	width: 150px; 	/* COMPRIMENTO */
	height: 1px; 
	background: rgb(241, 194, 50, 1.0);
	
	/*outline: none;*/ /* Remove outline */
	opacity: 0.5; /* Set transparency (for mouse-over effects on hover) */
	-webkit-transition: .2s; /* 0.2 seconds transition on hover */
	transition: opacity .2s;
}
.slider:hover {
	opacity: 1; /* Fully shown on mouse-over */
}

/* SLIDER HANDLE (use -webkit- (Chrome, Opera, Safari, Edge) and -moz- (Firefox) to override default look) */
.slider::-webkit-slider-thumb {
	-webkit-appearance: none; /* Override default look */
	appearance: none;	
	cursor: pointer; /* Cursor on hover */

	inline-size: 20px;
	block-size: 20px;
	border-radius: 50%;	

	padding: 4px;
	border-width: 1px;
	border-style: solid;
	border-color: rgb(255, 255, 50, 1.0);

	background-image: linear-gradient(to bottom, rgb(255, 255, 0, 1.0) 0%, rgb(255, 255, 0, 1.0) 100%);
  	background-clip: content-box, padding-box;
}

.slider::-moz-range-thumb {
	width: 14px; /* Set a specific slider handle width */
	height: 14px; /* Slider handle height */
	cursor: pointer; /* Cursor on hover */

	inline-size: 20px;
	block-size: 20px;
	border-radius: 50%;

	padding: 4px;
	border-width: 1px;
	border-style: solid;
	border-color: rgb(255, 255, 50, 1.0);

	background-image: linear-gradient(to bottom, rgb(255, 255, 0, 1.0) 0%, rgb(255, 255, 0, 1.0) 100%);
  	background-clip: content-box, padding-box;
}


/*-------------------------*/
/* MENU ☰ */
/*-------------------------*/

/* Símbolo do menu ☰ */
.hamburger {
	width: 1.5em;
	height: 20px;
	font-size: 16px;
	background-color: transparent;
	color: yellow;
	border: 0;
	cursor:pointer;
	/*float: right;*/

	opacity: 0.5; /* Set transparency (for mouse-over effects on hover) */
	-webkit-transition: .2s; /* 0.2 seconds transition on hover */
	transition: opacity .2s;

	position: fixed;
	top: 10px;
	left: 12px;
}

/* Mouse-over effects */
.hamburger:hover {
	opacity: 1; 
}

.menu-content {
	display: none;	/* Hidden by default */
	position: absolute;
	background-color: #000;
	min-width: 200px;
	border: 1px solid rgb(255, 255, 0, 0.5);
	max-height: 600px; /* Limita a altura */
	overflow-y: auto;  /* Adiciona scroll se necessário */
	z-index: 100;
	opacity: 1; 
}

/* Itens do Menu */
.menu-content a {
	color: #FFFF00;
	padding: 0px 8px 4px 8px;
	text-decoration: none;
	display: block;
	font-family: "consolas", sans-serif;

	opacity: 0.5; /* Set transparency (for mouse-over effects on hover) */
	-webkit-transition: .2s; /* 0.2 seconds transition on hover */
	transition: opacity .2s;
}

/* Efeito ao passar o rato */
.menu-content a:hover {
	opacity: 1; 
	background-color: #333;
}

/* Close Button  X*/
.menu-content .closebtn {
	position: absolute;
	top: -2px;
	right: 0px;
	font-size: 24px;
	text-decoration: none;
	color: yellow;
}

/* Linha separadora */
.menu-content hr {
  border: 1px solid rgb(255, 255, 0, 0.5);
  /* border-top: 1px solid #FFFF00; */
  margin: 10px 8px 10px 8px;
}

/* Itens do Menu */
.menu-content br {
	padding: 0px;
	margin: 0px;
}

/* Classe que será adicionada pelo JavaScript */
.show {
  display: block;
}


/*-------------------------*/
/* COLOR PICKER*/
/*-------------------------*/
input[type="color" i] {
	/*display: none;*/
	padding: 0px;
	width: 0;
	height: 0;
	float:none;
	/*
	position: fixed;
	top: 0;
	right: 0;
	*/
}

div .color-boxes {
	margin: 4px 4px;

	display: flex;
	flex-wrap: wrap;
	justify-content: left;
	/*style="display: flex; align-items: right;"*/
}

.color-box {
	padding: 8px; 
	margin: 4px 2px;
	border: 1px solid #777777;
	border-radius: 4px;
	cursor:pointer;

	background-color: transparent; /* Dar a cor no HTML */

	opacity: 0.5; /* Set transparency (for mouse-over effects on hover) */
	-webkit-transition: .2s; /* 0.2 seconds transition on hover */
	transition: opacity .2s;
}

.color-box:hover {
	opacity: 1;
}

/*-------------------------*/
/* CUSTOM DIALOGS          */
/*-------------------------*/
.prompt-overlay, .alert-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.prompt-dialog, .alert-dialog {
    background-color: #1a1a1a;
    padding: 20px;
    border: 1px solid #FFFF00;
    border-radius: 5px;
    text-align: center;
    color: #FFFF00;
    font-family: "consolas", sans-serif;
}

.prompt-dialog p, .alert-dialog p {
    margin: 0 0 10px 0;
}

.prompt-dialog input {
    width: calc(100% - 20px);
    padding: 8px;
    margin-bottom: 15px;
    background-color: #333;
    border: 1px solid #FFFF00;
    color: #FFFF00;
    float: none;
}

.prompt-buttons button, .alert-buttons button {
    background-color: #333;
    color: #FFFF00;
    border: 1px solid #FFFF00;
    padding: 10px 20px;
    margin: 0 5px;
    cursor: pointer;
    border-radius: 3px;
}

.prompt-buttons button:hover, .alert-buttons button:hover {
    background-color: #555;
}