body {
    font-family: Titillium Web;
    font-size: 12pt;
    background-color: black;
}

div#container {
    width: 80%;
    margin: 30px auto 30px auto;
    border-bottom: 2px solid black;
    background-color: rgb(66, 66, 66);
    min-width: 900px;
}

header {
    background-color: black;
    border-bottom: 2px solid red;
    height: 180px;
    background-image: url("Formula 1 photos/Formula 1 logo.jpg");
    border-top: 2px solid red;
   }

footer {
    background-color: #000000;
    font-size: 8pt;
    text-align: center;
    color: white;
    font-style: italic;
    border-top: 2px solid red;
}

nav {
    background-color: #DB0400;
    width: 150px;
    border-right: 2px solid black;
}

section#information {
    background-color: #9999cc;
    width: 250px;
    font-size: 10pt;
    text-align: justify; 
    }

header, 
footer, 
nav, 
section {
    margin: 0;
    padding: 10px 20px 10px 20px;
}

div#content {
    display: table;
    width: 100%;
}

nav, 
section#main, 
section#information {
 	display: table-cell;
}

header h1 {
    font-size: 60px;
    color: white;
    text-align: right;
    text-shadow: 2px 2px 4px rgb(0, 0, 0);
    margin: 0;
}

section#information h2 {
    font-size: 1.5em;
    color: #003366;
    text-align: center;
}

section#main img {
    display: block;
    margin: 10px auto 10px auto;
    padding: 7px;
    background-color: white;
    border: 1px solid rgb(0, 0, 0);
    box-shadow: 2px 4px 8px black;
}

nav a {
    display: block;
    width: 130px;
    margin: 10px 0 0 0;
    padding: 5px;
    color: #003311;
    background-color: white;
    border: 3px solid #003311;
    font-size: 16pt;
    font-weight: bold;
    text-decoration: none;
    text-align: center;    
    border-radius: 10px;
    box-shadow: 2px 4px 6px #333333;
}

nav a:hover {
    color: white;
    background-color: rgb(0, 0, 0);
}

.media-container {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

p {
    color: white;
}

h2 {
    color: white;
}



.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
}
