:root {
    --green: #4CAF50;
    --green-success: #17BF33;
    --purple: #5553D3;
    --red: #E42131;
    --orange: #F2930D;
    --info-blue: #5598F6;
    --highlight-blue: #48A6FF;
    --gray: #48535F;
    --light-gray: #CCCCCC;
    --dark-background: #121418;
    --light-background: #1B1F24;
    --light-gray-background: #323A47;
    --main-backgroun: #121418;
    --main-foreground: #323A47;
    --main-highlight: var(--highlight-blue);
}

body {
    font-family: 'lato', sans-serif;
}

.container {
    max-width: 1000px;
    min-width: 50vw;
}

.borderShadow {
    background: white;
    box-shadow: 0px 0px 9px 0px rgba(0, 0, 0, 0.1);
}

main {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1em;
}

.col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    text-align: center;
    gap: 0.5em;
}

li {
    text-align: left;
}

.responsive-table {
    .li {
        border-radius: 3px;
        padding: 25px 30px;
        display: flex;
        justify-content: space-between;
        margin-bottom: 25px;
    }

    .table-header {
        background-color: #95A5A6;
        font-size: 14px;
        text-transform: uppercase;
        letter-spacing: 0.03em;
    }

    .table-row {
        background-color: #ffffff;
        box-shadow: 0px 0px 9px 0px rgba(0, 0, 0, 0.1);
    }

    .col-1 {
        flex-basis: 20%;
    }

    .col-2 {
        flex-basis: 15%;
    }

    .col-3 {
        flex-basis: 25%;
    }

    .col-4 {
        flex-basis: 25%;
    }

    .col-5 {
        flex-basis: 15%;
    }

    @media all and (max-width: 767px) {
        .table-row {

        }

        .li {
            display: block;
        }

        .table-header.li {
            display: none;
        }

        .col {
            flex-basis: 100%;
        }

        .col {
            display: flex;
            padding: 10px 0;

            &:before {
                color: #6C7A89;
                /*padding-right: 10px;*/
                content: attr(data-label);
                flex-basis: 50%;
                text-align: center;
            }
        }
    }
}


.margin-left-7 {
    margin-left: 7em;
}

a {
    text-decoration: none;
    color: inherit;
    display: flex;
}


.bigLabel {
    /*font-size: 2em;*/
    margin-bottom: 0.5em;
    text-align: center;
}

.margin {
    margin: 0.7em;
}

.margin-0 {
    margin: 0;
}

.margin-top-2em {
    margin-top: 2em;
}

.object {
    width: 15em;
}

.padding {
    padding: 0.7em;
}

.paddingSmall {
    padding: 0.3em;
}

.padding-1em {
    padding: 1em;
}

.padding-sides {
    padding-left: 0.7em;
    padding-right: 0.7em;
}

.gap {
    gap: 1em !important;
}

.fill {
    width: -webkit-fill-available !important; /* For Chrome, Chromium and Edge */
    width: -moz-available; /* For Firefox */
    width: fill-available; /* Fallback for the rest */
}

.fillHeight {
    height: -webkit-fill-available; /* For Chrome, Chromium and Edge */
    height: -moz-available; /* For Firefox */
    height: fill-available; /* Fallback for the rest */

}

.buttonImg {
    height: 3.5em;
    width: 3.5em;

}

.buttonImg:hover {
    cursor: pointer;
    fill: var(--main-highlight);
    filter: invert(0.5) sepia(1) saturate(5) hue-rotate(180deg);
    /*filter: invert(30%) brightness(50%) saturate(200%) hue-rotate(180deg);*/
    /*filter: invert(53%) brightness(85%) saturate(700%) hue-rotate(195deg);*/
}

.cluster {
    display: flex;
    justify-content: space-evenly;
    align-items: stretch;
    flex-wrap: wrap;
    row-gap: 1em;
    column-gap: 1em;
    flex-grow: 0;
}

.alertPop {
    position: absolute;
    top: 2em; /* Adjust top position as needed */
    left: 45%; /* Adjust left position as needed */
    background-color: #4CAF50; /* Green */
    color: white;
    padding: 15px;
    border-radius: 5px;
    /* display: none;  */
    opacity: 0; /* Initial opacity */
    transition: opacity 0.5s ease; /* Opacity transition */
}

