.portfolio-items {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    
    align-items: center;
}
.portfolio-items .portfolio-item:not(:last-child) {
    margin-bottom: 2.4em;
}

.portfolio-item {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
    box-shadow: 0rem 0rem 0.1rem 0.1rem var(--background-color-2);
    border-radius: 0.25rem;
    min-height: 36vh;
    max-height: 36vh;
    justify-content: center;
    align-self: center;
    align-items: center;
    transition: all 0.1s ease-in-out;
}

.portfolio-item:hover {
    box-shadow: 0rem 0rem 0.2rem 0.2rem var(--background-color-2);
    transform: translateY(-0.2rem);
}

.hover-description {
    z-index: 100;
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background-color);
    color: var(--text-color);
    padding: 1rem;
    box-sizing: border-box;
    font-weight: bold;
    font-size: 1.2rem;
}

.portfolio-item:hover .hover-description {
    display: block;
}

.portfolio-item .content-media {
    flex: 9;
    width: 100%;
    border: none;
    justify-content: center;
    align-items: center;
    align-self: center;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.portfolio-item .content-link {
    z-index: 200;
    flex: 1;
    width: 100%;
    color: var(--url-color);
    display: flex;
    padding: 0.5rem;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-top: 0.1rem solid var(--background-color-2);
    border-radius: 0.25rem;
}

.link-text {
    padding-right: 0.5rem;
}