/* First, we define our downloaded font so the browser can use it */
@font-face {
    font-family: 'Lora';
    src: url('../assets/fonts/Lora-VariableFont_wght.ttf') format('truetype');
}

/* General styles for the whole page */
body {
    background-color: #f0f5d4; /* The light green background from your design */
    font-family: 'Lora', serif; /* Use our new font */
    color: #2c3e50; /* A dark color for the text */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    text-align: center;
}

/* Main container for all content */
.main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem; /* Adds space between elements */
}

h1 {
    font-size: 2.5rem;
    font-weight: normal;
    margin: 0;
    line-height: 1.2;
}

.main-container p {
    font-size: 1.2rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

/* Container for the two buttons */
.button-container {
    display: flex;
    gap: 2rem; /* Space between the buttons */
}

/* Styling for the LEARN and PRACTICE buttons */
.button {
    display: inline-block;
    background-color: #e0e0e0; /* Light gray background */
    border: 3px solid #006400; /* Dark green border */
    color: #2c3e50;
    padding: 1rem 3rem;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px; /* This makes the buttons pill-shaped */
    transition: all 0.2s ease-in-out;
}

.button:hover {
    transform: translateY(-3px); /* A slight lift effect on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Styling for the footer text */
footer {
    position: absolute;
    bottom: 20px;
    font-size: 0.9rem;
    color: #555;
}