html {
  font-size: 20px;
}

@media screen and (min-width: 768px) {
  html {
    /* font-size: 24px; */
  }
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: Metric, sans-serif;
}

div,
section {
  position: relative;
}

a,
td,
div,
body,
span,
* {
  background-repeat: no-repeat;
  box-sizing: border-box;
  margin: 0;
}

.nobr {
  white-space: nowrap;
}

a {
  transition: color .3s ease;
}

a:hover {
  color: #5794a2 !important;
}

footer {
  background-color: #fff;
  text-align: center;
  padding: 25px 30px 30px;
}

@media screen and (min-width: 600px) {
  footer {
    padding: 30px;
  }
}

footer .inner {
  max-width: 1000px;
  margin: 0 auto;
}

footer .links {
  display: flex;
  margin-bottom: 2em;
  flex-direction: row;
  font-size: .59rem;
  justify-content: center;
  flex-wrap: wrap;
}

footer .links a {
  color: #000;
  text-decoration: none;
  padding: .6em 1em;
}

@media screen and (min-width: 600px) {
  footer .links a {
    padding: .2em 1em;
  }
}

@media screen and (min-width: 1000px) {
  footer .links a {
    padding: 1em;
  }
}

footer .hs {
  background-image: url(../img/hs.svg);
  width: 250px;
  height: 25px;
  background-size: contain;
  background-position: center;
  margin: 30px auto 10px;
}

@media screen and (min-width: 600px) {
  footer .hs {
    margin: 15px auto;
  }
}

