body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    align-items: center;
}

header nav {
    display: flex;
    align-items: center;
    flex-grow: 1;
}

header nav ul {
    display: flex;
    align-items: center;
    flex-direction: row;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
    width: 100%;
}

header nav ul li {
    position: relative;
    margin: unset;
    flex: 1;
}

header nav ul li a, header nav ul li p {
    display: block;
    padding: 14px 20px;
    text-decoration: none !important;
    color: white;
}

header nav ul li:hover > a {
    background-color: #575757;
}

header nav ul li .submenu {
    display: none;
    position: absolute;
    background-color: #333;
    top: 100%;
    left: 0;
    flex-direction: column;
}

header nav ul li:hover .submenu {
    display: flex;
}

header nav ul li p, header nav ul li a{
    margin: 0;
}

header nav ul li .submenu li a {
    padding: 10px;
}

.content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

footer, header {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px 0;
    display: flex;
    align-items: center;
    width: 100%;
}

footer > * {
    display: inline;
    flex: 1;
}

h1, h2, h3, h4, h5, h6 {
    text-align: center;
}

main {
    display: flex;
    flex-grow: 1;
    align-items: center;
    flex-direction: column;
}