/* General Reset */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
}

/* Header and Footer */
.bg-header {
    background-color: #84cc98 !important;
    color: #000; /* Ensures text is black */
}

.bg-footer {
    background-color: #333 !important; /* Updated background color */
    color: #000; /* Ensures text is black */
}

header, footer {
    text-align: center;
    width: 100vw; /* Ensures header and footer are full width of viewport */
    box-sizing: border-box; /* Includes padding in the width calculation */
    position: relative;
}

header h1, footer p {
    margin: 0;
}

footer p {
    font-size: 16px;
}

footer .social-icons {
    margin-top: 10px;
}

footer .social-icons a {
    color: #000;
    margin: 0 8px;
    text-decoration: none;
    font-size: 20px; /* Smaller icon size */
    transition: opacity 0.3s ease; /* Smooth transition for hover effect */
}

footer .social-icons a:hover {
    opacity: 0.7; /* Slightly opaque on hover */
}

/* Navbar */
.navbar {
    background-color: #84cc98;
}

.navbar-nav .nav-link {
    font-size: 18px;
    font-weight: bold;
    padding: 12px 18px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #333;
    background-color: #6fae7f; /* Different hover color */
    border-radius: 5px;
}

/* Bio Card Styling */
.card {
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card-body {
    padding: 2rem;
}

.card-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #000000;
}

.card-text {
    font-size: 1.1rem;
    color: #555;
}

/* Profile Picture */
.profile-img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
    border: 5px solid #84cc98;
}

.profile-img:hover {
    transform: scale(1.1);
}

/* Container */
.container {
    flex: 1;
    padding: 20px;
    max-width: 1200px;
    margin: auto;
}

/* Table */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px; /* Adds space below table */
}

th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
}

th {
    background-color: #84cc98;
    color: #000;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .profile-img {
        width: 200px;
        height: 200px;
    }

    .card-body {
        padding: 1rem;
    }

    .navbar-nav .nav-link {
        font-size: 16px;
        padding: 8px 12px;
    }
}

footer {
    background-color: #333; /* Updated footer background */
    color: #fff; /* Ensures text is visible on dark background */
}

/* Game Card Styling */
.game-card {
    background-color: #2a2a2a;
    color: #fff;
    border-radius: 12px;
    overflow: hidden;
    max-width: 350px;
    margin: 20px auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Game Card Image Styling */
.game-card-img {
    width: 100%;
    height: auto;
    border-bottom: 2px solid #333;
    border: 10px solid #ffffff; /* Adds a border around the image */
    border-radius: 50px; /* Optional: Adds rounded corners to the image */
}

.github-btn {
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 0.9rem;
    margin-top: -20px;
    margin-left: 15px;
    position: relative;
    z-index: 10;
    cursor: pointer;
}

.github-btn:hover {
    background-color: #218838;
}

/* Tag Styling */
.tag {
    display: inline-block;
    background: #28a745;
    color: #fff;
    border-radius: 6px;
    padding: 2px 8px;
    font-size: 0.8rem;
    margin: 2px;
}