.textInput {
    font-family: 'Fredoka One', sans-serif;
    appearance: none;
    outline: none;
    background-color: transparent;
    border: 2px solid slategray;
    padding: 0.5em;
    border-radius: 5px;
    transition: all .15s ease;
    box-sizing: border-box; /* Ensure padding and border are included in width */
}

.solidBorder {
    border-radius: 5px;
    border: 2px solid white;
}

.bigFont {
    font-size: 2em;
}

.textCenter {
    text-align: center;
}

.minWidthHeight {
    min-width: 15em;
    min-height: 60%;
}

.max-width-50em {
    max-width: 50em;
}

.max-width-40em {
    max-width: 50em;
}

.max-width-15em {
    max-width: 15em;
}

.min-width-8em {
    min-width: 8em;
}

.flex {
    display: flex;
}

.justifyContent-space-between {
    justify-content: space-between !important;
}

.justifyContent-center {
    justify-content: center;
}

.justifyContent-start {
    justify-content: flex-start !important;
}


.alignItems-center {
    align-items: center !important;
}

.alignItems-start {
    align-items: flex-start !important;
}

.alignSelf-center {
    align-self: center;
}

.highlightBorder {
    border: 5px var(--gray) solid !important;
}

.selected {
    border: 5px var(--main-highlight) solid !important;
}

.selectedButton {
    border: 5px var(--main-highlight) solid !important;
    background-color: var(--main-highlight);
}

.clickable {
    border: 5px transparent solid;
}

.clickable:hover {
    cursor: pointer;
    border: 5px var(--main-highlight) solid !important;
}


.textInput:hover {
    background-color: lightgrey 40%;
    border-color: var(--main-highlight);
}

.textInput:focus {
    border-color: var(--main-highlight);
    /*color: white;*/
}

.inputElement {
    display: flex;
    flex-direction: column;
    row-gap: 0.3em;
}

input[type="checkbox"] {
    /*width: auto;*/
    transform: scale(2); /* Adjust the scale factor as needed */
    margin: 10px; /* Optional: add margin for spacing */
}

.valueDisplay {
    margin-top: 0.2em;
    color: #ffffff;
    font-size: 0.9em;
}

.button-64 {
    font-family: 'Fredoka One', sans-serif;
    background-color: var(--light-background);
    border-radius: 5px;
    border: 3px solid var(--light-gray);
    color: white;
    font-size: 0.7em;
    min-width: 5em;
    height: 5em;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    cursor: pointer;
    text-align: center;
}

.darkBg {

    /*background-color: var(--dark-background);*/
}

.lightBg {

    background-color: #ffffff;
    box-shadow: 0px 0px 9px 0px rgba(0, 0, 0, 0.1);
    /*background-color: var(--light-background);*/
}

.lightGrayBg {
    /*background-color: var(--light-gray-background);*/
}

.button-64:hover {
    border-color: var(--main-highlight);
    /*background-color: #ffffff;*/
    color: var(--main-highlight);
}

.button-64:active {
    background-color: var(--main-highlight);
    color: white;
}

.label {
    font-size: 1.5em;
}

.labelSmall {
    font-size: 1em;
}


.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--main-backgroun); /* Replace 'background-image.jpg' with your image file */
    background-size: cover;
    z-index: -1; /* Ensure the background is behind other content */
}

.shadow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    background-color: var(--light-background);
    opacity: 0.5;
    background-size: cover;
}

.row {
    display: flex;
    /*justify-content: center;*/
    align-items: stretch;
    /*height: 100%;*/
    column-gap: 1em;
}

.relative {
    position: relative;
    padding-top: 3em;
}

.relativeContainer {
    position: relative;
}

.relativeTitle {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    z-index: 1;
}

.word-wrap-break {
    word-wrap: break-word; /* Ensures long words break to fit the container */
    word-break: break-word; /* Legacy property for compatibility */
    overflow-wrap: break-word; /* Modern, preferred property */
}

.roundedBorder {
    border-radius: 5px;
}

.roundedBorderInternal {
    border-radius: 2.5px !important;
}

.flex-start {
    justify-content: flex-start;
}

.hidden {
    display: none !important;
}

.navBar {
    position: absolute;
    height: 95vh;
    max-height: 100%;
    left: 0;
    padding: 1em;
    display: flex;
    justify-content: space-between;
    gap: 1em;
    align-items: center;
    z-index: 10;

    top: 0;
    max-width: fit-content;
}

