@font-face {
  font-family: 'Lato';
  font-weight: 400;
  src: local("Lato Regular"), local("Lato-Regular"), url('LatoLatin-Regular.woff') format('woff');
}
@font-face {
  font-family: 'Lato';
  src: local("Lato Medium"), local("Lato-Medium"), url('LatoLatin-Medium.woff') format('woff');
  font-weight: 600;
}
body {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  font-family: Lato, sans-serif;
  font-variant-ligatures: none;
}
h1 {
  margin: 0;
  font-size: 1.6875em;
  font-weight: 600;
  line-height: 1.18;
  color: #2b507c;
}
h2 {
  margin: 0;
  font-size: 1.4375em;
  font-weight: 600;
  line-height: 1.39;
  color: #2b507c;
}
p {
  margin: 0.667em 0 1.778em 0;
  font-size: 1.125em;
  line-height: 1.333;
  color: #3c3c3d;
}
.bold {
  font-weight:600;
}
a {
  color: #2b4f7c;
}
a:visited {
  color: #2b4f7c;
}
a:hover {
  color: #3c3c3d;
}
.background {
  width: 100%;
  height: 44vh;
  overflow: hidden;
  position: relative;
}
.background img {
  position: absolute;
  margin: auto;
  top: 0;
  bottom: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
}
.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-height: 56vh;
  z-index: 10;
}
.icon {
  width: 100px;
  height: 100px;
  margin: -70px 0 -30px 0;
  background-size: cover;
  background-image: url(huomio.svg);
}
.logo {
  width: 240px;
  height: 90px;
  margin: auto 0 20px 0;
  z-index: 100;
}
.text {
  margin: 60px 0 0 0;
  padding: 0 30px;
  max-width: 100%;
  box-sizing: border-box;
}
.text p,
.text h1,.text h2 {
  text-align: left;
}
.text ul {
  margin: -26px 0 -20px 0;
  font-size: 1.125em;
  line-height: 1.333;
  color: #3c3c3d;
}
@media only screen and (min-width: 768px) and (min-height: 500px) {
  body {
    flex-direction: row;
  }
  .background {
    width: 40%;
    height: 100vh;
  }
  .content {
    width: 60%;
    min-height: 100vh;
    align-items: flex-start;
    justify-content: center;
  }
  .icon {
    margin: 25px -50px -50px -50px;
  }
  .logo {
    position: absolute;
    top: 30px;
    right: 0;
  }
  .text {
    margin: -25px 0 0 0;
    padding: 0 40px 0 80px;
  }
  .text p,
  .text h1, .text h2 {
    text-align: left;
  }
}
@media only screen and (min-width: 1000px) and (min-height: 500px) and (min-aspect-ratio: 1/1) {
  .background {
    width: 50%;
  }
  .content {
    width: 50%;
  }
}
