body {
  font-family: 'Quicksand', sans-serif !important;
  height: 100%;
}

.footer {
    position: relative;
    /*background: rgba(52,58,64,1);*/
    background: black;
    height: 8.125em;
    border-bottom-right-radius: 15px;
    border-bottom-left-radius: 15px;
}
.footer:before {
    content: "";
    position: absolute;
    z-index: 5;
    display: block;
    right: 0;
    top: -2.5rem;
    width: 100%;
    /*background: rgba(52,58,64,1);*/
    background: black;
    -webkit-transform: skewY( -2deg );
    -ms-transform: skewY(-2deg);
    transform: skewY( -2deg );
    height: 8.125rem;
}

.content {
  position: relative;
  color: white;
  width: 100%;
  z-index: 6;
}

.number {
    font-family: Andale Mono, AndaleMono, monospace;
}

.align-right {
    text-align: right;
}

.boxed {
    margin-top:10px;
    padding:5px;
    border:1px solid black;
    background-color:white;
    border-radius: 5px;
}

.container-content {
    position: relative;
    background-color: white;
    min-height: 550px;
    padding-bottom: 100px;
    z-index: 4;
    opacity: 0.92;
}
.bottom {
    padding-bottom: 50px;
}

.head {
    /*background: rgba(52,58,64,1);*/
    background: black;
    padding: 15px;
    color: white;
    border-top-right-radius: 15px;
    border-top-left-radius: 15px;
}

#ingredient_calculation {
    margin-top: 10px;
    padding: 5px;
    border: 1px solid black;
}

#hop_calculator {
    margin: 5px;
    padding: 20px;
    border: 2px solid black;
    border-radius: 5px;
}

#hop_calculator .warning {
    font-size: 10px;
    color: black;
}

#missing_ingredient {
    margin: 5px;
    padding: 5px;
    border: 2px solid red;
    border-radius: 5px;
}
.warning {
    color: red;
}

a {
    color: rgb(35, 126, 255);
    text-decoration: none !important;
}

/* Remove Bootstrap 5 default underlines from links */
a:hover, a:focus {
    text-decoration: underline !important;
}

/* Navigation link styling */
.navbar-nav .nav-link {
    color: #6c757d !important; /* Gray color */
    text-decoration: none !important;
}

.navbar-nav .nav-link:hover {
    color: white !important; /* White on hover */
    text-decoration: none !important;
}

.navbar-nav .nav-item.active .nav-link {
    color: white !important; /* White when active */
    text-decoration: none !important;
}

/* Remove bold from table headers */
.table th {
    font-weight: normal !important;
}

/* Custom table row background colors - Override Bootstrap 5 CSS variables */
.category-wuerzekochung {
    --bs-table-bg: #CEECF5 !important;
    background-color: #CEECF5 !important;
}

.category-maischen {
    --bs-table-bg: #E0F2F7 !important;
    background-color: #E0F2F7 !important;
}

.category-anstellwuerze {
    --bs-table-bg: #A9E2F3 !important;
    background-color: #A9E2F3 !important;
}

/* Hover effects for colored rows */
.category-wuerzekochung:hover {
    --bs-table-bg: #B8E0ED !important;
    background-color: #B8E0ED !important;
}

.category-maischen:hover {
    --bs-table-bg: #CAE8EF !important;
    background-color: #CAE8EF !important;
}

.category-anstellwuerze:hover {
    --bs-table-bg: #93DAEB !important;
    background-color: #93DAEB !important;
}

/* Remove underlines from buttons and all links */
.btn, .btn:hover, .btn:focus, .btn:active {
    text-decoration: none !important;
}