@import url('https://fonts.googleapis.com/css2?family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Google+Sans+Code:ital,wght@0,300..800;1,300..800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Google Sans', sans-serif;
}

.header {
    background-color: #444444;
    padding: 20px;
    text-align: center;
}

body {
    background-color: #fafafa;
    color: #111;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.card {
    background-color: #f0f0f0;
    padding: 20px;
    margin: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.card h3 {
        background:linear-gradient(
        90deg,
        #4285F4,
        #DB4437,
        #F4B400,
        #4285F4,
        #0F9D58,
        #DB4437
    );
    background-size:200% auto;
    color:transparent;
    -webkit-background-clip:text;
    background-clip:text;
    animation:shine 3s linear infinite;
}


#code-input {
    display: block;
    width: 80%;
    max-width: 980px;
    min-height: 180px;
    padding: 10px;
    margin: 10px auto 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: 'Google Sans Code', monospace;
}

.code-tester {
    background-color: #f0f0f0;
    padding: 20px;
    margin: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#run-code {
    display: block;
    padding: 10px 18px;
    margin: 12px auto 0;
    background: #333;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 0.2px;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

#run-code:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
    background: #444;
}

#terminal {
    display: block;
    width: 80%;
    max-width: 980px;
    margin-top: 12px;
    margin-left: auto;
    margin-right: auto;
    padding: 12px;
    border-radius: 6px;
    background-color: #111827;
    color: #e5e7eb;
    border: 1px solid #1f2937;
    min-height: 180px;
    font-family: 'Google Sans Code', monospace;
}

#code-output {
    white-space: pre-wrap;
    margin: 0;
    min-height: 110px;
}

.terminal-line {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

#terminal-prompt {
    color: #93c5fd;
}

#terminal-input {
    flex: 1;
    background: transparent;
    color: #e5e7eb;
    border: none;
    outline: none;
    font-family: 'Google Sans Code', monospace;
    font-size: 14px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.site-footer {
    margin-top: auto;
    padding: 16px 20px;
    text-align: center;
    background-color: #333;
    color: #d1d5db;
    font-size: 14px;
}

.discord-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 10px 18px;
    border-radius: 8px;
    background: #333;
    color: white;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.2px;
    transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.discord-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
    background: #444;
}

.discord-btn-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
}



@keyframes shine{
    0%{
        background-position:0% center;
    }
    100%{
        background-position:200% center;
    }
}