.logo {
    height: 5em;
}

.logoMain {
    position: absolute;
    bottom: 2em;
    height: 5em;
}

.addElement {
    position: absolute;
    top: 20%;
    transform: translateX(-50%);
    left: 50%;
    z-index: 11;
}

.popUp {
    padding: 1em;
    text-align: center;
    word-wrap: break-word;
    overflow: hidden;
}

.alert {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    padding: 1em;
    border-radius: 5px;
    opacity: 0; /* Initial opacity */
    transition: opacity 0.5s ease; /* Opacity transition */
    z-index: 100;
}

.danger {
    background-color: var(--red);
    border-color: var(--red);
}

.warning {
    background-color: var(--orange);
    border-color: var(--orange);
}

.good {
    background-color: var(--green-success);
    border-color: var(--green-success);
}

.goodBorder {
    border-color: var(--green-success) !important;
}

.dangerBorder {
    border-color: var(--red) !important;
}

.info {
    background-color: var(--info-blue);
    border-color: var(--info-blue);
}

.info_bat {
    background-color: var(--info-blue);
    border-color: var(--info-blue);
}

.report {
    background-color: var(--info-blue);
    border-color: var(--info-blue);
}

.closeButton {
    font-size: 1.5em;
    position: absolute;
    top: 0;
    right: 0.3em;
    opacity: 70%;
}

.closeButton:hover {
    cursor: pointer;
}

.closeButton:active {
    color: transparent;
}

.clearButton {
    font-size: 1.5em;
    top: 0;
    right: 0.3em;
    opacity: 70%;
}

.clearButton:hover {
    cursor: pointer;
}

.clearButton:active {
    color: transparent;
}

.alertTimestamp {
    position: absolute;
    top: 0.3em;
    left: 0.3em;
    opacity: 70%;
}

.max-height-30em {
    max-height: 30em;
}

.overflow-y {
    overflow-y: auto;
}

::-webkit-scrollbar {
    width: 0.7em;
}

::-webkit-scrollbar-track {
    border-radius: 8px;
    background-color: transparent;
    border: 1px solid #cacaca;
}

::-webkit-scrollbar-thumb {
    border-radius: 8px;
    border: 3px solid transparent;
    background-clip: content-box;
    background-color: var(--gray);
}

.width-fit-content {
    width: fit-content;
}


@media (max-width: 1600px) {
    .column-1600 {
        flex-direction: column;
        row-gap: 1em;
    }

    .max-width-40em {
        max-width: 50em;
    }

    .logoMain {
        height: 3em;
        bottom: 0;
    }

    .tablet-margin-left-6em {
        margin-left: 6em;
    }
}

@media (max-width: 1200px) {
    .tablet-margin-left-6em {
        margin: 0;
    }

    main {
        align-items: unset;
    }

    .margin-left-7 {
        margin-left: 0;
    }

    .mobileAlignItemsStretch {
        align-items: stretch !important;
    }

    .max-width-40em {
        max-width: none;
    }

    .max-width-50em {
        max-width: none;
    }

    .max-width-15em {
        max-width: none;
    }

    .backButton {
        display: flex;
        position: unset;
        margin: 1em;
    }

    .container {
        padding: 10px;
    }

    .row {
        flex-direction: column;
        align-items: stretch;
        row-gap: 0.5em;
    }

    .alwaysRow {
        flex-direction: row !important;
    }

    .cluster {
        flex-direction: column;
        align-items: center;
        width: auto;
    }

    .column {
        justify-content: center;
        align-content: center;
    }

    .card {
        padding: 2em;
        height: auto;
        width: auto;
    }

    input[type="checkbox"] {
        scale: none;
        width: 1em;
        align-self: center;
    }

    .logo {
        display: none;
    }

    .logoMain {
        height: 3em;
    }

    .primary {
        flex-direction: column-reverse;
    }

    .navBar {
        padding: 0.5em;
        position: sticky;
        bottom: 0;
        z-index: 9;
        left: unset;
        height: unset;
        flex-direction: row;
        justify-content: space-around;
        max-width: unset;
    }

    .nav {
        flex-direction: row;
    }

    .wide {
        justify-content: center;
        width: 100%;
    }

}
