@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
html body {
    background-color: #232323;
    background-size: cover;
    background-position: center;
}
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}
.logo {
    font-size: 2em;
    color: #fbf5f5;
    cursor: default;
}
.logo span {
    color: #7d2ae8;
}
.navigation {
    margin-left: -300px;
}
.navigation a {
    font-size: 1.1em;
    color: #FBF5F5FF;
    text-decoration: none;
    margin-right: 40px;
    font-weight: 500;
    transition: .3s;
}
.navigation a:hover {
    color: #7d2ae8;
}
.profilePhoto {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);

    width: min(38vw, 500px);
    height: min(38vw, 500px);
    object-fit: cover;

    border-radius: 10%;
    box-shadow:
            0 25px 60px rgba(0, 0, 0, 0.6),
            0 0 50px rgba(125, 42, 232, 0.2);

    opacity: 0.75;
    z-index: 1;
}
.btn-talk {
    color: #fff;
    text-decoration: none;
    padding: 8px 35px;
    background: #7d2ae8;
    border-radius: 10px;
    border: 2px solid #7d2ae8;
    font-weight: 500;
    transition: .3s;
}
.btn-talk:hover {
    color: #7d2ae8;
    background: transparent;
}
.home {
    position: relative;
    width: 100%;
    min-height: 94vh;
    display: grid;
    grid-template-columns: minmax(0, 750px) minmax(280px, 420px);
    justify-content: center;
    align-items: start;
    gap: 70px;
    padding: 140px 80px 80px;
}

.content {
    max-width: 500px;
    color: #FBF5F5FF;
}

.content h1 {
    font-size: 3em;
}
.content h1 span {
    color: #7d2ae8;
}

.content h2 span {
    color: #7d2ae8;
}
.content h4 {
    font-size: 2em;
}

.content-contact {
    max-width: 500px;
    background: #4c4c4c;
    padding: 30px;
    border-radius: 10px;
    position: absolute;
    right: 18%;
    transform: translateX(-10%) translateY(-40%);
    box-shadow:
            0 25px 60px rgba(0, 0, 0, 0.6),
            0 0 50px rgba(125, 42, 232, 0.2);
    z-index: 2;
}
.content-contact label {
    display: block;
    margin-bottom: 10px;
    color: #fff;
}
.content-contact h1 {
    color: #fff;
}
.content-contact p {
    color: #fff;
}
.content-contact input:not([type="hidden"]):not([type="checkbox"]),
.content-contact select,
.content-contact textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #7d2ae8;
    border-radius: 5px;
    outline: none;
    font: inherit;
}
.content-contact button {
    color: #fff;
    text-decoration: none;
    padding: 10px 40px;
    background: #7d2ae8;
    border-radius: 10px;
    border: 2px solid #7d2ae8;
    font-weight: 500;
    transition: .3s;
    cursor: pointer;
}
.content-contact button:hover {
    color: #7d2ae8;
    background: transparent;
}
.content-aboutme {
    width: 100%;
    max-width: 760px;

    background: rgba(76, 76, 76, 0.85);
    padding: 35px 40px;
    border-radius: 15px;

    color: #fbf5f5;
    font-size: 0.9rem;
    line-height: 1.75;

    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
    position: relative;
    z-index: 2;
}
.content-aboutme p {
    margin: 0;
}

.content-aboutme p + p {
    margin-top: 18px;
}
.btn-group {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}
.btn-group a {
    color: #fff;
    text-decoration: none;
    padding: 10px 40px;
    background: #7d2ae8;
    border-radius: 10px;
    border: 2px solid #7d2ae8;
    font-weight: 500;
    transition: .3s;
}
.btn-group a:hover:nth-child(1) {
    color: #7d2ae8;
    background: transparent;
}
.btn-group a:nth-child(2) {
    color: #7d2ae8;
    background: transparent;
    margin-left: 30px;
    padding: 10px 30px;
}
.btn-group a:hover:nth-child(2) {
    color: #fff;
    background: #7d2ae8;
}
.social-icons {
    position: absolute;
    bottom: 50px;
}
.social-icons a {
    display: inline-block;
    width: 35px;
    height: 35px;
    background: #7d2ae8;
    border-radius: 50%;
    margin-right: 22px;
    text-align: center;
    line-height: 35px;
    border: 1px solid #fff;
    outline: 2px solid #7d2ae8;
    transition: .3s;
}
.social-icons a:hover {
    transform: translateY(-5px);
}
.social-icons a i {
    color: #fff;
}

.about-sidebar {
    position: sticky;
    top: 130px;
}

.about-photo {
    display: block;
    width: 100%;
    height: 360px;
    object-fit: cover;
    object-position: center;
    border-radius: 20px;

    box-shadow:
            0 25px 60px rgba(0, 0, 0, 0.55),
            0 0 45px rgba(125, 42, 232, 0.18);
}

