:root {
  --font-color-default: #1f2b42;
  --border-color: #b0c7d4;
  --background-color: #F8FAFC;
  --code-background-color: #F6F8FA;
  --monospace-font: 'Roboto Mono', monospace;
  --serif-font: Georgia, serif;
  --sans-serif-font: 'Figtree', system-ui, sans-serif;
  --navbar-color: #DAE6ED;
  --navbar-highlight-color: #B0C9D9;
  --link-color: #007acc;
  --navbar-link-color: #FA6B42;
}

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

body {
  font-family: var(--sans-serif-font);
  font-size: 16px;
  font-weight: 400;
  color: var(--font-color-default);
}

h1 {
  font-weight: 700;
}

a {
  color: var(--link-color);
  text-decoration: none;
  font-weight: 500;
}

a:hover {
  text-decoration: underline;
}

p {
  margin-bottom: 1rem;
  line-height: 1.75;
}

code {
  font-family: var(--monospace-font);
  padding: 0.2em 0.4em;
  border-radius: 4px;
  font-size: 0.95em;
}

blockquote {
  border-left: 4px solid #ccc;
  padding-left: 1rem;
  color: #555;
  margin: 1.5rem 0;
  font-style: italic;
}

ul {
  padding-left: 1rem;
  list-style-position: inside;
}

main {
  max-width: 40em;
  margin: 2rem auto;
  padding: 0 20px;
}

article h1 {
  margin-bottom: 0.5em;
}

article h2 {
  margin-top: 1.2em;
  margin-bottom: 0.5em;
}

article h3 {
  margin-top: 1em;
  margin-bottom: 0.5em;
}

article p {
  margin-top: 0;
  margin-bottom: 1em;
}

article img,
video {
  max-width: 90%;
  height: auto;
  display: block;
  margin: 1rem auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

article img:hover,
video:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}


.shadow {
  /*box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);*/
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shadow:hover {
  transform: scale(1.03);
  /* box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);*/

}

.grid-container {
  display: inline-block;
  border-radius: 12px;
  overflow: hidden;
  line-height: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.grid-container:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.grid a {
  display: block;
}

.grid img {
  width: 100%;
  height: auto;
  display: block;
}