@charset "utf-8";

@font-face {
  font-display: swap; 
  font-family: 'Khand';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/khand-v22-latin-regular.eot'); 
  src: url('../fonts/khand-v22-latin-regular.eot?#iefix') format('embedded-opentype'),
       url('../fonts/khand-v22-latin-regular.woff2') format('woff2'), 
       url('../fonts/khand-v22-latin-regular.woff') format('woff'), 
       url('../fonts/khand-v22-latin-regular.ttf') format('truetype'), 
       url('../fonts/khand-v22-latin-regular.svg#Khand') format('svg'); 
}

@font-face {
  font-display: swap; 
  font-family: 'Khand';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/khand-v22-latin-700.eot');
  src: url('../fonts/khand-v22-latin-700.eot?#iefix') format('embedded-opentype'),
       url('../fonts/khand-v22-latin-700.woff2') format('woff2'), 
       url('../fonts/khand-v22-latin-700.woff') format('woff'), 
       url('../fonts/khand-v22-latin-700.ttf') format('truetype'), 
       url('../fonts/khand-v22-latin-700.svg#Khand') format('svg'); 
}


@font-face {
  font-display: swap;
  font-family: 'Scada';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/scada-v16-latin-regular.eot'); 
  src: url('../fonts/scada-v16-latin-regular.eot?#iefix') format('embedded-opentype'), 
       url('../fonts/scada-v16-latin-regular.woff2') format('woff2'), 
       url('../fonts/scada-v16-latin-regular.woff') format('woff'), 
       url('../fonts/scada-v16-latin-regular.ttf') format('truetype'),
       url('../fonts/scada-v16-latin-regular.svg#Scada') format('svg'); 
}

@font-face {
  font-display: swap;
  font-family: 'Scada';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/scada-v16-latin-700.eot'); 
  src: url('../fonts/scada-v16-latin-700.eot?#iefix') format('embedded-opentype'), 
       url('../fonts/scada-v16-latin-700.woff2') format('woff2'), 
       url('../fonts/scada-v16-latin-700.woff') format('woff'),
       url('../fonts/scada-v16-latin-700.ttf') format('truetype'), 
       url('../fonts/scada-v16-latin-700.svg#Scada') format('svg'); 
}

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #000;
    font-family:'Scada', "Arial", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    background: #ededed;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
	position: relative;
	max-width: 50rem;
	margin: 1rem auto;
	overflow: hidden;
    border: 1px solid #d2d2d2;
    background-color: #fff;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

h1 {
    font-family: 'Khand', Arial, sans-serif;
    line-height: 1.3;
    background-color: #181818;
    color: #fff;
    width: fit-content;
}

h1:first-of-type {
    font-size: 2.5rem;
    font-weight: 700;
    padding: 0.5rem 1rem 0 1rem;
}
h1:nth-of-type(2) {
    font-size: 2rem;
    font-weight: 400;
    padding: 0 1rem 0.5rem 1rem;
}

.white {
    position: absolute;
    color: #fff;
    font-weight: 700;
    right: 5rem;
    top: 5rem;
    z-index: 100;
}

h2 {
    font-size: 1.25rem;
    margin-top: 1rem;
}

h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

h4 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
}

ul {
    margin: 0 0 1rem 1.5rem;
}
  
header {
    padding: 1rem;
    position: relative;
    z-index: 0;
}

article {
    margin-top: -8rem;
    position: relative;
    z-index: 1000;
    padding: 2rem;
}

article section {
    margin: 1rem 2rem;
}

.box {
    background-color: #ededed;
    padding: 1rem 2.5rem;
    border-radius: 2rem;
    margin: 1.5rem 0;
}

.margin-top {
    margin: 2rem 0;
}

a.link {
    color: #1b7e80;
    font-weight: 700;
    text-decoration: underline;
}
a.link:hover {
    text-decoration: none;
}

.red {
    background-color: #b01116;
}

.red {
    display: flex;
    justify-content: right;
    width: 100%;
}
.logo {
    margin-right: 15%;
}

footer {
    background-color: #0f242e;
    position: relative;
    padding: 4rem 4rem 1rem;
}
footer p {
    color: #fff;
}

.img {
    position: absolute;
    top: 1rem;
    right: 3rem;
}

a.link2 {
    text-decoration: underline;
}
a.link2:hover {
    text-decoration: none;
}

  @keyframes slidy { 
    0% { 
        left: 0%;
    }
    30% {
        left: 0%;
    }
    33% { 
        left: -100%;
    }
    64% {
        left: -100%;
    }
    67% { 
        left: -200%;
    }
    97% {
        left: -200%;
    }
    100% {
        left: -300%;
    }
  }
  
  .slider {
    overflow: hidden;
  }
  
  .slider figure {
    position: relative;
    width: 400%;
    margin: 0;
    left: 0;
    text-align: left;
    font-size: 0;
    animation: 18s slidy infinite;
  }
  
  figure img {
    width: 25%;
    float: left;
  }

.display-none {
    display: none;
}

@media only screen and (max-width: 49.938rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    article {
        margin-top: 0;
        padding: 1rem;
    }

    h1 {
        width: 100%;
    }

    .display-none {
        display: inline;
        font-size: 1.2rem;
        font-weight: 700;
    }

    .white {
        display: none;
    }
}

@media only screen and (max-width: 48rem) {
    article section {
        margin: 0;
    }

    .box {
        padding: 1rem;
    }

    footer {
        padding: 4rem 1rem 1rem;
    }

    h1:first-of-type {
    font-size: 1.75rem;
    font-weight: 700;
    padding: 0.5rem 1rem 0 1rem;
    }
h1:nth-of-type(2) {
    font-size: 1.4rem;
    font-weight: 400;
    padding: 0 1rem 0.5rem 1rem;
}
}


