/*--------------------------------------------------------------
CSS RESET
--------------------------------------------------------------*/

article, aside, figure, figcaption, footer, header, hgroup, main, nav, section {
  display: block;
}

* {
  box-sizing: border-box;
}

html {
  font-family: sans-serif;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  margin: 0;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
  border: 0;	
}

ul {
  padding-left: 1em;
}


/*--------------------------------------------------------------
VARIABLES
--------------------------------------------------------------*/

/* font sizes */

:root {
  --fs-xs: .875rem; /* 14 px */
  --fs-s: 1rem; /* 16 px */
  --fs-base: 1.125rem; /* 18 px */
  --fs-4: 1.125rem; /* 18 px */
  --fs-3: 1.25rem; /* 20 px */
  --fs-2: 1.375rem; /* 22 px */
  --fs-1: 2rem; /* 32 px */
}

/* < 1200 px */
@media screen and (max-width: 75rem) {
:root {
  --fs-xs: .8125rem; /* 13 px */
  --fs-s: .9375rem; /* 15 px */
  --fs-base: 1.0625rem; /* 17 px */
  --fs-4: 1.0625rem; /* 17 px */
  --fs-3: 1.125rem; /* 18 px */
  --fs-2: 1.25rem; /* 20 px */
  --fs-1: 1.75rem; /* 28 px */
  }
}

/* < 640 px */
@media screen and (max-width: 40rem) {
:root {
  --fs-xs: .8125rem; /* 13 px */
  --fs-s: .875rem; /* 14 px */
  --fs-base: 1.0625rem; /* 16 px */
  --fs-4: 1.0625rem; /* 16 px */
  --fs-3: 1.125rem; /* 18 px */
  --fs-2: 1.25rem; /* 20 px */
  --fs-1: 1.625rem; /* 26 px */
  }
}

/* colors */

:root {
  --color-main: #141482;
  --color-head: #e13c2d;
  --color-text: #444;

  --color-link: #141482;
  --color-link-visited: #8989c0;
  --color-link-hover: #8989c0;
}


/*--------------------------------------------------------------
FONTS AND ICONS
--------------------------------------------------------------*/

@font-face {
  font-family: 'NotoSans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/noto-sans-v39-latin-regular.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'NotoSans';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/noto-sans-v39-latin-italic.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'NotoSans';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/noto-sans-v39-latin-600.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'NotoSans';
  font-style: italic;
  font-weight: 600;
  src: url('../fonts/noto-sans-v39-latin-600italic.woff2') format('woff2');
  font-display: swap;
}

/*--------------------------------------------------------------
TYPOGRAPHY
--------------------------------------------------------------*/

