:root{
    --ivory:#FAF8F3;
    --ink:#1B1B18;
    --ink-soft:#57544c;
    --teal:#1F4E4A;
    --teal-light:#E4EDEB;
    --line:#E2DED3;

}



body {
    font-family:  Arial, Helvetica, sans-serif;
    background-color:  #f4f6f8;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    /*text-align: center;*/

    
}
.navbar{
    display:flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 32px;
    border-bottom: 1px solid var(--line);
    background: var(--ivory);
    position: relative;
    z-index: 100;
}
.brand{
    font-family: serif, Georgia, 'Times New Roman', Times, serif;
    font-weight: 600;
    letter-spacing:-0.0em;
    color: var(--ink);
    text-decoration: none;
}

.nav-links{
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a{
    font-size: 15px;
    font-weight: 500;
    color: var(--ink-soft);
    text-decoration: none;
    transition: color 0.5s ease;
}
.nav-links a:hover,
.nav-links a:focus{
    color: var(--teal);
}
.nav-links a:focus-visible{
    outline: 2px solid var(--teal);
    outline-offset: 4px;
    border-radius: 2px;
}

.nav-cta{
    padding: 9px 18px;
    background: var(--teal);
    color: var(--ivory) !important;
    border-radius: 4px;
    font-weight: 600 !important;
}

.menu-toggle{
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 40px;
    height: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.menu-toggle:focus-visible{
    outline: 2px solid var(--teal);
    outline-offset: 2px;
    border-radius: 4px;
}

.menu-toggle span{
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.open span:nth-child(1){
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2){
    opacity: 0;
}

.menu-toggle.open span:nth-child(3){
    transform: translateY(-7px) rotate(-45deg);
}

.page-body{
    max-width: 720px;
    margin: 0 auto;
    padding: 64px 24px;
}
.page-body h1{
    font-family:'fraunces', serif;
    font-weight:500;
    font-size: 32px;
    line-height: 1.25;
}
.page-body p{
    color:var(--ink-soft);
    line-height: 1.7;
    font-size: 16px;
}
@media (prefers-reduced-motion: reduce){
    .menu-toggle span,
    .nav-links a{
        transition: none !important;
    }
    
}

@media(max-width: 768px){
    .navbar{
        padding: 16px 20px;
    }

    .menu-toggle{
        display: flex;
    }

    .nav-links{
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--ivory);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--ivory);
        border-bottom: 1px solid var(--line);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-links.open{
        max-height: 400px;
    }

    .nav-links a{
        display: block;
        padding: 16px 20px;
    }

    .nav-cta{
        margin: 16px 20px;
        text-align: center;
        border-radius: 4px;
    }
}





.welcome{
    text-align: center;
    
}

.container {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0px 2px 8px rgb(0, 0, 0.1);
    text-align: center;
    
   
    /*max-width: 400px;
    width: 100%;*/
}

h1 { color: #2c3e50; }

.option-label {
    display: block;
    background: #e8f0fe;
    margin: 10px 0;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    border: 2px solid transparent;

}

.option-label:hover {
    background: #d2e3fc;
    border-color: #1a73e8;
}

button {
    background-color: #1a73e8;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 20px;
}

button:hover { background-color: #1557b0; }

.correct { color: #28a745; }
.incorrect { color: #dc3545; }


.logo{
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color:white

}
.logo img{
    width: 100%;
    height: 45px;
    object-fit: contain;
    border-radius: 5px;
}
.logo span{
    font-size: 22px;
    font-weight: bold;
}

main{
    flex: 1;
 }

header{
    background-color: #3b71ca;
    width: 100%;
    color:white;
    /*padding: 15px;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;*/
}
.container{
    padding: 20px;
    max-width: 600px;
    margin: auto;
}
.category-card{
    background-color:white;
    padding: 20px;
    max-width: 600px;
    margin: auto;
    text-align: center;
    align-items: center;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 40px 8px rgba(0, 0, 0, 0.1);
    
    position: relative;
    text-decoration: none;
    color: black;
    transition: transform 0.2s;
    font-size: large;
}

.contact{
    background-color: #f4f6f8;
    padding: 20px;
    max-width: 100%;
    margin: auto;
    text-align: center;
    align-items: center;
    padding: 20px;
    box-shadow: 0 40px 8px rgba(0, 0, 0, 0.1);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

input,select{
    background-color: whitesmoke;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;

   
}

.container1{
    width: 450px;
    margin: 40px;
    background: white;
    padding: 27px;
    border-radius: 8px;
    box-shadow: 0px 2px 8px rgb(0, 0, 0.1);

}
