body {
    font-family: Arial, sans-serif;
    text-align: center;
}

.cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px;
}

button {
    border: none;
    background: none;
    cursor: pointer;
}

button img {
    width: 200px;
    height: auto;
    border: 2px solid #ccc;
    border-radius: 10px;
    transition: 0.3s;
}

button:hover img {
    border-color: #333;
}

a {
    margin-top: 20px;
    display: inline-block;
    color: blue;
}


.top-right {
    position: absolute;
    top: 10px;  /* Distance from the top */
    right: 20px; /* Distance from the right */
}

.alert-danger {
    padding: 10px; /* Adjust the vertical and horizontal padding */
}


.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
.card-item {
    width: 280px;
    margin: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s;
}
.card-item:hover {
    transform: scale(1.05);
}
.card-img {
    width: 100%;
    height: auto;
}
.card-details {
    padding: 15px;
    background-color: #f8f9fa;
}
.progress {
    height: 20px;
}
.vote-history-item {
    margin-bottom: 15px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 8px;
}
.vote-cards {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.winner {
    border: 3px solid gold;
    border-radius: 8px;
}
.vote-card-img {
    width: 100px;
    height: auto;
}
.vote-details {
    font-size: 0.9rem;
    color: #6c757d;
}
/* Optional: Add some margin below the tabs */
.nav-tabs {
        margin-bottom: 1.5rem; /* Adjust as needed */
}

.progress {
    display: flex; /* Bootstrap often uses flexbox for progress bars */
    height: 20px; /* Or whatever height you desire */
    overflow: hidden; /* Important for rounded corners and clipping */
    line-height: 0; /* Prevent potential extra space */
    background-color: #e9ecef; /* Light grey background */
    border-radius: .25rem; /* Optional: Rounded corners */
    margin-bottom: 0.5rem; /* Optional: Spacing below */
}

.progress-bar {
    width: inherit !important; /* Let the width-XX classes control this */
    background-color: #28a745 !important; /* Ensure our color */
    height: 100% !important;
    color: #fff !important;
    text-align: center !important;
    transition: width 0.6s ease-in-out !important;
    padding: 0 !important;
    border: none !important;
    box-sizing: border-box !important;
    display: flex; /* To center the text if needed */
    align-items: center;
    justify-content: center;
    font-size: .75rem; /* Adjust text size */
}

  /* In your static/base.css file */

@media (max-width: 768px) {
    .navbar > .container {
      display: flex;
      justify-content: center; /* Center items horizontally */
      align-items: center; /* Center items vertically (optional, but good for overall alignment) */
    }
  
    .navbar-brand {
      /* You might need to adjust or remove other styles on it */
      margin-right: 0; /* Remove default right margin that might exist */
    }
  
    /* Ensure the toggler is positioned correctly */
    .navbar-toggler {
      position: absolute;
      top: 10px;
      left: 5px;
    }
  
    .navbar-collapse {
      text-align: center;
    }
  
    .navbar-nav {
      margin: 0 auto;
    }
    .navbar-dark .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%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") !important;
        /* Solid white color */
    }

    .nav-tabs {
        display: flex;
        flex-wrap: wrap;
    } 
}

/* This is the container for all your social links */
.social-links-fa {
  display: flex;           /* 1. Use Flexbox for alignment */
  justify-content: center; /* 2. Horizontally centers the icons */
  align-items: center;     /* 3. Vertically centers all items */
  gap: 10px;               /* 4. Use `gap` for consistent spacing between icons */
}

.social-links-fa a {
  color: #333;             /* 5. Set the default color for your Font Awesome icons */
  font-size: 24px;
  /* Removed margin because `gap` handles it now */
}

.social-links-fa a:hover {
  color: #007bff;          /* 6. This handles the hover color for Font Awesome icons */
}

.social-links-fa a img {
  width: 24px;
  height: 24px;
  /* Removed margin and vertical-align as Flexbox handles alignment and spacing */
}

@media (max-width: 768px) {
    .navbar-brand .logo {
        height: 100px; /* Adjust this value to your preferred height */
        width: auto; /* Maintains the aspect ratio */
        /* You can add more styles like margin or padding if needed */
    }
}

.navbar-brand {
    padding-top: 0px;
    padding-bottom:0px;
    margin-top:0px;
    margin-bottom:0px;
}

.navbar-brand .logo {
  height: 80px; /* Adjust this value to your preferred height */
  width: auto; /* Maintains the aspect ratio */
  /* You can add more styles like margin or padding if needed */
}


.width-0 { width: 0% !important; }
.width-5 { width: 5% !important; }
.width-10 { width: 10% !important; }
.width-15 { width: 15% !important; }
.width-20 { width: 20% !important; }
.width-25 { width: 25% !important; }
.width-30 { width: 30% !important; }
.width-35 { width: 35% !important; }
.width-40 { width: 40% !important; }
.width-45 { width: 45% !important; }
.width-50 { width: 50% !important; }
.width-55 { width: 55% !important; }
.width-60 { width: 60% !important; }
.width-65 { width: 65% !important; }
.width-70 { width: 70% !important; }
.width-75 { width: 75% !important; }
.width-80 { width: 80% !important; }
.width-85 { width: 85% !important; }
.width-90 { width: 90% !important; }
.width-95 { width: 95% !important; }
.width-100 { width: 100% !important; }