:root {
    --chaos-color: midnightblue;
    --holy-color: gold;
    --marine-color: turquoise;
    --nature-color: forestgreen;
    --aeries-color: skyblue;
    --pyro-color: red;
    --twilight-color: rebeccapurple;
}

a, a:hover, a:focus, a:active {
    text-decoration:none !important;
}

a {
    color: #ffffff;
}

.navbar-color {
    background-color: #6b0db7;
}

.navbar-color .nav-link {
    color: #ffffff !important;
    padding: 0.5rem 1rem;
}

a:hover, a:focus, a:active, .navbar-color .nav-link:hover {
    color: #e0d4f7 !important; /* Light purple on hover */
}

/* Elemental backgrounds */
.bg-chaos {background-color: var(--chaos-color);}

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

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

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

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

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

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

/* Elemental border */

.border-chaos {border: 4px solid var(--chaos-color) !important;}

.border-holy {border: 2px solid var(--holy-color);}

.border-marine {border: 2px solid var(--marine-color);}

.border-nature {border: 2px solid var(--nature-color);}

.border-aeries {border: 2px solid var(--aeries-color);}

.border-pyro {border: 2px solid var(--pyro-color);}

.border-twilight {border: 2px solid var(--twilight-color);}


/* Footer styling */
footer {
    margin-top: auto; /* Push footer to bottom */
}

footer a:hover {
    color: var(--bs-primary) !important;
    text-decoration: underline;
}


/* Make sure body takes full height */
html, body {
    height: 100%;
}

/*images */
.monster-image-contain {
    max-height: 300px;
    max-width: 100%;
    height: auto;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
    display: block;
    margin: 0 auto; /* Centers the image */
}

.monster-image-observe {
    max-height: 600px;
    max-width: 100%;
    height: auto;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
    display: block;
    margin: 0 auto; /* Centers the image */
}

.logo {
    max-height: 400px;
    max-width:300px;
}

/* mobile navbar */
/* Custom navbar toggler for dark theme */
.navbar-toggler {
    border: 1px solid rgba(18, 6, 6, 0.3);
    padding: 4px 8px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

/* Custom hamburger icon (white lines) */
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Ensure mobile menu has proper background */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: rgba(107, 13, 183, 0.95);
        padding: 10px;
        border-radius: 5px;
        margin-top: 10px;
    }
}