* {
    box-sizing: border-box;
    font-family: "Finger Paint", sans-serif;
}

body {
    background-color: #f3e4c9;
    color: #3e342d;
    margin: 0;
    padding: 0;
    cursor: none;
}

a,
button {
    cursor: none;
}

.liquid-cursor,
.liquid-cursor-glow {
    position: fixed;
    top: -12px;
    left: -12px;
    width: 24px;
    height: 24px;
    border-radius: 52% 48% 43% 57%;
    pointer-events: none;
    z-index: 9999;
    transform: translate3d(-100px, -100px, 0);
}

.liquid-cursor {
    background: rgba(169, 139, 118, 0.72);
    transition: transform 120ms ease-out, width 180ms ease, height 180ms ease,
        top 180ms ease, left 180ms ease, border-radius 180ms ease;
}

.liquid-cursor-glow {
    width: 52px;
    height: 52px;
    top: -26px;
    left: -26px;
    background: rgba(191, 162, 140, 0.38);
    filter: blur(10px);
    opacity: 0.8;
    transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.liquid-cursor.is-hovering {
    top: -20px;
    left: -20px;
    width: 40px;
    height: 40px;
    border-radius: 45% 55% 58% 42%;
}

.liquid-cursor.is-pressed {
    top: -8px;
    left: -8px;
    width: 16px;
    height: 16px;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
}

.name {
    display: flex;
    align-items: center;
}

.link {
    text-decoration: none;
    color: #3e342d;
    margin-left: 15px;
}

.main {
    margin: 40px auto;
    width: 90%;
    max-width: 800px;
    padding: 0 10px;
}

@media (max-width: 600px) {
    .nav {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .link {
        margin: 0 8px;
    }

    .main {
        margin-top: 20px;
    }
}

@media (pointer: coarse) {
    body,
    a,
    button {
        cursor: auto;
    }

    .liquid-cursor,
    .liquid-cursor-glow {
        display: none;
    }
}

.heading {
    display: flex;
    align-items: center;
}

.project-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.project-card {
    background-color: #bfa28c;
    border: 2.5px solid #babf94;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 20px;
    border-radius: 10px;
}

.project-card h3 {
    margin-top: 0;
    font-size: 20px;
}

.project-card p {
    font-size: 14px;
    line-height: 1.4;
    margin: 10px 0 20px 0;
}

.project-link {
    text-decoration: none;
    color: #3e342d;
    font-weight: bold;
    align-self: flex-start;
}

.project-link:hover {
    color: #babf94;
    text-decoration: underline;
}

.stats {
    display: flex;
    justify-content:space-evenly;
    margin-bottom: 50px;
    border: 3px solid #3e342d;
    padding: 10px;
}

.stat {
    border: 3px solid #3e342d;
    padding: 10px;
    align-items: center;
}