:root {
    --color-1: black;
    /*     --color-1: rgb(0,0,0); */
    --main2-bg-color: rgb(11, 9, 11);
    --text1-color: rgb(255, 255, 255);

    --color-2: rgb(50, 50, 50);
    --neon-color-1: rgb(255, 35, 35);
    --neon-color-2: rgba(255, 35, 35, 0.733);
    --neon-color-3: white;
    --neon-color-4: white;
    ;

    --fadein-dur: 1.5s;

    --roadmap-spacing: 60px;
    --roadmap-initial-spacing: 35px;
}

@font-face {
    font-family: myFont;
    src: url(../fonts/HWYGOTH.TTF)
}

.myFont {
    font-family: myFont;
    color: var(--neon-color-1);
}


.bg-black {
    background-color: var(--color-1);
}

.bg-white {
    background-color: white;
}

.my-black2-row {
    background-color: var(--main2-bg-color);
}

#img-header {
    width: 100%;
    max-width: 375px;
    height: auto;
    margin: auto;
    display: block;
}

body {
    background-color: var(--color-1);
}

.neonText {
    color: var(--neon-color-1);
    text-shadow:
        0 0 7px var(--neon-color-1),
        0 0 10px var(--neon-color-1),
        /*       0 0 21px var(--neon-color-1), */
        0 0 42px var(--neon-color-2),
        0 0 82px var(--neon-color-2),
        0 0 92px var(--neon-color-2),
        0 0 102px var(--neon-color-2)
        /*       0 0 151px var(--neon-color-2); */
}



h3 {
    color: white;
    font-size: 60px;
    font-family: myFont;
}

p {
    color: white;
    font-size: 25px;
    font-family: myFont;
}

h1 {
    color: white;
    font-size: 25px;
    font-family: myFont;
}

.footer {
    color: white;
    font-size: 16px !important;
    font-family: myFont;
}

a.footer {
    color: white;
    text-decoration: none;
}

a.footer:hover {
    color: red;
}


.neon-button {
    line-height: 25px;
    background-color: black;
    z-index: 2;
    width: 80px;
    height: 80px;
    font-size: 25px;
    font-family: myFont;
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
    color: var(--neon-color-1);
    border: var(--neon-color-1) 2px solid;
    padding: 0px;
    border-radius: 40px;
    text-shadow: 0 0 2px var(--neon-color-1), 0 0 8px currentColor;
    box-shadow: inset 0 0 8px 0 var(--neon-color-2), 0 0 8px 0 var(--neon-color-2);
}

.byte-button {
    line-height: 2vw;
    background-color: black;
    z-index: 2;
    width: 7.5vw;
    height: 4vw;
    font-size: 2vw;
    font-family: myFont;
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
    color: var(--neon-color-1);
    border: var(--neon-color-1) 2px solid;
    padding: 0px;
    border-radius: 0.6vw;
    text-shadow: 0 0 2px var(--neon-color-1), 0 0 8px currentColor;
    box-shadow: inset 0 0 8px 0 var(--neon-color-2), 0 0 8px 0 var(--neon-color-2);
}



/* .neon-button:hover {
    color: var(--black);
    background: var(--neon-color-1);
    box-shadow: 0 0 10px var(--neon-color-2), 0 0 40px var(--neon-color-2), 0 0 80px var(--neon-color-2);
    transition-delay: 0;
    text-shadow: none;
} */

.noHover {
    pointer-events: none;
}

.neon-button-2 {
    line-height: 25px;
    background-color: black;
    z-index: 2;
    width: 80px;
    height: 80px;
    font-size: 25px;
    font-family: myFont;
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
    color: var(--neon-color-1);
    border: var(--neon-color-1) 2px solid;
    padding: 0px;
    border-radius: 40px;
    text-shadow: 0 0 2px var(--neon-color-1), 0 0 8px currentColor;
    box-shadow: inset 0 0 8px 0 var(--neon-color-2), 0 0 8px 0 var(--neon-color-2);
}

.fadein {
    -webkit-animation: fadein var(--fadein-dur);
    /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: fadein var(--fadein-dur);
    /* Firefox < 16 */
    -ms-animation: fadein var(--fadein-dur);
    /* Internet Explorer */
    -o-animation: fadein var(--fadein-dur);
    /* Opera < 12.1 */
    animation: fadein var(--fadein-dur);
}

@keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Internet Explorer */
@-ms-keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

#butConnectBLE {
    background-image: url(../img/BLE_icon_white-2.png);
}

.butContainer {
    position: relative;
    width: 100px;
    height: 100px;
    margin-left: 0;
    margin-right: auto;
}

.butConnect {
    height: 100px;
    width: 100px;
    max-width: 100%;
    max-height: 100%;
    background-repeat: no-repeat;
    background-color: transparent;
    border-color: transparent;
    background-size: contain;
    background-position: center;
    cursor: pointer;
    display: block;
}

