:root {
  --title-head-color: #000;
  --title-desc-color: #fff;
  --main-bg-color: #131313;
}

/* new styles */
/* /img/your_journey/transform/arrow_white.svg 

  --title-head-color: #000;
  --title-desc-color: #fff;
*/

.title-content {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: block;
}

.title-content.shrinked-section {
  min-height: auto;
}

.title-content::before {
  content: '';
  position: absolute;
  top: 0;
  z-index: -1;
  display: block;
  height: 100vh;
  height: 100vmax;
  width: 100vw;
  pointer-events: none;
  background: linear-gradient(to bottom, 
            rgba(19,19,19,0) 0vh,
            rgba(19,19,19,0) 70vh,
            #131313 100vh) no-repeat 50% 50%,
            radial-gradient(circle at 35% 30%,
            rgba(19,19,19,0.1) 20%,
            rgba(19, 19, 19, 1) 70%) no-repeat 50% 50%,
            linear-gradient(to bottom, 
            rgba(255,255,255,0.25) 0%,
            rgba(255,255,255,0.25) 100%) no-repeat 50% 50%,
            url(https://cdnssinc-prod.softserveinc.com/img/your_journey/transform/img-noise-350x350.png);
  background-size: 100% 100%, 100% 100%, 100% 100%, auto auto;
}

.title-content.stars-background::after {  
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 60vh;
  pointer-events: none;
  background: url('https://cdnssinc-prod.softserveinc.com/img/your_journey/transform/stars.png') 50% 50%,
              url('https://cdnssinc-prod.softserveinc.com/img/about-us/our-values/stars-our-values.png') 50% 50%;
  background-size: auto 100%, auto 100%;
}

.title-wrapper {
  padding: 0 5vw;
  box-sizing: content-box;
  margin: 0 auto;
  position: relative;
  min-height: 100vh;
  max-width: 940px;
}


.shrinked-section .title-wrapper {
  max-width: 940px;
  text-align: center;
  min-height: auto;
}

.title-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.shrinked-section .title-container {
  position: relative;
  top: 0;
  left: 0;
  transform: translate(0, 0);
  display: inline-block;
  padding: 10vh 0 0;
}

.content-restricted-heading .title-container {
  display: block;
}

.heading-pulled-up .title-container {
  top: 40%;
}

.title-heading-container {
  text-align: center;
  position: relative;
}

.title-heading {
  left: 50%;
  top: 50%;
  margin: 0;
  font-size: 10vw;
  font-weight: normal;
  text-align: left;
  text-transform: uppercase;
  line-height: 0.91;
  color: #000;
  color: var(--title-head-color);
  user-select: none;
  font-family: 'Biotif-Black';
}

.uk-ua .team .title-heading {
  font-size: 12.5vw;
  line-height: 1.015;
}

.uk-ua .corp-values .title-heading {
  font-size: 16vw;
}

.content-restricted-heading .title-heading {
  font-size: 25vmin;
}

.title-anchor {
  width: 20px;
  height: 20px;
  display: block;
  position: absolute;
  opacity: 0.4;
  bottom: 25px;
  left: 0;
  right: 0;
  margin: 0 auto;
  font-size: 20px;
  text-indent: 100%;
  overflow: hidden;
  white-space: nowrap;
  transition: opacity 0.3s;
}

.title-anchor::before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  background: url('https://cdnssinc-prod.softserveinc.com/img/your_journey/transform/arrow_white.svg') no-repeat 50% 50%;
}

.title-anchor:hover,
.title-anchor:focus {
  opacity: 1;
}

.title-anchor:focus {
  outline: none;
}

.title-heading .small,
.title-heading div {
  display: block;
  font-size: 0.48em;
  line-height: 1;
  padding-left: 0.085em;
}

.title-heading .break::after,
.title-heading span:not(.crystall)::after {
  content: '\A';
  display: block;
}

.title-description,
.home-title-description {
  position: absolute;
  top: 84%;
  right: 5vw;
  width: 40%;
  font-size: 34px;
  line-height: normal;
  text-align: left;
  margin: 0;
  color: #000;
  font-family: 'Biotif-Regular';
}

.uk-ua .wide-desc .title-description {
  font-size: 34px;
  width: 65%;
  top: 65%;
}

/*.de-de .title-description:not(.home-title-description) {
  top: 65%;
  width: 55%;
}*/

.de-de .title-description {
  top: 65%;
  width: 55%;
}

@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px)
and (-webkit-min-device-pixel-ratio: 1) {
  .de-de .bewerbung .title-description {
    top: 40%;
    width: 60%;
    right: -9vw;
  }
}


@media (min-width: 480px) and (max-height: 768px) {
  .de-de .bewerbung .title-description {
    top: 40%;
    width: 60%;
    right: -9vw;
  }
}

