@font-face {
    font-family: 'Ermilov';
    src: url('../font/Ermilov.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

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

:root {
    --background-color: #1A1A2E;
    --text-color: #f0cdff;
    --accent-color: #00BFFF;
    --surface-color: #1F1F3A;
    --border-color: #3D3D5E;
    --container-width: 1100px;
    --spacing: 60px;
}


body {
    font-family: 'Ermilov', sans-serif;
    background-color: transparent;
    color: var(--text-color);
    line-height: 1.6;
    padding-top: 60px; /* To offset for the sticky header */
}

#background-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(
        circle at var(--spotlight-x, 50%) var(--spotlight-y, 0%),
        rgba(0, 191, 255, 0.1),
        transparent 55%
    );
    pointer-events: none;
    transition: transform 0.5s ease-out, background 0.5s ease-out;
}

a {
    transition: color 0.3s ease;
}

h1, h2, h3 {
    font-family: 'Ermilov', sans-serif;
    line-height: 1.2;
    margin-bottom: 20px;
}

h1 { font-size: 3rem; text-align: center; }
h2 { font-size: 2.5rem; text-align: center; }
h3 { font-size: 1.5rem; }

html {
    scroll-behavior: smooth;
    background-image: url('../assets/img_content/space-3513002.jpg');
    background-size: cover;
    background-position: center 30%;
    background-attachment: fixed;
}
