* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Google Sans Code', monospace;
    color: #fff;
}

body {
    background-color: #000;
    /* min-height: 200vh; */
    /* Allow scrolling for testing */
}

.topnav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000;
    padding: 4px 8px;
    border: 1px solid #fff;
    z-index: 1000;
}

.topnav a {
    color: #fff;
    text-decoration: none;
    padding: 0px 8px;
    margin: 2px;
    font-size: 0.9rem;
    transition: all 0.5s ease;
    border: 1px solid #333;
}

.topnav a:hover {
    background-color: #333
}

.avatar-img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    display: block;
    margin-left: auto;
    margin-bottom: -70px;
}

.content {
    padding: 50px 20px;
    max-width: 800px;
    margin: 0 auto;
}

#changing-text {
    transition: opacity 0.5s ease-in-out;
    display: inline-block;
}

.frame1 {
    border: 1px solid #fff;
}

.fade-out {
    opacity: 0;
}

.fel {
    width: 8.75rem;
    height: auto;
    margin-top: 20px;
}

.item1-title {
    margin-top: -145px;
    margin-left: 150px;
}

.item-content {
    margin-left: 150px;
}

.cisco {
    width: 8.75rem;
    height: auto;
    margin-top: 150px;
}

.item2-title {
    margin-top: -85px;
    margin-left: 150px;
}

.tryhackme {
    width: 8.75rem;
    height: auto;
    margin-top: 90px;
}

.item3-title {
    margin-top: -140px;
    margin-left: 150px;
}

.kybersoutez {
    width: 8.75rem;
    height: auto;
    margin-top: 100px;
}

.item4-title {
    margin-top: -110px;
    margin-left: 150px;
}

.haxagon {
    width: 8.75rem;
    height: auto;
    margin-top: 60px;
}

.item5-title {
    margin-top: -140px;
    margin-left: 150px;
}

.math-naboj {
    width: 8.75rem;
    height: auto;
    margin-top: 100px;
}

.item6-title {
    margin-top: -90px;
    margin-left: 150px;
}

.arch {
    width: 8.75rem;
    height: auto;
    margin-top: 100px;
}

.item7-title {
    margin-top: -145px;
    margin-left: 150px;
}

.copy-button {
    color: rgba(0, 0, 0, 1)
}

html {
    scroll-behavior: smooth;
}

/* GitHub Activity Styles */
#github-activity-section {
    margin-top: 40px;
    padding: 20px;
    border: 1px solid #ffffff;
    background-color: rgba(255, 255, 255, 0.05);
}

#github-activity-section h3 {
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.calendar {
    border: none !important;
    font-family: 'Google Sans Code', monospace !important;
}

.calendar .width-full>.float-left {
    display: none;
}

.calendar rect.ContributionCalendar-day[data-level="0"] {
    fill: #161b22;
}

.calendar rect.ContributionCalendar-day[data-level="1"] {
    fill: #0e4429;
}

.calendar rect.ContributionCalendar-day[data-level="2"] {
    fill: #006d32;
}

.calendar rect.ContributionCalendar-day[data-level="3"] {
    fill: #26a641;
}

.calendar rect.ContributionCalendar-day[data-level="4"] {
    fill: #39d353;
}

#github-feed {
    font-size: 0.9rem;
}

.activity-list {
    list-style: none;
    padding: 0;
}

.activity-item {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-date {
    color: #11ff00;
    margin-right: 10px;
    font-weight: bold;
}

.activity-item a {
    color: #11ff00;
    text-decoration: none;
}

.activity-item a:hover {
    text-decoration: underline;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.project-card {
    padding: 20px;
    border: 1px solid rgb(255, 255, 255);
    background-color: rgb(0, 0, 0);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-card h4 a {
    color: #11ff00;
    text-decoration: none;
    font-size: 1.2rem;
}

.project-card p {
    font-size: 0.85rem;
    margin: 10px 0;
    color: #ccc;
    line-height: 1.4;
}

.project-stats {
    display: flex;
    gap: 15px;
    font-size: 0.8rem;
    color: #888;
    margin-top: 10px;
}

.project-stats i {
    color: #11ff00;
}