:root {
    --green: #13430F;
    --red: #9B3029;
    --blue: #253E4B;
    --black: #0e0e0e;
    --white: #fafafa;

    --border-radius: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    color: var(--white);
    font-size: 1rem;
    font-family: 'roboto', Tahoma, Geneva, Verdana, sans-serif;
    transition: 0.25s;
}

* ::-webkit-scrollbar {
    width: 12px;
}
* ::-webkit-scrollbar-track {
    background: var(--black);
}
* ::-webkit-scrollbar-thumb {
    background-color: var(--white);
    border-radius: 20px;
}

body {
    overflow: hidden;
    background: none;
    background-size: 100%;
    background-position: center;
    height: 100vh;
    width: 100vw;
}

h1, h2 {
    font-family: 'roboto slab', Tahoma, Geneva, Verdana, sans-seri;
}


table {
    border-collapse: collapse;
    width: 100%;

}
table * {
    font-weight: lighter;
}
table th {
    position: sticky;
    top: 0;
    font-weight: bold;
    background-color: var(--black);
    padding: 0.4rem 0.3rem;
}
table td {
    padding: 0.4rem 0.3rem;
}

table tr:hover, .tableRow:hover, .tableRowClicked {
    background-color: var(--blue);
}
#alertMessageWrapper > table * {
    border: 1px solid var(--blue);
}

.buttonRed {
    padding: 0.5rem 1.5rem;
    background-color: var(--red);
}
.buttonGreen {
    padding: 0.5rem 1.5rem;
    background-color: var(--green);
}
.buttonBlue {
    padding: 0.5rem 1.5rem;
    background-color: var(--blue);
}
.smallButtonRed {
    padding: 0.25rem 0.75rem;
    background-color: var(--red);
}
.smallButtonGreen {
    padding: 0.25rem 0.75rem;
    background-color: var(--green);
}
.smallButtonBlue {
    padding: 0.25rem 0.75rem;
    background-color: var(--blue);
}
.button {
    border: none;
    border-radius: 6px;
    box-shadow: inset 0 0 0 1px var(--black);
    cursor: pointer;
}
.button:hover {
    transform: scale3d(1.1, 1.1, 1.1);
}

.toggleButton {
    display: block;
    position: relative;
    text-align: left;
    padding: 0.5rem 2.5rem 0.5rem 1rem;
    background-color: var(--blue);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.toggleButton input {
    position: absolute;
    opacity: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    height: 90%;
    width: 2rem;
    margin: 2px;
    border-radius: 8px;
    border: none;
    font-size: 2rem;
}
.checkmark:after {
    position: absolute;
    right: 0.2rem;
    top: -0.1rem;
    bottom: -0.1rem;
    content: "✘";
    font-size: 1.7rem;
    display: block;
}
.toggleButton input:checked ~ .checkmark:after {
    content: "✔";
}


#alert {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;

    background-color: #0e0e0ed3;

    display: flex;
    justify-content: center;
    align-items: center;

}
.alertWrapper {
    position: relative;
    background-color: var(--black);
    border: 2px solid var(--red);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    min-width: 20rem;
    max-width: 90%;
    width: auto;
    max-height: 90%;
    overflow: hidden;
    letter-spacing: 0.1rem;

    display: flex;
    flex-direction: column;
}
.alertWrapper > * {
    margin: 0.5rem;
}
.alertWrapper > button {
    align-self: center;
}
#alertButtonWrapper {
    width: 90%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}


.hidden, .hidden * {
    display: none;
    height: 0;
    width: 0;
}
