

.divider {
    width: 100%;
    height: 1rem;
    background-color: white;
    border:none;
}

.article-slider {
    width: 100%;
    max-width: 100vw;;
    display: flex;
    gap: 4rem;
    margin: auto;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    touch-action: pan-x;   
    scroll-behavior: smooth;
    scroll-padding-inline-start: 1rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 3rem 0 3rem 2rem;
}


.article-container {
    --size: 20rem;
    height: var(--size);
    width: calc(var(--size)*1.1);
    border-radius: 1rem;
    background-color: var(--diminished-background-colour);
    box-shadow: -5px 5px 4px var(--shadow);
    border-color: red;
    text-align: center;
    margin: 0;
    flex: 0 0 calc(var(--size) * 1.1);
    min-width: calc(var(--size) * 1.1);
    scroll-snap-align: start;
    align-self: flex-start;
    flex-shrink: 0;
    cursor: pointer;
    transition: background-color 0.5s, box-shadow 0.5s, transform 0.2s
}

.article-container:hover {
    transform: scale(1.05) translateY(-10px);
    z-index: 10;
}

.article-container img {
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    height: 50%;
    width: 100%;
    object-fit: cover;
}

.article-container h1 {
    font-size: 2rem;
    margin: 0.7rem 0;
}

.article-container p {
    font-size: 1rem;
    width: 80%;
    margin: auto;
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    -webkit-line-clamp: 3;
}

.projects-info h1 {
    font-size: 4rem;
}

.projects-info p {
    font-size: 2rem;
}
