@font-face {
  font-family: 'Proxima Nova';
  font-style: normal;
  src: local('ProximaNova-Regular'), url('assets/fonts/ProximaNova-Regular.otf') format('opentype');
  font-display: swap;
}

@font-face {
  font-family: 'Proxima Nova Black';
  font-style: normal;
  src: local('ProximaNova-Black'), url('assets/fonts/ProximaNova-Black.otf') format('opentype');
  font-display: swap;
}

@font-face {
  font-family: 'Proxima Nova Light';
  font-style: normal;
  src: local('ProximaNova-Light'), url('assets/fonts/ProximaNova-Light.otf') format('opentype');
  font-display: swap;
}


@font-face {
  font-family: 'Just Lovely';
  font-style: normal;
  src: local('Nicky Laatz - Just Lovely'), url('assets/fonts/Nicky Laatz - Just Lovely.otf') format('opentype');
  font-display: swap;
}

html,
body {
  font-family: "Proxima Nova Light", sans-serif;
  font-size: 16px;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

/*************/
/* preloader */

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: gray;
  z-index: 999999;
  opacity: 1;
  visibility: visible;
  transition: all 0.5s;

}

.pageLoaded .preloader {
  opacity: 0;
  visibility: hidden;
}

@keyframes preloaderAnim {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }

  50% {
    opacity: 1;
    transform: scale(0.8);
  }

  100% {
    opacity: 0;
    transform: scale(1.1);
  }
}

.preloader__container-img {
  width: 20vw;
  max-width: 250px;
  height: auto;
  transform-origin: 50% 50%;
  opacity: 0;
  transform: scale(0.5);
  animation: preloaderAnim 5s forwards infinite linear;
}


/* 
html {
  height: 100vh;
} */

body {
  background: #fff;
  color: #222;
  margin: 0;
  ove rflow-x: hidden;
}

#navbar {
  top: 0;
  width: 100%;
  padding: 1em;
  overflow: hidden;
  position: fixed;
  z-index: 9999;
  background: transparent;
  box-sizing: border-box;
}

#logo {
  display: block;
  margin: 0 auto;
  max-width: 180px;
}

#logo-header {
 display: inline-block;
 margin: 1em 0 0 2em;
 max-width: 180px;
}

#icon-header, #icon-header-2 {
  display: inline-block;
  float: right;
  max-width: 70px;
  margin: 1em 1em 0 0;
  padding: 0 1em 0 0;
}
#icon-header {
  max-width: 65px;
  margin: 1em 2em 0 0;
}

.bg {
  background: #bad2b9;
  width: 100%;
  height: auto;
  overflow: hidden;
}

#scroll-down {
  display: flex;
  align-items: center;
  justify-content: center;
}
#scroll-down small {
  position: fixed;
  bottom: 80px;
  padding-top: 80px;
  z-index: 2;
  color: #fff;
  font-size: 1em;
  text-transform: uppercase;
  letter-spacing: .1em;
  text-decoration: none;
  transition: opacity .3s;
}
.#scroll-down small:hover {
  opacity: .5;
}
#scroll-down small span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 24px;
  height: 24px;
  margin-left: -12px;
  border-left: 1px solid #fff;
  border-bottom: 1px solid #fff;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-animation: sdb07 2s infinite;
  animation: sdb07 2s infinite;
  opacity: 0;
  box-sizing: border-box;
}
#scroll-down small span:nth-of-type(1) {
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
}
#scroll-down small span:nth-of-type(2) {
  top: 16px;
  -webkit-animation-delay: .15s;
  animation-delay: .15s;
}
#scroll-down small span:nth-of-type(3) {
  top: 32px;
  -webkit-animation-delay: .3s;
  animation-delay: .3s;
}
@-webkit-keyframes sdb07 {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes sdb07 {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
/* #hero-lightpass {
  display: flex;
  width: 100%;
  height: 100vh;
} */

/* canvas {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: 100vw;
  max-height: 100vh;
} */

/* #container {

  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40vh;
} */

#container h1 {
  z-index: 9998;
  display: block;
}

.container-hero {
  position: absolute;
  top: 0;
  left: 0;
  /* height: calc(3770px - 100vh); */
  /*calc(3770px - 100vh)*/
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-direction: column;
}

.animTextBlock {
  position: absolute;
  color: #fff;
}

.container-hero div.h1 {
  width: 90%;
}

.justlovely {
  font-family: 'Just Lovely';
  font-size: 5rem;
  line-height: 6.5rem;
}

p.justlovely {
  text-align: center;
  margin: 0 auto;
  padding: 100px 0 200px 0;
}

#komfort-5 {
  width: 200px;
  /*padding: 500px 0 200px 500px;*/
}

.komfort-5-dark {
  display: block;
  margin: 0 auto;
  width: 300px;
  padding: 150px 0 50px 0;
}

.icon {
  /* position: absolute; */
  top: 0;
  left: 0;
}

.icon-fade {
  display: block;
  float: left;
}

.info__title span {
  display: inline-block;
  padding: 1em;
}

.container-hero p {
  font-size: 2em;
  /* position: absolute; */
  text-transform: uppercase;
  top: 0em;
  left: 3.5em;
  padding: 1em 0;
  margin: 0;
}

