/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600&display=swap');

/* Variables */
:root {
  --primary-color: #1c1c1c;
  --secondary-color: #313131;
  --accent-color: #22b14c;
  --text-color: #c0c0c0;
  --font-family: 'Roboto', sans-serif;
  --title-font-family: 'Orbitron', sans-serif;
}

/* Global Styles */
html {
  font-size: 16px;
  font-family: var(--font-family);
}

body {
  background-color: var(--primary-color);
  color: var(--text-color);
  line-height: 1.5;
  font-weight: 400;
}

a {
  text-decoration: none;
  color: #c0c0c0;
}

a:hover {
  color: red;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
  font-family: var(--title-font-family);
}

p {
  margin-bottom: 1rem;
}

/* Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Navigation */
.navbar-nav {
  display: flex;
  justify-content: center;
  width: 100%;
}

.navbar-brand {
  margin-left: 125px; /* Adjust this value as needed */
  margin-right: 20px; /* Adjust this value to increase the space */
  padding: 0; /* Remove any padding to fit the icon perfectly */
}

.navbar-icon {
  height: 40px; /* Adjust this value based on your navbar's height */
  width: auto; /* Maintains the aspect ratio */
  margin-left: 0px; /* Optional: To position the icon slightly to the right */
}

.nav-logo {
  font-size: 1.5rem;
}

.nav-links {
  display: flex;
}

.nav-link {
  text-align: center;
  width: 25%;
}

.nav-item {
  flex-grow: 1;
  display: flex;
  justify-content: center;
}

/* Header */
.header {
  background-color: var(--secondary-color);
  padding: 3rem 0;
  text-align: center;
}

.header-title {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.header-subtitle {
  font-size: 1.25rem;
}

/* Main Content */
.main {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 3rem 0;
}

.article {
  padding: 1.5rem;
  background-color: var(--secondary-color);
  border-radius: 0.25rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.article-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.article-date {
  font-size: 0.875rem;
  font-weight: 400;
  margin-bottom: 1rem;
  color: var(--accent-color);
}
/* Footer */
.footer {
  background-color: var(--secondary-color);
  padding: 2rem 0;
  text-align: center;
}

.footer-text {
  font-size: 0.875rem;
  color: var(--accent-color);
}

.footer-socials {
  display: flex;
  justify-content: center;
  list-style: none;
}

.footer-social {
  margin: 0 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .header-title {
    font-size: 2.5rem;
  }

  .header-subtitle {
    font-size: 1rem;
  }
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%; /* Make the image fill the width of its container */
  max-width: 100%; /* Prevents the image from exceeding its container's width */
  height: auto; /* Maintain the aspect ratio */
}

.item {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 80%;
}

@media (max-width: 768px) {
  .center {
    width: 100%; /* Ensure the image fills the screen width on smaller devices */
    max-width: 100%;
  }

.navbar-toggler {
    margin-right: 10px; /* Add space between the navbar button and the edge */
  }
}

.navbar-brand.active img {
  filter: drop-shadow(0 0 7px white); /* You can adjust the glow color and intensity */
}
