body {
    background-color: black;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.title {
    user-select: none;
    font-size: 40px;
    color: #d1d1d1;
    font-family: sans-serif;
    margin-top: 0px;
    margin-bottom: 20px;
    padding-left: 15px;
    text-shadow: 3px 3px 0 rgba(255, 255, 255, 0.137);
}

.niklas {
    color: rgb(255, 255, 255);
    text-shadow: 3px 3px 0 rgba(255, 255, 255, 0.229);
}

.punkt {
    color: grey;
    text-shadow: 3px 3px 0 rgba(255, 255, 255, 0.141);
    transition: all 100ms;
}

.grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) ;
    gap: 30px;
    padding-left: 15px;
    padding-right: 15px;
}

.grid-element {
    position: relative;
    --main-col: red;
    border-radius: 10px;
    border: 1px white solid;
    background-color: black;
    height: 120px;
    user-select: none;
    overflow: hidden;

    transition: all 100ms ease-in-out;

    text-decoration: none;
}

.grid-element:hover {
    background-image: linear-gradient(transparent, rgb(from var(--main-col) r g b / 0.25));
    border-width: 2px;
    border-color: var(--main-col);
    box-shadow: 0px 10px 30px rgb(from var(--main-col) r g b / 0.25);
    scale: 1.05;
    transform: translateY(-10px);
    cursor: pointer;

}

.grid-element:active {
    scale: 0.9;
}

#grid-jelly:hover {
    background-image: 
    linear-gradient(180deg, black,#0000004c),
    linear-gradient(135deg,#9D5DBF 30%,#109BD8);
}

.grid-title {
    color: white;
    position: relative;
    top: 5px;
    left: 5px;
    font-size: 25px;
    border: none;
}

.icon {
    display: flex;
    position: absolute;
    right: 50px;
    bottom: 20px;
    height: 75px;
    opacity: 0.3;
    transition: all 200ms ease-out;
    scale: 0.9;
    filter: grayscale(1);
    transform: translateX(45px) translateY(17px);
    z-index: 0;
}

.icon-jelly {
    display: flex;
    position: absolute;
    right: 50px;
    bottom: 20px;
    height: 75px;
    opacity: 0.3;
    transition: all 200ms ease-out;
    scale: 0.9;
    filter: grayscale(1);
    transform: translateX(45px) translateY(17px);
    z-index: 0;
}

.grid-element:hover .icon {
    opacity: 0.3;
    scale: 1;
    transform: translateX(25px);
    filter: grayscale(0);
}

.grid-element:hover .icon-jelly {
    opacity: 0.5;
    scale: 1;
    transform: translateX(25px);
    filter: grayscale(0);
}
.grid-desc {
    color: grey;
    position: relative;
    top: 3px;
    padding: 5px;
    font-size: 15px;     
    z-index: 2;   
}