@media (max-width: 1024px) {
  .uk-ua .wide-desc .title-description {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .uk-ua .wide-desc .title-description {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .uk-ua .wide-desc .title-description {
    font-size: 14px;
  }
}


.content-restricted-heading .title-wrapper {
  padding-top: 60px;
  padding-bottom: 60px;
}

.content-restricted-heading .title-description,
.content-restricted-heading .home-title-description{
  top: auto;
  bottom: 0;
}

.title-description::before,
.home-title-description:before {
  content: '';
  display: block;
  height: 2px;
  width: 32px;
  position: absolute;
  right: 100%;
  top: 0.6em;
  margin-right: 0.5em;
  background-color: #fff; 
  /* it crushes styles in Edge 40.15 - remove if needed
    background-color: var(--title-desc-color); 
  */
}

.shrinked-section .title-description {
  right: 0;
}

.wide-desc .title-description ,
.wide-desc .home-title-description{
  width: 70%;
  right: 0;
}

.static-desc .title-container {
  position: static;
  transform: translate(0, 0);
}

.static-desc .title-heading-container {
  position: relative;
  height: 100vh;
}


.static-desc .title-heading {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.static-desc .title-description,
.static-desc .home-title-description {  
  position: relative;
  margin-top: 50px;
  padding-top: 20px;
  width: 100%;
  max-width: 750px;
  top: 0;
  left: 0;
}

.static-desc .title-description::before,
.static-desc .home-title-description::before{
  width: 45%;
  top: 0;
  left: 0;
  right: auto;
}

.title-content .title-btn {
  margin-top: 0;
  border: 2px solid var(--title-desc-color);
  color: var(--title-desc-color);
  position: absolute;
  transform: translateY(-10vh);
  bottom: 50px;
  left: 0;
  right: 0;
  margin: 0 auto;
  padding: 0;
  line-height: 56px;
  height: 60px;
  text-align: center;
  vertical-align: middle;
}


@media (-moz-touch-enabled: 0), (pointer: fine)  {
  .title-btn:hover {
    background-color: var(--title-desc-color);
    color: var(--title-head-color)
  }
}


.content-restricted-heading .title-description.long-description{
    top: 70%;
}

@media (min-width: 1600px){
  .wide-desc .title-description,
  .wide-desc .home-title-description {
    width: 40%;
  }

}

@media (min-width: 1440px){
  .wide-desc .title-description,
  .wide-desc .home-title-description{
    width: 50%;
  }
}

@media (max-width: 1200px){
    .content-restricted-heading .title-heading.long-heading{
        font-size: 19vmin;
    }
  .title-description,
  .home-title-description {  
    font-size: 28px;
  }
}


@media (min-width: 1024px){
  .content-restricted-heading .title-heading {
      font-size: 250px;
  }
  
  .title-content .title-btn {
    transform: translateY(-10vh);    
  }
}


@media (max-height: 720px) {
  .title-content .title-btn {
    transform: translateY(5vh);    
  }
}


@media (max-width: 768px){
  .title-description,
  .home-title-description {  
    font-size: 20px;
    min-width: 70%;
  }
  
  .title-description::before,
  .home-title-description::before {  
    width: 16px;
  }
  .title-content .title-btn {
    transform: translateY(-5vh);    
  }
}


@media (max-width: 480px){
  .heading-pulled-up .title-container {
    top: 40%;
  }
  .title-description,
  .home-title-description {  
    font-size: 14px;
    min-width: 80%;
  }
}

/* inverted styles */

.invert {
  /*background-color: #fff;*/
}

.invert::before {
  background: radial-gradient(circle at 40% 50%,
              rgba(208, 208, 208, 1) 5%,
              rgba(208, 208, 208, 0) 65%
              ) no-repeat 50% 50%;
  z-index: 0;
  height: 100vw;
  top: 50%;
  transform: translateY(-60%);
}

.invert .title-description,
.invert .home-title-description {
  /* text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); */
}


.invert .title-description::before,
.invert .home-title-description::before {
  box-shadow: 2px 2px 5px 0 rgba(0, 0, 0, 0.7);
}


.invert.static-desc::before {
  top: 100vh;
  bottom: auto;
  transform: none;
  background: linear-gradient(to bottom,
    rgba(215, 215, 215, 1) 0,
    rgba(215, 215, 215, 0) 50vh);
  z-index: 0;
  height: 50vh;
}

.invert.static-desc .title-description,
.invert.static-desc .home-title-description {
  text-shadow: none;
  color: #000;
}
.invert.static-desc .title-description::before,
.invert.static-desc .home-title-description::before {
  background-color: #000;
  box-shadow: none;
}
