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

body {
    background: #191919;
    color: white;
    font-family: Raleway, sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}



/* SEARCH */

.search-section {
    margin-top: 80px;
}
.search-section.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}
.search-row {
    display: flex;
    gap: 20px;
    align-items: center;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 20px;
    border-radius: 30px;
    height: 48px;

    border: none;
    font-family: Raleway, sans-serif;
    font-size: 16px;
    background: #111;
    color: white;
    cursor: pointer;
}

.search {
    height: 48px;
    padding: 0 20px;

    display: flex;
    align-items: center;

    background: white;

    border-radius: 30px;

    flex: 1;
}

.search-icon {
    width: 18px;
    margin-right: 10px;
}
.search label {
    display: flex;
    flex: 1;
}
.search input {
    border: none;
    outline: none;
    flex: 1;
    font-size: 16px;
}

.clear {
    cursor: pointer;
    font-size: 20px;
    color: gray;
    border: none;
    background: none;
    display: none;
}

.clear.active {
    display: block;
}

/* PROJECTS */

.projects {
    margin-top: 60px;
}

.projects-grid {
    display: grid;

    grid-template-columns:repeat(3, 1fr);

    gap: 40px;
}

.card {
    display: flex;
    flex-direction: column;
    background: #111;
    border-radius: 16px;
    padding: 25px;
    min-height: 260px;
    text-decoration: none;
    color: inherit;

    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.card p {
    flex: 1;
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.4;
}

.stack {
    margin-top: auto;
}

.icons {
    display: flex;
    gap: 8px;
    margin-top: 5px;
}

.icons img {
    width: 26px;
    height: 26px;
}