:root {
    --background-color: #fdfdfd;
    --dark-bg-color: rgb(20, 20, 20);
    --font-family-main: 'Advent Pro', sans-serif;
    --font-familly-bold: 'Acme', sans-serif;
    --blue: #B9CCDB;
    --blue-shadows: 0px 0px 3px 6px rgba(185, 204, 219, 0.4), 0px 0px 1px 2px rgba(185, 204, 219, 0.8);
  }
  

  .left_eyes .left_eye svg path {
    fill: none;
    stroke: var(--dark-bg-color);
    stroke-width: 6;
    stroke-linecap: round;
    transition: all 1s ease-in-out;
    -webkit-transition: all 1s ease-in-out;
    -moz-transition: all 1s ease-in-out;
  }


  .right_eyes .right_eye .right_eye_frame svg path {
    fill: none;
    stroke: var(--dark-bg-color);
    stroke-width: 6;
    stroke-linecap: round;
    transition: all 1s ease-in-out;
    -webkit-transition: all 1s ease-in-out;
    -moz-transition: all 1s ease-in-out;
  }

/*------------------------------------*/

  body {
    background-color: var(--background-color);
    overflow-x: hidden;
    transition: all 1s ease-in-out;
    -webkit-transition: all 1s ease-in-out;
    -moz-transition: all 1s ease-in-out;
    font-family: var(--font-family-main);
    max-width: 1200px;
  } 

  
  /*-----------------------------------*/

  .logo_flex_outer {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: absolute;
    width: 100vw;
    height: 100%;
    margin: 0 auto;
    margin-left: 13em;
    transition: all 1s cubic-bezier(.5,.22,.23,.94);
    -webkit-transition: all 1s cubic-bezier(.5,.22,.23,.94);
    -moz-transition: all 1s cubic-bezier(.5,.22,.23,.94);
    top: 0;
  }

  .logo_fixed{
    position: fixed;
    top: 1%;
    transform: scale(0.19);
    -webkit-transform: scale(0.19);
    -moz-transform: scale(0.19);
    z-index: 100;
    margin-left: 0em;
    height: 10vh;
  }

  .logo_flex {
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
  }

  .logo_flex:last-child {
    margin-left: -50px;
  }

  .svg_bigO{
    width: 300px;
  }

  .svg_bigO path{
    stroke: var(--dark-bg-color);
    stroke-width: 10;
    stroke-linecap: round;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: dash 3s cubic-bezier(.55,.09,.46,.55) forwards;
    -webkit-animation: dash 3s cubic-bezier(.55,.09,.46,.55) forwards;
    -moz-animation: dash 3s cubic-bezier(.55,.09,.46,.55) forwards;
    transition: all 1s ease-in-out;
    -webkit-transition: all 1s ease-in-out;
    -moz-transition: all 1s ease-in-out;
  }

  .svg_m {
    position: absolute;
    width: 160px;
  }

  .svg_m path {
    padding: 20px;
    stroke: var(--dark-bg-color);
    stroke-width: 10;
    stroke-linecap: round;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: dash 3s cubic-bezier(.74,.38,.12,.75) forwards;
    -webkit-animation: dash 3s cubic-bezier(.74,.38,.12,.75) forwards;
    -moz-animation: dash 3s cubic-bezier(.74,.38,.12,.75) forwards;
    animation-delay: 1.8s;
    -webkit-animation-delay: 1.8s;
    -moz-animation-delay: 1.8s;
    transition: all 1s ease-in-out;
    -webkit-transition: all 1s ease-in-out;
    -moz-transition: all 1s ease-in-out;
  }

  .svg_o, .svg_z {
    width: 110px;
    padding-top: 74px;
    margin: -5px;
  }

  .svg_o path, .svg_z path {
    padding: 20px;
    stroke: var(--dark-bg-color);
    stroke-width: 10;
    stroke-linecap: round;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    transition: all 1s ease-in-out;
    -webkit-transition: all 1s ease-in-out;
    -moz-transition: all 1s ease-in-out;
  }

  .svg_o path{
    animation: dash 4s cubic-bezier(.74,.38,.12,.75) forwards;
    -webkit-animation: dash 4s cubic-bezier(.74,.38,.12,.75) forwards;
    -moz-animation: dash 4s cubic-bezier(.74,.38,.12,.75) forwards;
    animation-delay: 1.8s;
    -webkit-animation-delay: 1.8s;
    -moz-animation-delay: 1.8s;
  }

  .svg_z path {
    animation: dash 4s cubic-bezier(.74,.38,.12,.75) forwards;
    -webkit-animation: dash 4s cubic-bezier(.74,.38,.12,.75) forwards;
    -moz-animation: dash 4s cubic-bezier(.74,.38,.12,.75) forwards;
    animation-delay: 1.8s;
    -webkit-animation-delay: 1.8s;
    -moz-animation-delay: 1.8s;
  }

  @keyframes dash {
    to {
      stroke-dashoffset: 0;
    }
  }