.about-card {
    margin-top: -35px;
    margin-left: 20px;
    margin-right: 20px;
    padding: 28px;

    position: relative;
    z-index: 2;

    color: #fbf5f5;
    background: rgba(76, 76, 76, 0.95);
    border: 1px solid rgba(125, 42, 232, 0.4);
    border-radius: 16px;

    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

.about-card h2 {
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.about-card h3 {
    margin: 25px 0 12px;
    font-size: 1rem;
}

.about-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.9rem;
}

.about-detail i {
    width: 20px;
    color: #7d2ae8;
}
.about-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.gallery-main {
    grid-column: 1 / -1;
    height: 300px;
}

.about-gallery img:not(.gallery-main) {
    height: 170px;
}

.about-gallery img:last-child {
    grid-column: 1 / -1;
}

.about-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;

    box-shadow:
            0 15px 35px rgba(0, 0, 0, 0.45),
            0 0 25px rgba(125, 42, 232, 0.1);

    transition: transform 0.3s, opacity 0.3s;
}

.about-gallery img:hover {
    transform: translateY(-5px);
    opacity: 0.9;
}


.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tags span {
    padding: 6px 12px;
    color: #e5d7f8;
    background: rgba(125, 42, 232, 0.15);
    border: 1px solid rgba(125, 42, 232, 0.5);
    border-radius: 20px;
    font-size: 0.8rem;
}

.cv-button {
    display: block;
    margin-top: 25px;
    padding: 11px 18px;

    color: #fff;
    background: #7d2ae8;
    border: 2px solid #7d2ae8;
    border-radius: 10px;

    text-align: center;
    text-decoration: none;
    transition: 0.3s;
}

.cv-button:hover {
    color: #7d2ae8;
    background: transparent;
}

.cv-button i {
    margin-right: 8px;
}

.about-slideshow {
    position: relative;
    width: 100%;
    height: 410px;
    overflow: hidden;
    border-radius: 20px;

    background: #181818;

    box-shadow:
            0 25px 60px rgba(0, 0, 0, 0.55),
            0 0 45px rgba(125, 42, 232, 0.18);
}

.about-slide {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;

    opacity: 0;
    transform: scale(1.04);
    transition:
            opacity 0.8s ease,
            transform 4s ease;
}

.about-slide.active {
    opacity: 1;
    transform: scale(1);
}

