* {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
}

body {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-flow: column nowrap;
    align-items: stretch;
    justify-content: stretch;
}

main {
    flex-grow: 1;
    padding: 30px 12% 60px 12%;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: center;
    background: linear-gradient(#00000000 0%, #7c7c7c75 100%);
}

#works > h1 {
   margin-bottom: 30px;
   text-align: center;
}

#work-list {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: center;
    gap: 30px 20px;
}

.work-entry {
    width: 200px;
    height: 275px;
    display: flex;
    flex-flow: column nowrap;
    justify-content: stretch;
    text-align: center;
    text-decoration: none;
    color: #000000;
    box-shadow: 0 0 4px 2px #cacaca;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 200ms;
}

.work-entry:hover {
    transform: translateY(-10px);
}

.work-entry-heading {
    flex-grow: 1;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background-color: #3a3a3a;
}

.work-entry-info {
    padding: 20px 0;
    background-color: #ffffff;
}

#draughts > .work-entry-heading {
    background-color: #6b461b;
}

#ehealth > .work-entry-heading {
    background-color: #128691;
}

#neuro-symbolic > .work-entry-heading {
    background-color: #267bff;
}

footer {
    width: 100%;
    padding: 10px 7px;
    display: block;
    position: fixed;
    bottom: 0;
    text-align: center;
    color: #ffffff;
    background-color: #3a3a3a;
}