body {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    text-align: center;
    background-color: darkslategray;
    color: darkgreen;
    box-sizing: content-box;
    width: 100%;
    margin: 0;
    font-size: 1.2em;

}

main {
    width: 50%;
    min-width: 400px;
    height: 100vh;
    box-sizing: border-box;
    margin: auto;
    background-color: lightgreen;
    box-sizing: border-box;
    border: 1px solid darkslategray;
}

a {
    text-decoration: none;
}

p {
    margin: 0;
    border-top: 1px solid darkslategray;
    height: 50px;
    color: darkgreen;
    display: flex;
    justify-content: center;
    align-items: center;
}

p:hover {
    color: lightgreen;
    background-color: green;
}