/* 
* Main elements
*/
* {
    padding: 0;
    margin: 0;
}

html {
    font-family: Arial, sans-serif;
    color: black;
    display: flex;
    align-items: center;

    max-width: 1000px;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
}

body {
    height: inherit;
}

main {
    background-color: rgb(224, 243, 255);
    margin: 0 inherit;
    min-height: 100%;
}

main h1, main h2, main p {
    padding: 10px;
}

h2 {
    font-size: 20px;
    font-weight: bold;
}

img, iframe {
    padding: 0 10px;
}

/* 
* Bar elements
*/
.bar {
    background-color: lightskyblue;
    display: flex;
    flex-direction: row;
    margin: 0;
}

.button {
    color: inherit;
    text-decoration: none;
    align-content: center;
    padding: 10px;
}

.button:hover {
    background-color: lightblue;
}

.button:active {
    background-color: deepskyblue;
}

#active {
    background-color: rgb(224, 243, 255);
}

/* 
* Icon elements
*/
.icon {
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;

    border: thin solid black;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    margin: 10px;
    overflow: hidden;
}

.icon:hover {
    border-color: lightgray;
}

.icon:active {
    border-color: deepskyblue;
    border-width: 2px;
}

/* 
* Text elements
*/
.title {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    padding: 20px 0;
}

.comment {
    color: gray;
    font-size: 12px;
    font-style: italic;
    padding: 10px;
}

span.comment {
    padding: 0;
}

.code {
    background-color: rgb(255, 255, 255);
}

footer p {
    font-size: 10px;
    padding: 15px 0;
    padding-left: 10px;
}