*{ box-sizing: border-box; }

html, body{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    height: 100%;
    margin: 0; 
    /*
    padding-top: 50px;
    padding-bottom: 50px; 
    */
    font-family: var(--font);
    font-size: 1.1rem;
    background: var(--bg);
    color: rgba(10,10,10,1);
    line-height: 1.35;
}

h1, h2, h3, h4 { 
    font-family: ui-monospace, Menlo, Monaco, "Cascadia Mono", "Segoe UI Mono", "Roboto Mono", "Oxygen Mono", "Ubuntu Mono", "Source Code Pro", "Fira Mono", "Droid Sans Mono", "Consolas", "Courier New", monospace;
    color: rgb(41,48,56);
}

h1 {
  background: linear-gradient(to right, rgb(41,48,56), rgb(129,87,150));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h1, h2{
    text-align: center;
}

a{ color: var(--accent); text-decoration: none; font-weight: 600; }
a:hover{ text-shadow: 0px 1px 0px rgba(0,0,0,0.2); }

.container{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex-grow: 1;

    width: 100%;
    max-width: 1200px;
    
    margin-top: calc(var(--nav_height) + 1rem);
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 50vh;

    background: rgba(255,255,255,0.4); 
    box-shadow: 0px 0px 8px white;
}

.container-wide{
    margin-top: var(--nav_height);
    padding-bottom: var(--footer_height);
    overflow: hidden;
}

img {
    align-self: center;
    margin: auto;
    max-width: 100%;
    object-fit: scale-down;
    border-radius: 10px;
    box-shadow: 5px 5px 15px rgba(200,200,200,.1);
}

table { text-align: center; }

