main {
    padding: 1vh;
}

main .about {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    width: 100%;
}

main .about .title {
    text-align: center;
}

main .about .card {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: distribute;
        justify-content: space-around;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    width: 110vh;
    padding: 2vh;
    border-top: solid 1px var(--text-color);
    border-bottom: solid 1px var(--text-color);
    border-radius: 8px;
}

main .about .card .pp {
    width: 200px;
    border-radius: 50%;
}

main .about .card .desc {
    text-align: justify;
}

main .about .card .desc p {
    font-size: 1em;
    font-weight: 500;
    margin: 0;
    opacity: .8;
}

main .about .card .desc .text-1 {
    text-align: center;
    margin: 1vh 0;
    font-size: 1.1em;
    opacity: 1;
}

main .projects {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    width: 100%;
}

main .projects .title {
    text-align: center;
}

main .projects .filter {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

main .projects .filter button {
    background-color: var(--var-color);
    border: none;
    color: var(--text-color);
    font-size: 1.3em;
    font-weight: 500;
    padding: 2vh;
    margin: 1vh 0;
    cursor: pointer;
    opacity: .5;
}

main .projects .filter button.current {
    opacity: 1;
}

main .projects .filter button:first-child {
    border-radius: 8px 0 0 8px;
}

main .projects .filter button:last-child {
    border-radius: 0 8px 8px 0;
}

main .projects .list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    width: 100%;
    -ms-flex-pack: distribute;
        justify-content: space-around;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
}

main .projects .list .row {
    display: -ms-grid;
    display: grid;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -ms-grid-rows: (1fr)[3];
    grid-template-rows: repeat(3, 1fr);
    height: 30vh;
    padding: 1vh;
    border-radius: 16px;
    margin: 1vh 0;
    width: 30vh;
}

main .projects .list .row:hover {
    -webkit-transform: scale(.95);
        -ms-transform: scale(.95);
            transform: scale(.95);
}

main .projects .list .row .name {
    font-size: 1.3em;
    font-weight: 500;
    text-align: center;
}

main .projects .list .row .image {
    border-radius: 16px;
    max-width: 150px;
    max-height: 150px;
    -ms-grid-column-align: center;
        justify-self: center;
}

main .projects .list .row .tag {
    font-size: 1em;
    font-weight: 500;
    text-align: center;
    padding: 1vh;
    color: var(--text-color);
    border-radius: 4px;
}

main .projects .list .row .tag.active {
    background-color: #16C809;
}

main .projects .list .row .tag.inactive {
    background-color: #F52727;
}

main .networks {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    width: 100%;
}

main .networks .title {
    text-align: center;
}

main .networks .list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: distribute;
        justify-content: space-around;
    width: 80%;
}

main .networks .list .row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    text-align: center;
    padding: 1vh;
    border-radius: 24px;
}

main .networks .list .row:hover {
    -webkit-transform: scale(.9);
        -ms-transform: scale(.9);
            transform: scale(.9);
}

main .networks .list .row img {
    width: 128px;
}

@media only screen and (max-width: 950px) {
    main .about .card {
        width: 90%;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
    }

    main .about .card .desc p {
        text-align: justify;
        margin: 1vh 0;
    }
}

@media only screen and (max-width: 850px) {
    main .projects .list .row {
        width: 90%;
    }
}

@media only screen and (max-width: 650px) {
    main .networks .list {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
    }

    main .networks .list .row {
        margin: 1vh 0;
        width: 30vh;
        -ms-flex-item-align: center;
            -ms-grid-row-align: center;
            align-self: center;
    }
}