/* Minimal CSS for Pierre's Website */
:root {
  --text-color: #333;
  --background-color: #fff;
  --link-color: #0066cc;
  --link-hover-color: #0066cc;
  --border-color: #fff;
  --card-background: #fff;
  --card-shadow: none;
}

@font-face {
  font-family: 'Latin Modern Roman';
  src: url('https://cdn.jsdelivr.net/npm/@typopro/web-latin-modern@3.7.5/TypoPRO-LatinModern-Roman.woff2') format('woff2'),
       url('https://cdn.jsdelivr.net/npm/@typopro/web-latin-modern@3.7.5/TypoPRO-LatinModern-Roman.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Latin Modern Roman';
  src: url('https://cdn.jsdelivr.net/npm/@typopro/web-latin-modern@3.7.5/TypoPRO-LatinModern-Bold.woff2') format('woff2'),
       url('https://cdn.jsdelivr.net/npm/@typopro/web-latin-modern@3.7.5/TypoPRO-LatinModern-Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'Latin Modern Roman';
  src: url('https://cdn.jsdelivr.net/npm/@typopro/web-latin-modern@3.7.5/TypoPRO-LatinModern-Italic.woff2') format('woff2'),
       url('https://cdn.jsdelivr.net/npm/@typopro/web-latin-modern@3.7.5/TypoPRO-LatinModern-Italic.woff') format('woff');
  font-weight: normal;
  font-style: italic;
}

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

body {
  font-family: 'Latin Modern Roman', Georgia, 'Times New Roman', serif;
  line-height: 1.15;
  color: var(--text-color);
  background-color: var(--background-color);
  max-width: 650px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 1rem;
  text-align: center;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.card {
  padding: 0;
  margin: 0 auto;
  background-color: var(--card-background);
  max-width: 450px;
  text-align: left;
  width: 100%;
  line-height: 1.4;
}

h1 {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
  font-family: 'Latin Modern Roman', Georgia, 'Times New Roman', serif;
  letter-spacing: 0;
  text-align: center;
}

h2 {
  font-size: 0.85rem;
  margin: 1.2rem 0 0;
  font-weight: bold;
  font-family: 'Latin Modern Roman', Georgia, 'Times New Roman', serif;
  margin-bottom: 0;
}

p {
  margin-bottom: 0.1rem;
  margin-top: 0;
  text-align: left;
  font-size: 0.8rem;
  line-height: 1.15;
}

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

a:hover {
  text-decoration: underline;
}

.links {
  margin: 0;
  display: block;
  text-align: left;
  width: 100%;
}

.links a {
  display: block;
  margin-bottom: 0.1rem;
}

.content-section {
  margin: 0.3rem 0;
  text-align: left;
}

.item {
  margin-bottom: 0.7rem;
}

.item-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.2rem;
}

.item-title {
  font-weight: bold;
  font-size: 0.8rem;
}

.item-date {
  font-size: 0.7rem;
  color: #666;
  margin: 0 0 0.1rem;
  text-align: right;
}

.item-description {
  font-size: 0.75rem;
  margin: 0.1rem 0;
  font-style: italic;
}

.item-tech {
  font-size: 0.7rem;
  color: #666;
  text-align: left;
}

footer {
  margin-top: 1.5rem;
  padding-top: 0.6rem;
  font-size: 0.75rem;
  color: #666;
  text-align: center;
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
}

.horizontal-line {
  border-bottom: 0.5px solid #000;
  width: 100%;
  margin: 0.2rem 0 0.4rem;
  position: relative;
}

.horizontal-line::after {
  content: '';
  border-bottom: 0.5px solid #000;
  width: 100%;
  position: absolute;
  bottom: -2px;
  left: 0;
}
