:root
{
	--rotation: 0deg;
	--mainColour: #554663;
	--textColour: #f4f4f5;
	--areYouSureBorderColour: #db3535;
	--buttonBorderColour: #936cb1;

	--optionButtonBackground: #226663ba;
	--optionButtonBorderColour: aliceblue;

	--effectColour: rgba(255, 255, 255, 0.2);
	/* https://cssgradient.io/ */
	--backgroundColour : linear-gradient(var(--rotation), rgba(1,1,0,1) 0%, rgba(86,70,98,1) 35%, rgba(86,70,98,1) 50%, rgba(86,70,98,1) 65%, rgba(0,0,0,1) 100%);


	--mainColour: #3cadb6;
	--textColour: aliceblue;
	--areYouSureBorderColour: #db3535;
	--buttonBorderColour: #1ccfdb;

	--optionButtonBackgroundOn: #31c2cc;
	--optionButtonBackgroundOff: #3caeb636;
	--optionButtonBorderColour: aliceblue;

	--effectColour: rgba(255, 255, 255, 0.2);
	/* https://cssgradient.io/ */
	--backgroundColour : linear-gradient(var(--rotation),
	#113436 0%, 
	#29757a 35%, 
	#3cadb6 50%, 
	#29757a 65%, 
	#113436 100%);
}

body
{
	background: var(--mainColour);
}
.infoInVisible
{
	text-align: center;
	width: 50%;
	margin: auto;
	font-size: 1.5vw;
}
.areYouSure
{
	text-align: center;
	width: 50%;
	margin: auto;
	font-size: 1.5vw;
	z-index: 10;
	font-family: fantasy;
	display: none;
	color: var(--textColour);
}
.areYouSureButtons
{
    border-radius: 25px;
    border-color: var(--areYouSureBorderColour);
    font-size: 1em;
    border-width: 4px;
    border-style: solid;
}
#logoImage
{
	width: auto;
	height: auto;
	max-width: 100%;
    max-height: 100%;
	margin-top: 5%;
}
#infoText
{
    text-align: center;
    line-height: 2;
	color: var(--textColour);
	line-height: 2;
    font-family: fantasy;
}
#batteryDisplay
{
	background-repeat: no-repeat;
    background-size: contain;
	background-position: center;
	color: var(--textColour);
}
.optionButtonImg
{
	width: 11%;
}
.optionButtons
{
	width: 100%;
	background: var(--optionButtonBackground);
	border-color: var(--optionButtonBorderColour);
    color: var(--textColour);
	border-radius: 25px;
	font-size: 100%;
	border-width: 4px;
	border-style: solid;
	margin-bottom: 1%;
}
@media only screen and (max-width: 1280px), only screen and (max-device-width: 1280px)
{
    .optionButtons {
		width: 100%;
		background: var(--optionButtonBackground);
		border-color: var(--optionButtonBorderColour);
		color: var(--textColour);
		border-radius: 25px;
		font-size: 100%;
		border-width: 4px;
		border-style: solid;
		margin-bottom: 1%;
    }
	.infoInVisible
	{
		text-align: center;
		width: 50%;
		margin: auto;
		font-size: 2.5vw;
	}
	.areYouSure
	{
		text-align: center;
		width: 50%;
		margin: auto;
		font-size: 4vw;
		z-index: 10;
		font-family: fantasy;
		display: none;
	}
	.areYouSureButtons
	{
		border-radius: 25px;
		border-color: var(--areYouSureBorderColour);
		font-size: 1em;
		border-width: 4px;
		border-style: solid;
	}
}
@media only screen and (max-width: 480px), only screen and (max-device-width: 480px)
{
    .optionButtons {
		width: 100%;
		background: var(--optionButtonBackground);
		border-color: var(--optionButtonBorderColour);
		color: var(--textColour);
		border-radius: 25px;
		font-size: 100%;
		border-width: 4px;
		border-style: solid;
		margin-bottom: 1%;
    }
	.infoInVisible
	{
		text-align: center;
		width: 100%;
		margin: auto;
		font-size: 6vw;
	}
	.areYouSure
	{
		text-align: center;
		width: 50%;
		margin: auto;
		font-size: 6vw;
		z-index: 10;
		font-family: fantasy;
		display: none;
	}
	.areYouSureButtons
	{
		border-radius: 25px;
		border-color: var(--areYouSureBorderColour);
		font-size: 1em;
		border-width: 4px;
		border-style: solid;
	}
}
#optionsContainer
{
	text-align: center;
	padding-top: 2%;
}
#messageHolder
{
	text-align: center;
}
#message
{
	height: 2em;
	color: var(--textColour);
	text-align: center;
	/* font-size: 2em; */
    font-family: fantasy;
}
#buttonsHolder
{
	/* display: inline-flex; */
	text-align: -webkit-center;
}
#upgradeButton
{
	display: none;
	border-radius: 25px;
	border-color: var(--areYouSureBorderColour);
	font-size: 1em;
	border-width: 4px;
	border-style: solid;
	margin-top: 5%;
}
#disconnectButton
{
	display: none;
	border-radius: 25px;
	border-color: var(--buttonBorderColour);
	font-size: 1em;
	border-width: 4px;
	border-style: solid;
}
#connectButton
{
	border-radius: 25px;
	border-color: var(--buttonBorderColour);
	font-size: 1em;
	border-width: 4px;
	border-style: solid;
}
#noBluetooth
{
	display: none;
	border-radius: 25px;
	border-color: var(--buttonBorderColour);
	font-size: 1em;
	border-width: 4px;
	border-style: solid;
}
@keyframes animate {
    0%{
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }
    100%{
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }
}

@keyframes animateReverse {
    0%{
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 50%;
    }
    100%{
        transform: translateY(-1000px) rotate(-720deg);
        opacity: 0;
        border-radius: 00%;
    }
}


.background, .backgroundReverse {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
	z-index: -33;
	background: var(--backgroundColour);
}
.background li {
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    background: var(--effectColour);
    animation: animate 8s infinite;
}
.backgroundReverse li {
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    background: var(--effectColour);
    animation: animateReverse 10s infinite;
}



.background li:nth-child(0) {
    left: 20%;
    width: 5%;
    height: 0;
	padding-bottom: 5%;
    bottom: -10%;
    animation-delay: 1s;
}
.background li:nth-child(1) {
    left: 64%;
    width: 5%;
    height: 0;
	padding-bottom: 5%;
    bottom: -10%;
    animation-delay: 2s;
}
.background li:nth-child(2) {
    left: 2%;
    width: 5%;
    height: 0;
	padding-bottom: 5%;
    bottom: -10%;
    animation-delay: 3s;
}
.background li:nth-child(3) {
    left: 14%;
    width: 10%;
    height: 0;
	padding-bottom: 10%;
    bottom: -20%;
    animation-delay: 4s;
}
.background li:nth-child(4) {
    left: 10%;
    width: 5%;
    height: 0;
	padding-bottom: 5%;
    bottom: -10%;
    animation-delay: 5s;
}
.background li:nth-child(5) {
    left: 44%;
    width: 15%;
    height: 0;
	padding-bottom: 15%;
    bottom: -25%;
    animation-delay: 6s;
}
.background li:nth-child(6) {
    left: 27%;
    width: 5%;
    height: 0;
	padding-bottom: 5%;
    bottom: -10%;
    animation-delay: 7s;
}
.background li:nth-child(7) {
    left: 47%;
    width: 5%;
    height: 0;
	padding-bottom: 5%;
    bottom: -10%;
    animation-delay: 8s;
}
.background li:nth-child(8) {
    left: 33%;
    width: 5%;
    height: 0;
	padding-bottom: 5%;
    bottom: -10%;
    animation-delay: 9s;
}
.background li:nth-child(9) {
    left: 50%;
    width: 5%;
    height: 0;
	padding-bottom: 5%;
    bottom: -10%;
    animation-delay: 10s;
}


.backgroundReverse li:nth-child(0) {
    left: 20%;
    width: 5%;
    height: 0;
	padding-bottom: 5%;
    bottom: -10%;
    animation-delay: 1s;
}
.backgroundReverse li:nth-child(1) {
    left: -5%;
    width: 15%;
    height: 0;
	padding-bottom: 15%;
    bottom: -25%;
    animation-delay: 2s;
}
.backgroundReverse li:nth-child(2) {
    left: 25%;
    width: 5%;
    height: 0;
	padding-bottom: 5%;
    bottom: -10%;
    animation-delay: 3s;
}
.backgroundReverse li:nth-child(3) {
    left: 45%;
    width: 5%;
    height: 0;
	padding-bottom: 5%;
    bottom: -10%;
    animation-delay: 4s;
}
.backgroundReverse li:nth-child(4) {
    left: 80%;
    width: 15%;
    height: 0;
	padding-bottom: 15%;
    bottom: -25%;
    animation-delay: 5s;
}
.backgroundReverse li:nth-child(5) {
    left: 65%;
    width: 5%;
    height: 0;
	padding-bottom: 5%;
    bottom: -10%;
    animation-delay: 6s;
}
.backgroundReverse li:nth-child(6) {
    left: 78%;
    width: 5%;
    height: 0;
	padding-bottom: 5%;
    bottom: -10%;
    animation-delay: 7s;
}
.backgroundReverse li:nth-child(7) {
    left: 87%;
    width: 5%;
    height: 0;
	padding-bottom: 5%;
    bottom: -10%;
    animation-delay: 8s;
}
.backgroundReverse li:nth-child(8) {
    left: 17%;
    width: 5%;
    height: 0;
	padding-bottom: 5%;
    bottom: -10%;
    animation-delay: 9s;
}
.backgroundReverse li:nth-child(9) {
    left: 60%;
    width: 10%;
    height: 0;
	padding-bottom: 10%;
    bottom: -15%;
    animation-delay: 10s;
}
