@font-face {
    font-family: 'RockSalt-Regular';
    src: url('../assets/Rock_Salt/RockSalt-Regular.ttf')  format('truetype');
}
@font-face {
    font-family: 'YesevaOne-Regular';
    src: url('../assets/Yeseva_One/YesevaOne-Regular.ttf')  format('truetype');
}
@font-face {
    font-family: 'Montserrat-Regular';
    src: url('../assets/Montserrat/Montserrat-Regular.ttf')  format('truetype');
}
@font-face {
    font-family: 'Montserrat-ExtraBoldItalic';
    src: url('../assets/Montserrat/Montserrat-ExtraBoldItalic.ttf')  format('truetype');
}
@font-face {
    font-family: 'Montserrat-SemiBold';
    src: url('../assets/Montserrat/Montserrat-SemiBold.ttf')  format('truetype');
}
@font-face {
    font-family: 'Montserrat-Black';
    src: url('../assets/Montserrat/Montserrat-Black.ttf')  format('truetype');
}

h1 {
    font-family: 'Montserrat-SemiBold';
    font-size: 222%;
}
article h2, section h2 {
    font-family: 'Montserrat-SemiBold';
    width: 100%;
}
article, section {
    font-family: 'Montserrat-SemiBold';
}
.caption {
    font-family: helvetica;
    font-size: 0.8em
}

header, main, .quiz-box, footer {
    width: 80%;
    max-width: 60rem;
    border: 0px;
    padding: 10px;
    margin: auto;
}

body {
    background-color: #511638;
}

main {
    background-color: #4ACEDB;
}
header {
    background-color: #D85735;
}
footer {
    background-color: #DB2048;
}

.hidden {
    display: none;
}
.invisible {
    visibility: hidden;
}

.float-right {
    float: right;
}
.float-left {
    float: left;
}

iFrame {
    border: 0px;
}

.small-logo {
    height: 60px;
    padding: 20px;
}
.logo-top {
    vertical-align: middle;
}

header {
    font-size: 130%;
    text-align: center;
}
#alchemy-logo {
    width: 15%;
}
#github-logo {
    width: 7%;
}

footer {
    font-size: 100%;
}

header {
    font-family: 'RockSalt-Regular';    
}

nav {
    font-size: 100%;
}
nav table {
    /* font scaling between a min and a max using calc from: https://css-tricks.com/books/volume-i/scale-typography-screen-size/ */
    /* generalized equation follows:*/
    /* font-size: calc([minimum size] + ([maximum size] - [minimum size]) * ((100vw - [minimum viewport width]) / ([maximum viewport width] - [minimum viewport width]))); */
    font-size: calc(10px + (100vw - 300px) / 130);
    width: 100%;
    margin: auto;   
}