.slide-button {
    position: absolute;
    top: 50%;
    z-index: 3;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    color: #fff;
    background: rgba(20, 20, 20, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;

    cursor: pointer;
    transform: translateY(-50%);
    transition: 0.25s;
}

.slide-button:hover {
    background: #7d2ae8;
    border-color: #7d2ae8;
}

.previous-slide {
    left: 15px;
}

.next-slide {
    right: 15px;
}

.slide-indicators {
    position: absolute;
    bottom: 17px;
    left: 50%;
    z-index: 3;

    display: flex;
    gap: 8px;

    transform: translateX(-50%);
}

.slide-dot {
    width: 9px;
    height: 9px;

    background: rgba(255, 255, 255, 0.45);
    border: none;
    border-radius: 50%;

    cursor: pointer;
    transition: 0.25s;
}

.slide-dot.active {
    width: 25px;
    background: #7d2ae8;
    border-radius: 10px;
}

.about-video {
    margin: 20px 15px 0;
    padding: 10px;

    position: relative;
    z-index: 2;

    color: #fbf5f5;
    background: rgba(76, 76, 76, 0.95);
    border: 1px solid rgba(125, 42, 232, 0.4);
    border-radius: 16px;

    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

.about-video video {
    display: block;
    width: 100%;
    max-height: 190px;

    object-fit: cover;
    border-radius: 11px;
    background: #111;
}

.video-description {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 8px 5px;
}

.video-description > i {
    color: #a56aef;
    font-size: 1.5rem;
}

.video-description h3 {
    margin-bottom: 3px;
    font-size: 0.9rem;
}

.video-description p {
    color: #bebebe;
    font-size: 0.72rem;
    line-height: 1.4;
}

.about-card {
    margin-top: 20px;
}

.projects-home {
    width: 100%;
    min-height: 100vh;
    padding: 145px 80px 80px;
    background:
            radial-gradient(
                    circle at 80% 15%,
                    rgba(125, 42, 232, 0.12),
                    transparent 30%
            ),
            #232323;
}

.projects-container {
    width: 100%;
    max-width: 1350px;
    margin: 0 auto;
}

.projects-heading {
    max-width: 720px;
    margin-bottom: 50px;
    color: #fbf5f5;
}

.section-label {
    display: inline-block;
    margin-bottom: 8px;
    color: #a56aef;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.projects-heading h1 {
    margin-bottom: 15px;
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    line-height: 1.15;
}

.projects-heading h1 span {
    color: #7d2ae8;
}

.projects-heading p {
    color: #c9c9c9;
    font-size: 1rem;
    line-height: 1.75;
}

.projects-layout {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    align-items: start;
    gap: 35px;
}

.projects-sidebar {
    position: sticky;
    top: 125px;
}

.projects-filter-card,
.github-card {
    padding: 24px;
    background: rgba(76, 76, 76, 0.75);
    border: 1px solid rgba(125, 42, 232, 0.25);
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
}

.projects-filter-card h2 {
    margin-bottom: 18px;
    color: #fbf5f5;
    font-size: 1.15rem;
}

.project-filter {
    display: flex;
    align-items: center;
    gap: 12px;

    width: 100%;
    margin-bottom: 7px;
    padding: 11px 12px;

    color: #d2d2d2;
    background: transparent;
    border: none;
    border-radius: 9px;

    font: inherit;
    font-size: 0.86rem;
    text-align: left;
    cursor: pointer;
    transition: 0.25s;
}

.project-filter i {
    width: 20px;
    color: #a56aef;
    text-align: center;
}

.project-filter:hover,
.project-filter.active {
    color: #fff;
    background: rgba(125, 42, 232, 0.22);
}

.project-filter.active {
    border-left: 3px solid #7d2ae8;
}

.github-card {
    margin-top: 22px;
    color: #fbf5f5;
}

.github-card > i {
    margin-bottom: 15px;
    color: #a56aef;
    font-size: 2.2rem;
}

.github-card h3 {
    margin-bottom: 7px;
    font-size: 1rem;
}

.github-card p {
    margin-bottom: 18px;
    color: #bdbdbd;
    font-size: 0.78rem;
    line-height: 1.6;
}

.github-card a {
    display: flex;
    justify-content: space-between;
    align-items: center;

    color: #fff;
    font-size: 0.82rem;
    font-weight: 500;
    text-decoration: none;
}

.github-card a:hover {
    color: #a56aef;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.project-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 380px;
    padding: 28px;

    color: #fbf5f5;
    background: rgba(76, 76, 76, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 18px;

    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.project-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #7d2ae8, #a56aef);

    opacity: 0;
    transition: opacity 0.3s;
}

.project-card:hover {
    transform: translateY(-7px);
    border-color: rgba(125, 42, 232, 0.55);
    box-shadow:
            0 22px 45px rgba(0, 0, 0, 0.35),
            0 0 30px rgba(125, 42, 232, 0.08);
}

.project-card:hover::before {
    opacity: 1;
}

.project-card.hidden {
    display: none;
}

.project-updates {
    margin: 25px 0;
    padding: 20px;

    background: rgba(25, 25, 25, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 13px;
}

.project-updates-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;

    margin-bottom: 18px;
}

.project-updates-header h3 {
    display: flex;
    align-items: center;
    gap: 9px;

    color: #f1e9fa;
    font-size: 0.95rem;
}

.project-updates-header h3 i {
    color: var(--branch-color);
}

.updates-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 6px 9px;

    color: #bfbfbf;
    background: transparent;
    border: none;

    font-family: inherit;
    font-size: 0.7rem;
    cursor: pointer;
}

.updates-toggle:hover {
    color: var(--branch-color);
}

.updates-toggle i {
    transition: transform 0.25s;
}

.project-updates.collapsed .updates-toggle i {
    transform: rotate(180deg);
}

.project-updates-list {
    position: relative;
    padding-left: 27px;
}

.project-updates-list::before {
    content: "";
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 7px;

    width: 2px;

    background: linear-gradient(
            to bottom,
            var(--branch-color),
            rgba(255, 255, 255, 0.08)
    );
}

.project-updates.collapsed .project-updates-list {
    display: none;
}

.project-updates.collapsed {
    padding-bottom: 14px;
}

.project-updates.collapsed .project-updates-header {
    margin-bottom: 0;
}

.project-update-item {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    margin-bottom: 20px;
}

.project-update-item:last-child {
    margin-bottom: 0;
}

.update-marker {
    position: absolute;
    top: 6px;
    left: -26px;

    width: 13px;
    height: 13px;

    background: #292929;
    border: 3px solid var(--branch-color);
    border-radius: 50%;

    box-shadow: 0 0 9px var(--branch-color);
}

.update-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
}

.update-heading h4 {
    color: #f5f5f5;
    font-size: 0.87rem;
    font-weight: 600;
}

.update-information time {
    display: block;
    margin: 4px 0 7px;

    color: #888;
    font-size: 0.68rem;
}

.timeline-card .update-information p {
    margin-bottom: 0;

    color: #bdbdbd;
    font-size: 0.76rem;
    line-height: 1.65;
}

.update-type {
    flex-shrink: 0;
    padding: 4px 8px;

    border: 1px solid;
    border-radius: 15px;

    font-size: 0.58rem;
    font-weight: 600;
    text-transform: uppercase;
}

.update-type.feature {
    color: #75d69c;
    background: rgba(82, 183, 136, 0.1);
    border-color: rgba(82, 183, 136, 0.45);
}

.update-type.interface {
    color: #83c5ff;
    background: rgba(58, 134, 255, 0.1);
    border-color: rgba(58, 134, 255, 0.45);
}

.update-type.milestone {
    color: #e0b5ff;
    background: rgba(125, 42, 232, 0.12);
    border-color: rgba(125, 42, 232, 0.5);
}

.update-type.fix {
    color: #ffb28c;
    background: rgba(244, 162, 97, 0.1);
    border-color: rgba(244, 162, 97, 0.45);
}

.update-type.release {
    color: #fff;
    background: var(--branch-color);
    border-color: var(--branch-color);
}

.featured-project {
    grid-column: 1 / -1;
    min-height: auto;
    flex-direction: row;
    gap: 28px;
    background:
            linear-gradient(
                    135deg,
                    rgba(125, 42, 232, 0.18),
                    rgba(76, 76, 76, 0.75)
            );
    border-color: rgba(125, 42, 232, 0.35);
}

.project-icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;
    margin-bottom: 22px;

    color: #b985f4;
    background: rgba(125, 42, 232, 0.16);
    border: 1px solid rgba(125, 42, 232, 0.4);
    border-radius: 14px;

    font-size: 1.4rem;
}

