:root {
    --main-bg-color: #141414;
}

body {
    background-color: var(--main-bg-color);
    font-family: sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #F9F9FA;
}

h1 {
    font-weight: lighter;
}

h1 {
    font-size: 2em;
}

p,
ul,
ol {
    color: #A0A0A0;
}

a {
    color: #F9F9FA;
}

a:link {
    text-decoration: none;
}

a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a:active {
    text-decoration: underline;
}

.logo img {
    width: 40px;
    margin-top: -10px;
    margin-right: 40px;
}

.navbar {
    height: 125px;
    position: sticky;
    width: 100%;
    top: 0;
    background-color: var(--main-bg-color);
    z-index: 100000;
}

.nav ul {
    display: inline-flex;
    margin-top: 50px;
}

.nav ul li {
    list-style: none;
    margin: 10px;
    color: #F9F9FA;
    cursor: pointer;
}

.nav ul li .right {
    right: 0;
}

.split {
    height: 100%;
    width: 50%;
    position: fixed;
    z-index: 1;
    overflow-x: hidden;
}

.left {
    left: 0;
}

.right {
    right: 0;
}

.centered {
    position: absolute;
    width: 70%;
    top: 40%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.elem_icon {
    margin-right: 20px;
    margin-left: 10px;
    padding-top: 30px;
}

#cards {
    position: absolute;
    width: 90%;
    top: 40%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

#cards:hover > .elem-link::after {
    opacity: 1;
}

#cards > .elem-link {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin: 10px;
    display: table;
    position: relative;
    cursor: pointer;
    width: 100%;
    height: 150px;
}

.elem-link:hover::before {
    opacity: 1;
}

.elem-link::before,
.elem-link::after {
    border-radius: 10px;
    content: "";
    height: 100%;
    left: 0;
    opacity: 0;
    position: absolute;
    width: 100%;
    top: 0;
    transition: opacity 500ms;
}

.elem-link::before {
    background: radial-gradient(
            800px circle at var(--mouse-x) var(--mouse-y),
            rgba(255, 255, 255, 0.06),
            transparent 40%
    );
    z-index: 4;
}

.elem-link::after {
    background: radial-gradient(
            600px circle at var(--mouse-x) var(--mouse-y),
            rgba(255, 255, 255, 0.4),
            transparent 40%
    );
    z-index: 2;
}

.elem-link > .elem {
    background: #171717;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    inset: 1px;
    position: absolute;
    padding: 10px;
    z-index: 3;
}

.elem > .elem-content {
    display: inline-flex;
}