@import url('https://fonts.googleapis.com/css2?family=Questrial&display=swap');

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

html {
  box-sizing: border-box;
  font-size: 100%;
}

body {
  margin: 0;
  font-family: 'Questrial', sans-serif;
  font-weight: 300;;
}

h1 {
  font-size: 35px;
  font-weight: 900;
}

h2.first-title, h2.second-title  {
  color: #fff !important;
  font-size: 42px;
}

#app {
  margin-bottom: -80px;
}

.bumper {
  text-align: center;
  padding: 128px 16px;
  background-color: #efefef;
}

.container-schz {
  position: relative;
  width: 100%;
  min-height: 100vh;
}

.space-holder {
  position: relative;
  width: 100%;
}

.sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  /* height: 50vh; */
  width: 100%;
  overflow-x: auto;
}

.horizontal {
  position: absolute;
  height: 100%;
  will-change: transform;
  margin-left: 150px !important;
}
/*
.cards {
  position: relative;
  height: 100%;
  padding: 0px;
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  align-items: center;
}
*/
.cards {
    position: absolute;
    height: 100%;
    padding: 0px;
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: center;
    top: 0;
    left: 0;
    /* width: calc(1180px + 1px);
    overflow-y: auto;*/
}
.mini-section {
  position: relative;
  /*height: 80vh;
  width: 240px;*/
  height: 100vh;
  width: 300px;
  background-color: #000000;
  margin: 0 auto;
  margin-right: 0px;
  flex-shrink: 0;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 60px;
  justify-content: center;
}



/* timeline elements */

article .diplome {
  position: relative;
  /*top: 120px;*/
  color: #fff;
  /*width: 130px;*/
  width: 100%;
  text-align: center;
  flex: 1 1 40px;
}

article.buyer-unow-mini .diplome {
  top: 20%;
}

article.buyer-now-mini .diplome {
  top: 25%;
}

article .point {
  content: "";
  /* top: -4px; */
  /* left: 43%; */
  display: flex;
  width: 0px;
  height: 150px;
  /* border: 4px solid #8677CE; */
  border-radius: 10px;
  background: #fff;
  position: relative;
}

.point:before {
  content: '';
  width: 0px;
  height: 30px;
  border-left: 2px solid #EC5349;
  position: absolute;
  top: -6px;
  left: 0;
}

.point:after {
  content: '';
  width: 0px;
  height: 30px;
  border-left: 2px solid #EC5349;
  position: absolute;
  bottom: 0;
}

article .description {
  display: block;
  /* padding: 10px; */
  /* margin-top: 60px; */
  position: relative;
  font-weight: normal;
  z-index: 1;
  text-align: center;
  color: #fff;
  /*width: 130px;*/
  width: 100%;
  flex: 1 1 60px;
  font-size: 18px;
  /* margin-left: 40px;
}
  /* .description::before {
  content: '';
  width: 0px;
  height: 30px;
  border-left: 2px solid #8576CC;
  position: absolute;
  top: -16px;
  left: 43%;
} */
}
/* ---- Hover effects ---- */
article:hover {
  cursor: pointer;
  color: #48A4D2;
}
article:hover .description {
  display: block;
}

.point img {
  display: flex;
  align-self: center;
  margin-left: -60px;
  margin-top: 15px;
  z-index: 999;
  max-width: inherit;
}

.buyer-now {
  background-color: #3E36E0;
}

.buyer-unow-mini {
  background-color: #000000;
  background: linear-gradient(180deg, #000000 48%,#222222 48% );
}

.buyer-now-mini {
  background-color: #3E36E0;
}

.line {
  width: 8%;
  height: 14px;
  background-color: #333333;
  transform: rotateY(180deg);
  z-index: 1;
  position: absolute;
  left: 640px;
  top: 47.3%;
  /*left: 768px;
  top: 47.3%;*/
}

.line-now {
  width: 8%;
  height: 14px;
  background-color: #E6EE00;
  transform: rotateY(180deg);
  z-index: 1;
  position: absolute;
  /*left: 60%;*/
  right: -126px;
  top: 47.3%;
  /*right: -370px;
  top: 47%;*/
}

article .diplome:empty ~ .point:before {
  height: 0 !important; 
}

.buyer-until-now, .buyer-now {
  /*width: 360px;*/
  width: 100%;
  max-width: 480px;
  padding: 30px 100px;
}

.diplome img {
  max-width: 90px;
  margin-top: -10px;
}

@media(max-width: 769px){
  /*.container-schz {
    min-height: 50vh;
  }
  .sticky {
    height: 60vh;
  }
  .mini-section {
    height: 50vh;
  }*/
  .horizontal {
    margin-left: -50px!important;
  }
}