/*Makes unordered lists be centered and makes spaces between the list at the top of the main page*/
ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 20px;
}
/*changes the background colour and the colour of text*/
body {
    background: #121212;
    color: #E0E0E0;
}
/* puts title in the center of the page, makes it off white and makes the font bigger*/
h1 {
    text-align: center;
    color: #E0E0E0;
    font-size: 50px;
}
/*underlines links inside of lists*/
li a {
    color: #ddd;
    text-decoration: underline;
    font-size: 18px;
}
/*changes the colour of a link when the cursor is on it*/
li a:hover {
    color: #ff3333;
    text-decoration: underline;
}
/* subheading colour, font size and the grey lines under them */
h2 {
    color: #D32F2F;
    font-size: 30px;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
}
/*sets the maximum width of the text, sets font size and centers text */
p {
     max-width: 700px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.3;
    text-align: center;
}
/*sets link colour and underlines it*/
a {
    color: #ddd;
    text-decoration: underline;
}
/*makes the link chnage colour when the cursor is on it*/
a:hover {
    color: #ff3333;
    text-decoration: underline;
}
/*table colour*/
td {
    border: 1px solid #999;
    padding: 12px;
    color: #ddd;
}
body {
  text-align:center;
}
/*makes the ordered list align left even though the are centered*/
ol {
    display: inline-block;
    text-align: left;
}
/*fixes the positioning of the image*/
img {
    width: 120px;
}
table {
    text-align:center;
    margin-left: auto;
    margin-right: auto;
}
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}