﻿:root {
    --background-0: #0B1326;
    --background-1: #171F33;
    --background-2: #222A3D;
    --background-2-hovered: #333F59;
    --text: #C2C7DE;
    --text-hover: #D2DAFF;
    --twitter: #72A5F2;
    --github: #C2C7DE;
    --kofi: #FFA05A;
    --accent: #97B2E6;
    --accent-highlight: #A8C6FF;
}

html {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
}

* {
    box-sizing: border-box;
}

a, a:hover, a:visited, a:active {
    color: inherit;
    text-decoration: none;
}

body {
    min-height: 100vh;
    padding: 0;
    margin: 0;
    background: linear-gradient(rgba(34, 42, 61, 0.5), rgba(34, 42, 61, 0.95)), url("static/background.webp");
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.social-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 64px;
}

.button {
    background-color: var(--background-2);
    border-radius: 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 156px;
    height: 46px;
    font-size: 18px;
    transition: background-color 0.15s cubic-bezier(0.33, 1, 0.68, 1);
}

.button:hover {
    background-color: var(--background-2-hovered);
}

.icon {
    width: 20px;
    height: 20px;
}

.intro {
    background-color: var(--background-0);
    border: 4px solid var(--accent);
    border-radius: 24px;
    padding: 60px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    width: 85%;
    max-width: 857px;
    transition: border-color 0.15s cubic-bezier(0.33, 1, 0.68, 1);
}

.project-card {
    background-color: var(--background-1);
    border-width: 1px;
    border-style: solid;
    border-radius: 24px;
    padding: 24px;
    gap: 24px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    width: 85%;
    max-width: 857px;
    transition: border-color 0.15s cubic-bezier(0.33, 1, 0.68, 1);
}

.intro:hover {
    border-color: var(--accent-highlight);
}

@media (max-width: 600px) {
    .header-line {
        flex-direction: column; 
        text-align: center;
    }

    .profile-wrapper {
        margin-right: 0;
    }
}

h1, h2, p {
    margin: 0;
    padding: 0;
}

h1 {
    color: var(--accent);
    transition: color 0.15s cubic-bezier(0.33, 1, 0.68, 1);
    font-family: "JetBrains Mono", monospace;
}

h2 {
    transition: color 0.15s cubic-bezier(0.33, 1, 0.68, 1);
    font-family: "JetBrains Mono", monospace;
}

h1:hover {
    color: var(--accent-highlight);
}

.header-line {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    margin-bottom: 20px;
    width: 100%;
}

.profile-picture {
    display: inline-block;
    vertical-align: middle;
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    border-radius: 9999px;
    z-index: 0;
}

.cat-ears {
    position: absolute;
    top: -25px;
    left: 0;
    width: 107px;
    z-index: 1;
}

.profile-wrapper {
    position: relative;
    display: inline-block;
    width: 100px;
    height: 100px;
    margin-right: 15px;
    margin-top: 25px;
}

.text {
    color: var(--text);
    font-size: 18px;
    font-family: "JetBrains Mono", monospace;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    transition: color 0.15s cubic-bezier(0.33, 1, 0.68, 1);
}

.text:hover {
    color: var(--text-hover);
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100vw;
}

.panel {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}