body,
button,
input,
select,
textarea {
  color: var(--color-text);
  
  font-family: 'NotoSans', Arial, sans-serif;
  font-weight: 400;
  font-size: var(--fs-base);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

p,
li,
h1,
h2,
h3,
h4 {
  overflow-wrap: break-word;
  -webkit-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 1.5em 0 .5em;
  
  color: var(--color-main);
  
  font-weight: 600;
  line-height: 1.3;
}

h1 {
  color: var(--color-head);
  margin-top: 0;
  margin-bottom: 1em;
  
  font-size: var(--fs-1);
}

h1.tight {
  margin-bottom: 1em;
}

h2 {
  font-size: var(--fs-2);
  margin-top: 3em;
}

h3 {
  font-size: var(--fs-3);
}

h4,
h5,
h6 {
  font-size: var(--fs-base);
}

h4 {
  color: var(--color-text);
}
 
p,
ul {
  margin: 0 0 1em;
  font-size: var(--fs-base);
  line-height: 1.6;
}

ul li {
  padding: .2em 0;
}

strong {
  font-weight: 600;
}

a {
  border-bottom: 1px solid var(--color-link);
  color: var(--color-link);
  line-height: 1;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

a:visited {
  border-bottom: 1px solid var(--color-link-visited);
  color: var(--color-link-visited);
}
  
a:hover,
a:active {
  border-bottom: 1px solid var(--color-link-hover);
  color: var(--color-link-hover);
}

.smalltext {
  font-size: var(--fs-s);
}

.xs-smalltext {
  font-size: var(--fs-xs);
}



/*--------------------------------------------------------------
GENERAL
--------------------------------------------------------------*/

img {
  margin-bottom: 1em;
}

img.img-float {
  float: left;
  margin-top: 5px;
  margin-right: 30px;
  margin-bottom: 0;
}

.no-hyphens {
  -webkit-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
}

.no-break {
  display: inline-block;
}

.tight {
  margin-bottom: 0;
}

.topspace-1 {
  margin-top: 15px;
}

.topspace-2 {
  margin-top: 30px;
}

.topspace-3 {
  margin-top: 50px;
}

.bottomspace-1 {
  margin-bottom: 15px;
}

.bottomspace-2 {
  margin-bottom: 30px;
}

.bottomspace-3 {
  margin-bottom: 50px;
}


/*-------------------------------------------------------------- 
AREAS 
--------------------------------------------------------------*/

.wrapper {
  margin: 3rem auto;
  width: 64rem;
}

.sidebar {
  float: left;
  width: 25%;
}

.main {
  float: right;
  width: 70%;
}

.header {
  margin-bottom: 2rem;
}

.header img {
  padding-top: 20px;
  width: 70%;
}

.content {
  clear: both;
  display: block;
  margin-top: 10em;
}

.nav {
  clear: both;
}

.nav ul {
  display: block;
  list-style-type: none;
  padding-left: 0;
  width: 100%;
}

.nav ul > li { 
  border-top: none;
  float: left;
  overflow-wrap: unset;
  margin-bottom: 1rem;
  padding: 0 .75em;
  width: auto;
}

.nav ul > li.current-item {
  color: var(--color-main);
  font-weight: 600;
}

.nav ul > li:first-of-type {
  padding-left: 0;
}

.nav ul > li:last-of-type {
  padding-right: 0;
}

/* .nav a::before {
  content: '› ';
} */

.nav a,
.nav a:visited {
  border-bottom: 1px solid transparent;
  color: var(--color-link-visited);
  font-weight: 600;
  padding-bottom: .1em;
}

.nav a:hover,
.nav a:active {
  border-bottom: 1px solid var(--color-link);
  color: var(--color-link);
}

li::marker {
  color: var(--color-main);
}

.footer {
  border-top: 1px solid var(--color-text);
  margin-top: 6rem;
  margin-bottom: 3rem;
  padding-top: .75rem;
}


/*-------------------------------------------------------------- 
RESPONSIVE 
--------------------------------------------------------------*/

/* < 1200 px */
@media screen and (max-width: 75rem) {
  
  .wrapper {
    width: 86%;
  }
  
  img.img-float {
    width: 50%;
  }
  
}



/* < 672 px */
@media screen and (max-width: 42rem) {
  
  .sidebar {
    float: none;
    width: 100%;
  }
  
  .main {
    float: none;
    width: 100%;
  }
  
  .header img {
    width: 90%;
  }
  
  .sidebar .logo {
    width: 50%;
  }
  
}


/* < 480 px */
@media screen and (max-width: 30rem) {
    
  .header img {
    padding-top: 20px;
    width: 100%;
  }
  
  .sidebar .logo {
    margin: 20px auto;
    width: 50%;
  }
  
  .nav ul > li {
    padding: 0 .5em;
  }
  
  img.img-float {
    margin-bottom: 20px;
    width: 100%;
  }
  
}


/* < 384 px */
@media screen and (max-width: 24rem) {
  
  .nav ul > li {
    font-size: 16px;
    padding: 0 .5em;
  }
  
  .visibility-switch {
    display: none;
  }
  
}