@font-face {
    font-family: tomorrowSemiBoldItalic;
    src: url("../assets/Tomorrow-SemiBoldItalic.ttf");
}
@font-face {
    font-family: tomorrowSemiBold;
    src: url("../assets/Tomorrow-SemiBold.ttf");
}
@font-face {
    font-family: tomorrowMedium;
    src: url("../assets/Tomorrow-Medium.ttf");
}

h1 {
    font-weight: 100;
    font-family: tomorrowSemiBoldItalic;
}
h4 {
    font-weight: 100;
    font-family: tomorrowMedium;
    line-height: 1em;
}
h5 {
    font-weight: 100;
    font-family: tomorrowMedium;
}

body,div,header,h1,h2,h3,h4,h5,main,footer,p,a { 
    margin: 0;
    padding: 0;
}

body {
    background-image: url("../assets/background.png");
    background-repeat: repeat;
    font-family: Tahoma, Arial, sans-serif;
    font-size: 26px;
    line-height: 1.5em;
    min-height: 100vh;
}

main {
    line-height: 1.25em;
}

.mainColumn {
    width: 90%;
    max-width: 1400px;
    padding: 10px 10px 10px 10px;
    margin-left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    background-color: #00000040;
    box-sizing: border-box;
}

header {
    width: 100%;
    height: 220px;
    margin-bottom: 10px;
    color: white;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    background-color: #2768a2;
    align-items: center;
    overflow: hidden;
    z-index: 10;
}

.gloomisImg {
    box-sizing: border-box;
    padding: 20px;
    width: 18%;
}

.vancouverImg {
    flex-grow: 0;
    height: 100%;
    width: fit-content;
}

.headerText {
    flex: 2;
    padding-right: 10px;
    min-width: 288px;
}

.headerText > a {
    color: #add5f9;
    font-size: 20px;
    font-weight: 100;
    font-family: tomorrowMedium;
}

@media (max-width: 1200px) {
    .gloomisImg { display: none; }
    .headerText { padding-left: 20px; }
    .mainColumn { width: 100%; }
}

nav {
    flex: 2;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    overflow: visible;
}

.navBackground {
    background-color: #00000040;
}

.navTopContent { 
    flex: 0 0 auto;
    width: 60px;
    height: 60px;
    transform: translate(-5px, -40px) rotate(45deg) ;
    background-color: #2768a2;
    overflow: visible;
}

.navTab {
    width: 100%;
    z-index: 10;
}

.navTab > a {
    width: 100%;
    padding: 10px;
    display: block;
    box-sizing: border-box;
    text-decoration: none;
    color: #e94757;
    font-weight: 100;
    font-family: tomorrowMedium;
}

.navTab > a:hover {
    color: white;
    box-shadow: inset 2px 0 0 1px #2768a2, inset 2px -2px 0 1px #2768a2, inset 2px 2px 0 1px #2768a2;
}

a.selected {
    color: white;
    background-color: #2768a2;
}

.navBottomContent {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    transform: translateX(-5px);
    margin-top: 100px;
    box-sizing: border-box;
    padding: 5px 5px 0px 5px;
    width: 100%;
}

.navBottomContent > img {
    width: 100%;
    max-width: 180px;
}

.rightSideContent {
    flex: 9;
    font-size: 18px;
    display: flex;
    flex-direction: column;
}

main {
    background-color: #cdd8e6;
    padding: 20px;
    box-sizing: border-box;
    width: 100%;
    flex: 1;
}

footer {
    margin-top: 10px;
    background-color: #2768a2;
    padding: 10px 0px 0px 0px;
    box-sizing: border-box;
    width: 100%;
    height: fit-content;
    flex: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
}

.footerLogos {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    padding: 0px 10px 10px 10px;
}

.footerLogo {
    height: 48px;
    padding: 2.5px;
    flex: 0;
}

.footerText {
    flex: 3;
    line-height: 1.25em;
    text-align: center;
    min-width: 300px;
    padding: 0px 10px 10px 10px;
    color: white;
}

.footerText > a {
    width: 100%;
    padding: 10px;
    display: block;
    box-sizing: border-box;
    color: #add5f9;
    margin: 0;
    padding: 0;
}