* {
    margin: 0;
    padding: 0;
    font-family: 'Courier New', monospace;
    box-sizing: border-box;
}
.app h1{
    font-size:25px;
    color: #001e4d;
    border-bottom: 1px solid #333;
    font-weight: 600;
    padding-bottom:10px;
}
.app h2{
    font-size: 20px;
    padding: 10px;
}
body{
    background: #001e4d;
}
    .app{
    background: #fff;
    width: 90%;
    max-width: 600px;
    margin: 100px auto 0;
    padding: 30px;
    border-radius: 10px;

}
.quiz{
    padding: 20px 0;
}
.quiz h2{
    font-size: 18px;
    color: #001e4d;
    font-weight:600;
}
.btn{
    background: #fff;
    color: #222;
    font-weight: 500;
    width: 100%;
    border: 1px solid #222;
    padding: 10px;
    margin: 10px 0;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s;
}
.btn:hover{
    background: #5d8be6;
    color: #fff;
}
#next-btn{
    background: #001e4d;
    color: #fff;
    font-weight: 500;
    width: 150px;
    border: 2;
    padding: 10px;
    margin: 20px auto 0;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    display: none;
}
#next-btn:hover{
    background: #fff;
    color: #001e4d;
    border-color: #001e4d;

}
.progress-bar {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    margin-bottom: 20px;
    overflow: hidden;
  }
  
  .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    transition: width 0.3s ease;
  }
  
  .formula-result {
    display: flex;
    align-items: center;
    margin: 10px 0;
    gap: 10px;
  }
  
  .percentage-bar {
    flex: 1;
    height: 20px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
  }
  
  .percentage-fill {
    height: 100%;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    transition: width 0.5s ease;
  }
  
  .rank {
    font-weight: bold;
    width: 30px;
  }
  
  .name {
    min-width: 200px;
  }
  
  .percentage {
    min-width: 50px;
    text-align: right;
  }
  
  .category-breakdown {
    margin-top: 30px;
    padding: 20px;
  }
  
  .category-item {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 5px;
  }
  
  .btn.selected {
    background: #3498db;
    color: white;
  }
