

body{
    margin:0;
    font-family:Arial,Helvetica,sans-serif;
    background:white;
    color:black;
}

/* ---------- Banner ---------- */

header{
    background:#0b1f3a;
    color:white;
    padding:40px 25px;
}

header h1{
    margin:0;
    font-size:42px;
}

header p{
    margin:10px 0 0 0;
    font-size:20px;
    line-height:1.4;
}

.drawer-instructions {
    text-align: center;
    font-size: 0.8rem;
    color: #777;
    padding: 6px 12px;
    margin: 0;
}

.drawer-instructions .info-icon {
    color: #777;
    font-size: 1rem;
    margin-right: 4px;
    vertical-align: middle;
}


.contact-content {
    text-align: center;
    max-width: 650px;
    margin: 50px auto;
    padding: 20px;
}

.contact-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.contact-email {
    display: inline-block;
    padding: 15px 25px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    background: #385b78;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s;
}

.contact-email:hover {
    background: #243f55;
}


/* ---------- Drawer ---------- */

#drawer{
    position:fixed;
    top:50%;
    left:-194px;
    transform:translateY(-50%);
    width:200px;
    background:#4b5358;
    color:white;
    border-radius:0 8px 8px 0;
    transition:left .30s;
    z-index:1000;
}

/* Drawer opened */

#drawer.open{
    left:0;
}

/* ---------- Handle ---------- */

#tab{
    position:absolute;
    right:-26px;
    top:30px;
    width:26px;
    height:60px;

    background:#4b5358;
    color:white;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:20px;
    cursor:pointer;

    border-radius:0 6px 6px 0;
    user-select:none;
}

/* ---------- Menu ---------- */

#links{
    padding:30px;
}

#links a{
    display:block;
    color:white;
    text-decoration:none;
    padding:10px 0;
}

#links a:hover{
    text-decoration:underline;
}

/* ---------- Page ---------- */

main{
    padding:30px 60px;
    max-width:900px;
}

#bottom-drawer {
    position:fixed;
    bottom:-197px;
    left:50%;
    transform:translateX(-50%);
    width:240px;
    background:#4b5358;
    color:white;
    transition:bottom .3s;
    z-index:1000;
    border-radius:8px 8px 0 0;
}

#bottom-drawer.open {
    bottom:0;
}

#bottom-tab {
    position:absolute;
    top:-20px;
    left:90px;
    width:60px;
    height:35px;
    background:#4b5358;
    color:white;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:8px 8px 0 0;
    cursor:pointer;
}

#bottom-links {
    padding:15px;
    text-align:center;
}

#bottom-links a {
    display:block;
    color:white;
    text-decoration:none;
    padding:8px;
}

.graph {
	text-align:center;
    width:100%;
    max-width:400px;
    height:auto;
    display:block;
    margin:20px auto;
}

.image-caption {
    font-size: 0.85em;
    font-style: italic;
    color: #777;
    text-align: center;
    margin-top: 4px;
}


.formula {
    text-align: center;
    font-size: 1.2em;
    margin: 18px 0;
}

.fraction {
    display: inline-flex;
    flex-direction: column;
    vertical-align: middle;
    text-align: center;
    margin: 0 4px;
}

.fraction span:first-child {
    border-bottom: 1px solid currentColor;
    padding: 0 5px 3px;
}

.fraction span:last-child {
    padding-top: 3px;
}

