*,
*::before,
*::after {
    box-sizing: border-box;
}

/* styles.css */
.center-text {
    text-align: center;
}

body {
    border: 2px solid black;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    color: white;
    background-color: black;
    font-family: System UI;
    font-size: 1.25rem;
    line-height: 1.5;
}

html {
  color-scheme: light dark;
}

main {
  max-width: min(70ch, 100% - 4rem);
  margin-inline: auto;
}

ul {
   list-style-type: none;
    margin: 0;
    padding: 0;
    background-color: purple;
    height: 40%;
    border: 1px solid #555;
  }
  
  li a {
    display: block;
    color: white;
    padding: 8px 8px;
    text-decoration: none;
  }
  
  li {
    
    border-bottom: 1px solid #555;
  }
  
  li:last-child {
    border-bottom: none;
  }
  
  li a.active {
    background-color: darkolivegreen;
    color: white;
  }
  
  li a:hover:not(.active) {
    background-color: #555;
    color: white;
  }