body {
  margin: 0;
  padding: 0;
  font: 300 106%/1.5 Roboto, "Helvetica Neue", sans-serif;
}

g {
  animation: animAgile 2s cubic-bezier(0, 0.23, 1, .1);
  stroke-dasharray: 400;
}

header {
  transition: clip-path 0.7s, height 1s;
  background: linear-gradient(to right, #004fb8 0%, #009bd8 100%);
  clip-path: polygon(0% 0%, 100% 0em, 100% calc(65%), 0% 100%);
  height: 114px;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
}
#karditsa {
  background: #1099ff;
  color: white;
  position: absolute;
  top: 136px;
  right: 160px;
  padding: 4px;
  border-radius: 6px;
  z-index: 100;
  cursor: pointer;
  transition: 3s;
  opacity: 0;
}
#karditsa:hover {
  background: #00d9ef;
}

#bioOptions {
  position: absolute;
  top: 0;
  font-size: 40px;
  left: 215%;
  color: #fff;
  width: max-content;
  animation: bioOptions 5s cubic-bezier(0, 0, 0, 0) 4s 8;
}

@keyframes bioOptions {

  33% {
    color: aquamarine;
  }

  66% {
    color: cornflowerblue;
  }

  100% {
    color: white;
  }
}
.geoDirectors {
      transform: translateY(calc(50%));
      display: block;
      text-align: center;
      font-size: 18px;
}

#prolife {
  position: relative;
  height: 100vh;
  background: linear-gradient(#00b4cf57, rgba(17, 153, 255, 0.44)), url(proLife.jpg) bottom/cover;
  clip-path: polygon(0% 0%, 100% 0em, 100% calc(100%), 0% 87%);
  width: 100%;
  z-index: -1;
  background-attachment: fixed;
}

/* Dummy_item */
#dummy {
  position: absolute;
  top: 32%;
  width: 15%;
}


.menuItem {
  height: 3em;
  width: 200px;
  margin: 1em 1.25em;
  mix-blend-mode: overlay;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.75);
  transition: transform 0.5s cubic-bezier(0.7, 0, 0.3, 1),background-color 1s ease 0s, color 1s ease 0s, box-shadow 1s ease 0s;
  /* transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1); */
    transform: translate3d(-100%, 0, 0) translate3d(-2em, 0, 0) scale3d(0.5, 1, 1);
    transform-origin: 100% 50%;
    cursor: pointer;
    user-select: none;
    
}



.device--alt .menuItem {
  transform: translate3d(0, 260px, 0) scale3d(1, 0.2, 1);
  color: white;
}

.dummy--active .menuItem {
  transition-timing-function: cubic-bezier(0.56, 1.19, 0.2, 1.05);
  transform: translate3d(0, 0, 0);
   transition: transform 0.5s cubic-bezier(0.7, 0, 0.3, 1),
   background-color 1s ease,
   color 1s ease,
   box-shadow 0s ease;

}

.menuItem:nth-child(4),
.dummy--active .menuItem:first-child {
  transition-delay: 0.05s;
}

.menuItem:nth-child(3),
.dummy--active .menuItem:nth-child(2) {
  transition-delay: 0.1s;
}

.menuItem:nth-child(2),
.dummy--active .menuItem:nth-child(3) {
  transition-delay: 0.15s;
}

.menuItem:first-child,
.dummy--active .menuItem:nth-child(4) {
  transition-delay: 0.2s;
}

/*_____End of Dummy_item */





/* Dummy agile */
.menuItem:hover{
    color:#fff;
    box-shadow: 0px 1px 6px 2px black;
}
.dummyActive {
  color:#fff;
  box-shadow: 0px 1px 6px 2px black;
}

/* Very tough to brake the selector priority of this .menuItem:first-child,
.dummy--active .menuItem:nth-child(4) {transition-delay: 0.2s;}  .....But not for the king of the selectors ..the Id
*/
#dummy .dummyActive:active { 
  transition-delay: 0ms;
  box-shadow: 0px 0px 0px 1px black;
}

.menuItem:nth-child(1):hover,
.dummyActive:first-child {
  background-color: #35bc7d;

}

.menuItem:nth-child(2):hover,
.dummyActive:nth-child(2) {
  background-color: #0084ce;

}

.menuItem:nth-child(3):hover,
.dummyActive:nth-child(3) {
  background-color: #35a8bc;
}

.menuItem:nth-child(4):hover,
.dummyActive:nth-child(4) {
 background-color:#436dfe;
}
/*_____End of Dummy agile */

#middle {
  box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2),
    0px 4px 5px 0px rgba(0, 0, 0, 0.14),
    0px 1px 10px 0px rgba(0, 0, 0, 0.12);
  background-color: white;
  opacity: 0.6;
  margin-top: 100%;
}

