@font-face {
    font-family: 'Lora';
    src: url('../assets/fonts/Lora-VariableFont_wght.ttf') format('truetype');
}

body {
    background-color: #f0f5d4;
    font-family: 'Lora', serif;
    color: #2c3e50;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding: 1rem;
    box-sizing: border-box;
}

.back-arrow {
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 3rem;
    color: #006400;
    text-decoration: none;
    font-weight: bold;
}

.page-title {
    font-size: 2.5rem;
    font-weight: normal;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.instructions {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 2rem;
}

.keyboard-container {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.keyboard-row {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
}

.key {
    background-color: #e0e0e0;
    border: 2px solid #555;
    border-radius: 8px;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
}

.key:hover {
    background-color: #ccc;
}

.key.active {
    background-color: #006400;
    color: white;
    border-color: #f0f5d4;
    transform: scale(1.1);
}

.start-button {
    margin-top: 3rem;
    background-color: #eaf5b9;
    border: 3px solid #006400;
    color: #2c3e50;
    padding: 1rem 4rem;
    font-size: 1.8rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.start-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}