/* Mobile */
html {
    height: 100%;
  }

body {
    font-family: 'Open Sans', Frutiger, "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, sans-serif;
    font-size: 1em;
    line-height: 1.25em;
    
    padding: 0;
    margin: 0;
    
    height: 100%;

    display: flex;
    flex-direction: column;

    color: var(--main-text);
}

nav {
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    padding: 0.3em;
}

main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1 0 auto;

    
    background-color: var(--main-bg);
    color: var(--main-text);
}

nav-main {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

footer {
    display: flex;
	flex-shrink: 0;
	flex-direction: row;
	justify-content: space-between;
	padding: 1em 1.2em;

    color: var(--secondary);
    background-color: var(--primary);
}

/* tablet displays */
@media only screen and (min-width: 600px) {
    main {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding-left: 0.2em;
        padding-right: 0.2em;
        flex: 1 0 auto;
    }
}

/* For desktop: */
@media only screen and (min-width: 768px) {
    main {
        display: flex;
        flex-direction: column;
        justify-content: center;
		align-items: center;
        padding-left: 0.2em;
        padding-right: 0.2em;
        flex: 1 0 auto;
    }
}

/* for wide screen view */
@media only screen and (min-width: 1800px) {
}