.portfolio {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    img {
        width: 100%;
        height: 40vh;
        object-fit: cover;
        object-position: 0% 0%;
    }
}

.portfolio-content {
    width: 60%;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    margin: 40px 0;
    gap: 80px;

    h1 {
        font-family: Cinzel;
        font-size: 52px;
        font-weight: 100;
        color: gray;
    }

    h2 {
        font-family: Inter;
        font-size: 42px;
        font-weight: 100;
        padding: 20px;
    }

    .portfolio-content-list {
        width: 100%;
        display: flex;
        flex-direction: column;
    }
}

.portfolio-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 20px;
    border: 1px solid rgba(73, 80, 87, 0.3);
    border-radius: 12px;
    padding: 10px;
    cursor: pointer;
}

.portfolio-item:hover h2 {
    background-color: whitesmoke;
    border-radius: 12px;
    transition: background-color 0.25s ease-in-out;
}

.portfolio-text {
    width: 100%;
    display: none;
    flex-direction: column;
    gap: 20px;
    background-color: whitesmoke;
    padding: 20px;
    border-radius: 10px;

    p {
        font-family: Inter;
        font-weight: 300;
        line-height: 1.8;
        color: dimgray;
        font-size: 18px;
    }

    ul {
        font-family: Inter;
        font-weight: 300;
        line-height: 1.8;
        color: dimgray;
        font-size: 18px;
        list-style-type: disc;
        padding-left: 20px;

        li {
            margin-bottom: 10px;
        }
    }
}

/* responsive only for portfolio */
.show {
    display: flex;
    animation: blendIn 0.25s ease-in-out;
}

@media (max-width: 1200px) {
    .portfolio-content {
        width: 90%;
    }
}

@media (max-width: 600px) {

    .portfolio-content h1 {
        font-size: 32px;
    }

    .portfolio-content h2 {
        font-size: 28px;
    }

    .portfolio-text {
        p {
            font-size: 16px;
        }

        ul {
            font-size: 16px;
        }
    }
}