footer .icons {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

footer .icons a {
  font-size: 0;
  color: transparent;
  background-position: center;
  background-size: contain;
  width: 34px;
  height: 34px;
  margin: 0 3px;
}

footer .icons .fb {
  background-image: url(../img/fb.svg);
}

footer .icons .tw {
  background-image: url(../img/tw.svg);
}

footer .icons .ig {
  background-image: url(../img/ig.svg);
}

footer .icons .mail {
  background-image: url(../img/mail.svg);
}

section.hero {
  background-image: url(../img/AL_digiaktivointi_landingpage_1600x1030_FINAL.jpg);
  background-position: 60% 0%;
  background-size: cover;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

@media screen and (min-width: 600px) {
  section.hero {
    min-height: 100vh;
  }
}

section.hero div {
  max-width: 800px;
  text-align: center;
  padding: 30px 20px;
  transform: translate(0, 20vh);
}

@media screen and (min-width: 400px) {
  section.hero div {
    padding: 30px;
  }
}

@media screen and (min-width: 600px) {
  section.hero div {
    transform: translate(0, 16vh);
  }
}

section.hero h1 {
  font-family: Metric, sans-serif;
  font-weight: 900;
  line-height: .88em;
  margin: 0 0 .3em;
  font-size: 1.6rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

@media screen and (min-width: 400px) {
  section.hero h1 {
    font-size: 2rem;
  }
}

@media screen and (min-width: 600px) {
  section.hero h1 {
    font-size: 3.15rem;
  }
}

@media screen and (min-width: 1000px) {
  section.hero h1 {
    font-size: 4.15rem;
  }
}

section.hero p {
  font-family: Metric, sans-serif;
  text-transform: uppercase;
  font-weight: 500;
  font-size: .8rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

@media screen and (min-width: 600px) {
  section.hero p {
    font-size: 1.35rem;
  }
}

section.stack {
  color: #01194C;
  background-color: #E5E0E0;
}

section.stack .inner {
  display: flex;
  max-width: 1660px;
  margin: 0 auto;
  align-items: center;
  flex-direction: column;
  padding: 37px 24px;
}

@media screen and (min-width: 450px) {
  section.stack .inner {
    padding: 37px 30px;
  }
}

@media screen and (min-width: 600px) {
  section.stack .inner {
    padding: 70px 30px;
  }
}

@media screen and (min-width: 1000px) {
  section.stack .inner {
    flex-direction: row;
    padding: 70px 60px;
  }
}

section.stack h2 {
  font-family: Metric, sans-serif;
  font-weight: 900;
  margin: 0 0 .77em;
  font-size: 1.67rem;
  line-height: 1.23em;
}

@media screen and (min-width: 600px) {
  section.stack h2 {
    line-height: .88em;
    font-size: 2.57rem;
  }
}

section.stack .left {
  flex: 0 0 42%;
  padding-right: 50px;
  display: none;
}

@media screen and (min-width: 1000px) {
  section.stack .left {
    display: initial;
  }
}

section.stack .left img {
  max-width: 100%;
}

section.stack .right {
  flex: 1 1 auto;
  text-align: center;
}

@media screen and (min-width: 1000px) {
  section.stack .right {
    text-align: left;
  }
}

section.stack .right p {
  font-family: Metric, sans-serif;
  font-size: .955rem;
  line-height: 1.36em;
}

@media screen and (min-width: 600px) {
  section.stack .right p {
    font-size: .86rem;
  }
}

section.stack .right img.mob {
  display: block;
  width: 85%;
  max-width: 400px;
  margin: 0 auto -30px;
}

@media screen and (min-width: 600px) {
  section.stack .right img.mob {
    margin: 0 auto;
  }
}

@media screen and (min-width: 1000px) {
  section.stack .right img.mob {
    display: none;
  }
}

section.stack .right .ingress {
  font-family: Metric, sans-serif;
  font-weight: 400;
  font-size: 1.335rem;
  line-height: 1.25em;
  margin: 0 0 .5em;
}

@media screen and (min-width: 600px) {
  section.stack .right .ingress {
    padding-right: 6%;
    line-height: 1.05em;
  }
}

section.directions {
  background-color: #004F9D;
  color: #fff;
  text-align: center;
  padding: 35px 30px 80px;
}

@media screen and (min-width: 600px) {
  section.directions {
    padding: 115px 30px 130px;
  }
}

@media screen and (min-width: 1000px) {
  section.directions {
    padding: 115px 60px 130px;
  }
}

section.directions .box {
  max-width: 1210px;
  padding: 45px 0 0;
  margin: 0 auto 25px;
}

@media screen and (min-width: 600px) {
  section.directions .box {
    margin: 0 auto 85px;
  }
}

@media screen and (min-width: 768px) {
  section.directions .box {
    padding: 45px 45px 0 45px;
  }
}

@media screen and (min-width: 1000px) {
  section.directions .box {
    border: 1px solid #fff;
  }
}

section.directions h2 {
  font-family: Metric, sans-serif;
  font-size: 1.65rem;
  margin: 0 0 .3em;
}

@media screen and (min-width: 600px) {
  section.directions h2 {
    margin: 0 0 .8em;
    font-size: 2.57rem;
  }
}

section.directions .item {
  display: flex;
  margin-bottom: 5px;
  justify-content: center;
  flex-direction: column;
}

@media screen and (min-width: 600px) {
  section.directions .item {
    margin-bottom: 55px;
    margin-bottom: 5px;
  }
}

@media screen and (min-width: 1000px) {
  section.directions .item {
    flex-direction: row;
    align-items: center;
  }
}

section.directions .number {
  font-family: Metric, sans-serif;
  font-size: 2.5rem;
  border: 10px solid #fff;
  border-radius: 50%;
  padding: .15em 0 0;
  margin: 0;
  box-sizing: border-box;
  width: 97px;
  height: 97px;
  flex: 0 0 97px;
  margin: 0 auto 20px;
}

@media screen and (min-width: 600px) {
  section.directions .number {
    margin: 0 auto 30px;
  }
}

@media screen and (min-width: 768px) {
  section.directions .number {
    /*
      width: 115px;
      height: 115px;
      flex: 0 0 115px;        
      */
  }
}

@media screen and (min-width: 1000px) {
  section.directions .number {
    margin: 0 0 30px;
    /* margin: 0; */
  }
}

section.directions .text {
  flex: 1 1 auto;
  text-align: left;
  font-family: Metric, sans-serif;
  font-weight: 400;
  margin: 0 auto 30px;
  text-align: center;
  border-bottom: 1px solid #fff;
  font-size: .95rem;
  line-height: 1.45em;
  padding-bottom: 45px;
}

@media screen and (min-width: 600px) {
  section.directions .text {
    line-height: 1.14em;
    font-size: 1.36rem;
    padding-bottom: 20px;
  }
}

@media screen and (min-width: 1000px) {
  section.directions .text {
    padding-left: 1.8em;
    text-align: left;
    margin: 0;
    border-bottom: none;
  }
}

section.directions .text strong {
  font-family: Metric, sans-serif;
}

section.directions a {
  color: #fff;
  text-decoration: none;
  font-family: Metric, sans-serif;
  font-weight: bold;
  white-space: nowrap;
}

@media screen and (min-width: 1000px) {
  section.directions .item2 {
    align-items: flex-start;
  }
}

@media screen and (min-width: 600px) {
  section.directions .item2 .text {
    padding-top: 1em;
  }
}

section.directions .item2 .text p {
  padding: .8em 0 0;
  font-size: .8rem;
}

@media screen and (min-width: 600px) {
  section.directions .item2 .text p {
    font-size: 1rem;
    padding: .8em 0 0 1em;
  }
}

section.directions .help {
  max-width: 1300px;
  margin: 0 auto;
  font-family: Metric, sans-serif;
  font-weight: 400;
  font-size: .94rem;
  line-height: 1.34em;
  padding: 5px 10px 0;
}

@media screen and (min-width: 600px) {
  section.directions .help {
    line-height: 1.3em;
    font-size: 1.35rem;
    padding: 0 60px;
  }
}

section.directions .help strong {
  font-family: Metric, sans-serif;
}

section.mouse {
  background-color: #fff;
  color: #01194C;
  text-align: center;
  padding: 30px 20px 40px;
}

@media screen and (min-width: 600px) {
  section.mouse {
    padding: 120px 60px;
  }
}

section.mouse .inner {
  max-width: 750px;
  margin: 0 auto;
}

section.mouse h2 {
  font-family: Metric, sans-serif;
  font-size: 1.66rem;
  margin: 0 0 .5em;
}

@media screen and (min-width: 600px) {
  section.mouse h2 {
    margin: 0 0 .4em;
    font-size: 2.55rem;
  }
}

section.mouse p {
  font-family: Metric, sans-serif;
  font-weight: 400;
  font-size: 1.32rem;
  line-height: 1.24em;
  margin: 0 0 1em;
}

@media screen and (min-width: 600px) {
  section.mouse p {
    margin: 0 0 1.25em;
    font-size: 1.34rem;
  }
}

section.mouse .box {
  padding: 0;
}

@media screen and (min-width: 600px) {
  section.mouse .box {
    padding: 40px 40px 0;
  }
}

@media screen and (min-width: 768px) {
  section.mouse .box {
    border: 1px solid #01194C;
  }
}

section.mouse .box p {
  font-size: .92rem;
  margin: 0 0 .3em;
}

@media screen and (min-width: 600px) {
  section.mouse .box p {
    margin: 0 0 1.7em;
    font-size: 1.23rem;
  }
}

section.mouse .box a {
  font-weight: 700;
  font-family: Metric, sans-serif;
  color: #01194C;
  text-decoration: none;
}

section.mouse h3 {
  font-family: Metric, sans-serif;
  font-size: 1.25rem;
  margin: 0 0 1em;
}

@media screen and (min-width: 600px) {
  section.mouse h3 {
    margin: 0 0 1.5em;
    font-size: 1.7rem;
  }
}

section.app {
  background-color: #E5E0E0;
  text-align: center;
  padding: 30px 30px 10px 30px;
}

@media screen and (min-width: 600px) {
  section.app {
    padding: 120px 60px;
    padding: 100px 60px;
  }
}

section.app h2 {
  margin: 0 0 .9em;
  color: #01194C;
  font-family: Metric, sans-serif;
  font-size: 1.7rem;
}

@media screen and (min-width: 600px) {
  section.app h2 {
    font-size: 2.6rem;
  }
}

section.app .inner {
  max-width: 1305px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1100px;
}

@media screen and (min-width: 1000px) {
  section.app .inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

section.app h3 {
  color: #01194C;
  font-family: Metric, sans-serif;
  font-size: 1.25rem;
  margin: 0 0 .5em;
}

@media screen and (min-width: 600px) {
  section.app h3 {
    margin: 0 0 .9em;
    font-size: 1.15rem;
  }
}

@media screen and (min-width: 1000px) {
  section.app h3 {
    font-size: 1.15rem;
  }
}

@media screen and (min-width: 1290px) {
  section.app h3 {
    /* font-size: 1.65rem; */
  }
}

section.app h3 i {
  font-style: normal;
}

@media screen and (min-width: 1000px) {
  section.app h3 i {
    display: none;
  }
}

section.app .item {
  flex: 1 1 auto;
}

@media screen and (min-width: 1000px) {
  section.app .item {
    flex: 0 0 270px;
  }
}

@media screen and (min-width: 1290px) {
  section.app .item {
    /* flex: 0 0 370px; */
  }
}

section.app .item .phone {
  display: block;
  background-position: left top;
  max-width: 370px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #01194C;
}

@media screen and (min-width: 600px) {
  section.app .item .phone {
    border-bottom: none;
    margin-bottom: 0;
    padding: 50px 30px;
  }
}

@media screen and (min-width: 1000px) {
  section.app .item .phone {
    background-image: url(../img/phoneoutline.png);
    background-size: 100% auto;
    height: 545px;
    width: 270px;
    padding: 98px 20px;
  }
}

@media screen and (min-width: 1290px) {
  section.app .item .phone {
    /*
        width: 370px;
        height: 715px;
        */
  }
}

section.app .item:last-child .phone {
  border-bottom: 0;
  margin-bottom: 0;
}

section.app .item .stamp {
  margin: 0 auto 15px;
  background-position: center;
  background-size: contain;
  width: 80px;
  height: 62px;
}

@media screen and (min-width: 600px) {
  section.app .item .stamp {
    width: 150px;
    height: 120px;
  }
}

@media screen and (min-width: 1000px) {
  section.app .item .stamp {
    width: 150px;
    height: 120px;
  }
}

@media screen and (min-width: 1290px) {
  section.app .item .stamp {
    /*
        width: 200px;
        height: 200px;        
        */
  }
}

section.app .item .stamp1 {
  background-image: url(../img/icon-home.svg);
}

section.app .item .stamp2 {
  background-image: url(../img/icon-download.svg);
}

section.app .item .stamp3 {
  background-image: url(../img/icon-exit.svg);
}

section.app .item p {
  padding: 0 10px;
  color: #01194C;
  font-size: .94rem;
  line-height: 1.4em;
  padding-bottom: 1em;
}

@media screen and (min-width: 600px) {
  section.app .item p {
    font-size: .86rem;
    line-height: 1.24em;
    padding-bottom: 0;
  }
}

@media screen and (min-width: 1000px) {
  section.app .item p {
    font-size: .8rem;
  }
}

@media screen and (min-width: 1290px) {
  section.app .item p {
    font-size: .86rem;
  }
}

section.app .item p strong,
section.app .item p a {
  font-family: Metric, sans-serif;
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

section.app .number {
  color: #01194C;
  border: 10px solid #01194C;
  border-radius: 50%;
  font-family: Metric, sans-serif;
  width: 115px;
  height: 115px;
  margin: 0 auto;
  font-size: 2.6rem;
  padding-top: .15em;
  display: none;
}

@media screen and (min-width: 1000px) {
  section.app .number {
    display: block;
    width: 98px;
    height: 98px;
  }
}

@media screen and (min-width: 1290px) {
  section.app .number {
    /*
      width: 115px;
      height: 115px;
      */
  }
}

section.links {
  background-color: #004F9D;
  color: #fff;
  text-align: center;
  padding: 30px 30px 60px;
}

@media screen and (min-width: 600px) {
  section.links {
    padding: 120px 30px;
  }
}

@media screen and (min-width: 768px) {
  section.links {
    padding: 120px 60px;
  }
}

section.links h2 {
  font-family: Metric, sans-serif;
  font-size: 1.73rem;
  margin: 0 0 .8em;
}

@media screen and (min-width: 600px) {
  section.links h2 {
    font-size: 2rem;
    margin: 0 0 .75em;
  }
}

@media screen and (min-width: 768px) {
  section.links h2 {
    font-size: 2.3rem;
  }
}

section.links .inner {
  display: flex;
  max-width: 1640px;
  margin: 0 auto;
  flex-direction: column;
}

@media screen and (min-width: 768px) {
  section.links .inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

section.links .item {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  flex: 1 1 auto;
  width: 100%;
  max-width: 400px;
  margin: 0 auto 20px;
}

@media screen and (min-width: 768px) {
  section.links .item {
    max-width: none;
    margin: 0;
    width: calc((100% - 40px)/3);
    flex: 0 0 calc((100% - 40px)/3);
  }
}

section.links .item .image {
  background-color: #E5E0E0;
  background-size: cover;
  background-position: center;
  padding-bottom: 58%;
}

@media screen and (min-width: 600px) {
  section.links .item .image {
    padding-bottom: 56%;
  }
}

section.links .item .text {
  text-align: left;
  line-height: 1.35em;
  font-family: Metric, sans-serif;
  font-weight: 400;
  color: #191919;
  text-decoration: none;
  font-size: 1rem;
  padding: 1.16em 1em;
  transition: color .3s ease;
}

@media screen and (min-width: 600px) {
  section.links .item .text {
    font-size: .6rem;
    padding: 1.16em 1.54em 1.66em;
  }
}

@media screen and (min-width: 1000px) {
  section.links .item .text {
    font-size: .8rem;
  }
}

@media screen and (min-width: 1310px) {
  section.links .item .text {
    padding: 28px 37px 40px;
    padding: 1.16em 1.54em 1.66em;
    font-size: 1rem;
  }
}

section.links .item .text span {
  color: #4196A4;
  font-weight: bold;
}

section.links .item:hover {
  opacity: 1;
}

section.links .item:hover .text {
  color: #494949;
}