.project {
    background: #EFEFEF;
    display: block;
    flex-direction: row;
    padding: 25px;
    position: relative;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, .05);

    & .project-screenshot {
        width: 300px;
        box-sizing: border-box;
        margin-right: 20px;
        vertical-align: top;
        padding: 5px;
        height: 200px;
        border: 3px solid white;
        box-shadow: 0 0 10px rgba(0, 0, 0, .2);
        border-radius: 5px;
    }

    & .project-links {
        display: relative;
        margin: 0;
        padding: 0;

        .icon-link img {
            height:48px;
        }

        li {
            list-style: none;
            margin-bottom:20px;
        }
    }

    & .description {
        padding-left: 10px;
        box-sizing: border-box;

        & h3 {
            font-size: 1.5em;
            margin-top: 0;

            & a {
                text-decoration: none;
                color: #444;
            }
            & a:hover {
                text-decoration: underline;
            }
        }

        & .updated {
            margin-bottom: 10px;
        }

        & .tags {
            display: flex;
            flex-wrap: wrap;

            & .tag {
                padding: 4px 8px;
                background: #b1d5f7;
                margin: 2px;
                border-radius: 4px;
            }
        }
    }
}

.extended-content {
    background: #EFEFEF;
    display: block;
    padding: 25px;
    position: relative;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, .05);
}

.back-link {
    display: inline-block;
    margin: 20px 0;
    padding: 12px 18px;
    background: #b1d5f7;
    border-radius: 6px;
    color: black;
    border: 2px solid transparent;
    transition: 0.2s;

    &:hover {
        background: white;
        border-color: #b1d5f7;
        text-decoration: none;
        color: black;
    }
}

#tag-filter {
    margin-bottom: 20px;
    padding: 12px 16px;
    background: #EFEFEF;
    border-radius: 10px;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, .05);

    & .tag-filter-label {
        font-weight: bold;
        display: block;
        margin-bottom: 8px;
    }

    & #tag-filter-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }

    & #project-count {
        margin-top: 10px;
        font-size: 0.9em;
        color: #555;
    }

    & .tag-filter-btn {
        padding: 4px 12px;
        background: #b1d5f7;
        border: 2px solid transparent;
        border-radius: 4px;
        cursor: pointer;
        font-family: inherit;
        font-size: 0.9em;
        transition: 0.2s;

        &:hover {
            background-color: white;
            border-color: #b1d5f7;
        }

        &.active {
            background: #3a8fd8;
            color: white;
            border-color: #3a8fd8;

            &:hover {
                background-color: white;
                color: #3a8fd8;
            }
        }
    }
}
