:root {
    --bg-dark: #0f0202;
    --bg-outline: #330c0c;
    --bg-contrast: #130303;
    --text-light: #b4b4b4;
    --text-gray: rgb(180,180,180);
    --pixel-text: rgb(146,146,146);
    --hover-bg: #7e1616;
    --button-bg-start: rgb(15, 2, 2);
    --button-bg-end: rgb(15, 2, 2);
    --button-border: var(--bg-outline);
}

body {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    background-color: var(--bg-dark);
    padding: 40px;
}

.text-outline {
    text-shadow: 
        -1px -1px 0 #000,
         1px -1px 0 #000,
        -1px  1px 0 #000,
         1px  1px 0 #000,
         0px -1px 0 #000,
         0px  1px 0 #000,
        -1px  0px 0 #000,
         1px  0px 0 #000;
}

span, .pixelated {
    display: inline;
    line-height: 16.5px;
}

span { font-family: "Space Mono"; font-size: 16px; color: var(--text-gray); }
.pixelated { font-family: "Pixelify Sans"; font-size: 14px; color: var(--pixel-text); }

h1 {
    font-family: "PixelFont";
    font-size: 16px;
    font-weight: 600;
    line-height: 27.5px;
    color: var(--text-gray);
    width: 278px;
    height: 37.5px;
    display: block;
    box-sizing: border-box;
    margin: 0;
    overflow: hidden;
    overflow-wrap: break-word;
}

.inline {
    background-color: var(--bg-outline);
    padding: 1px;
    display: inline-block;
    margin: 0 auto;
    max-width: 800px;
    width: 700px;
}

.project_inline {
    background-color: var(--bg-outline);
    padding: 1px;
    display: inline-block;
    margin: 0 auto 15px auto;
    max-width: 800px;
    width: 600px;
    transition: background-color 0.5s ease, transform 0.3s ease;
    transform: scale(1);
}

.project_inline:hover {
    background-color: var(--hover-bg);
    transform: scale(1.007);
    box-shadow: 0 0 1px rgba(255, 0, 0, 0.5);
}

.skills_inline {
    background-color: var(--bg-outline);
    padding: 1px;
    display: inline-block;
    margin: auto;
    width: auto;
    max-width: none;
    transition: background-color 0.5s ease, transform 0.3s ease;
    transform: scale(1);
}

.skills_inline:hover {
    background-color: var(--hover-bg);
    transform: scale(1.01);
    box-shadow: 0 0 1px rgba(255, 0, 0, 0.5);
}

.skills_inline:hover .pixelated {
    color: #a11c1c;
}

button {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-family: "PixelFont";
    font-size: 16px;
    font-weight: 400;
    line-height: 16.5px;
    color: var(--pixel-text);
    background-color: rgba(0, 0, 0, 0);
    background-image: linear-gradient(var(--button-bg-start), var(--button-bg-end));
    border: 1px solid var(--button-border);
    border-radius: 0;
    padding: 0 22px;
    height: 30px;
    text-align: center;
    transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1),
                background-color 0.15s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.15s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.15s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    width: 150px;
    box-sizing: border-box;
    gap: 8px;
}

button:hover {
    background-image: linear-gradient(var(--bg-contrast), var(--bg-contrast));
    transform: scale(1.02);
}

.button-row {
    display: flex;
    gap: 10px;
    justify-content: center;
}

button.rect svg {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    flex-shrink: 0;
}

.outline { background-color: var(--bg-dark); padding: 1px; }

.dark_contrast {
    background-color: var(--bg-contrast);
    padding: 4px;
    text-align: center;
    color: var(--text-light);
    font-family: "PixelFont", monospace;
    font-size: 16px;
}


.dark_contrast h1 { text-align: left; }

.project-description { display: block; margin-bottom: 20px; }
