
:root {
  --main-color: #06529D;
}

@media (prefers-color-scheme: dark) {
  * {
    --main-color: #6BB5FF;

    background-color: #222;
    color: #e6e6e6;
    border-color: #e6e6e6;
  }
}

body {
  max-width: 1024px;
  margin: 0px auto;
}

.header {
    display: flex;
    justify-content: space-between;
}

.contact {
  display: flex;
  margin-top: 1.5em;
}

.contactLabelList {
  font-weight: bold;
  margin-right: 16px;
}

.name {
  font-weight: bold;
  font-size: 1.8em;
}

h1.name {
  margin-top: 0;
}

.section {
  margin-top: 64px;
}

.sectionHeader {
  margin-bottom: 16px;
  display:inline-block;
}

i.sectionTitle {
  color: var(--main-color);
  font-size: 6em;

  vertical-align: middle;
}

h2 {
  color: var(--main-color);
  text-transform: uppercase;
  font-size: 1.2em;
  display:inline;
}

.bold {
  font-weight: bold;
}

p {
  margin-bottom: 16px;
}

body {
  padding: 2em;
}

.tabBar {
  background: var(--main-color);
  
  display: flex;
  justify-content: space-between;

  margin-top: 4em;
  margin-left: auto;
  margin-right: auto;
  padding: 1em 2em 1em 2em;
  max-width: 900px;

  border-radius: 4em;
}

.tabBarItem {
  color: white;
  display:inline;
  background-color: inherit;
  text-decoration: none;
  text-transform: uppercase;
}

@media only screen and (max-width: 640px) {
  .header {
    display:block;
  }
  
  .contact {
    margin-top: 0.5em;
  }

  .tabBar {
    display: none;
  }

  .contactLabelList {
    display: none;
  }
}

[class^="icofont-"], [class*=" icofont-"]
{
  font-size: 3em;
  margin-left: -8px;
}

@font-face {
    font-family: 'opendyslexic';
      src: url('fonts/OpenDyslexic-Regular.otf');
      font-style: normal;
      font-weight: normal;
  } 
  
@font-face {
      font-family: 'opendyslexic';
      src: url('fonts/OpenDyslexic-Italic.otf');
      font-style: italic;
      font-weight: normal;
  }
  
@font-face {
      font-family: 'opendyslexic';
      src: url('fonts/OpenDyslexic-Bold.otf');
      font-weight: bold;
      font-style: normal;
  } 
  
@font-face {
      font-family: 'opendyslexic';
      src: url('fonts/OpenDyslexic-BoldItalic.otf');
      font-weight: bold;
      font-style: italic;
  }
  
* {
    font-family:opendyslexic !important;
}