:root {
    --scratch-blue: #4d97ff;
    --scratch-orange: #ffab19;
    --github-gray: #24292e;
    --scratch-bg: #f0f4f7;
}

body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    background-color: var(--scratch-bg);
    margin: 0;
    color: #575e75;
    text-align: center;
}

/* NAVIGATION */
.scratch-nav {
    background-color: var(--scratch-blue);
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.scratch-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.scratch-nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

/* ROTATING CAT */
.scratch-header {
    padding: 30px;
}

.rotating-cat {
    width: 100px;
    height: auto;
    animation: spin 6s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* BOX STYLING */
.about-section, .github-section {
    max-width: 800px;
    margin: 20px auto;
}

.scratch-box, .github-section, .about-section {
    background: white;
    border: 1px solid #d9d9d9;
    border-radius: 10px;
    overflow: hidden;
}

.scratch-box-header {
    background: #ffffff;
    padding: 10px 15px;
    font-weight: bold;
    border-bottom: 1px solid #d9d9d9;
    color: var(--scratch-blue);
    text-align: left;
}

.scratch-box-content {
    padding: 20px;
    text-align: left;
}

/* GITHUB BUTTON */
.github-box {
    text-align: center;
}

.github-btn {
    display: inline-block;
    background-color: var(--github-gray);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    margin-top: 10px;
}

.github-btn:hover {
    background-color: #444;
}

/* GRID FOR PROFILES */
.grid-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.scratch-placeholder {
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.scratch-btn {
    background-color: var(--scratch-orange);
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    border-bottom: 4px solid #cf8b12;
}

.websim-frame {
    width: 100%;
    height: 350px;
    border: none;
}

footer {
    padding: 30px;
    font-size: 0.8rem;
}
