body {
    font-family: "Funnel Sans";
    color: var(--font-color);

    display: flex;
    justify-content: center;
}

.projects {
    position: relative;
    overflow: hidden;

    margin-top: 10%;
    margin-bottom: 10%;

    max-width: 1000px;
    width: 95vw;
    height: fit-content;

    border-radius: 50px;
    border: 1px solid rgb(var(--shadow), 0.1);

    box-shadow: inset 0px 0px 40px 0px rgba(var(--shadow), 0.3), 0px 0px 20px 0px rgba(var(--shadow), 0.1);
}

.project:nth-child(n+2) {
    border-top: 1px solid rgb(var(--shadow), 0.1);
}

.project .top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgb(var(--shadow), 0.08);
    margin-bottom: 20px;

    position: relative;
    z-index: 2;
}

.project {
    min-height: 150px;
    display: flex;
    justify-content: center;
    flex-direction: column;

    box-sizing: border-box;

    padding: 120px;
}

.project .title {
    font-size: 32px;
    font-weight: 500;
}

.subTitle {
    font-size: 18px;
    font-weight: 500;
}

.tech {
    margin-top: 20px;
}

.techPills {
    height: fit-content;
    display: flex;
    align-items: center;
    margin-top: 5px;
    flex-wrap: wrap;
}

.techPills span {
    padding: 3px 15px;
    background-color: var(--primary);
    color: var(--font-color);
    width: fit-content;
    height: 20px;
    box-shadow: inset 0px 0px 10px 0px rgba(var(--shadow), 0.3), 0px 0px 20px 0px rgba(var(--shadow), 0.1);
    border-radius: 10px;
    font-size: 14px;
    margin: 4px;
    border: 1px solid rgba(var(--shadow), 0.2);
}

.lines {
    position: absolute;
    opacity: 0.08;
    width: 400px;
    user-select: none;
    -webkit-user-drag: none;
    z-index: 1;
    fill: var(--font-color)
}

.lines.v1 {
    bottom: 0;
    right: -100px;
}

.lines.v2 {
    transform: rotate(180deg);
    top: -50px;
    left: -100px;
}

@media screen and (max-width: 1000px) {
    .projects {
        margin-top: 20%;
        margin-bottom: 20%;
    }
}

@media screen and (max-width: 800px) {
    .projects {
        margin-top: 30%;
        margin-bottom: 30%;
    }
}

@media screen and (max-width: 600px) {
    .project {
        padding: 30px;
    }

    .lines {
        width: 200px;
    }

    .lines.v1 {
        bottom: 0px;
        right: -50px;
    }

    .lines.v2 {
        top: 0px;
        left: -50px;
    }
}