.featured-project .project-icon {
    width: 85px;
    height: 85px;
    margin-bottom: 0;
    font-size: 2rem;
}

.project-content {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.project-category,
.project-topline {
    margin-bottom: 10px;
    color: #a56aef;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.project-topline {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.featured-label {
    color: #d7b3ff;
}

.featured-label i {
    margin-right: 4px;
}

.project-card h2 {
    margin-bottom: 13px;
    font-size: 1.25rem;
    line-height: 1.35;
}

.featured-project h2 {
    font-size: 1.6rem;
}

.project-card p {
    margin-bottom: 22px;
    color: #c5c5c5;
    font-size: 0.86rem;
    line-height: 1.7;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 24px;
}

.project-tags span {
    padding: 5px 10px;

    color: #dfceef;
    background: rgba(125, 42, 232, 0.12);
    border: 1px solid rgba(125, 42, 232, 0.35);
    border-radius: 20px;

    font-size: 0.7rem;
}

.project-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: auto;
}

.project-links a {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: #fbf5f5;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: 0.25s;
}

.project-links a:hover {
    color: #a56aef;
}

.project-links a:last-child i {
    transition: transform 0.25s;
}

.project-links a:last-child:hover i {
    transform: translateX(4px);
}

.updates-home {
    width: 100%;
    min-height: 100vh;
    padding: 145px 80px 90px;

    background:
            radial-gradient(
                    circle at 75% 10%,
                    rgba(125, 42, 232, 0.14),
                    transparent 32%
            ),
            #232323;
}

.updates-container {
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
}

.updates-heading {
    max-width: 760px;
    margin-bottom: 45px;
    color: #fbf5f5;
}

.updates-heading h1 {
    margin-bottom: 15px;
    font-size: clamp(2.3rem, 5vw, 4rem);
    line-height: 1.15;
}

.updates-heading h1 span {
    color: #7d2ae8;
}

.updates-heading > p {
    max-width: 650px;
    color: #c5c5c5;
    font-size: 0.96rem;
    line-height: 1.75;
}

.timeline-github-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-top: 25px;
    padding: 11px 18px;

    color: #fff;
    background: #7d2ae8;
    border: 2px solid #7d2ae8;
    border-radius: 10px;

    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: 0.3s;
}

.timeline-github-link:hover {
    color: #a56aef;
    background: transparent;
}

.timeline-github-link .fa-arrow-up-right-from-square {
    font-size: 0.7rem;
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 20px;
    padding: 13px 18px;

    color: #aaa;
    background: rgba(76, 76, 76, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;

    font-size: 0.78rem;
}

.timeline-branch-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: #e3d5f5;
    font-family: monospace;
}

.timeline-branch-label i {
    color: #a56aef;
}


.git-timeline {
    position: relative;
    padding-bottom: 30px;
}

.git-timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 50px;
    left: 25px;

    width: 3px;
    border-radius: 5px;

    background: linear-gradient(
            to bottom,
            #7d2ae8,
            rgba(125, 42, 232, 0.65),
            rgba(125, 42, 232, 0.2)
    );

    box-shadow: 0 0 14px rgba(125, 42, 232, 0.4);
}

.git-event {
    --branch-color: #7d2ae8;

    display: grid;
    grid-template-columns: 115px minmax(0, 1fr);
    position: relative;

    margin-bottom: 32px;

    opacity: 0;
    transform: translateY(25px);
    transition:
            opacity 0.65s ease,
            transform 0.65s ease;
}

.git-event.timeline-visible {
    opacity: 1;
    transform: translateY(0);
}

.git-graph {
    position: relative;
    min-height: 100%;
}

.git-branch {
    position: absolute;
    top: 0;
    left: 25px;

    width: 64px;
    height: 58px;

    border-left: 3px solid var(--branch-color);
    border-bottom: 3px solid var(--branch-color);
    border-bottom-left-radius: 30px;

    filter: drop-shadow(
            0 0 5px color-mix(
                    in srgb,
                    var(--branch-color) 60%,
                    transparent
            )
    );
}

.git-branch::before {
    content: "";
    position: absolute;
    top: -5px;
    left: -7px;

    width: 11px;
    height: 11px;

    background: #232323;
    border: 3px solid #7d2ae8;
    border-radius: 50%;
}

.git-commit {
    position: absolute;
    top: 50px;
    left: 81px;

    width: 17px;
    height: 17px;

    background: #232323;
    border: 4px solid var(--branch-color);
    border-radius: 50%;

    box-shadow:
            0 0 0 5px rgba(35, 35, 35, 0.9),
            0 0 18px var(--branch-color);

    transform: translateY(-50%);
}
.private-repository {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: #aaa;
    font-size: 0.78rem;
    font-weight: 500;
}

