/* Import Roboto font */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rubik+Dirt&display=swap');

/* Global styles */
* {
    box-sizing: border-box;
}

html {
    background-color: #2F2F2F;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #2F2F2F;
    color: #E8E8E8;
    margin: 0;
    padding: 20px;
    line-height: 1.6;
}

/* Headings */
h1, h2, h3 {
    font-family: 'Roboto', sans-serif;
    color: #E8E8E8;
}

h1 {
    font-family: 'Rubik Dirt', sans-serif;
    font-size: 2em;
    font-weight: 500;
    color: tan;
}



h2 {
    font-size: 1.5em;
    font-weight: 500;
}

h3 {
    font-size: 1.2em;
    font-weight: 500;
}

/* Content containers */
.container {
    background-color: #3A3A3A;
    border-radius: 20px;
    padding: 30px;
    max-width: 800px;
    margin: 20px auto;
    box-shadow: none;
}
.settings-container, .exercise-container, .review-container {
    background-color: #3A3A3A;
    border-radius: 20px;
    padding: 30px;
    max-width: 800px;
    margin: 20px auto;
    box-shadow: none;
    border: 1px solid #D4A574;
}

/* Buttons */
button, .btn {
    font-family: 'Roboto', sans-serif;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s;
    background-color: #4A4A4A;
    color: #E8E8E8;
    width: auto; /* override PicoCSS which sets button { width: 100% } */
}

.toggle-btn.active {
    background: orange;
    color: white;
    border-color: orange;
}

.toggle-group {
    display: flex;
    gap: 20px;  /* Increase from 8px */
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 10px;
}

.toggle-btn {
    padding: 8px 16px;  /* Smaller padding */
    font-size: 14px;    /* Smaller font */
    border: 2px solid #4A4A4A;
    border-radius: 8px;
    background: #4A4A4A;
    cursor: pointer;
    transition: all 0.2s;
    flex: 0 1 auto;     /* Don't grow, but can shrink */
}

.header-bar {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    background: #4A4A4A;
    border-radius: 5px;
    margin-bottom: 20px;
}

.timer {
    font-size: 1.5em;
    font-weight: bold;
    color: #64B5F6;
}

.question-counter {
    font-size: 1.2em;
    color: #E8E8E8;
}

button:hover, .btn:hover {
    background-color: #5A5A5A;
}

.btn-primary {
    background-color: #D4A574;
    color: #2F2F2F;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: #E4B584;
}

/* Home button */
.home-btn {
    position: fixed;
    top: 10px;
    left: 10px;
    padding: 8px 15px;
    background: #4A4A4A;
    border-radius: 20px;
    text-decoration: none;
    color: #E8E8E8;
    font-size: 14px;
    z-index: 1000;
}

.home-btn:hover {
    background: #5A5A5A;
}

/* Links */
a {
    color: #D4A574;
    text-decoration: none;
}

a:hover {
    color: #E4B584;
}


.correct {
    color: #90ee90;
}

.mismatch {
    color: #ff6b6b;
}