.container-hero ul {
  /* position: absolute; */
  top: 8em;
  left: 2em;
  list-style: none;
  margin: 0 0 0 1em;
  padding: 0;
}

.container-hero ul li::before {
  content: "\2022";
  color: #57585A;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

.container-hero ul li {
  text-transform: uppercase;
  margin-bottom: 1em;
}

/* Footer */

footer {
  width: 100%;
  max-width: 1200px;
  margin: 50px auto 2em;
  display: flex;
  justify-content: normal;
  align-items: top;
  flex-wrap: wrap;
  flex-flow: row;
  border-top: 1px solid #efefef;
  border-bottom: 1px solid #efefef;
  justify-content: space-between;
}

footer article {
  flex: 0 0 39%;
  min-width: 300px;
  text-align: left;
  box-sizing: border-box;
  padding: 0 0 1em 0;
}

footer article:nth-of-type(1) {
  flex: 0 0 42.5%;
}

#footer-logo {
  max-width: 180px;
  margin: 1em;
  padding: 1em;
}

p.headline {
  text-transform: uppercase;
  line-height: 1.5em;
}

footer a {
  color: #222;
  text-decoration: none;
  line-height: 1.5em;
}

.service-link {
  display: block;
}

section {
  background: #f8f8f8;
  border-top: 1px solid #efefef;
}

#legal {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2em;
  box-sizing: border-box;
  font-size: 14px;
}

#legal p {
  text-align: center;
  font-size: 12px;
  line-height: 1.5em;
  padding: 1em 0;
}

.legal-link {
  display: inline-block;
  margin: 0 1em 0 0;
  color: #000;
  text-decoration: none;
}

.colored-link {
  color: #edb451;
  text-decoration: none;
}

/****************/
/****************/
/****************/


.container__canvas {
  /* position: absolute; */
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 0;
}

.container__canvas-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 0;
  padding-bottom: 56.5%;
  transform: translate(-50%, -50%);
}

.container__canvas-wrap canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.main-title {
  position: absolute;
  left: 60%;
  top: 35vh;
  width: 25%;
  height: auto;
  z-index: 1;
}

.main-title img {
  width: 100%;
  height: auto;
}


/*****************************/

.info {
  padding: 0;
  /*padding: 50px 0;*/
}

.info__container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
}

.info__column {
  max-width: 50%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info__img-wrap {
  padding: 10px;
  /* padding: 50px; */
}

.info__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #bad2b9;
  border-radius: 50%;
}

.info__content-wrap {
  padding: 50px;
}

.info__title {
  text-transform: uppercase;
}

p.columns,
p.info__text,
ul.info__text {
  font-size: 16px;
  line-height: 1.3;
}

p.columns,
p.info__text {
  text-align: justify;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}

p.columns {
  max-width: 800px;
  margin: 0 auto;
  padding: 2em 0 4em;
  column-count: 2;
  column-gap: 40px;
}

h3.info__text  {
  font-size: 20px;
  line-height: 1.5;
}

/* Desktop Content */
#desktop {
  display: block;
}
/* Mobile Content */
#mobile {
  display: none;
}

@media (max-width: 799px) {

  html, body {
    font-size: 14px;
    font-weight: 300;
  }

  #navbar {
    position: absolute;
  }

  .container-hero div.h1 {
    width: 90%;
    height: 80vh;
  }

  .container__canvas-wrap {
    width: 100%;
    padding-bottom: 100%;
  }
  
  .main-title {
    left: 50%;
    top: 30vh;
  }

  #komfort-5 {
    width:  150px;
  }

  .komfort-5-dark {
    width: 230px;
  }

  .icon {
    top: 10vh;
    left: 10vh;
  }

  #scroll-down small {
    bottom: 40px;
  }

  .container-hero ul {
    position: absolute;
    top: 60vh;
    left: 0;
    list-style: none;
    margin: 0 0 0 1em;
    padding: 0;
  }

  #logo {
    margin: 40vh auto 0;
  }

  #logo-header {
    max-width: 120px;
     margin: 1em 0 0 1em;
  }
  #icon-header {
    max-width: 55px;
    margin: 1em 0 0 0;
  }
  #icon-header-2 {
    max-width: 59px;
  }

  /* Fading Content - Page Bottom */

  /* Desktop Content */
  #desktop {
    display: none;
  }
  /* Mobile Content */
  #mobile {
    display: block;
    overflow: hidden;
  }


  .info__container {
    flex-direction: column;
  }

  .info__column {
    max-width: 100%;
  }

  .info__img-wrap {
    padding: 10px;
  }

  .info__img {
    max-width: 100%;
    margin: -25px auto;
    display: block;
    background: transparent;
    border-radius: inherit;
  }

  h3.info__text {
    padding: 5% 10% 0;
  }
  p.info__text {
    padding: 0 10%;
  }

  .info__content-wrap {
    padding: 10px;
  }

  footer {
    flex-direction: column;
    border-bottom: none;
  }
  footer article {
  flex: 0;
  min-width: auto;
  text-align: center;
  box-sizing: border-box;
  padding: 0 0 0 0;
  }
  footer article:nth-of-type(1) {
    flex: 0;
  }
  #footer-logo {
    margin-bottom: 0;
  }

  #legal {
    padding: 2em .5em .5em;
    text-align: center;
    font-size: 13px;
  }
  .legal-link {
    margin: 0 .5em;
  }

}