.main-wrapper {
  background-color: #fff;
  overflow: visible !important;
}

.title-section {
  overflow: hidden;
}

.title-section::before {
  content: '';
  position: fixed;
  top: 0;
  width: 50vw;
  width: 50vmax;
  max-width: 100vw;
  height: 60vw;
  height: 60vmin;
  z-index: 1001;
  transition: height 0.3s, width 0.3s, transform 0.3s, left 0.3s, opacity 0.3s;
  pointer-events: none;
}

.on-scroll .title-section::before {
  height: 150px;
  width: 50vw;
}

.title-section.start::before {
  left: 0;
  transform: translateY(-50%);
}

.title-section::before {
  left: 100%;
  transform: translateY(-50%) translateX(-100%);
}

@media (max-width: 768px) {
  .on-scroll .title-section::before {
    height: 100px;
    width: 40vw;
  }
}

.reveal.title-section::before {
  background: radial-gradient(
               ellipse at center,
               rgba(34, 209, 168, 1) 15%,
               rgba(4, 179, 138, 0.25) 45%, 
               rgba(4, 179, 138, 0.05) 60%,
               rgba(255, 255, 255, 0) 70%);
}

.transform.title-section::before {
  background: radial-gradient(
                     ellipse at center,
                     rgba(255, 98, 211, 1) 15%,
                     rgba(255, 68, 181, 0.25) 45%, 
                     rgba(255, 68, 181, 0.05) 60%,
                     rgba(255, 255, 255, 0) 70%);
}

.nav-open .title-section::before {
  opacity: 0;
}

.accelerate.title-section::before {
  background-image: radial-gradient(
                     ellipse at center,
                     rgba(41, 200, 239, 1) 15%,
                     rgba(11, 170, 209, 0.25) 45%, 
                     rgba(11, 170, 209, 0.05) 60%,
                     rgba(255, 255, 255, 0) 70%);
}


.optimize.title-section::before {
  background-image: radial-gradient(
                     ellipse at center,
                     rgba(255, 139, 65, 1) 15%,
                     rgba(253, 109, 35, 0.25) 45%, 
                     rgba(253, 109, 35, 0.05) 60%,
                     rgba(255, 255, 255, 0) 70%);
}

.reveal .title-container {
  padding-right: 25vw;
}

.title-description {
  width: 25vw;
  font-size: 2.7vw;
  right: 0;
  top: auto;
  bottom: 3vw;
}


.uk-ua .title-description {
  width: 60%;
  top: 70%;
}


.uk-ua .title-heading {
  line-height: 0.9;
  font-size: 13vw;
}

@media (max-width: 768px) {  
  .title-description {
    width: 32vw;
    font-size: 3.5vw;
    min-width: 0;
  }
}


@media (max-width: 480px) {
  
  .title-description {
    width: 150px;
    font-size: 18px;
  }
}

.title-nav-items {
  position: absolute;
  top: 50%;
  padding: 0;
  margin: 0;
  transform: transformY(-50%);
  list-style: none;
  width: 100%;
}

.title-nav-item {
  position: absolute;
}

.left-title-nav-item {
  left: 0;
}

.right-title-nav-item {
  right: 0;
}

.left-title-nav-item {
  transform: perspective(1px) translateZ(0px) translateX(-50%) rotate(-90deg) translateY(50%) translateY(20px);
}

.right-title-nav-item {
  transform: perspective(1px) translateZ(0px) translateX(50%) rotate(-90deg) translateY(-50%) translateY(-20px);
}

.title-nav-link {
  color: #000;
  display: block;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  transition: opacity 0.3s;
  vertical-align: middle;
  opacity: 0.7;
}
.title-nav-link:hover {
  color: #000;
  text-decoration: none;
}

.title-nav-link::before {
  content: '';
  vertical-align: middle;
  display: inline-block;
  height: 24px;
  width: 14px;
  background-image: url('https://cdnssinc-prod.softserveinc.com/img/your_journey/transform/arrow.svg');
  background-position: 50% 50%;
  background-repeat: no-repeat;
  margin-right: 5px;
}


.left-title-nav-item .title-nav-link::before {
  transform: rotate(180deg);
} 

