body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    transition: background-color 0.3s;
  }
  
  .light {
    background-color: #f0f0f0;
    color: #333;
  }
  
  .dark {
    background-color: #333;
    color: #f0f0f0;
  }
  
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
  }
  
  header h1 {
    margin-left: 2rem;
  }
  
  .mode-toggle {
    height: 24px;
    width: 24px;
    cursor: pointer;
  }
  
  main {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 5rem;
  }
  
  .input-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
  }
  
  .time-input {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
  }
  
  .time-input button {
    height: 2rem;
    width: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    background-color: #ccc;
    cursor: pointer;
  }
  
  .time-input input {
    width: 3rem;
    height: 2rem;
    font-size: 1.5rem;
    text-align: center;
    margin: 0 0.5rem;
  }
  
  .ampm-radio {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  input[type="radio"] {
    margin-right: 0.25rem;
    margin-bottom: 0.5rem;
  }
  
  .timezones {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .slider {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  .timezones-labels {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }
  
  .clocks {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
  }
  
  .clock {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .clock h2 {
    margin: 0;
  }
  
  .time {
    font-size: 2rem;
    font-weight: bold;
  }
  