@font-face {
  font-family: financier;
  src: url(fonts/FinancierDisplayWeb-Semibold.woff2);
}

@font-face {
  font-family: "Financier-Black";
  src: url(fonts/FinancierDisplayWeb-Black.woff2);
}


@font-face {
	font-family: 'HCo Gotham';
	src:url('fonts/hco_fonts/woff2/Gotham-Thin_Web.woff2') format('woff2'),
		url('fonts/hco_fonts/woff/Gotham-Thin_Web.woff') format('woff');
	font-weight: 100;
	font-style: normal;
}

@font-face {
	font-family: 'HCo Gotham';
	src:url('fonts/hco_fonts/woff2/Gotham-ThinItalic_Web.woff2') format('woff2'),
		url('fonts/hco_fonts/woff/Gotham-ThinItalic_Web.woff') format('woff');
	font-weight: 100;
	font-style: italic;
}

@font-face {
	font-family: 'HCo Gotham';
	src:url('fonts/hco_fonts/woff2/Gotham-XLight_Web.woff2') format('woff2'),
		url('fonts/hco_fonts/woff/Gotham-XLight_Web.woff') format('woff');
	font-weight: 200;
	font-style: normal;
}

@font-face {
	font-family: 'HCo Gotham';
	src:url('fonts/hco_fonts/woff2/Gotham-XLightItalic_Web.woff2') format('woff2'),
		url('fonts/hco_fonts/woff/Gotham-XLightItalic_Web.woff') format('woff');
	font-weight: 200;
	font-style: italic;
}

@font-face {
	font-family: 'HCo Gotham';
	src:url('fonts/hco_fonts/woff2/Gotham-Light_Web.woff2') format('woff2'),
		url('fonts/hco_fonts/woff/Gotham-Light_Web.woff') format('woff');
	font-weight: 300;
	font-style: normal;
}

@font-face {
	font-family: 'HCo Gotham';
	src:url('fonts/hco_fonts/woff2/Gotham-LightItalic_Web.woff2') format('woff2'),
		url('fonts/hco_fonts/woff/Gotham-LightItalic_Web.woff') format('woff');
	font-weight: 300;
	font-style: italic;
}

@font-face {
	font-family: 'HCo Gotham';
	src:url('fonts/hco_fonts/woff2/Gotham-Book_Web.woff2') format('woff2'),
		url('fonts/hco_fonts/woff/Gotham-Book_Web.woff') format('woff');
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: 'HCo Gotham';
	src:url('fonts/hco_fonts/woff2/Gotham-BookItalic_Web.woff2') format('woff2'),
		url('fonts/hco_fonts/woff/Gotham-BookItalic_Web.woff') format('woff');
	font-weight: 400;
	font-style: italic;
}

@font-face {
	font-family: 'HCo Gotham';
	src:url('fonts/hco_fonts/woff2/Gotham-Medium_Web.woff2') format('woff2'),
		url('fonts/hco_fonts/woff/Gotham-Medium_Web.woff') format('woff');
	font-weight: 500;
	font-style: normal;
}

@font-face {
	font-family: 'HCo Gotham';
	src:url('fonts/hco_fonts/woff2/Gotham-MediumItalic_Web.woff2') format('woff2'),
		url('fonts/hco_fonts/woff/Gotham-MediumItalic_Web.woff') format('woff');
	font-weight: 500;
	font-style: italic;
}

@font-face {
	font-family: 'HCo Gotham';
	src:url('fonts/hco_fonts/woff2/Gotham-Bold_Web.woff2') format('woff2'),
		url('fonts/hco_fonts/woff/Gotham-Bold_Web.woff') format('woff');
	font-weight: 700;
	font-style: normal;
}

@font-face {
	font-family: 'HCo Gotham';
	src:url('fonts/hco_fonts/woff2/Gotham-BoldItalic_Web.woff2') format('woff2'),
		url('fonts/hco_fonts/woff/Gotham-BoldItalic_Web.woff') format('woff');
	font-weight: 700;
	font-style: italic;
}

@font-face {
	font-family: 'HCo Gotham';
	src:url('fonts/hco_fonts/woff2/Gotham-Black_Web.woff2') format('woff2'),
		url('fonts/hco_fonts/woff/Gotham-Black_Web.woff') format('woff');
	font-weight: 800;
	font-style: normal;
}