/*  */
@media (max-width: 768px) {  
  .title-nav-items {
/*     top: 80%; */
  }
  
  .left-title-nav-item {
/* 	  top:-220px; */
/*     transform: perspective(1px) translateZ(0px) translateX(3vw); */
  }
  
  .right-title-nav-item { 
/* 	  top:-220px; */
/*     transform: perspective(1px) translateZ(0px) translateX(-3vw); */
  }
  .title-nav-link::before {
/*     position: absolute;
    margin-right: 0; */
  }
  .right-title-nav-item .title-nav-link {
/* 	right: -150px;
    top: -178px;
    transform: rotate(270deg); */
/*     padding-right: 25px; */
  }
  
  .left-title-nav-item .title-nav-link {
/*     right: 133px;
    top: -135px;
    transform: rotate(270deg); */
    padding-left: 25px;
  }
  
  .right-title-nav-item .title-nav-link::before {
/*     transform: rotate(360deg);
    right: 0px; */
  } 
  
  .left-title-nav-item .title-nav-link::before {
    transform: rotate(180deg);
    left: 0;
  } 


}

@media (-moz-touch-enabled: 0), (pointer: fine) and (min-width: 768px)  {
  
  .title-nav-link {
    opacity: 0.3;
  }
  
  
  .title-nav-link:hover {
    opacity: 0.7;
  }
  
  .title-nav-link::after {
    content: '';
    position: absolute;
    left: 50%;
    width: 50vw;
    height: 50vw;
    pointer-events: none;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
  }
  
  .title-nav-link:hover::after {
    opacity: 1;
  }
  
  .left-title-nav-item .title-nav-link::after {
    transform: translateX(-50%) translateY(-50%);
    top: -20px;
  }
  
  .right-title-nav-item .title-nav-link::after {
    transform: translateX(-50%) translateY(50%);
    bottom: -20px;
  }
  
  .transform .left-title-nav-item .title-nav-link::after {
    background: radial-gradient(
                 ellipse at center,
                 rgba(34, 209, 168,0.7) 5%,
                 rgba(4, 179, 138, 0.25) 40%, 
                 rgba(4, 179, 138, 0.05) 60%,
                 rgba(255, 255, 255, 0) 70%);
  }
  
  .accelerate .left-title-nav-item .title-nav-link::after,
  .reveal .right-title-nav-item .title-nav-link::after {
    background: radial-gradient(
                       ellipse at center,
                       rgba(255, 98, 211, 0.7) 5%,
                       rgba(255, 68, 181, 0.25) 40%, 
                       rgba(255, 68, 181, 0.05) 60%,
                       rgba(255, 255, 255, 0) 70%);
  }
  
  
  .optimize .left-title-nav-item .title-nav-link::after,
  .transform .right-title-nav-item .title-nav-link::after {
    background-image: radial-gradient(
                       ellipse at center,
                       rgba(41, 200, 239, 0.7) 5%,
                       rgba(11, 170, 209, 0.25) 40%, 
                       rgba(11, 170, 209, 0.05) 60%,
                       rgba(255, 255, 255, 0) 70%);
  }
  
  
  .accelerate .right-title-nav-item .title-nav-link::after {
    background-image: radial-gradient(
                       ellipse at center,
                       rgba(255, 139, 65, 0.7) 5%,
                       rgba(253, 109, 35, 0.25) 40%, 
                       rgba(253, 109, 35, 0.05) 60%,
                       rgba(255, 255, 255, 0) 70%);
  }  
}

.description-section {
/*   height: 100vh; */
  position: relative;
  overflow: hidden;
  background-color: #131313;
  background-image: url('https://cdnssinc-prod.softserveinc.com/img/your_journey/transform/stars.png');
}


.description-wrapper {
  position: relative;
  margin-bottom: 50px;
  z-index: 3;
  display: flex;
  align-items: center;
  height: 100%;
}

.description-section::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
  width: 100%;
  height: 100%;
}


.description-content {
  margin: 40px 0 40px;
  font-family: ProximaNova-Extrabld;
  font-size: 24px;
  font-weight: normal;
  line-height: normal;
  letter-spacing: 0.3px;
  text-align: left;
  padding: 20px 0;
  position: relative;
  width: 75%;
  max-width: 700px;
  color: #fff;
}


