/* Default styles */
@font-face {
    font-family: 'Montserrat';
    src: url('Montserrat.ttf') format('truetype');
}

@font-face {
    font-family: 'Vampire Wars Italic';
    src: url('Vampire Wars Italic.otf') format('opentype');
}

body {
    font-family: 'Montserrat', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #000000; /* fallback for old browsers */
    background: -webkit-linear-gradient(
      to bottom,
      #000000,
      #290000,
      #680000
    ); /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to bottom, #000000, #290000, #680000);
    color: white;
}

.base-container {
    width: 85%; /* Custom width */
    max-width: 1800px; /* Max width for large screens */
    margin-right: auto;
    margin-left: auto;
    padding-right: 15px;
    padding-left: 15px;
}

/* Responsive width - adjsut as needed */
@media (min-width: 768px) {
    .base-container {
        width: 80%;
    }
}

@media (min-width: 992px) {
    .base-container {
        width: 75%;
    }
}

@media (min-width: 1200px) {
    .base-container {
        width: 70%;
    }
}

.vampire-wars {
    font-family: 'Vampire Wars Italic', sans-serif;
}

.vampire-wars-title {
    font-size: 9em;
    font-family: 'Vampire Wars Italic', sans-serif;
    text-shadow: 0 0 10px #000000, 0 0 20px #680000, 0 0 30px #680000, 0 0 40px #680000; /* Added red glow */
    color: #000000;
}

.navbar {
    background-color: #000000;
    color: #ffffff;
    font-family: 'Vampire Wars Italic', sans-serif;
    font-size: 1.5rem;
}

.navbar-brand {
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar a {
    color: #ffffff;
}

.navbar a:hover,
.navbar a:active,
.navbar a:focus {
    color: #000000; /* Changed hover color to bright red */
    text-shadow: 0 0 10px #ff0000, 0 0 20px #ff0000, 0 0 30px #ff0000, 0 0 40px #ff0000; /* Added glow effect */
}

.navbar .dropdown-menu {
    background-color: #000000;
    color: #ffffff;
    text-align: center; /* Centered all text horizontally */
}

.navbar .dropdown-menu a {
    color: #ffffff;
}

.navbar .dropdown-menu a:focus,
.navbar .dropdown-menu a:hover,
.navbar .dropdown-menu a:active {
    color: #000000; /* Changed hover color to bright red */
    text-shadow: 0 0 10px #ff0000, 0 0 20px #ff0000, 0 0 30px #ff0000, 0 0 40px #ff0000; /* Added glow effect */
    background-color: #000000;
}

.navbar-toggler {
    border-color: #290000;
}

.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(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.btn-primary {
    background-color: #680000;
    border-color: #680000;
}

.alert {
    border-radius: 0;
    box-shadow: none;
    font-size: 14px;
}

.btn-secondary {
    background-color: #290000;
    border-color: #290000;
    color: #fff;
}

.alert {
    background-color: #290000;
    border-color: #290000;
    color: #f8f9fa;
}

.alert-primary {
    color: #c9d1d9;
}

.alert-secondary {
    color: #9ca3af;
}

.table {
    color: #fff;
}

th,
td {
    border-color: #000000;
    color: #fff;
}

th {
    background-color: #000000;
    border-bottom-color: #000000;
    color: #f8f9fa;
}

tbody tr:nth-of-type(even) {
    background-color: #000000;
}

.chart-image {
    width: 100%;
    max-width: 100%;
    height: auto;
}

@media (max-width: 576px) {
    .chart-image {
        width: 100%;
        height: auto;
        max-width: 100%;
    }
}

.custom-input,
.custom-input[type="password"] {
    box-sizing: border-box;
    width: 25vw;
    max-width: 800px;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #fff;
    background-color: #290000;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    border-color: #680000;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.custom-input:focus,
.custom-input[type="password"]:focus {
    color: #fff;
    background-color: #290000;
    border-color: #1a202c;
    outline: 0;
    box-shadow: 0 0 0 0.2rem #680000;
}

.form-control {
    box-sizing: border-box;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #fff;
    background-color: #290000;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    border-color: #680000;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    color: #fff;
    background-color: #290000;
    border-color: #1a202c;
    outline: 0;
    box-shadow: 0 0 0 0.2rem #680000;
}

.form-select{
    box-sizing: border-box;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #fff;
    background-color: #290000;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    border-color: #290000;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-select:focus{
    color: #fff;
    background-color: #290000;
    border-color: #1a202c;
    outline: 0;
    box-shadow: 0 0 0 0.2rem #680000;
}

/* Styling for buttons in login and register */
.button-container {
    display: flex;
    gap: 20px;
}

/* Card Styles */
.card {
    margin-bottom: 1.5rem;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    background-color: #290000;
    border-color: #290000;
}

.card-header {
    padding: 0.75rem 1.25rem;
    margin-bottom: 0;
    border-bottom: 1px solid #dee2e6;
    background-color: #290000;
    border-color: #290000;
    color: #fff;
}

.card-body {
    padding: 1.25rem;
    background-color: #290000;
    color: #fff;
}

.card-title {
    margin-bottom: 0.75rem;
    color: #fff;
}

.card-text {
    margin-bottom: 1rem;
    color: #fff;
}

/* List group */
.list-group {
    padding-left: 0;
    margin-bottom: 20px;
}

.list-group-item {
    position: relative;
    display: block;
    padding: 0.75rem 1.25rem;
    border: 1px solid rgba(0, 0, 0, 0.125);
    background-color: #290000;
    border-color: #fff;
    color: #fff;
}

/* Button Group */
.btn-group,
.btn-group-vertical {
    position: relative;
    display: inline-flex;
    vertical-align: middle;
}

.btn-group .btn-primary {
    background-color: #680000;
    border-color: #680000;
}

.lobby-info-card,
.player-score-card {
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 10px;
    text-align: center;
    margin: 10px;
}

.lobby-info-card h6,
.player-score-card h6 {
    font-weight: bold;
    margin-bottom: 5px;
}

/* style for all buttons */
.gradient-btn {
    background-image: linear-gradient(to right, #000000 0%, #680000 100%);
    border: none;
    color: white;
    padding: 15px 30px; /* Increased padding to make the buttons bigger */
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 18px; /* Increased font size to match the bigger button */
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: background-image 0.3s ease; /* Added transition for smooth hover effect */
}

.gradient-btn:hover {
    background-image: linear-gradient(to right, #290000 0%, #680000 100%); /* Reversed gradient on hover */
}

.content-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
}
/* Smaller input field */
#guess-form input[type="text"] {
    width: 70%; /* adjust this as needed */
    max-width: 400px; /* adjust this as needed */
    margin: 0 auto;
}
.audio-container {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
}
.lyrics-container {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
}
.lyrics-snippet {
    font-style: italic;
    font-size: 1.2rem;
    text-align: center;
}
.cover-art-container {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
}
.cover-art-image {
    border: 2px solid #ccc;
    padding: 1px;
    border-radius: 5px;
    margin-bottom: 1rem;
    max-width: 50vh;
    max-height: 50vh; /* Adjust the maximum height relative to the viewport height */
    height: auto;
    object-fit: contain;
}

ul.errorlist {
    text-align: center;
    list-style: none;
}