#svgContainer svg {
  overflow: visible;
  display: inline;
}

#svgContainer {
  position: absolute;
  top: 12px;
  width: 330px;
  margin-left: 50%;
  transform: translateX(-50%);
  transition: margin-left 3s, width 1s;
}

g:hover .st2 {
  fill: #009bd8;
}

/* Button function */
.menu-icon-wrapper {
  position: relative;
  display: inline-block;
  width: 2%;
  height: 34px;
  margin: 2em;
  pointer-events: none;
  transition: 3s;
  opacity: 0;
  transform: scale(0.5);
  top: 0%;
  left: 0%;
  display: none;
}

.menu-icon-wrapper svg {
  position: absolute;
  top: -33px;
  left: -50px;
  transform: scale(0.1);
  transform-origin: 0 0;
  background: linear-gradient(to right, #009bd8 0%, #00ffbb03 100%);
  clip-path: circle(42%);
}

.menu-icon-wrapper svg path {
  stroke: #fff;
  stroke-width: 60px;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: transparent;
  animation: inBallRotate 2s ease-in 3s infinite alternate;
  animation: name duration timing-function delay iteration-count direction fill-mode;
}


.menu-icon-wrapper .menu-icon-trigger {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
  pointer-events: auto;
  background: none;
  border: none;
  margin: 0;
  padding: 0;
  outline: 0;
    transform: translate3d(-50%, -4%, 0);
}

/*  */
#first {
  transform: translateY(1px);
}

#first-a {
  transform-origin: 41% 57.5%;
  animation: animAgile1 4s cubic-bezier(0, 0.23, 1, .1);
}

#second-a {
  transform-origin: 69% 7.5%;
  animation: animAgile1_1 4s cubic-bezier(0, 0.23, 1, .1);
}

#second {
  animation-name: animAgile1_2;
  animation-duration: 6s;
  animation-fill-mode: forwards;
  transform-origin: 12% 68%;
}

#third {
  animation-name: animAgile1_3;
  animation-duration: 6s;
  animation-fill-mode: forwards;
  transform-origin: 23% 68.7%;
}

/** Dot Animation **/
#dot {
  transition: fill 6s;
  transform-origin: 23.6% 17.5%;
  animation-name: animAgile2;
  animation-duration: 1s;
  animation-delay: 4s;
  animation-fill-mode: forwards;
  d: path('M 254 118.6 c 8.5 0 15.4 6.9 15.4 15.4 s -6.9 15.4 -15.4 15.4 s -15.4 -6.9 -15.4 -15.4 S 245.5 118.6 254 118.6 Z');
  transform: translate(0px, -120%);
}

.bar {
  clip-path: polygon(0% 0%, 100% 0em, 100% calc(100%), 0% 100%);

  clip-path: none;
}

#marsNavigator {
  color: white;
  font-size: 125%;
  background: #ff6363;
  position: relative;

}

.overlay {
  background-image: url(overlay-pattern.png) !important;
  background-repeat: repeat;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

#map {
  height: 365px;
  width: 420px;
  background-color: #0084ce;
  border-radius: 24%;
  mix-blend-mode: hard-light;
  top: 182px;
  right: 47px;
  position: absolute !important;
  box-shadow: 0px 3px 25px 6px #00000070;
  border-width: 2px;
  border-color: #0061b6;
  border-style: ridge;
  visibility: hidden;
  transition: opacity 3s;

}

#diva {
  background-color: white;
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  z-index: 1;
  opacity: 1;
}
/* -------------------The slider effect && The big slider effect---------------- */
#container {
    width: 30%;
    height: 90%;
    margin-left: 38.4%;
    bottom: 30px;
    position: absolute;
    display: none;
}
#containerBig {
width: 29%;
    height: 82%;
    margin-left: 12.7%;
    bottom: 5%;
position: absolute;
}

#slideshow {
  position:relative;
  overflow: hidden;
  height: 51%;
}
#slideshowBig {
    position: relative;
    overflow: hidden;
    height: 100%;
}

#roller {
  transition: transform 500ms cubic-bezier(0.8, 0, 0.2, 1);
  width: 100%;
  height: 400%;
  list-style-type: none;
  margin:0;
  padding:0;
  transform: translateY(25%);
}
#rollerBig {
  transition: transform 500ms cubic-bezier(0.8, 0, 0.2, 1);
  width: 100%;
  height: 100%;
  list-style-type: none;
  margin: 0;
  padding: 0;
  position: relative;
  transform: translateX(100%);
}
.liBoxes {
  height: 25%;
  display: block;
  margin: 0;
  position: relative;
  color: white;
}
#slideshowBig .liBoxes {
    height: 100%;
    width:100%;
    position: absolute;
    transition: transform 700ms cubic-bezier(0.8, 0, 0.2, 1);
}
.liBoxes > svg {
  opacity: 0.7;
  position: relative;
  fill: #35bc7d;
}

