body{
    font-family: Sans-Serif;
    background-color: #f8fafc;
    color: #0f172a;
    line-height: 1.6;
    
}

.navbar{
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 16px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo{
    font-size: 20px;
    color: black;
}

.nav-links{
    display: flex;
    list-style: none;
    color: #2563eb;
    gap: 4px;
}

.nav-links a{
    text-decoration: none;
    color: #64748b;
    transition: color 0.2s ease;
    padding: 16px 24px;
    border-radius: 20px;
}

.nav-links a:hover,
.nav-links a.active{
    color: #2563eb;
    background-color: rgba(37, 99, 235, 0.2);
    transition: background-color 0.2s ease;
}

.text{
    text-align: center;
}

.uppgifter1,
.uppgifter2{
    display: flex;
    justify-content: center;
    gap: 24px;               
    max-width: 1000px;      
    margin: 24px auto;       
    padding: 0 16px;
}

.uppgifter1 figure,
.uppgifter2 figure{                
    margin: 0;
    max-width: 1000px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

