:root{
    --radius: 15px;
    --canvasOffset: -5px;
}

body{
    /* background-color: #dfdfdf; */
    display: flex;
    justify-content: center;
    align-items: center;
}

h2{
    color: #777777;
    font-size: 24px;
}

/** orbit pattern **/
.pattern-container {
    display: grid;
    grid-template-columns: auto auto auto auto auto;
}

.box{
    display: flex;
    justify-content: center;
    align-items: center;
    width: calc(var(--radius)*10.5);
    height: calc(var(--radius)*10.5);
}

.track{
    position: relative;
    width: calc(var(--radius)*8);
    height: calc(var(--radius)*8);
}

.circle{
    border-radius: calc(var(--radius)*4);
}

.hexagon {
    position: relative;
    width: calc(var(--radius)*8);
    height: calc(var(--radius)*4);
}

.hexagonTop {
    position: relative;
    top: calc(var(--radius)*-2);
    width: 0;
    height: 0;
    border-style: solid;
    /*top right bottom left*/
    border-width: 0 calc(var(--radius)*4) calc(var(--radius)*2) calc(var(--radius)*4);
    border-color: transparent transparent #007bff transparent;
}

.hexagonBottom {
    position: relative;
    bottom: calc(var(--radius)*-2);
    width: 0;
    height: 0;
    border-style: solid;
    /*top right bottom left*/
    border-width: calc(var(--radius)*2) calc(var(--radius)*4) 0 calc(var(--radius)*4);
    border-color: transparent transparent #007bff transparent;
}

.triangle{
    width: 0;
    height: 0;
    border-style: solid;
    /*top right bottom left*/
    border-width: 0 calc(var(--radius)*4) calc(var(--radius)*8) calc(var(--radius)*4);
    border-color: transparent transparent #007bff transparent;
}

.rectangle{
    height: calc(var(--radius)*4);
}

.canvas{
    position: absolute;
    top: var(--canvasOffset);
    left: var(--canvasOffset);
    z-index: 1;
}

.discX{
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: calc(var(--radius)*2);
    height: calc(var(--radius)*2);
    border-radius: var(--radius);
    opacity: .8;
    z-index: 2;
    font-size: 12px;
    color: white;
}

.discY{
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: calc(var(--radius)*2);
    height: calc(var(--radius)*2);
    border-radius: var(--radius);
    opacity: .8;
    z-index: 2;
    font-size: 12px;
    color: white;
}

/** settings **/
.settings-container {
    display: grid;
    grid-template-columns: auto;
    padding: 5px;
}

.increment{
    color: #777777;
    font-weight: bold;
    text-align: center;
}

/*** src: https://www.bestcssbuttongenerator.com/#/36 ***/
.myButton {
	-moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
	-webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
	box-shadow:inset 0px 1px 0px 0px #ffffff;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ededed), color-stop(1, #dfdfdf));
	background:-moz-linear-gradient(top, #ededed 5%, #dfdfdf 100%);
	background:-webkit-linear-gradient(top, #ededed 5%, #dfdfdf 100%);
	background:-o-linear-gradient(top, #ededed 5%, #dfdfdf 100%);
	background:-ms-linear-gradient(top, #ededed 5%, #dfdfdf 100%);
	background:linear-gradient(to bottom, #ededed 5%, #dfdfdf 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#dfdfdf',GradientType=0);
	background-color:#ededed;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	border-radius:6px;
	border:1px solid #dcdcdc;
	display:inline-block;
	cursor:pointer;
	color:#777777;
	font-family:Arial;
	font-size:15px;
	font-weight:bold;
	padding:6px 24px;
	text-decoration:none;
	text-shadow:0px 1px 0px #ffffff;
}
.myButton:hover {
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #dfdfdf), color-stop(1, #ededed));
	background:-moz-linear-gradient(top, #dfdfdf 5%, #ededed 100%);
	background:-webkit-linear-gradient(top, #dfdfdf 5%, #ededed 100%);
	background:-o-linear-gradient(top, #dfdfdf 5%, #ededed 100%);
	background:-ms-linear-gradient(top, #dfdfdf 5%, #ededed 100%);
	background:linear-gradient(to bottom, #dfdfdf 5%, #ededed 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#dfdfdf', endColorstr='#ededed',GradientType=0);
	background-color:#dfdfdf;
}
.myButton:active {
	position:relative;
	top:1px;
}
/*** end src ***/

@media screen and (max-width: 600px) {
    :root{
        --radius: 10px;
    }

    body{
        display: block;
    }

    .discY, .discX{
        font-size: 10px;
    }
}