#gCanvas {
    max-width: 100%;
}

#g-canvas-wrapper {
    margin-left: auto;
    margin-right: auto;
    /*     width: 500px;
    height: 500px; */
    width: 60vh;
    height: 60vh;
}


.can-msg-header {
    all: unset;
    font-family: myFont;
    color: var(--text1-color);
    font-size: 2vw;
}





.val-label {
    margin-left: 0;
    margin-right: auto;
    margin-bottom: 0;
    font-size: 25px;
    color: var(--text1-color)
}

.unit-label {
    font-size: 18px;
    font-family: myFont;
    ;
    margin-bottom: 0;
    margin-top: 0;
}

.center-vert {
    margin-top: auto;
    margin-bottom: auto;
}

.splash {
    z-index: 200;
    position: fixed;
    width: 100vw;
    height: 100vh;
    background-image: url(../img/logo-1_THB_alpha.png);
    background-repeat: no-repeat;
    background-color: black;
    background-size: contain;
    background-position: 50% 30%;
}

.display-none {
    display: none;
}

.icon {
    max-width: 100%;
    max-height: 9vh;
    object-fit: contain;
    font-size: 3vw;
}

.mainView {
    height: 100vh;
}

.navbar {
    height: 10vh;
}

body {
    overscroll-behavior: contain;
}

.btn:focus {
    box-shadow: none;
}

.btn:hover {
    display: hidden;
    color: transparent;
}

.text-input-1 {
    background: var(--color-2);
    width: 120px;
    max-width: 100%;
    border-radius: 10px;
    padding-left: 5px;
    border: none;
    outline: none;
    color: var(--text1-color);
    /*     margin-bottom: 0;
    line-height: 2vw; */
}

.select-all-button {
    background-image: url(../img/select-all_white_icon.png);
    height: 4vw;
    background-position: left;
    min-height: 25px;
}

#add-can-msg {
    background-image: url(../img/plus_icon_white.png);
    width: 50px;
    height: 50px;
}

#can-download {
    background-image: url(../img/white-arrow-down_icon.png);
    width: 50px;
    height: 50px;
}

#can-download {
    background-image: url(../img/white-arrow-down_icon.png);
    width: 50px;
    height: 50px;
    margin-left: auto;
    margin-right: auto;
}

#can-upload {
    background-image: url(../img/white-arrow-up_icon.png);
    width: 50px;
    height: 50px;
    margin-left: auto;
    margin-right: auto;
}

.remove-can-msg {
    height: 50px;
    font-size: 50px;
    line-height: 50px;
    font-family: myFont;
    color: var(--text1-color);
}

.grey-out {
    opacity: 0.5;
}

.no-pointer {
    pointer-events: none;
}

.font-size-0 {
    font-size: 0;
}


@media screen and (max-width: 961px) and (min-height: 450px) {
    #g-canvas-wrapper {
        width: 28vh;
        height: 28vh;
    }
}

@media screen and (max-width:575px) {
    .byte-button {
        line-height: 4vw;
        background-color: black;
        z-index: 2;
        width: 15vw;
        height: 8vw;
        font-size: 4vw;
        font-family: myFont;
        display: inline-block;
        cursor: pointer;
        text-decoration: none;
        color: var(--neon-color-1);
        border: var(--neon-color-1) 0.25vw solid;
        padding: 0px;
        border-radius: 1.25vw;
        text-shadow: 0 0 0.25vw var(--neon-color-1), 0 0 1vw currentColor;
        box-shadow: inset 0 0 1vw 0 var(--neon-color-2), 0 0 1vw 0 var(--neon-color-2);
    }

    .can-msg-header {
        font-size: 4vw;
    }

    .select-all-button {
        margin-top: 1vw;
    }
}

.button-1-active {
    color: black;
    background: var(--neon-color-1);
    text-shadow: none;
    box-shadow: 0 0 10px var(--neon-color-2), 0 0 40px var(--neon-color-2), 0 0 80px var(--neon-color-2);
    transition-delay: 0;
}

.button-1-inactive {
    color: var(--neon-color-1);
    border: var(--neon-color-1) 2px solid;
    text-shadow: 0 0 2px var(--neon-color-1), 0 0 8px currentColor;
    box-shadow: inset 0 0 8px 0 var(--neon-color-2), 0 0 8px 0 var(--neon-color-2);
}

.button-2-inactive {
    color: var(--color-2);
    border-color: var(--color-2);
    text-shadow: none;
    box-shadow: none;
}

.button-2-active {
    color: var(--neon-color-1);
    border: var(--neon-color-1) 2px solid;
    text-shadow: 0 0 2px var(--neon-color-1), 0 0 8px currentColor;
    box-shadow: inset 0 0 8px 0 var(--neon-color-2), 0 0 8px 0 var(--neon-color-2);
}

.can-control-descr {
    font-size: 18px;
}