@font-face {
	font-family: 'HCo Gotham';
	src:url('fonts/hco_fonts/woff2/Gotham-BlackItalic_Web.woff2') format('woff2'),
		url('fonts/hco_fonts/woff/Gotham-BlackItalic_Web.woff') format('woff');
	font-weight: 800;
	font-style: italic;
}

@font-face {
	font-family: 'HCo Gotham';
	src:url('fonts/hco_fonts/woff2/Gotham-Ultra_Web.woff2') format('woff2'),
		url('fonts/hco_fonts/woff/Gotham-Ultra_Web.woff') format('woff');
	font-weight: 900;
	font-style: normal;
}

@font-face {
	font-family: 'HCo Gotham';
	src:url('fonts/hco_fonts/woff2/Gotham-UltraItalic_Web.woff2') format('woff2'),
		url('fonts/hco_fonts/woff/Gotham-UltraItalic_Web.woff') format('woff');
	font-weight: 900;
	font-style: italic;
}

body {
  background-color: #f5f5ef;
  font-family: 'HCo Gotham', sans-serif;
  font-weight: 400;
  color: #464646;
  -webkit-font-smoothing: antialiased;
}

.purple-bg {
  background: #6940ff;
}

.yhteystiedot {
  background: #1f1439;
  color: #fff;
}

.turkoosi {
  color: #00cdb5;
}

a.white:hover {
  color:#fff;
  text-decoration: underline;
}

a.turkoosi:hover {
  color: #00cdb5;
  text-decoration: underline;
}
a.purple:hover {
  color: #6940ff;
  text-decoration: underline;
}

.blobs {
  min-height:80px;
  padding-bottom:12%;
  overflow: hidden;
  background-image: url("./images/ameeba_raita.jpg");
  background-size: cover;
  background-position: top center;
  /* padding: 10vw; */
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 1;
}

.hero {
  min-height: 300px;
}

.some-ikoni {
  width: 22px;
}
.some-ikoni:hover {
  opacity: 0.8;
}

.palvelu {
  max-width: 140px;
  min-height: 140px;
}
.palvelu img {
  width: 100%;
}

@media (max-width: 768px) {
  .video {
    position: absolute;
    height: 100%;
    top: 50%;
    left: 50%;
    right: 0;
    bottom: 0;
    -ms-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
  }
}

@media (min-width: 768px) {
  .video {
    position: relative;
    width: 100%;
  }
}

/*
  typography
*/

h1,
h2,
h3 {
  line-height: 1.3;
  margin-bottom: 1rem;
  font-family: financier;
}
h1 {
  font-family: 'Financier-Black';
  font-weight: 800;
  line-height:1;
}

h5.financier,
h4.financier {
  font-family: financier;
}

@media (min-width: 768px) {
  h1 {
    font-size: 4.2rem;
  }

  h2 {
    font-size: 3rem;
  }

  h4.financier {
    font-family: financier;
    font-size: 1.6rem;
  }
}

@media (max-width: 470px){
  h4.financier {
    font-size: 1.3rem;
  }
}

@media (min-width: 768px){
  p {
    font-size: 1.15rem;
  }
}

small {
  font-weight: 500;
}

.purple {
  color: #6940ff;
}

.white {
  color: #fff;
}

.lh-custom{
  line-height: 1.4;
}

/*
 * site header
 */

.navbar-sticky.nav-up {
  top: -100px;
}

.navbar-sticky {
  position: fixed;
  top: 0;
  /*height:72px;*/
  transition: all 0.5s ease-in-out;
  width: 100%;
  z-index: 9999;
}

.home .navbar-sticky {
  transition: all 0.5s ease-in-out;
  opacity: 0;
}

.home.scrolled .navbar-sticky {
  opacity: 1;
}

.navbar-background,
.navbar-collapse {
  transition: all 0.5s ease-in-out;
}

.scrolled .navbar-background {
  background-color: #343a40 !important;
}

.site-header a {
  transition: ease-in-out all 0.15s;
  background: rgba(0, 0, 0, 0);
  font-weight: 700;
}
.site-header a:hover {
  background: rgba(0, 0, 0, 0.04);
  text-decoration: none;
}
