:root {
    --background-color: #121212;
    --text-color: #ffffff;
    --highlight-color: #ffa600cd;
    --card-bg: #1f1f1f;
    --border-highlight: #fd66019e;
    --muted-text: #bbbbbb;
    --hover-shadow: rgba(255, 147, 15, 0.496);
}

body {
  margin: 0;
  font-family: "Cascadia Code", sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
}

h1 {
    font-family: "Sixtyfour", sans-serif;
    text-align: center;
    padding: 50px 20px 20px;
    color: var(--highlight-color);
    font-size: 34px;
}

.container {
    display: flex;
    justify-content: center; /* centers cards horizontally */
    align-items: center;     /* centers cards vertically if needed */
    gap: 20px;               /* spacing between cards */
    flex-wrap: wrap;         /* allows wrapping on smaller screens */
    min-height: 65vh;
    padding: 40px 20px;
}

.container a {
    text-decoration: none;
}

.card {
    background-color: var(--card-bg);
    border-radius: 20px;
    width: 250px;
    height: 250px;
    margin : 10px;
    padding: 30px 20px;
    text-align: left;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

/* Thin corner borders — just highlights */
.card::before,
.card::after {
    content: "";
    position: absolute;
    width: 55px;
    height: 55px;
    border: 3.5px solid var(--border-highlight);
}

/* Top-right corner: only top and right borders */
.card::before {
    top: 0;
    right: 0;
    border-left: none;
    border-bottom: none;
    border-top-right-radius: 20px;
}

/* Bottom-left corner: only bottom and left borders */
.card::after {
    bottom: 0;
    left: 0;
    border-top: none;
    border-right: none;
    border-bottom-left-radius: 20px;
}


.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.icon-box {
    font-size: 30px;
    /* color: #ffa500; */
    text-align: center;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 10px;
    margin: 0 auto 20px;
}

.card h2 {
      font-weight: 500;
    color: var(--text-color);
    font-size: 20px;
    margin-bottom: 15px;
}

.card p {
    font-size: 14px;
    color: var(--muted-text);
    margin-bottom: 20px;
    line-height: 20px;
}

.card:hover {
    cursor: pointer;
    transform: translate(-5px);
    box-shadow: 0 8px 30px var(--hover-shadow);

}

footer {
    text-align: center;
    padding: 20px;
    color: #484848;
    font-size: 12px;
    line-height: 18px;
}

#typing {
    display: inline-block;
    white-space: nowrap;
    font-weight: 500;
    font-size: 2rem;
    position: relative;
    left: 0;
    transition: left 0.5s ease;
}

#typing::after {
    content: '|';
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

