@font-face {
    font-family: 'Departure Mono';
    src: url('./fonts/DepartureMono-Regular.otf') format('opentype');
}

@font-face {
    font-family: 'Palatino Linotype';
    src: url('./fonts/palr45w.ttf') format('opentype');
}

body {
    margin: 0;
    padding: 0;
    color: #00FF00;
    background-color: #010101;
    font-family: Departure Mono, monospace;
    height: 100%;
}

main {
    display: flex;
    justify-content: center;
}

a {
    text-decoration: none;
    font-size: 0.8rem;
    transition: 0.3s ease color, 0.3s ease background-color;
}

p {
    font-size: .75rem;
}

ul {
    list-style: none;
    padding: 0;
}


.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

.hover-bg  {
    background-color: #fafafa;
    color: #010101 !important;
}

.navbar {
    display: flex;
    flex-wrap: wrap;
    column-gap: .55rem;
}

.nav-link {
    color: #00FF00;
}

.nav-link:hover {
    background-color: #fafafa;
    color: #010101;
}

.about {
    margin-top: 40px;
}

.about-name {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.about-tagline {
    font-size: 0.75rem;
    color: #42ac72;
    margin: 0 0 1rem 0;
    opacity: 0.9;
}

.about-email {
    font-size: 0.7rem;
    color: #00dc58;
    transition: color 0.3s ease;
}

.about-email:hover {
    color: #00FF00;
}

.about-location {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: #42ac72;
}

.about-location > a {
    color: inherit;
    transition: color 0.3s ease;
}

.about-location > a:hover {
    color: #3eb774;
}

.about-content {
    margin-top: 1.5rem;
}

.about-image-wrapper {
    margin-bottom: 1.5rem;
    display: inline-block;
    border: 1px solid rgba(66, 172, 114, 0.3);
    padding: 4px;
    transition: all 0.3s ease;
}

.about-image-wrapper:hover {
    border-color: #42ac72;
    box-shadow: 0 0 12px rgba(0, 255, 0, 0.2);
}

.about-image {
    width: 277px;
    display: block;
    transition: opacity 0.3s ease;
}

.about-image-wrapper:hover .about-image {
    opacity: 0.95;
}

.socials {
    display: flex;
    flex-wrap: wrap;
    justify-content: end;
    column-gap: .55rem;
    margin-top: 1.5rem;
}

.social-link {
    transition: all 0.3s ease;
    position: relative;
}

.social-link:hover {
    transform: translateY(-2px);
    color: #00dc58;
}

/* Latest Content Section */
.latest-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(66, 172, 114, 0.2);
}

.latest-section-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #00FF00;
}

.latest-category {
    margin-bottom: 2rem;
}

.latest-category-title {
    font-size: 1rem;
    margin: 0 0 0.8rem 0;
}

.latest-category-link {
    color: #00FF00;
    text-decoration: none;
    transition: color 0.3s ease;
}

.latest-category-link:hover {
    color: #00dc58;
}

.latest-list {
    list-style: none;
    padding: 0;
    margin: 0 0 0.5rem 0;
}

.latest-item {
    margin-bottom: 0.6rem;
    padding-left: 1rem;
    border-left: 1px solid rgba(66, 172, 114, 0.2);
    transition: all 0.3s ease;
}

.latest-item:hover {
    border-left-color: #42ac72;
    transform: translateX(4px);
}

.latest-link {
    color: #00FF00;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    transition: color 0.3s ease;
}

.latest-link:hover {
    color: #00dc58;
}

.latest-item-title {
    font-size: 0.85rem;
    font-weight: 500;
}

.latest-item-subtitle {
    font-size: 0.7rem;
    color: #42ac72;
    opacity: 0.8;
}

.latest-item-date {
    font-size: 0.65rem;
    color: #42ac72;
    opacity: 0.7;
}

.latest-more-link {
    display: inline-block;
    font-size: 0.7rem;
    color: #42ac72;
    text-decoration: none;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
}

.latest-more-link:hover {
    color: #3eb774;
    transform: translateX(4px);
}


.attribution {
    text-align: center;
    margin-top: 1.5rem;
    font-size: .6rem
}

.attribution > a {
    color: inherit;
}

.hidden_element {
    display: none;
}








.cv-about {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 40px;
}

.cv-location {
    margin-top: 0;
}

.traits {
    margin: 0;
    font-size: 0.9rem;
}

.cv-socials > a {
    color: #42ac72;
}

