/*
    File: /style/default.css
    Author(s): David Sulik
    Description: This stylesheet is designed to style the base elements rather than classes or IDs.
*/

/* No "extra" padding or overflow. */
body {
    padding: 0;
    margin: 0;
}

* {
    box-sizing: border-box;
}

/* Make the sections look great. */
body section {
    padding-inline: max(10px, calc(50% - 600px));
    padding-top: 1rem;
    padding-bottom: 1rem;
    width: 100%;
}

body section:nth-child(even) {
    background-color: whitesmoke;
}

body section:nth-child(odd) {
    background-color: white;
}

/* Add some text styling. */
h1 { font-size: 1.75rem; }
h2 { font-size: 1.3rem; }
p, a, button { font-size: 1.1rem; }

/* Element Styling */
button {
    border-radius: 0;
    border: 2px solid gray;

    max-width: fit-content;

    padding: .25rem;
    padding-left: 2rem;
    padding-right: 2rem;

    background-color: transparent;
}

button:hover {
    cursor: pointer;
    background-color: rgba(0, 0, 0, .2);
}