.portfolio {
    width: 100%;
    padding: 50px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    top: 0;
    background: rgb(var(--secondary-color));
    overflow: hidden;
}

.portfolio::before,
.portfolio::after {
    content: '';
    position: absolute;
    top: 40%;
    left: 0;
    background: rgba(255,255,255,0.2);
    backdrop-filter:blur(20px);
    z-index: 9;
    width: 100%;
    height: 100%;
    /* border: 100px solid red; */
}

.portfolio::before {
    border-radius: 70%;
    left: 50%;
    transform: translateX(-25%) rotateZ(-10deg);
    /* background: rgba(255, 255, 255, 0.5); */
    /* animation: animate 10s linear infinite; */
}

.portfolio::after {
    border-radius: 70%;
    left: -50%;
    transform: translateX(25%) rotateZ(10deg);
    /* background:rgba(var(--accent-color),0.5); */
    /* animation: animate 5s linear infinite; */
}

@keyframes animate {
    0% {
        transform: translate(-50%, -75%) rotate(0deg);
    }

    50% {
        transform: translate(-50%, -75%) rotate(10deg);
    }

    0% {
        transform: translate(-50%, -75%) rotate(0deg);
    }
}

.port_title {
    width: 100%;
    height: 40px;
    line-height: 40px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    display: none;
}

.port_list {
    width: 100%;
    min-height: 100px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 80px;
    z-index: 99;
}

.folio {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 200px;
    height: 225px;
    border-radius: 16px;
    padding: 10px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    text-shadow: 1px 1px #000;
    font-weight: bold;
    font-size: 16px;
}

.port_list img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
}

.port_list a {
    text-align: center;
    text-decoration: none;
    color: rgb(var(--text-color));
}

@media screen and (max-width:600px) {
    .portfolio::before,
    .portfolio::after {
        top: -25%;
        width: 200%;
        height: 200%;
    }
    
    .portfolio::before {
        left: 50%;
        transform: translate(50%  -50%) rotateZ(10deg);
        /* background: rgba(255, 255, 255, 0.5); */
        /* animation: animate 10s linear infinite; */
    }
    
    .portfolio::after {
        left: -50%;
        transform: translate(-50%  -50%) rotateZ(-10deg);
        /* background:rgba(var(--accent-color),0.5); */
        /* animation: animate 5s linear infinite; */
    }
}