.private-repository i {
    color: var(--branch-color);
}

.timeline-card {
    position: relative;
    padding: 27px 30px;

    color: #fbf5f5;
    background: rgba(76, 76, 76, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 17px;

    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.26);
    backdrop-filter: blur(8px);

    transition:
            transform 0.3s,
            border-color 0.3s,
            box-shadow 0.3s;
}

.timeline-card::before {
    content: "";
    position: absolute;
    top: 42px;
    left: -17px;

    width: 17px;
    height: 3px;

    background: var(--branch-color);
}

.timeline-card:hover {
    transform: translateY(-5px);
    border-color: var(--branch-color);

    box-shadow:
            0 22px 45px rgba(0, 0, 0, 0.34),
            0 0 25px rgba(125, 42, 232, 0.08);
}

.featured-update {
    background:
            linear-gradient(
                    135deg,
                    rgba(232, 74, 95, 0.13),
                    rgba(76, 76, 76, 0.78)
            );

    border-color: rgba(232, 74, 95, 0.45);
}

.timeline-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;

    margin-bottom: 8px;
}

.timeline-project-type {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    margin-bottom: 9px;

    color: var(--branch-color);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.timeline-card h2 {
    font-size: 1.35rem;
    line-height: 1.35;
}

.latest-badge {
    flex-shrink: 0;
    padding: 5px 10px;

    color: #ffd9df;
    background: rgba(232, 74, 95, 0.15);
    border: 1px solid rgba(232, 74, 95, 0.45);
    border-radius: 20px;

    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
}

.timeline-card time {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    margin-bottom: 16px;

    color: #999;
    font-size: 0.75rem;
}

.timeline-card p {
    margin-bottom: 20px;

    color: #c7c7c7;
    font-size: 0.86rem;
    line-height: 1.75;
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;

    margin-bottom: 21px;
}

.timeline-tags span {
    padding: 5px 10px;

    color: #dfd0ef;
    background: rgba(125, 42, 232, 0.12);
    border: 1px solid rgba(125, 42, 232, 0.32);
    border-radius: 20px;

    font-size: 0.68rem;
}

.timeline-link-group {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.timeline-repository {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: #f3eafd;
    font-size: 0.78rem;
    font-weight: 500;
    text-decoration: none;

    transition: color 0.25s;
}

.timeline-repository:hover {
    color: var(--branch-color);
}

.timeline-repository .fa-arrow-right {
    transition: transform 0.25s;
}

.timeline-repository:hover .fa-arrow-right {
    transform: translateX(4px);
}

.timeline-year {
    display: grid;
    grid-template-columns: 115px minmax(0, 1fr);

    margin: 15px 0 35px;
}

.timeline-year span {
    grid-column: 2;
    display: flex;
    align-items: center;
    gap: 15px;

    color: #a56aef;
    font-family: monospace;
    font-size: 0.85rem;
    font-weight: 600;
}

.timeline-year span::before,
.timeline-year span::after {
    content: "";
    height: 1px;
    background: rgba(125, 42, 232, 0.25);
}

.timeline-year span::before {
    width: 35px;
}

.timeline-year span::after {
    flex: 1;
}

.timeline-start {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-left: 8px;
    padding-top: 10px;

    color: #8f8f8f;
    font-size: 0.76rem;
}

.timeline-start i {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    color: #a56aef;
    background: #232323;
    border: 2px solid rgba(125, 42, 232, 0.55);
    border-radius: 50%;

    position: relative;
    z-index: 2;
}

footer {
    width: 100%;
}

footer p {
    color: #fff;
    text-align: center;
    padding: 10px 0;
}

@media (max-width: 900px) {
    header {
        padding: 20px 30px;
    }

    .navigation {
        display: none;
    }

    .home {
        padding: 110px 25px 50px;
    }

    .content-aboutme {
        width: 100%;
        max-width: none;
        padding: 25px;
        font-size: 0.88rem;
        line-height: 1.7;
    }

    .content-aboutme .profilePhoto {
        position: relative;
        top: auto;
        right: auto;
        transform: none;

        display: block;
        width: 180px;
        height: 180px;

        margin: 0 auto 25px;
        opacity: 1;
        border-radius: 20px;
    }
    .about-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-main {
        height: 260px;
    }

    .about-gallery img:not(.gallery-main) {
        height: 140px;
    }
    .about-slideshow {
        height: 340px;
    }

    .about-video {
        margin-left: 0;
        margin-right: 0;
    }

    .about-video video {
        max-height: 230px;
    }

}
@media (max-width: 750px) {
    .updates-home {
        padding: 110px 18px 60px;
    }

    .updates-heading {
        margin-bottom: 35px;
    }

    .updates-heading h1 {
        font-size: 2.35rem;
    }

    .timeline-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .git-timeline::before {
        left: 14px;
    }

    .git-event {
        grid-template-columns: 58px minmax(0, 1fr);
        margin-bottom: 25px;
    }

    .git-branch {
        left: 14px;
        width: 31px;
        height: 48px;
        border-bottom-left-radius: 19px;
    }

    .git-branch::before {
        width: 10px;
        height: 10px;
    }

    .git-commit {
        top: 40px;
        left: 38px;
        width: 15px;
        height: 15px;
    }

    .timeline-card {
        padding: 22px 20px;
    }

    .timeline-card::before {
        top: 35px;
        left: -13px;
        width: 13px;
    }

    .timeline-card-header {
        display: block;
    }

    .latest-badge {
        display: inline-block;
        margin-top: 10px;
    }

    .timeline-card h2 {
        font-size: 1.12rem;
    }

    .timeline-card p {
        font-size: 0.82rem;
    }

    .timeline-year {
        grid-template-columns: 58px minmax(0, 1fr);
    }

    .timeline-year span {
        grid-column: 2;
    }

    .timeline-start {
        margin-left: -3px;
    }

    .project-updates {
        padding: 17px;
    }

    .project-updates-header {
        align-items: flex-start;
    }

    .project-updates-header h3 {
        font-size: 0.85rem;
    }

    .update-heading {
        display: block;
    }

    .update-type {
        display: inline-block;
        margin-top: 6px;
    }

    .timeline-card .update-information p {
        font-size: 0.73rem;
    }
}

:root {
    --page-gutter: clamp(1rem, 4vw, 5rem);
    --header-height: 86px;
    --content-width: 1350px;
}

html {
    min-width: 280px;
    overflow-x: hidden;
    scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

body > section {
    flex: 1 0 auto;
}

img,
video,
iframe {
    max-width: 100%;
}

button,
a,
input,
textarea {
    -webkit-tap-highlight-color: transparent;
}

a,
p,
h1,
h2,
h3,
span {
    overflow-wrap: anywhere;
}

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    width: 100%;
    min-height: var(--header-height);
    padding: 14px var(--page-gutter);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(1rem, 3vw, 3rem);
    background: rgba(35, 35, 35, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 1000;
}

.logo {
    display: inline-block;
    color: #fbf5f5;
    font-size: clamp(1.65rem, 2.2vw, 2rem);
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.navigation {
    min-width: 0;
    margin-left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(1rem, 2.6vw, 2.5rem);
}

.navigation a {
    margin-right: 0;
    padding: 0.55rem 0;
    font-size: clamp(0.9rem, 1.2vw, 1.05rem);
    white-space: nowrap;
}

.navigation a[aria-current="page"] {
    color: #a56aef;
}

.btn-talk {
    padding: 0.55rem clamp(1rem, 2vw, 2rem);
    text-align: center;
    white-space: nowrap;
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 11px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    color: #fff;
    background: rgba(125, 42, 232, 0.14);
    border: 1px solid rgba(165, 106, 239, 0.45);
    border-radius: 10px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 5px;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.site-header.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.site-header.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
}

.site-header.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.page-home .home {
    min-height: calc(100svh - 48px);
    padding: calc(var(--header-height) + clamp(2.5rem, 7vh, 6rem)) var(--page-gutter) clamp(3rem, 8vh, 6rem);
    display: grid;
    grid-template-columns: minmax(0, 620px) minmax(280px, 500px);
    justify-content: center;
    align-items: center;
    gap: clamp(2.5rem, 7vw, 7rem);
}

.page-home .content {
    max-width: 620px;
    position: relative;
    z-index: 2;
}

.page-home .content h1 {
    font-size: clamp(2.35rem, 5vw, 4.4rem);
    line-height: 1.08;
}

.page-home .content h2 {
    margin-top: 0.55rem;
    font-size: clamp(1.15rem, 2.1vw, 1.75rem);
    line-height: 1.35;
}

.page-home .content p {
    max-width: 58ch;
    padding: 1.1rem 0 1.35rem;
    color: #d2d2d2;
    line-height: 1.75;
}

.page-home .profilePhoto {
    position: static;
    width: min(38vw, 500px);
    height: min(38vw, 500px);
    max-width: 100%;
    transform: none;
    justify-self: end;
    opacity: 0.86;
}

.page-home .btn-group {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.85rem;
    padding: 0.75rem 0 1.3rem;
}

.page-home .btn-group a,
.page-home .btn-group a:nth-child(2) {
    margin: 0;
    padding: 0.7rem 1.4rem;
    text-align: center;
}

.page-home .social-icons {
    position: static;
    display: flex;
    gap: 1rem;
    margin-top: 0.45rem;
}

.page-home .social-icons a {
    margin-right: 0;
}

.page-about .home {
    padding: calc(var(--header-height) + 3.5rem) var(--page-gutter) 5rem;
    grid-template-columns: minmax(0, 760px) minmax(300px, 420px);
    gap: clamp(2rem, 5vw, 4.5rem);
}

.page-about .content-aboutme,
.page-about .about-sidebar {
    min-width: 0;
}

.page-about .about-sidebar {
    width: 100%;
}

.page-contact .home {
    min-height: calc(100svh - 48px);
    padding: calc(var(--header-height) + 4rem) var(--page-gutter) 5rem;
    display: block;
}

.page-contact .content {
    width: min(100%, 1050px);
    max-width: none;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(340px, 1.2fr);
    align-items: center;
    gap: clamp(2rem, 7vw, 6rem);
}

.page-contact .contact-intro h1 {
    font-size: clamp(2.25rem, 5vw, 4rem);
    line-height: 1.12;
}

.page-contact .contact-intro p {
    max-width: 45ch;
    padding: 1rem 0 0;
    color: #d0d0d0;
    line-height: 1.75;
}

.page-contact .content-contact {
    position: static;
    width: 100%;
    max-width: 560px;
    margin: 0;
    padding: clamp(1.25rem, 4vw, 2rem);
    transform: none;
}

.page-contact .content-contact .contact-notice {
    margin: 0.25rem 0 1rem;
    padding: 0;
    color: #d8d8d8;
    font-size: 0.86rem;
    line-height: 1.55;
}

.page-contact .content-contact .h-captcha {
    align-self: flex-start;
    max-width: 100%;
    margin-bottom: 1rem;
    overflow: hidden;
}

.page-contact .content-contact input,
.page-contact .content-contact textarea {
    font: inherit;
    color: #1e1e1e;
    background: #fff;
}

.page-contact .content-contact textarea {
    min-height: 160px;
    resize: vertical;
}

.page-contact .content-contact select {
    min-height: 46px;
    cursor: pointer;
}

.page-contact .content-contact .contact-confirmation {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin: 0 0 1.25rem;
    cursor: pointer;
    line-height: 1.45;
}

.page-contact .content-contact .contact-confirmation input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 0.15rem 0 0;
    padding: 0;
    accent-color: #7d2ae8;
}

.botcheck {
    display: none !important;
}

.contact-notice {
    margin: 0.75rem 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.contact-confirmation {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 1rem;
    cursor: pointer;
}

.contact-confirmation input {
    width: auto;
    margin-top: 0.2rem;
}

#form-error {
    margin: 1rem 0;
    padding: 0.75rem 1rem;
    border: 1px solid currentColor;
    border-radius: 0.4rem;
    font-weight: 600;
}

.page-projects .projects-home,
.page-updates .updates-home {
    padding-top: calc(var(--header-height) + 3.5rem);
    padding-right: var(--page-gutter);
    padding-left: var(--page-gutter);
}

.page-projects .projects-layout,
.page-projects .projects-grid,
.page-updates .updates-container {
    min-width: 0;
}

footer {
    flex: 0 0 auto;
}

footer p {
    padding: 0.9rem var(--page-gutter);
    color: #c8c8c8;
    font-size: clamp(0.72rem, 1.5vw, 0.9rem);
}

@media (max-width: 1240px) {
    .page-about .home {
        display: grid;
        grid-template-columns: minmax(0, 760px);
        justify-content: center;
        gap: 2rem;
    }

    .page-about .about-sidebar {
        position: static;
        top: auto;
        width: min(100%, 760px);
    }
}

@media (max-width: 1050px) {
    .projects-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .projects-sidebar {
        position: static;
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(240px, 0.65fr);
        gap: 1.25rem;
    }

    .projects-filter-card {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        align-content: flex-start;
    }

    .projects-filter-card h2 {
        flex-basis: 100%;
    }

    .project-filter {
        width: auto;
        flex: 1 1 150px;
        margin: 0;
    }

    .github-card {
        margin-top: 0;
    }
}

@media (max-width: 1180px) {
    :root {
        --page-gutter: clamp(1.5rem, 4vw, 3.5rem);
    }

    .projects-layout {
        grid-template-columns: 230px minmax(0, 1fr);
        gap: 1.5rem;
    }

    .projects-grid {
        gap: 1.2rem;
    }

    .project-card {
        padding: 1.4rem;
    }
}

@media (max-width: 960px) {
    :root {
        --header-height: 74px;
    }

    .site-header {
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 0.8rem;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .site-header .logo {
        grid-column: 1;
    }

    .site-header .btn-talk {
        grid-column: 2;
        justify-self: end;
    }

    .menu-toggle {
        grid-column: 3;
        display: flex;
    }

    .navigation {
        position: absolute;
        top: 100%;
        left: var(--page-gutter);
        right: var(--page-gutter);
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        max-height: 0;
        padding: 0 0.75rem;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-0.5rem);
        background: rgba(35, 35, 35, 0.98);
        border: 1px solid rgba(165, 106, 239, 0.28);
        border-radius: 0 0 14px 14px;
        box-shadow: 0 18px 35px rgba(0, 0, 0, 0.38);
        transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.2s ease, transform 0.3s ease, visibility 0.3s;
    }

    .navigation a {
        width: 100%;
        padding: 0.85rem 0.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .navigation a:last-child {
        border-bottom: 0;
    }

    .site-header.menu-open .navigation {
        max-height: 420px;
        padding-top: 0.6rem;
        padding-bottom: 0.6rem;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .page-home .home {
        grid-template-columns: minmax(0, 1fr) minmax(260px, 38vw);
        gap: clamp(2rem, 5vw, 3.5rem);
    }

    .page-home .profilePhoto {
        width: min(38vw, 390px);
        height: min(38vw, 390px);
    }

    .page-about .home {
        display: grid;
        grid-template-columns: minmax(0, 760px);
        justify-content: center;
        gap: 2rem;
    }

    .page-about .about-sidebar {
        position: static;
        top: auto;
        width: min(100%, 760px);
    }

    .projects-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .projects-sidebar {
        position: static;
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(240px, 0.65fr);
        gap: 1.25rem;
    }

    .projects-filter-card {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        align-content: flex-start;
    }

    .projects-filter-card h2 {
        flex-basis: 100%;
    }

    .project-filter {
        width: auto;
        flex: 1 1 150px;
        margin: 0;
    }

    .github-card {
        margin-top: 0;
    }
}

@media (max-width: 720px) {
    :root {
        --page-gutter: clamp(1rem, 4.5vw, 1.5rem);
    }

    .page-home .home {
        min-height: auto;
        grid-template-columns: minmax(0, 1fr);
        padding-top: calc(var(--header-height) + 2.5rem);
        text-align: center;
    }

    .page-home .profilePhoto {
        grid-row: 1;
        width: min(72vw, 350px);
        height: min(72vw, 350px);
        margin: 0 auto;
        justify-self: center;
    }

    .page-home .content {
        grid-row: 2;
        margin: 0 auto;
    }

    .page-home .content p {
        margin-right: auto;
        margin-left: auto;
    }

    .page-home .btn-group,
    .page-home .social-icons {
        justify-content: center;
    }

    .page-contact .home {
        padding-top: calc(var(--header-height) + 2.5rem);
    }

    .page-contact .content {
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
    }

    .page-contact .content-contact {
        max-width: none;
    }

    .projects-sidebar {
        grid-template-columns: minmax(0, 1fr);
    }

    .projects-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .featured-project {
        grid-column: auto;
        flex-direction: column;
    }

    .featured-project .project-icon {
        width: 64px;
        height: 64px;
        margin-bottom: 0.5rem;
        font-size: 1.55rem;
    }

    .project-card {
        min-height: 0;
    }

    .project-topline {
        flex-wrap: wrap;
    }

    .updates-home {
        padding-right: var(--page-gutter);
        padding-left: var(--page-gutter);
    }
}

@media (max-width: 520px) {
    :root {
        --header-height: 68px;
    }

    .site-header {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .site-header .logo {
        grid-column: 1;
    }

    .site-header .btn-talk {
        display: none;
    }

    .menu-toggle {
        grid-column: 2;
        width: 44px;
        height: 44px;
    }

    .navigation {
        left: 0.75rem;
        right: 0.75rem;
    }

    .page-home .home,
    .page-about .home,
    .page-contact .home,
    .page-projects .projects-home,
    .page-updates .updates-home {
        padding-top: calc(var(--header-height) + 2rem);
    }

    .page-home .content h1 {
        font-size: clamp(2rem, 12vw, 3rem);
    }

    .page-home .profilePhoto {
        width: min(78vw, 300px);
        height: min(78vw, 300px);
    }

    .page-home .btn-group {
        flex-direction: column;
        align-items: stretch;
    }

    .page-home .btn-group a,
    .page-home .btn-group a:nth-child(2) {
        width: 100%;
    }

    .content-aboutme,
    .about-card,
    .timeline-card,
    .project-card,
    .projects-filter-card,
    .github-card,
    .page-contact .content-contact {
        padding: 1.15rem;
        border-radius: 14px;
    }

    .about-slideshow {
        height: min(105vw, 360px);
    }

    .about-card {
        margin-right: 0;
        margin-left: 0;
    }

    .projects-heading,
    .updates-heading {
        margin-bottom: 2rem;
    }

    .projects-heading h1,
    .updates-heading h1 {
        font-size: clamp(2rem, 11vw, 2.7rem);
    }

    .project-filter {
        flex-basis: 100%;
    }

    .project-links,
    .timeline-link-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.85rem;
    }

    .git-timeline::before {
        left: 10px;
    }

    .git-event {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .git-branch {
        left: 10px;
        width: 22px;
    }

    .git-commit {
        left: 25px;
    }

    .timeline-card::before {
        left: -10px;
        width: 10px;
    }

    .timeline-year {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .timeline-card-header {
        gap: 0.7rem;
    }

    .timeline-tags span,
    .project-tags span {
        font-size: 0.66rem;
    }
}

@media (max-width: 350px) {
    :root {
        --page-gutter: 0.75rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .page-home .profilePhoto {
        width: min(84vw, 270px);
        height: min(84vw, 270px);
    }

    .timeline-card,
    .project-card,
    .projects-filter-card,
    .github-card,
    .content-aboutme,
    .page-contact .content-contact {
        padding: 1rem;
    }

    .git-event {
        grid-template-columns: 34px minmax(0, 1fr);
    }

    .git-timeline::before,
    .git-branch {
        left: 7px;
    }

    .git-branch {
        width: 17px;
    }

    .git-commit {
        left: 17px;
    }

    .timeline-year {
        grid-template-columns: 34px minmax(0, 1fr);
    }
}

@media (hover: none) {
    .project-card:hover,
    .timeline-card:hover,
    .about-gallery img:hover,
    .social-icons a:hover {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
