@font-face {
  font-family: "Inter";
  src: local("Inter"), url("./fonts/Inter-Regular.woff2") format("woff2"),
    url("./fonts/Inter-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: local("Inter"), url("./fonts/Inter-Bold.woff2") format("woff2"),
    url("./fonts/Inter-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
    --primary-color: #1a0dab;
    --hover-color: #0b0080;
    --text-color: #333333;
    --background-color: #fafafa;
    --gray: #666666;
    --font-size-base: 18px;
    --font-size-large: 36px;
    --font-size-medium: 28px;
    --font-size-small: 14px;
}

html {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

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

body {
    margin: 0;
    padding: 20px;
    font-family: 'Inter', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.section-divider {
    border: none;
    border-top: 0.5px solid #cccccc;
    margin: 20px 0;
}

.header {
    text-align: center;
}

.logo {
    text-align: center;
}

.logo img {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
}

.profile {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
}

header h1 {
    font-size: var(--font-size-large);
    font-weight: 600;
    text-align: center;
    margin-bottom: 5px;
}

.subtitle {
    font-size: var(--font-size-small);
    color:  var(--gray);
    margin-top: 5px;
    text-align: center;
}

.about {
    margin-top: 20px;
    font-size: var(--font-size-base);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    transition: transform 0.2s ease;
    vertical-align: middle;
}

.social-links img:hover {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

.social-links a:focus {
    outline: 3px solid var(--primary-color);
}

h2 {
    font-size: var(--font-size-medium);
    margin-bottom: 10px;
}

ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 20px;
}

li {
    font-size: var(--font-size-base);
    margin-bottom: 20px;
}

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

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

a:focus {
    outline: 3px solid var(--primary-color);
}

.publication p {
    font-size: var(--font-size-small);
    line-height: 1;
    font-style: italic;
}

.talk h3 {
    font-size: var(--font-size-base);
    font-weight: 600;
    margin-bottom: 5px;
}

.talk ul li {
    display: grid;
    grid-template-columns: 150px 1fr;
    column-gap: 20px;
    margin-bottom: 10px;
}

.history-item {
    display: grid;
    grid-template-columns: 90px 60px 1fr;
    gap: 20px;
    margin-bottom: 30px;
    align-items: start;
}

.timespan {
    font-size: var(--font-size-small);
    align-self: start;
}

.icon {
    width: 60px;
    align-self: start;
}

.icon img {
    width: 100%;
    max-width: 60px;
    height: auto;
    object-fit: contain;
}

.desc {
    align-self: start;
}

