/* Global styles */
:root {
  --primary-color: #333;
  --link-color: red;
  --font-size-base: 16px;
  --line-height: 1.6;
}

html {
  font-size: var(--font-size-base);
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  font-family: 'Roboto', sans-serif;
  line-height: var(--line-height);
  color: var(--primary-color);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
/* Blogs */

.blog {
  margin: 2rem 0;
  padding: 1rem;
}

/* Responsive container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.article {
  border: 1px solid var(--primary-color);
  border-radius: 5px;
  padding: 1rem;
  margin-bottom: 1rem;
  transition: box-shadow 0.3s ease;
}

.article:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.article-title {
  font-size: 1.5rem;
  color: var(--link-color);
  text-decoration: none;
}

.article-title:hover {
  text-decoration: underline;
}

.article-excerpt {
  font-size: 1rem;
  color: var(--primary-color);
}

.filter-ui {
  margin: 1rem 0;
}

.filter-ui select {
  padding: 0.5rem;
  border: 1px solid var(--primary-color);
  border-radius: 5px;
}

/* Title styles */
h1 {
  font-size: 2rem;
  text-align: center;
  margin-top: 1.5rem;
}

.title-block-banner {
  background-color: var(--primary-color);
  color: white;
  padding: 1rem;
  text-align: center;
  margin-bottom: 2rem;
}

/* Content styles */
h2, h3, h4, h5, h6 {
  font-size: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

p {
  font-size: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .article {
    display: flex;
    flex-direction: column;
  }

  .article-title {
    font-size: 1.75rem;
  }

  .article-excerpt {
    font-size: 1.125rem;
  }
}

/* Link styles */
a {
  color: var(--link-color);
  text-decoration: none;
  transition: text-decoration 0.3s ease;
}

a:hover, a:focus {
  text-decoration: underline;
}

/* Navbar adjustments */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}

.navbar a {
  font-size: 1rem;
  margin-left: 1rem;
}


/* Footer styles */
.footer {
  margin-top: 2rem;
  padding: 1rem;
  text-align: center;
}

.footer a {
  color: var(--link-color);
}

/* Responsive images */
img {
  max-width: 100%;
  height: auto;
}

/* Utility classes */
.text-center {
  text-align: center;
}

.hidden-mobile {
  display: none;
}