/*------------------------------------------------------------*/



  /* ------------------- */

  .face_moving_box {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    width: 100vw;
    height: 100vh;
    position: relative;
    z-index: 10;
    top: 0;
  }

.face_flex {
  position: absolute;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  margin-right: 30em;
  margin-bottom: 5em;
  transform: scale(0.76);
  -webkit-transform: scale(0.76);
  -moz-transform: scale(0.76);
}

.face_inne_flex {
  display: flex;
  flex-direction: row;
  position: absolute;
  justify-content: center;
  align-items: center;
  margin: 0 auto; 
}

.face {
  position: absolute;
  z-index: 10;
  width: 400px;
  margin-top: 60%;
}

.face_mouth {
  width: 100px;
  height: 60px;
  position: relative;
  z-index: 15;
  transform: translateX(70px) translateY(54px) scale(1);
  -webkit-transform: translateX(70px) translateY(54px) scale(1);
  -moz-transform: translateX(70px) translateY(54px) scale(1);
  background-image: url(/img/mouthlines.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: all 0.2s linear;
  -webkit-transition: all 0.2s linear;
  -moz-transition: all 0.2s linear;
  animation: smile 10s linear infinite;
  -webkit-animation: smile 10s linear infinite;
  -moz-animation: smile 10s linear infinite;
}

@keyframes smile {
  0% {
    background-image: url(/img/mouthlines.svg);
    transform: translateX(70px) translateY(54px) scale(1);
    -webkit-transform: translateX(70px) translateY(54px) scale(1);
    -moz-transform: translateX(70px) translateY(54px) scale(1);
  }
  4% {
    background-image: url(/img/mouthlines.svg);
    transform: translateX(70px) translateY(54px) scale(1);
    -webkit-transform: translateX(70px) translateY(54px) scale(1);
    -moz-transform: translateX(70px) translateY(54px) scale(1);
  }
  5% {
    background-image: url(/img/smilelines.svg);
    transform: translateX(70px) translateY(54px) scale(0.9);
    -webkit-transform: translateX(70px) translateY(54px) scale(0.9);
    -moz-transform: translateX(70px) translateY(54px) scale(0.9);
  }
  39% {
    background-image: url(/img/smilelines.svg);
    transform: translateX(70px) translateY(54px) scale(0.9);
    -webkit-transform: translateX(70px) translateY(54px) scale(0.9);
    -moz-transform: translateX(70px) translateY(54px) scale(0.9);
  }
  40% {
    background-image: url(/img/mouthlines.svg);
    transform: translateX(70px) translateY(54px) scale(1);
    -webkit-transform: translateX(70px) translateY(54px) scale(1);
    -moz-transform: translateX(70px) translateY(54px) scale(1);
  }
  100% {
    background-image: url(/img/mouthlines.svg);
    transform: translateX(70px) translateY(54px) scale(1);
    -webkit-transform: translateX(70px) translateY(54px) scale(1);
    -moz-transform: translateX(70px) translateY(54px) scale(1);
  }
}

.face_eyes {
  width: 240px;
  height: 120px;
  position: relative;
  z-index: 15;
  transform: translateY(54px);
  -webkit-transform: translateY(54px);
  -moz-transform: translateY(54px);
  background-image: url(/img/closedeyeslines.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: all 0.2s linear;
  -webkit-transition: all 0.2s linear;
  -moz-transition: all 0.2s linear;
}

.face_eyes_load {
  animation: open_eyes 10s linear forwards;
  -webkit-animation: open_eyes 10s linear forwards;
  -moz-animation: open_eyes 10s linear forwards;
}

@keyframes open_eyes {
  0% {
    background-image: url(/img/closedeyeslines.svg);
  }
  10% {
    background-image: url(/img/closedeyeslines.svg);
  } 
  11% {
    background-image: url(/img/semieyeslines.svg);
  }
  12% {
    background-image: url(/img/semieyeslines.svg);
  }
  13% {
    background-image: url(/img/openedeyeslines.svg);
  }
  100% {
    background-image: url(/img/openedeyeslines.svg);
  }
}

@keyframes blink {
  0% {
    background-image: url(/img/openedeyeslines.svg);
  }
  60% {
    background-image: url(/img/openedeyeslines.svg);
  }
  61% {
    background-image: url(/img/semieyeslines.svg);
  }
  62% {
    background-image: url(/img/closedeyeslines.svg);
  }
  63% {
    background-image: url(/img/closedeyeslines.svg);
  }
  64% {
    background-image: url(/img/semieyeslines.svg);
  }
  65% {
    background-image: url(/img/openedeyeslines.svg);
  }
  100% {
    background-image: url(/img/openedeyeslines.svg);
  }
}

.blinking_eyes {
  animation: blink 10s linear infinite;
  -webkit-animation: blink 10s linear infinite;
  -moz-animation: blink 10s linear infinite;
}


/*----------------------------------*/

.arrow_down_flex {
  position: absolute;
  bottom: 5%;
  left: 50%;
  animation: makeItVisible 2s ease-in-out forwards;
  -webkit-animation: makeItVisible 2s ease-in-out forwards;
  -moz-animation: makeItVisible 2s ease-in-out forwards;
  animation-delay: 2.5s;
  -webkit-animation-delay: 2.5s;
  -moz-animation-delay: 2.5s;
  transform: scale(0);
  -webkit-transform: scale(0);
  -moz-transform: scale(0);
  transition: all 1s cubic-bezier(.5,.22,.23,.94);
  -webkit-transition: all 1s cubic-bezier(.5,.22,.23,.94);
  -moz-transition: all 1s cubic-bezier(.5,.22,.23,.94);
}

@keyframes makeItVisible {
  to {
    transform: scale(1);
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
  }
}

.arrow_box {
  width: 80px;
  height: 50px;
  background-image: url(/img/arrow_dark.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  animation: moving_arrow 3s ease-in-out infinite;
  -webkit-animation: moving_arrow 3s ease-in-out infinite;
  -moz-animation: moving_arrow 3s ease-in-out infinite;
  transition: all 1s cubic-bezier(.5,.22,.23,.94);
  -webkit-transition: all 1s cubic-bezier(.5,.22,.23,.94);
  -moz-transition: all 1s cubic-bezier(.5,.22,.23,.94);
}

@keyframes moving_arrow {
  0% {
    transform: translateY(0px);
    -webkit-transform: translateY(0px);
    -moz-transform: translateY(0px);
  }
  50% {
    transform: translateY(10px);
    -webkit-transform: translateY(10px);
    -moz-transform: translateY(10px);
  }
  100% {
    transform: translateY(0px);
    -webkit-transform: translateY(0px);
    -moz-transform: translateY(0px);
  }
}

.arrow_invisible {
  display: none;
}


/*----------------------------------*/

.first_section {
  height: 888px;
}

.second_section {
  padding-top: 10px;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  height: 100%;
  padding-top: 200px;
  padding-bottom: 4em;
}


#eye_section {
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 15vh;
  left: 0;
}

.third_section {
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  flex-direction: column;
  position: relative;
  z-index: 20;
  margin-top: 10em;
  transition: all 0.5s cubic-bezier(.08,.65,.91,.5);
  -webkit-transition: all 0.5s cubic-bezier(.08,.65,.91,.5);
  -moz-transition: all 0.5s cubic-bezier(.08,.65,.91,.5);
  padding-bottom: 200px;
}


/*---------------------------------------------------------*/

.about_section {
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  flex-direction: column;
  position: relative;
  z-index: 20;
  margin-top: -260px;
  padding-left: 200px;
  transition: all 0.5s cubic-bezier(.08,.65,.91,.5);
  -webkit-transition: all 0.5s cubic-bezier(.08,.65,.91,.5);
  -moz-transition: all 0.5s cubic-bezier(.08,.65,.91,.5);
  opacity: 0;
}

.about_container {
  padding: 2em;
  display: grid;
  grid-template-columns: repeat(5, 1);
  grid-template-rows: repeat(5, 1);
  grid-column-gap: 10px;
  grid-row-gap: 10px;
  }
  
  .about1 { 
    grid-area: 1 / 3 / 2 / 6; 
    display: flex;
    flex-flow: column;
  }

  .about1 p {
    font-size: 20pt;
    margin-bottom:auto;
  }

  .about2 { 
    grid-area: 2 / 3 / 4 / 6; 
    display: flex;
    flex-flow: column;
  }

  .about2 h1 {
    margin: auto;
    font-size: 64pt;
    line-height: 1em;
    font-family: var(--font-familly-bold);
  }

  .about3 { 
    grid-area: 4 / 3 / 5 / 5; 
    display: flex;
    flex-flow: column;
  }

  .about3 h2 {
    margin-top: auto;
    margin-bottom: auto;
    margin-left: auto;
    font-size: 40pt;
    font-weight: 600;
    line-height: 0.8em;
    text-align: right;
  }

  .about4 { 
    grid-area: 4 / 5 / 5 / 6; 
    display: flex;
    flex-flow: column;
  }

  .about4 p {
    font-size: 14pt;
    line-height: 0.8em;
    margin-top: auto;
    margin-bottom: auto;
    margin-right: auto;
    padding-top: 6px;
  }

  .about5 { 
    grid-area: 5 / 3 / 6 / 6; 
    display: flex;
    flex-flow: column;
    width: 300px;
  } 

  .about5 p{
    font-size: 16pt;
    line-height: 1em;
    margin-top: auto;
    margin-bottom: auto;
    margin-right: auto;
    padding-top: 6px;
    text-align: justify;
  }

.about_button {
  position: relative;
  z-index: 100;
  background: none;
  border-radius: 20px;
  border: 2px solid var(--blue);
  transition: all 0.5s cubic-bezier(.08,.65,.91,.5);
  -webkit-transition: all 0.5s cubic-bezier(.08,.65,.91,.5);
  -moz-transition: all 0.5s cubic-bezier(.08,.65,.91,.5);
  cursor: pointer;
  z-index: 80;
}

.about_button p{
  font-size: 20pt;
  font-family: var(--font-family-main);
  font-weight: 600;
  transition: all 0.5s cubic-bezier(.08,.65,.91,.5);
  -webkit-transition: all 0.5s cubic-bezier(.08,.65,.91,.5);
  -moz-transition: all 0.5s cubic-bezier(.08,.65,.91,.5);
  margin: 0;
  padding-left: 40px;
  padding-right: 40px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.about_button:hover {
  box-shadow: 0px 0px 3px 6px rgba(185, 204, 219, 0.4), 0px 0px 1px 2px rgba(185, 204, 219, 0.8), inset 0px 0px 3px 6px rgba(185, 204, 219, 0.4), inset 0px 0px 1px 2px rgba(185, 204, 219, 0.8); 
  -webkit-box-shadow: 0px 0px 3px 6px rgba(185, 204, 219, 0.4), 0px 0px 1px 2px rgba(185, 204, 219, 0.8), inset 0px 0px 3px 6px rgba(185, 204, 219, 0.4), inset 0px 0px 1px 2px rgba(185, 204, 219, 0.8); 
  -moz-box-shadow: 0px 0px 3px 6px rgba(185, 204, 219, 0.4), 0px 0px 1px 2px rgba(185, 204, 219, 0.8), inset 0px 0px 3px 6px rgba(185, 204, 219, 0.4), inset 0px 0px 1px 2px rgba(185, 204, 219, 0.8); 
  cursor: pointer;
}


/*----------------------------------------------*/

.project_section {
  display: grid;
  grid-template-columns: repeat(5, 1);
  grid-template-rows: repeat(5, 1);
  grid-column-gap: 0px;
  grid-row-gap: 50px;
  width: 600px;
  opacity: 0;
  }
  
  .project1 { 
    grid-area: 1 / 1 / 2 / 3; 
    perspective: 1000px;
    display: flex;
    justify-content: center;
    align-content: center;
    margin: auto;
  }

  .project1 h2 {
    font-size: 42pt;
    padding: 0;
    margin: 0;
  }

  .project2 { 
    grid-area: 2 / 1 / 3 / 2; 
    perspective: 1000px;
    -webkit-perspective: 1000px;
    -moz-perspective: 1000px;
  }

  .project3 { 
    grid-area: 3 / 1 / 4 / 2; 
    perspective: 1000px;
    -webkit-perspective: 1000px;
    -moz-perspective: 1000px;
  }

  .project4 { 
    grid-area: 2 / 2 / 3 / 3; 
    perspective: 1000px;
    -webkit-perspective: 1000px;
    -moz-perspective: 1000px;
  }

  .project5 {
     grid-area: 3 / 2 / 4 / 3; 
     perspective: 1000px;
     -webkit-perspective: 1000px;
     -moz-perspective: 1000px;
    }

  .project6 { 
    grid-area: 4 / 1 / 5 / 3; 
    perspective: 1000px;
    -webkit-perspective: 1000px;
    -moz-perspective: 1000px;
  } 

.card {
  width: 200px;
  height: 200px;
  position: relative;
  justify-content: center;
  align-items: center;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  transition: all 0.5s cubic-bezier(.08,.65,.91,.5);
  -webkit-transition: all 0.5s cubic-bezier(.08,.65,.91,.5);
  -moz-transition: all 0.5s cubic-bezier(.08,.65,.91,.5);
  display: flex;
  justify-content: center;
  align-content: center;
  margin: auto;
}

.card p {
  text-align: center;
  font-size: 20pt;
  font-weight: 600;
}

.card:hover {
  cursor: pointer;
  transform: rotateY(180deg) rotateZ(0);
  -webkit-transform: rotateY(180deg) rotateZ(0);
  -moz-transform: rotateY(180deg) rotateZ(0);
}

.front,
.back{
  width: 100%;
  position: absolute;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
}

.laptop {
  width: 300px;
}

.laptop2 {
  width: 340px;
}

.phone {
  margin-left: 60px;
}

.back {
  transform: rotateY(180deg) rotateZ(0);
  -webkit-transform: rotateY(180deg) rotateZ(0);
  -moz-transform: rotateY(180deg) rotateZ(0);
}



/*---------------------------------------------*/

.fourth_section {
  width: 100vw;
  height: 100%;
  margin-bottom: 8em;
}

.contact_grid {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  margin: auto;
  width: 500px;
}
  
.contact1 { 
  display: flex;
  flex-direction: column;
  justify-content:left;
  align-content: center;
  margin: auto;
  text-align: left;
  width: 100%;
}

.contact1 h3 {
  font-size: 42pt;
  padding: 2px;
  padding-bottom: 10px;
  margin: 0;
}

.contact1 p {
  font-size: 20pt;
  padding: 0px;
  margin: 0;
  padding-bottom: 40px;
}

.contact_email {
  width: 100px;
  height: 100px;
  background-image: url(/img/email.png);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  position: relative;
  z-index: 20;
  cursor: pointer;
}

.email {
  display: flex;
  justify-content: center;
  align-content: center;
  margin: auto;
  padding: 10px;
}

.email p {
  font-size: 20pt;
  font-weight: 500;
  padding: 0;
  margin: 0;
  letter-spacing: 5px;
}

.inner_contact {
  display: flex;
  flex-direction: row;
  justify-content: left;
  align-content: center;
  margin-right: auto;
}

.contact2 { 
  display: flex;
  flex-direction: column;
  justify-content:left;
  align-content: center;
  margin: auto;
  text-align: left;
  width: 100%;
  margin-top: 20px;
  margin-bottom: 20px;
}

.contact3 { 
  display: flex;
  flex-direction: column;
  justify-content:left;
  align-content: center;
  margin: auto;
  text-align: left;
  width: 100%;
} 

.contact_in {
  width: 100px;
  height: 100px;
  background-image: url(/img/linkedin.png);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  position: relative;
  z-index: 20;
  cursor: pointer;
}

.contact_git {
  width: 100px;
  height: 100px;
  background-image: url(/img/github.png);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  position: relative;
  z-index: 20;
  cursor: pointer;
}

.email_flex {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-content: center;
  margin: 0;
}

/*--------------------------------------------*/

footer {
  bottom: 0;
}

.footer_flex {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-content: center;
  margin: 0;
  width: 100vw;
}

.footer_flex p {
  font-size: 10pt;
}

.minilogo {
  width: 40px;
  height: 24px;
  background-image: url(/img/logo.svg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 14px;
  margin-left: 10px;
  transition: all 1s cubic-bezier(.5,.22,.23,.94);
  -webkit-transition: all 1s cubic-bezier(.5,.22,.23,.94);
  -moz-transition: all 1s cubic-bezier(.5,.22,.23,.94);
}


/*-----------------------------------------------*/

.stars {
  position: absolute;
  display: flex;
  width: 200px;
  height: 200px;
  background-image: url(/img/stars.svg);
  justify-self: center;
  align-self: center;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  margin: 0 auto;
  z-index: 10;
  transform: scale(0);
  -webkit-transform: scale(0);
  -moz-transform: scale(0);
  transition: all 0.5s ease-in-out;
  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
}

.animate_star {
  animation: movingStars 0.4s linear;
  -webkit-animation: movingStars 0.4s linear;
  -moz-animation: movingStars 0.4s linear;
}

@keyframes movingStars {
  0% {
    transform: scale(0);
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    opacity: 1;
  }
  50% {
  transform: scale(0.4);  
  -webkit-transform: scale(0.4);
  -moz-transform: scale(0.4);
  opacity: 0.7;
  }
  70% {
    transform: scale(1);
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    opacity: 0.3;
  }
  100% {
    transform: scale(1.2);
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    opacity: 0;
  }
}