html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 12px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-y: scroll;
    margin-bottom: 60px;
    font-family: 'Press Start 2P', monospace;
    font-size: 14px;
    background-image: url("/background-2.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    color: black; 
    text-shadow: -1px -1px 0 white, 1px -1px 0 white, -1px 1px 0 white, 1px 1px 0 white;
}

.navbar {
    background-image: url("/Leaf_Block_(placed)_new.png");
    background-repeat: repeat;
    background-size: auto;
}

.content {
    position: relative;
    z-index: 1;
    padding: 2rem;
    color: white;
}

.navbar .btn {
    color: #000 !important; 
    text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff; 
}

.footer {
    background-image: url("/Mudstone_Brick_29.jpg");
    background-repeat: repeat;
    background-size: auto;
}

.table {
    background-color: #2c2c2c;
    border: 4px solid #fff;
}

th, td {
    border: 4px solid #fff;
    color: #2c2c2c;
    vertical-align: middle;
}

.icon-cell {
    text-align: center;
    vertical-align: middle;
}

.btn {
    background-color: #4d4d4d;
    color: #fff;
    border: 2px solid #aaa;
}

.btn:hover {
    background-color: #666;
    border-color: #fff;
}

.custom-checkbox {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-size: 1.25rem;
}

    .custom-checkbox input[type="checkbox"] {
        display: none;
        opacity: 0;
        width: 0;
        height: 0;
    }

    .custom-checkbox .checkmark {
        width: 32px;
        height: 32px;
        background: #eee;
        border: 2px solid #aaa;
        border-radius: 5px;
        margin-right: 12px;
        box-sizing: border-box;
        position: relative;
        transition: background 0.2s, border-color 0.2s;
        display: inline-block;
    }

    .custom-checkbox input[type="checkbox"]:checked + .checkmark {
        background: #2196F3;
        border-color: #2196F3;
    }

    .custom-checkbox .checkmark:after {
        content: "";
        position: absolute;
        display: none;
    }

    .custom-checkbox input[type="checkbox"]:checked + .checkmark:after {
        display: block;
    }

    .custom-checkbox .checkmark:after {
        left: 10px;
        top: 4px;
        width: 8px;
        height: 16px;
        border: solid white;
        border-width: 0 4px 4px 0; /* adjust for tick thickness */
        transform: rotate(45deg);
        /* The following helps center the checkmark for any size */
        box-sizing: border-box;
    }