/* silic.dev - minimal */

/* fonts */
@font-face {
  font-family: 'JetBrains Mono';
  src: url('./fonts/JetBrainsMono-Regular.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'JetBrains Mono';
  src: url('./fonts/JetBrainsMono-Medium.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'JetBrains Mono';
  src: url('./fonts/JetBrainsMono-Bold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-family: "JetBrains Mono", monospace;
  --line-height: 1.20rem;
  --border-thickness: 2px;
  --text-color: #000;
  --text-color-alt: #666;
  --background-color: #fff;
  --background-color-alt: #eee;

  --font-weight-normal: 500;
  --font-weight-medium: 600;
  --font-weight-bold: 800;

  font-family: var(--font-family);
  font-optical-sizing: auto;
  font-weight: var(--font-weight-normal);
  font-style: normal;
  font-variant-numeric: tabular-nums lining-nums;
  font-size: 16px;
  font-display: swap;
}

/* paper theme */
:root {
  --text-color: #2c2c2c;
  --text-color-alt: #666;
  --background-color: #fefefe;
  --background-color-alt: #f5f5f5;
  
}

* {
  box-sizing: border-box;
}

* + * {
  margin-top: var(--line-height);
}

html {
  display: flex;
  width: 100%;
  margin: 0;
  padding: 0;
  flex-direction: column;
  align-items: center;
  background: var(--background-color);
  color: var(--text-color);
}

body {
  position: relative;
  width: 100%;
  margin: 0;
  padding: var(--line-height) 2rem;
  max-width: 700px;
  line-height: var(--line-height);
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
}

@media screen and (max-width: 480px) {
  :root {
    font-size: 14px;
  }
  body {
    padding: var(--line-height) 1rem;
  }
}



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

a:hover {
  text-decoration: underline;
  text-decoration-thickness: var(--border-thickness);
}

a.highlight-link {
  color: var(--text-color) !important;
  background-color: var(--background-color-alt) !important;
  padding: 0.1em 0.3em !important;
  border-radius: 2px !important;
  font-weight: var(--font-weight-medium) !important;
  text-decoration: none !important;
}

a.highlight-link:hover {
  background-color: var(--text-color) !important;
  color: var(--background-color) !important;
  text-decoration: none !important;
}

p {
  margin-bottom: var(--line-height);
  word-break: break-word;
  word-wrap: break-word;
  hyphens: auto;
}

strong {
  font-weight: var(--font-weight-bold);
}









