.tech-window {
    position: absolute;
    top: 70px;
    left: 210px;

    width: 760px;
    max-width: calc(100vw - 40px);
}

.tech-window.backend-window {
    top: 92px;
    left: 250px;
}

.tech-window.database-window {
    top: 114px;
    left: 290px;
}

.tech-window.tools-window {
    top: 136px;
    left: 330px;
}

.tech-content {
    padding: 16px;
    background-color: var(--win-gray);
}

.tech-folder-title {
    margin: 0 0 14px 0;
    font-size: 18px;
}

.tech-grid {
    min-height: 270px;
    padding: 18px;

    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
    gap: 18px 12px;

    background-color: white;

    border-top: 2px solid var(--win-dark);
    border-left: 2px solid var(--win-dark);
    border-right: 2px solid var(--win-light);
    border-bottom: 2px solid var(--win-light);
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    color: black;
    text-align: center;
    text-decoration: none;
    font-size: 13px;
    font-family: "MS Sans Serif", Arial, sans-serif;

    border: 0;
    background: transparent;
    cursor: default;
}

.tech-item img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    image-rendering: pixelated;
    margin-bottom: 6px;
}

.tech-item span {
    padding: 2px 4px;
}

.tech-item:hover span {
    color: white;
    background-color: var(--win-blue);
    outline: 1px dotted white;
}

.tech-description {
    margin-top: 14px;
    padding: 12px;
    background-color: white;

    border-top: 2px solid var(--win-dark);
    border-left: 2px solid var(--win-dark);
    border-right: 2px solid var(--win-light);
    border-bottom: 2px solid var(--win-light);

    font-size: 15px;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .tech-window,
    .tech-window.backend-window,
    .tech-window.database-window,
    .tech-window.tools-window {
        position: static;
        width: calc(100vw - 20px);
        max-width: none;
        margin: 10px;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        min-height: auto;
    }
}