.liBoxes:nth-child(2)>svg {
    fill: #358ebc;
}
.liBoxes:nth-child(3)>svg {
  fill: #35a8bc;
}
.liBoxes:nth-child(4)>svg {
  fill: #436dfe;
}
.slide {
  position: absolute;
  top: 0;
  left: 16%;
  right: 16%;
  white-space: initial;
  text-align: center;
}

nav span {
  position: absolute;
  width: 50px;
  height: 50px;
  color: #fff;
  border-radius: 50%;
  background: rgba(43, 65, 77, 0.1);
  font-size: 50px;
  text-align: center;
  line-height: 47px;
  cursor: pointer;
  font-weight: normal;
  bottom: 30px;
  opacity: 0.8;
  font-family: 'Flamenco', Arial, sans-serif;
  user-select: none;
}

nav span:hover {
  opacity: 1;
}

nav span.disabled,
nav span.disabled:hover {
  opacity: 0.2;
  cursor: default;
}

nav span.next {
  right: 50%;
  transform: translateX(120%);
}

nav span.prev {
  left: 50%;
  transform: translateX(-120%);
}



/* KeyFrames */
@keyframes animAgile {
  0% {
    stroke-dashoffset: 400;
    fill-opacity: 0;
  }

  100% {
    stroke-dashoffset: 0;
    fill-opacity: 1;
  }
}

@keyframes animAgile1 {
  0% {
    transform: rotate(180deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes animAgile1h {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes animAgile1_1 {
  0% {
    transform: rotateY(180deg);
  }

  100% {
    transform: rotateY(0deg);
  }
}

@keyframes animAgile1_2 {
  0% {
    transform: rotate(180deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

@keyframes animAgile1_3 {
  0% {
    transform: rotate(-180deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

@keyframes animAgile2 {
  30% {
    transform: translate(0px, 0px);
  }

  50% {
    fill: #00D9EF;
    d: path('M 254 190.6 c 8.5 0 15.4 6.9 15.4 15.4 s -6.9 15.4 -15.4 15.4 s -15.4 -6.9 -15.4 -15.4 S 245.5 118.6 254 118.6 Z');
  }

  100% {
    transform: translate(0px, 0px);
    d: path('M 254 118.6 c 8.5 0 15.4 6.9 15.4 15.4 s -6.9 15.4 -15.4 15.4 s -15.4 -6.9 -15.4 -15.4 S 245.5 118.6 254 118.6 Z');
  }
}

/* Somethink new */
@keyframes animAgile3 {
  0% {
    transform: translate(0px, 0px);
    d: path('M 254 190.6 c 8.5 0 15.4 6.9 15.4 15.4 s -6.9 15.4 -15.4 15.4 s -15.4 -6.9 -15.4 -15.4 S 245.5 118.6 254 118.6 Z');
  }

  50% {
    d: path('M 254 190.6 c 8.5 0 15.4 6.9 15.4 15.4 s -6.9 15.4 -15.4 15.4 s -15.4 -6.9 -15.4 -15.4 S 245.5 118.6 254 118.6 Z');
  }

  100% {
    d: path('M 254 118.6 c 8.5 0 15.4 6.9 15.4 15.4 s -6.9 15.4 -15.4 15.4 s -15.4 -6.9 -15.4 -15.4 S 245.5 118.6 254 118.6 Z');
  }
}



/* Button is alive!*/
/* KeyFrames */
@keyframes aliveButton {
  0% {
    top: 0%;
    left: 0%;
  }

  25% {
    top: 8%;
    left: 8%;
    transform: scale(0.5);
  }


  100% {
    top: 90%;
    left: 0%;
  }

}

@keyframes aliveButtonFuck {
  0% {
    top: 90%;
    left: 0%;
  }

  20% {
    top: 8%;
    left: 8%;
    transform: scale(0.5);
  }


  100% {
    top: 0%;
    left: 0%;
  }

}
/* The Cursor */

.textCursor {
  margin-left: -0.4%;
  visibility: hidden;
}

.animeCursor {
  animation: flashCursor 1s infinite;
}
.related {
  margin-top: 20%;

}

.underLine {
  transition: width 1s;
  background-color: rgba(0, 39, 251);
  height: 1px;
  left: 0;
  padding: 0;
  position: relative;
  width: 0%;
  margin: auto;
}

@keyframes flashCursor {
  0% {
    opacity: 1;
  }

  49% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }

  99% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}
