@import url('https://fonts.googleapis.com/css2?family=Montserrat+Alternates:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inconsolata:wght@200..900&display=swap');

body {
    background-color: rgb(37, 37, 37);
    margin: 0;
    font-family: "Inconsolata", monospace;
    font-weight: 500;
    padding: 0;
    color: aliceblue;
}

h1 {
    font-weight: 900 !important;
    font-size: 60px;
}

p {
    font-weight: 300;
}

.navbar {
    top: 0;
    position: fixed;
    display: flex;
    left: 50%;
    transform: translate(-50%);
    z-index: 1;
    background-color: rgb(37, 37, 37);
    width: 100%;
    height: 50px;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 1px 15px #131313;
    transition: box-shadow 0.15s ease-in-out;
}

.navbar.no-shadow {
    box-shadow: none;
}

li {
    list-style: none;
}

li a {
    text-decoration: none;
    margin: 3vw;
    color: #fff;
}

li a:hover {
    color: rgb(90, 255, 142);
}

section {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 1vh 2vw;
    min-height: 600px;
    text-align: center;
    top: 100px;
    flex-wrap: wrap;
    top: 0;
}

.banner {
    box-shadow: 0 10px 20px #131313;
    border-radius: 20px;
}

h1 {
    color: black;
    font-weight: 800;
}

.header {
    background-color: #5aff8e;
}

.card {
    width: 300px;
    height: 200px;
    background-color: rgb(41, 41, 41);
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    perspective: 1000px;
    transition: transform 0.1s, box-shadow 0.1s;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border: 1px rgb(52, 51, 51) solid;
    margin: 2%;
    overflow: hidden;
}

.green-card {
    --shadow-color: rgba(90, 255, 142, 0.5);
}

.red-card {
    --shadow-color: rgb(255, 0, 0, 0.5);
}

.yellow-card {
    --shadow-color: rgb(255, 255, 0, 0.5);
}

.card::before {
    content: '';
    position: absolute;
    top: var(--y);
    left: var(--x);
    transform: translate(-50%,-50%);
    background: radial-gradient(var(--clr),transparent, transparent);
    width: 650px;
    height: 650px;
    opacity: 0;
    transition: 0.3s, top 0s, left 0s;
}

.card:hover::before {
    opacity: 1;
}

.card::after {
    content: '';
    position: absolute;
    inset: 1px;
    background-color: rgba(41, 41, 41, 0.85);
    border-radius: 10px;
}

.content {
    text-align: center;
    margin: 15px;
    z-index: 1;
}

.highlight {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    background: #5aff8e;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.1s, opacity 0.2s;
    opacity: 0;
    z-index: 0;
}
