@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&family=Lora:wght@700&family=Patrick+Hand&display=swap');

body {
    background-color: #F9F9F9; /* Clean, off-white background */
    font-family: 'Poppins', sans-serif;
}

.title {
    font-family: 'Patrick Hand', cursive;
    color: #D57A77; /* Signature pink for the title */
    font-size: 2.5rem; /* Larger size to stand out */
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.indie-username {
    color: #333; /* Dark charcoal for contrast */
    font-family: 'Beth Ellen', cursive; /* Use Beth Ellen for the username */
    font-weight: 700;
    letter-spacing: 1px;
}

header {
    position: relative;
}

header nav {
  display: flex;
  justify-content: flex-end;  /* Align the menu to the right */
}

nav .nav {
    display: flex;
    list-style: none;
    padding: 0;
  }

  .logo {
    width: 150px; /* Increased logo size */
    height: auto; /* Keeps aspect ratio */
  }
  
  h1 {
    font-size: 1.5rem;
    font-weight: bold;
  }
  
  p {
    font-size: 0.875rem;
    color: gray;
  }
  
  .nav-link {
    color: #333 !important;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.2rem !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
  }
  
  .nav-link:hover {
    color: #d8817f !important; /* Pink accent on hover */
  }
  
  .social-links {
    margin-top: 10px;
    margin-left: 2.5rem;
  }
  
  .social-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    margin-right: 8px;
    border-radius: 50%;
    background-color: #EFEFEF;
    color: #333;
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  .social-btn:hover {
    background-color: #d8817f;
    color: #fff;
  }
  
  html, body {
    height: 100%;
    margin: 0;
  }
  
  body {
    display: flex;
    flex-direction: column;
  }
  
  .content-wrap {
    flex: 1 0 auto;
  }
  
  footer {
    flex-shrink: 0;
  }

  .navbar {
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
  }

  .navbar-brand .title {
    font-size: 3.5rem; /* Adjust title size for navbar */
  }

  .navbar-toggler {
      border: none;
      display: flex;
      align-items: center;
      justify-content: center;
  }
  
  .navbar-toggler:focus {
      box-shadow: none;
  }

  .menu-text {
      font-family: 'Poppins', sans-serif;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1px;
      font-size: 1rem;
      vertical-align: middle;
      margin-left: 5px;
  }

  .navbar-nav .nav-link {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .social-links {
    margin-left: 1rem;
  }

  @media (max-width: 991.98px) {
    .logo {
        width: 140px;
        height: auto;
    }
    .navbar-brand .title {
        font-size: 2.7rem;
    }
    .navbar-brand {
        width: 100%;
        justify-content: center;
        margin-bottom: 1rem;
        padding-left: 16px;
        padding-right: 16px;
    }

    .navbar-toggler {
        margin: 0 auto; /* Center the toggler */
    }

    .menu-text {
        display: inline-block; /* Show "Menu" text on mobile again */
    }

    .navbar-collapse {
        text-align: center;
    }
  }

  /* Add padding below the header on all pages */
#header-placeholder {
  padding-bottom: 24px;
}

/* Spinner Styles */
.spinner-container {
    position: relative;
    display: inline-block;
}

.spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    border: 4px solid #db7974;
    border-left-color: #db8180;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}


.footer {
    background-color: #343a40; /* bg-dark */
    color: white;
    padding: 0 16px; /* Replicates original padding */
    height: auto; /* Use auto height for flexibility */
    min-height: 60px; /* Ensure a minimum height */
    display: flex;
    align-items: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Vertically center content */
    flex-wrap: wrap;
    width: 100%;
    margin: 0 auto;
}

.footer-left, .footer-right {
    padding: 10px 0; /* Vertical padding for content */
}

.footer-left {
    text-align: left;
}

.footer-right {
    text-align: right;
}

.copyright, .dev-credit {
    margin: 0;
    font-size: 0.875rem; /* Match typical small text size */
    line-height: 1.5; /* Improve readability */
}

.copyright {
    color: #ffffff; /* Brighter white for emphasis */
}

.dev-credit, .footer-right p {
    color: #adb5bd; /* Muted gray for secondary text */
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        padding: 10px 0;
    }

    .footer-left, .footer-right {
        text-align: center;
        width: 100%;
        padding: 5px 0;
    }

    .footer-right {
        margin-top: 10px;
    }
}
