/* Use slash and asterisk to make comments */


/* GLOBAL */
body {
    margin: 0;
    font-family: 'Trebuchet MS', sans-serif;
    background: linear-gradient(135deg, #cce7ff, #e6ccff);
    text-align: center;
}

/* NAV BAR */
nav {
    background: #b3d9ff;
    padding: 15px;
    border-bottom: 6px solid #99c2ff;
    box-shadow: inset 0 -4px 0 rgba(0,0,0,0.1);
}

nav a {
    color: #333;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
    font-size: 18px;
}

nav a:hover {
    background: #d9ccff;
    color: #000;
    padding: 6px 10px;
    border-radius: 6px;
}

/* MAIN CONTAINER */
main {
    width: 85%;
    margin: 20px auto;
    padding: 20px;
    background: #f5f9ff;
    border: 6px solid #b3c6ff;
    border-radius: 12px;
}

/* HERO */
.hero h1 {
    font-size: 48px;
    color: #9999ff;
    text-shadow: 2px 2px 0 #ffffff;
}

.hero p {
    font-size: 18px;
    color: #444;
}

/* PROJECT GRID */
.projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

/* LEGO BLOCK STYLE */
.project {
    background: #d9ccff;
    border: 4px solid #b3a3ff;
    padding: 30px 20px;
    position: relative;
    transition: 0.3s;
    border-radius: 8px;
}

/* LEGO STUDS */
.project::before {
    content: "";
    position: absolute;
    top: -12px;
    left: 10%;
    width: 80%;
    height: 14px;
    background: repeating-radial-gradient(circle, #ffffff 2px, #d9ccff 6px);
    border-radius: 10px;
}

/* HOVER EFFECT */
.project:hover {
    transform: translateY(-8px);
    background: #e6d9ff;
}

/* BUTTON STYLE */
button {
    background: #a3c2ff;
    color: #333;
    border: none;
    padding: 10px 20px;
    font-weight: bold;
    border-radius: 6px;
    box-shadow: 0 4px #7da6ff;
}

button:active {
    transform: translateY(4px);
    box-shadow: none;
}

/* FOOTER */
footer {
    margin-top: 40px;
    padding: 20px;
    background: #b3d9ff;
    color: #333;
}

img.logo {
    border: none;
}

img {
    border: 5px solid #8d80df; /* purple */
}
#gameBox {
    width: 150px;
    height: 150px;
    margin: 20px auto;
    background: black;
    color: cyan;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    cursor: pointer;

    border: 2px solid cyan;
    box-shadow: 0 0 10px cyan, 0 0 20px cyan;

    transition: 0.2s;
}

#gameBox:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px magenta, 0 0 40px magenta;
}