.description-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 2px;
  background-color: #fff;
}


.description-content::after {
  content: '';
  max-height: 352px;
  max-width: 343px;
  width: 30vw;
  height: 30.78vw;
  position: absolute;
  top: 0;
  left: 90%;
  transform: translateY(-50%);
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: 100% auto;
  z-index: -1;
}

.transform .description-content::after {
  background-image: url('https://cdnssinc-prod.softserveinc.com/img/your_journey/transform/moon.png');
}
.reveal .description-content::after {
  background-image: url('https://cdnssinc-prod.softserveinc.com/img/your_journey/transform/jupiter.png');
}
.accelerate .description-content::after {
  background-image: url('https://cdnssinc-prod.softserveinc.com/img/your_journey/transform/saturn.png');
}
.optimize .description-content::after {
  background-image: url('https://cdnssinc-prod.softserveinc.com/img/your_journey/transform/planet.png');
}



@media (max-width: 1024px) {
  .description-content {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .description-content {
    font-size: 18px;
    width: 100%;
  }
  .description-content::after {
    left: auto;
    right: 0;
    top: auto;
    bottom: 100%;
    transform: none;
  }
}


.journey-resources-wrapper.wrapper {
  min-height: 100vh;
  padding-top: 62px;
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .journey-resources-wrapper.wrapper {
    align-items: flex-start;
  }

}

.resource-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-content: center;
  align-items: stretch;
  width: 100%;
  flex-wrap: wrap;
}

.resource-item {
  margin: 15px 0;
  flex-basis: 25%;
  flex-grow: 1;
  color: #000;
  display: flex;
  flex-direction: column;
}

.resource-heading {
  text-transform: uppercase;
  font-family: ProximaNova-Extrabld;
  font-size: 16px;
}

@media (min-width: 769px) {
  .resource-item {
    margin: 15px;
  }
  .resource-item:nth-child(3n-2) {
    margin-left: 0;
  }
  .resource-item:nth-child(3n) {
    margin-right: 0;
  }
}

@media (max-width: 768px) {
  .resource-item {
    display: none;
  }
  .resource-item:nth-child(1),
  .resource-item:nth-child(2),
  .resource-item:nth-child(3) {
    display: block;
  }
}

.journey-resources-section {
  border-bottom: 1px solid #000;
}
.resource-ref {
  display: block;
  padding: 20px;
  font-family: ProximaNova-Extrabld;
  font-size: 26px;
  line-height: normal;
  letter-spacing: normal;
  text-align: left;
  text-decoration: none;
  color: #000;
  flex-grow: 1;
}


.resource-ref:hover {
  color: #000;
}


@media (-moz-touch-enabled: 0), (pointer: fine)  {
  .resource-ref {
    position: relative;
  }
  
  .resource-ref::before,
  .resource-ref::after {
    content: '';
    position: absolute;
    display: block;
    height: 0;
    width: 0;
    z-index: 0;
    box-sizing: border-box;
    border: 2px solid transparent;
  }
  
  .resource-ref:hover::before,
  .resource-ref:hover::after {
    width: 100%;
    height: 100%;
    border-color: #000;
    pointer-events: none;
  }
  
  .resource-ref:hover::before {
    transition: width 0.3s, height 0.3s 0.3s;
    border-left: none;
    border-bottom: none;
  }
  .resource-ref:hover::after {
    transition: width 0.3s 0.6s, height 0.3s 0.9s, border-color 0s 0.6s;
    border-right: none;
    border-top: none;
  }
  
  .resource-ref::before {
    top: 0;
    left: 0;
  }
  .resource-ref::after {
    bottom: 0;
    right: 0;
  }
}

@media (-moz-touch-enabled: 1), (pointer: coarse)  {
  .resource-ref {
    border: 2px solid #000;
  }
}

.resource-ref:hover {
  text-decoration: none;
}

@media (max-width: 1024px) {
  .resource-ref {
    font-size: 18px;
  }

}

@media (max-width: 768px) {
  .resource-item {
    flex-basis: 100%;
    max-width: 480px;
  }
  
  .resource-items {
    flex-wrap: wrap;
    justify-content: center;
  }

}