* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font: #5c0c0e normal Colonna MT;
    scroll-behavior: smooth;
    overflow-x: hidden;
    background-color: #EEEEEE;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 800 400'%3E%3Cdefs%3E%3CradialGradient id='a' cx='396' cy='281' r='514' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0' stop-color='%23C28868'/%3E%3Cstop offset='1' stop-color='%23EEEEEE'/%3E%3C/radialGradient%3E%3ClinearGradient id='b' gradientUnits='userSpaceOnUse' x1='400' y1='148' x2='400' y2='333'%3E%3Cstop offset='0' stop-color='%2347402A' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%2347402A' stop-opacity='0.5'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect fill='url(%23a)' width='800' height='400'/%3E%3Cg fill-opacity='0.24'%3E%3Ccircle fill='url(%23b)' cx='267.5' cy='61' r='300'/%3E%3Ccircle fill='url(%23b)' cx='532.5' cy='61' r='300'/%3E%3Ccircle fill='url(%23b)' cx='400' cy='30' r='300'/%3E%3C/g%3E%3C/svg%3E");
    background-attachment: fixed;
    background-size: cover;
    padding: 0px;
    margin: 0px;
    color: #333;
    line-height: 1.6;
}

.projects-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 30px;
}

.projects-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.project-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 30px;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.8);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    cursor: pointer;
}

.project-title {
    color: #462B22;
    font-size: 1.8rem;
    font-weight: 600;
}

.project-toggle {
    font-size: 1.5rem;
    color: #95502E;
    transition: transform 0.3s ease;
}

.project-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
}

.project-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.project-description {
    color: #555;
    line-height: 1.7;
}

.project-features {
    background: rgba(149, 80, 46, 0.05);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid rgba(149, 80, 46, 0.3);
}

.features-title {
    color: #462B22;
    font-weight: 600;
    margin-bottom: 10px;
}

.features-list {
    color: #555;
    padding-left: 20px;
}

.features-list li {
    margin-bottom: 8px;
}

.tech-stack {
    margin-top: 20px;
}

.tech-title {
    color: #462B22;
    font-weight: 600;
    margin-bottom: 15px;
}

.tech-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.tech-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    background-color: transparent;
	font-style: normal;
	text-decoration: none;
}

.tech-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.tech-name {
    font-size: 0.8rem;
    color: #666;
}

.project-visual {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.project-screenshot {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.project-screenshot:hover {
    transform: scale(1.02);
}

.screenshot-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.screenshot-grid.portret img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 6px;
    transition: transform 0.3s ease;
}

.screenshot-grid img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 6px;
    transition: transform 0.3s ease;
}

.screenshot-grid img:hover {
    transform: scale(1.05);
}

.project-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(149, 80, 46, 0.3), transparent);
    margin: 30px 0;
    text-align: center;
}

.project-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(149, 80, 46, 0.15);
    color: #95502E;
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(149, 80, 46, 0.2);
}

.project-link:hover {
    background: rgba(149, 80, 46, 0.25);
    transform: translateY(-2px);
}

.project-details-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.project-card.active .project-details-content {
    max-height: 2000px;
}

.project-card.active .project-toggle {
    transform: rotate(180deg);
}

.projects-header {
    text-align: center;
    margin-bottom: 50px;
}

.projects-title {
    color: #462B22;
    font-size: 2.8rem;
    margin-bottom: 15px;
    position: relative;
}

.projects-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, #95502E, #C28868);
    margin: 15px auto;
    border-radius: 2px;
}

.projects-subtitle {
    color: #95502E;
    font-size: 1.2rem;
    font-style: italic;
    max-width: 600px;
    margin: 0 auto;
}

.filters-section {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: end;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 150px;
}

.filter-group label {
    color: #462B22;
    font-weight: 600;
    font-size: 0.9rem;
}

.filter-select {
    padding: 10px 12px;
    border: 2px solid rgba(149, 80, 46, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.filter-select:focus {
    outline: none;
    border-color: #95502E;
    box-shadow: 0 0 0 3px rgba(149, 80, 46, 0.1);
}

.reset-btn {
    background: rgba(149, 80, 46, 0.15);
    color: #95502E;
    border: 1px solid rgba(149, 80, 46, 0.2);
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.reset-btn:hover {
    background: rgba(149, 80, 46, 0.25);
    transform: translateY(-2px);
}

.project-meta {
    flex: 1;
}

.project-tags {
    display: flex;
    gap: 10px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.project-year {
    background: rgba(33, 150, 243, 0.2);
    color: #1565c0;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-type {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-type.personal {
    background: rgba(76, 175, 80, 0.2);
    color: #2e7d32;
}

.project-type.company {
    background: rgba(156, 39, 176, 0.2);
    color: #7b1fa2;
}

.project-type.academic {
    background: rgba(255, 152, 0, 0.2);
    color: #ef6c00;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-badge.featured {
    background: rgba(255, 193, 7, 0.2);
    color: #b58900;
}

.status-badge.languages {
    background: rgba(255, 7, 7, 0.2);
    color: #300000;
}

.status-badge {
    background: rgba(149, 80, 46, 0.2);
    color: #95502E;
}


@media screen and (max-width: 968px) {
    .project-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .project-visual {
        order: -1;
    }
}

@media screen and (max-width: 768px) {
    .projects-container {
        margin: 20px;
        padding: 20px;
    }

    .projects-title {
        font-size: 2.2rem;
    }

    .project-card {
        padding: 20px;
    }

    .project-title {
        font-size: 1.5rem;
    }

    .screenshot-grid {
        grid-template-columns: 1fr;
    }

    .filters-section {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        min-width: auto;
    }
    
    .reset-btn {
        align-self: center;
        margin-top: 10px;
    }
}

@media screen and (max-width: 480px) {
    .projects-container {
        margin: 10px;
        padding: 15px;
    }

    .projects-title {
        font-size: 1.8rem;
    }

    .project-card {
        padding: 15px;
    }

    .project-links {
        flex-direction: column;
    }
}