@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&display=swap');

:root {
    --bgcolor: #F6F7F9 ;
    --accentcolor: #1B7F5C;
    --textcolor: #1F2937;
    --bordercolor: #dfe4ea;
    --font-family: 'Jetbrains Mono',system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --line-height-body: 1.75;
    --line-height-heading: 1.25;
    --font-size-base: clamp(1rem, 1rem + ((1vw - 0.2rem) * 0.227), 1.125rem);
    --font-size-h1: clamp(2rem, 1.6rem + 1.5vw, 2.8rem);
    --font-size-h2: clamp(1.4rem, 1.2rem + 0.8vw, 1.8rem);
}

/* Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background-color: var(--bgcolor);
    color: var(--textcolor);
    font-family: var(--font-family);
    font-weight: 400;
    line-height: var(--line-height-body);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-optical-sizing: auto;
}

img,
picture {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--accentcolor);
}

ul,
ol {
    list-style: none;
}

button,
input,
textarea,
select {
    font: inherit;
    color: inherit;
}

button {
    border: 0;
    background: none;
    cursor: pointer;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: var(--line-height-heading);
    font-weight: 600;
}

h1 {
    font-size: var(--font-size-h1);
}

h2 {
    font-size: var(--font-size-h2);
}

p {
    font-size: var(--font-size-base);
    line-height: var(--line-height-body);
}

/* Layout */

.container {
    display: flex;
    width: 1200px;
    margin: 20px auto;
}

/* Header */

.header {
    display: flex;
    min-height: 70px;
    border-bottom: 1px solid var(--bordercolor);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 1200px;
    margin: auto;
}

.nav-logo a {
    display: flex;
}

.nav-logo p {
    font-size: 18px;
    font-weight: 500;
}

.nav-logo span {
    font-size: 18px;
    font-weight: 800;
}

.nav-menu ul {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}