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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: #333;
  background: #fff;
  min-width: 280px;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: 'Poppins', sans-serif;
  color: #111;
  word-wrap: break-word;
  text-align: center;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

nav {
  background-color: #A3B7C2;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  padding: 0 30px;
}

nav a:nth-child(6) {
  margin-right: 20px;
}

.links-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

nav a {
  text-decoration: none;
  color: #000;
  padding: 10px;
  border-radius: 5px;
  transition: background 0.3s, color 0.3s;
  white-space: nowrap;
}

nav a:hover {
  color: #fff;
  transform: scale(1.1);
  transition: 0.3s ease;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: bold;
  width: max-content;
  padding: 10px;
}

nav img {
  width: 25px;
  height: 25px;
}

nav a:hover img {
  transform: scale(1.2);
  transition: 0.3s ease;
  filter: brightness(0) invert(1);
}

#menu-active {
  display: none;
}

.open-btn,
.close-btn {
  display: none;
  cursor: pointer;
}

.blog-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: left;
  background-color: white;
  background-image: 
    linear-gradient(90deg, rgba(173, 216, 230, 0.3) 25%, transparent 25%, transparent 50%, rgba(173, 216, 230, 0.3) 50%, rgba(173, 216, 230, 0.3) 75%, transparent 75%, transparent),
    linear-gradient(rgba(173, 216, 230, 0.3) 25%, transparent 25%, transparent 50%, rgba(173, 216, 230, 0.3) 50%, rgba(173, 216, 230, 0.3) 75%, transparent 75%, transparent);
  background-size: 100px 100px;
}

.blog-logo {
  justify-content: center;
  display: flex;
  padding: 0 20px;
}

.blog-logo img {
  max-width: 100%;
  height: auto;
}

.blog-header {
  text-align: center;
  background: #c4e0ec;
  border-radius: 20px;
  padding: 8px;
  color: #1D262B;
  width: 100%;
  margin-bottom: 10px;
}

.blog-header h1 {
  color: #1D262B;
  margin-bottom: 5px;
  font-size: 1.5rem;
}

.blog-container {
  margin: auto;
  padding: 20px;
  text-align: center;
  max-width: 1300px;
  width: 100%;
}

.blog-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.blog-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 15px;
  border-radius: 10px;
  background-color: #ccd9e2;
  border: 2px solid #112A46;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.blog-card:nth-child(even) {
  flex-direction: row-reverse;
}

.picture {
  aspect-ratio: 1 / 1;
  width: 400px;
  height: auto;
  object-fit: cover;
  display: block;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.20);
  overflow: hidden;
  border-radius: 10px;
}

.blog-body {
  padding: 20px;
  text-align: left;
  flex: 1;
}

.blog-card h4 {
  font-size: 1.6rem;
  margin-bottom: 10px;
  text-align: center;
}

.blog-card p {
  font-size: 1rem;
  line-height: 1.5;
  color: #112A46;
}

footer {
  background-color: #A3B7C2;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px;
  padding: 0 10px;
  text-align: center;
  color: black;
  font-size: 0.9rem;
}