:root {
    /* Update these variables to change the theme */
    --primary-color: #27ae60;
    --secondary-color: #16a085;
    --background-color: #0b132b;
    --text-color: #e0e0e0;

    /* Vibrant Blue */
    --link-color: #2196F3;
    --link-hover-color: #1976D2;

    --light-text: #a0a0a0;
    --card-background: var(--background-color);
}

@font-face {
  font-family: 'Ruth-Ukraine';
  /* src: url('/fonts/ruth-ukraine/Roboto-Ruth-Ukraine.ttf') format('truetype'); */
  src: url('/fonts/ruth-ukraine/Vollkorn-Ruth-Ukraine-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Ruth-Ukraine';
  src: url('/fonts/ruth-ukraine/Vollkorn-Ruth-Ukraine-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

/* Regular */
@font-face {
  font-family: 'CamingoCode';
  src: url('/fonts/camingocode/webfonts/CamingoCode-Regular.woff2') format('woff2'),
       url('/fonts/camingocode/webfonts/CamingoCode-Regular.woff') format('woff'),
       url('/fonts/camingocode/ttf/CamingoCode-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Bold */
@font-face {
  font-family: 'CamingoCode';
  src: url('/fonts/camingocode/webfonts/CamingoCode-Bold.woff2') format('woff2'),
       url('/fonts/camingocode/webfonts/CamingoCode-Bold.woff') format('woff'),
       url('/fonts/camingocode/ttf/CamingoCode-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

/* Italic */
@font-face {
  font-family: 'CamingoCode';
  src: url('/fonts/camingocode/webfonts/CamingoCode-Italic.woff2') format('woff2'),
       url('/fonts/camingocode/webfonts/CamingoCode-Italic.woff') format('woff'),
       url('/fonts/camingocode/ttf/CamingoCode-Italic.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

/* Bold Italic */
@font-face {
  font-family: 'CamingoCode';
  src: url('/fonts/camingocode/webfonts/CamingoCode-BoldItalic.woff2') format('woff2'),
       url('/fonts/camingocode/webfonts/CamingoCode-BoldItalic.woff') format('woff'),
       url('/fonts/camingocode/ttf/CamingoCode-BoldItalic.ttf') format('truetype');
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}

/* Regular */
@font-face {
  font-family: 'Zakon';
  src: url('/fonts/zakon/otf/Zakon-Regular.otf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Bold */
@font-face {
  font-family: 'Zakon';
  src: url('/fonts/zakon/otf/Zakon-Bold.otf') format('truetype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

/* Italic */
@font-face {
  font-family: 'Zakon';
  src: url('/fonts/zakon/otf/Zakon-Italic.otf') format('truetype');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

/* Bold Italic */
@font-face {
  font-family: 'Zakon';
  src: url('/fonts/zakon/otf/Zakon-BoldItalic.otf') format('truetype');
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}

body {
    font-family: 'Zakon', 'CamingoCode', 'Ruth-Ukraine', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    max-width: 800px;
    width: 100%;
    box-sizing: border-box;
    padding: 2rem;
    text-align: center;
    background: var(--card-background);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

h1 {
    font-size: 2.5rem;
    font-weight: 400;
    border-bottom: 1px solid var(--secondary-color);
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.project {
    margin: 2rem 0;
    padding: 1.5rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    background: var(--card-background);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.project:hover {
    border: 2px solid var(--primary-color);
    background-color: rgba(52, 152, 219, 0.05);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.project a {
    text-decoration: none;
    color: var(--link-color);
    font-weight: 600;
    font-size: 1.2rem;
    overflow-wrap: anywhere;
}

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

.project-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.project-description {
    color: var(--light-text);
    font-size: 1rem;
}

@media (max-width: 600px) {
    h1 {
        font-size: 2rem;
    }
    .container {
        padding: 1.5rem;
    }
}

.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0; /* Add space above and below the image */
}
.centered-image {
    max-width: 100%; /* Ensures the image doesn’t overflow on small screens */
    height: auto; /* Maintains aspect ratio */
    border-radius: 8px; /* Optional: Adds rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: Adds a subtle shadow */
}