.cv-education, .cv-experience {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.heading {
    margin: 0;
}

.institution {
    display: flex;
    justify-content: space-between;
}

.institution-name {
    margin: 0;
    color:#3eb774;
}

.institution-duration {
    color:#358659;
    font-size: .85rem;
}

.level {
    margin-top: 5px;
    color: #358659;
    font-size: 14px;
}

.tags {
    padding: 10px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    gap: 5px;
}

.tag {
    background-color:#2c744c71;
    color:#3aa56a;
    border-radius: 4px;
    font-size: .75rem;
    padding: 3px 8px;
}

.name-location {
    display: flex;
    gap: 5px;
}

.name-location > .tag {
    font-size: .87rem;
}

.experience-description {
    color:#358659;
    font-size: .87rem;
    margin-top: 5px;
}

.experience > .level {
    color:#3eb774;
}









.books-section-name {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    margin-top: 40px;
}

.books-filter {
    width: 140px;
    margin-top: 40px;
    background-color: #010101;
    border: 1px solid #42ac72;
    color: #fafafa;
    padding: 4px 10px;
    font-family: Departure Mono, monospace;
}

.books {
    display: flex;
    flex-wrap: wrap;
    column-gap: 1.5rem;
    row-gap: 1rem;
    justify-content: space-between;
    width: 100%;
    margin-top: 2rem;
}

.book-image {
    width: 100%;
    position: relative;
    bottom: 0;
    transition: 0.5s ease bottom;
}

.book-desc {
    font-size: 0.8rem;
    opacity: 0;
    color: #00dc58;
    margin: 0;
    transition: 0.5s ease opacity;
}

.book-author {
    color: #42ac72;
}

.visibe-desc {
    opacity: 1;
}

.book-finish-date {
    color: #42ac72;
    margin: 5px 0;
}

.book-name {
    margin: 20px 0 5px 0;
}








.posts-section-name {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    margin-top: 40px;
}

/* Sparks Design - capturing sudden inspiration */
.posts {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 2rem;
}

.post {
    position: relative;
    border-left: 2px solid #00FF00;
    padding-left: 1rem;
    padding: 1rem 1rem 1rem 1.2rem;
    background: linear-gradient(90deg, rgba(0, 255, 0, 0.03) 0%, rgba(0, 255, 0, 0) 100%);
    transition: all 0.3s ease;
    border-radius: 0 4px 4px 0;
}

.post::before {
    content: '⚡';
    position: absolute;
    left: -0.5rem;
    top: 1rem;
    font-size: 0.8rem;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.post:hover {
    background: linear-gradient(90deg, rgba(0, 255, 0, 0.12) 0%, rgba(0, 255, 0, 0.03) 100%);
    border-left-color: #00dc58;
    transform: translateX(4px);
    box-shadow: -2px 0 8px rgba(0, 255, 0, 0.2);
}

.post:hover::before {
    opacity: 1;
    transform: scale(1.2);
    filter: drop-shadow(0 0 4px rgba(0, 255, 0, 0.6));
}

.post-link {
    color: #00FF00;
    display: block;
    text-decoration: none;
}

.post-name {
    font-size: 1rem;
    margin: 0;
    color: #00FF00;
    font-weight: 500;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.post:hover .post-name {
    color: #00dc58;
    text-shadow: 0 0 8px rgba(0, 220, 88, 0.3);
}

.post-date {
    font-size: 0.7rem;
    color: #42ac72;
    margin: 0.5rem 0 0 0;
    opacity: 0.8;
    font-weight: normal;
}

.post-content {
    font-family: 'Palatino Linotype', serif;
    color: #d9d9d9;
    line-height: 1.5;
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    background-color: #1a1a1a;
    border: 1px solid #42ac72;
}

.post-content p {
    font-size: 0.9rem;
    font-weight: 400;
}






.lists-section-name {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    margin-top: 40px;
}

/* Projects Section */
.projects-section-name {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    margin-top: 40px;
}

.projects {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.project {
    border: 1px solid #42ac72;
    border-radius: 4px;
    padding: 1.2rem;
    background-color: rgba(66, 172, 114, 0.05);
    transition: 0.3s ease all;
}

.project:hover {
    background-color: rgba(66, 172, 114, 0.15);
    border-color: #3eb774;
    transform: translateX(4px);
}

.project-link {
    color: #00FF00;
    display: block;
    text-decoration: none;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.project-name {
    font-size: 1rem;
    margin: 0;
    color: #00FF00;
    flex: 1;
}

.project-link-icon {
    font-size: 0.7rem;
    color: #42ac72;
    opacity: 0.7;
    flex-shrink: 0;
}

.project-description {
    font-size: 0.75rem;
    color: #42ac72;
    margin: 0.5rem 0;
    line-height: 1.4;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(66, 172, 114, 0.3);
}

.project-date {
    font-size: 0.7rem;
    color: #42ac72;
    margin: 0;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.project-tag {
    background-color: rgba(66, 172, 114, 0.2);
    color: #3eb774;
    border-radius: 3px;
    font-size: 0.65rem;
    padding: 2px 6px;
    border: 1px solid rgba(66, 172, 114, 0.4);
}








@media (min-width: 768px) {
    main {
        padding: 4rem;
    }

    .container {
        max-width: 28rem;
    }

    .books {
        column-gap: 1rem;
    }

    .book {
        width: 215px;
    }
}

@media (min-width: 1060px) {
    .container {
        max-width: 32rem;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 32rem;
    }

    .cv-image {
        margin-top: 0;
        width: 150px;
    }

    .books-section-name {
        margin-top: 40px;
    }

    .book {
        width: 240px;
    }

    .posts-section-name {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    main {
        padding: 2rem;
        padding-top: 4rem;
    }

    .about-image {
        width: 250px;
    }

    .cv-image {
        margin-top: 40px;
        width: 150px;
    }

    .institution-name {
        font-size: 16px;
    }

    .institution-duration {
        display: none;
    }

    .heading {
        font-size: 20px;
    }

    .experience-description {
        font-size: 12px;
    }
}