@font-face {
  font-family: MontserratLight;
  src: url(fonts/Montserrat/Montserrat-Light.ttf);
}

@font-face {
  font-family: Montserrat;
  src: url(fonts/Montserrat/Montserrat-Regular.ttf);
}

@font-face {
  font-family: MontserratMedium;
  src: url(fonts/Montserrat/Montserrat-Medium.ttf);
}

@font-face {
  font-family: Nunito;
  src: url(fonts/Nunito/Nunito-Regular.ttf);
}

@font-face {
  font-family: Merriweather;
  src: url(fonts/Merriweather/Merriweather-Regular.ttf);
}

@font-face {
  font-family: FreightNeoPro;
  src: url(fonts/FreightNeoPro/FreightNeoProLight.otf);
}

@font-face {
  font-family: DKLemonYellowSun;
  src: url(fonts/DKLemonYellowSun/DKLemonYellowSun.otf);
}

@font-face {
  font-family: Caveat;
  src: url(fonts/Caveat/Caveat.ttf);
}

body {
  margin: 0;
  overflow-x: hidden;
}

h1 {
  font-family: FreightNeoPro;
  font-size: 3vw;
  color: #444444;
  text-align: center;
}

h2 {
  font-family: FreightNeoPro;
  font-size: 1.5vw;
  font-weight: bolder;
  color: #444444;
  text-align: center;
}

p {
  font-family: FreightNeoPro;
  font-size: 1.5vw;
  color: #888888;
  line-height: 2vw;
  text-align: center;
  margin: 0 25vw;
}

li {
  font-family: FreightNeoPro;
  font-size: 1.5vw;
  color: #888888;
  line-height: 2vw;
  padding: 0 0 1vw 1vw;
}

#small_screen {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #222222;
  opacity: .9;
  z-index: 5;
  display: none;
}

#small_screen_text {
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: #efefef;
  border-radius: 100vw;
  padding: 10vw 5vw 15vw 5vw;
  transform: translate(-50%, -50%);
  z-index: 5;
  display: none;
  font-family: MontserratMedium;
  font-size: 5vw;
  width: 80vw;
  text-align: center;
  color: #444444;
}

#small_screen_ok {
  position: absolute;
  bottom: 4vw;
  left: 50%;
  background-color: #444444;
  border-radius: 100vw;
  padding: 2vw 4vw;
  transform: translateX(-50%);
  z-index: 5;
  display: none;
  font-family: MontserratLight;
  font-size: 4vw;
  text-align: center;
  color: #efefef;
  cursor: pointer;
}

#alerts {
  position: fixed;
  top: 2.4vw;
  transform: translateX(calc(50vw - 50%));
  background-color: #ffffff;
  padding: 1vw 2vw;
  border-radius: 10vw;
  opacity: 0;
  transition: opacity .5s;
  font-family: Montserrat;
  font-size: 1.2vw;
  color: #444444;
  box-shadow: 0px 0px 10px #444444;
  z-index: 5;
  display: none;
}

#menu_bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 5vw;
  background-color: #1C1F22;
  z-index: 4;
  transition: all .4s;
}

#menu_bar_logo {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 3.5vw;
  transform: translate(-50%, -50%);
  cursor: pointer;
  filter: brightness(100);
}

#menu_bar_mobile {
  display: none;
}

#menu_bar_mobile_header {
  display: none;
}

.menu_bar_item {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-family: MontserratMedium;
  font-size: 1.1vw;
  color: #ffffff;
  cursor: pointer;
  transform: scale(1) translate(-50% -50%);
  transition: transform .2s, color .4s;
}
.menu_bar_item:hover {
  transform: scale(1.1) translateY(-50%);
}
.menu_bar_item_active {
  transform: scale(1.1) translateY(-50%);
  font-weight: bold;
}

#menu_bar_projects {
  left: 5vw;
}

#menu_bar_about {
  left: 12vw;
}

#menu_bar_line {
  position: absolute;
  top: 70%;
  left: 11.8vw;
  right: 84.4vw;
  height: .1vw;
  background-color: #eeeeee;
  border-radius: 1vw;
  transition: all .3s;
}

.menu_bar_icon {
  position: absolute;
  bottom: 2vw;
  height: 1vw;
  transition: all .3s;
  cursor: pointer;
  filter: brightness(100);
}

#menu_bar_facebook {
  right: 5vw;
}

#menu_bar_linkedin {
  right: 7vw;
}

#scroll_header {
  position: fixed;
  top: 5vw;
  left: 0;
  width: 100vw;
  height: 33vw;
  overflow: hidden;
}

#scroll_header_img {
  position: absolute;
  top: 50%;
  left: 0;
  min-width: 100vw;
  min-height: 100%;
  transform: translateY(-50%);
}

#scroll_header_over {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: .8;
  background-color: #222222;
}

.scroll_header_text {
  position: absolute;
  color: #ffffff;
  text-align: center;
  left: 50%;
  transform: translateX(-50%);
}

#scroll_header_text_header {
  font-family: MontserratMedium;
  font-weight: bold;
  font-size: 5vw;
  top: 5vw;
}

#scroll_header_text_sub {
  font-family: Montserrat;
  font-size: 3vw;
  top: 12vw;
  width: 44vw;
  line-height: 3vw;
}

#scroll_header_text_subsub {
  font-family: MontserratLight;
  font-size: 1.5vw;
  top: 21vw;
  width: 50vw;
}

#scroll_header_arrow {
  top: 28vw;
  width: 3.5vw;
  cursor: pointer;
  transition: top .2s;
}

#scroll_header_arrow:hover {
  top: 28.5vw;
}

#scroll_header_bg {
  position: absolute;
  top: 0;
  left: -9vw;
  width: 40vw;
  height: 40vw;
  opacity: .5;
}

#scroll_header_bg_move1 {
  animation: rotation 40s infinite linear;
}

#scroll_header_bg_move2 {
  animation: rotation 70s infinite linear;
}

#scroll_header_bg_move3 {
  animation: rotation 130s infinite linear;
}

#scroll_header_bg_move4 {
  animation: rotation 100s infinite linear;
}

#scroll_header_bg_move5 {
  animation: rotation 300s infinite linear;
}

@keyframes rotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(359deg);
  }
}

.scroll_header_bg_element {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#content {
  position: absolute;
  top: 38vw;
  left: 0;
  right: 0;
  height: 180vw;
  background-color: #ffffff;
  perspective: 4000px;
}

#cv {
  position: absolute;
  top: 5vw;
  left: 50%;
  transform: translateX(-50%);
  transition: opacity .3s;
  width: 58.4vw;
  height: calc(58.4vw * 1.41);
  background-color: #fefefe;
  box-shadow: 0.6vw 0.83vw 1.19vw #aaaaaa;
  border: none;
}

#cv_pdf {
  position: absolute;
  top: 93vw;
  left: 50%;
  transform: translateX(-50%);
  font-family: MontserratMedium;
  font-size: 1.5vw;
  color: #666666;
}

#cv_pdf_img {
  position: absolute;
  top: 92vw;
  left: 36vw;
  width: 3vw;
}

#competence_profile {
  position: absolute;
  top: 100vw;
  padding: 6vw 20vw;
  width: 60vw;
  background-color: #fafafa;
  transition: opacity .3s;
}

#competence_heading {
  font-family: MontserratMedium;
  font-size: 2vw;
  color: #444444;
  text-align: center;
  margin-bottom: 5vw;
}

.competence_h {
  font-family: MontserratMedium;
  font-size: 1.2vw;
  color: #444444;
  text-align: left;
  margin-top: 2vw;
}

.competence_li {
  font-family: MontserratLight;
  font-size: 1.2vw;
  color: #444444;
  text-align: left;
  line-height: normal;
}

#button_project {
  position: absolute;
  top: 170vw;
  right: 5vw;
  width: 11.5vw;
  height: 4vw;
  background-color: #666666;
  border-radius: 3vw;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 2px 2px 10px #666666;
}

#button_project_text {
  position: absolute;
  font-family: MontserratMedium;
  font-size: 1.3vw;
  color: #ffffff;
  left: 1vw;
  top: 50%;
  transform: translateY(-50%);
}

#button_project_arrow {
  position: absolute;
  right: 1vw;
  top: 10%;
  font-size: 2.5vw;
  color: #ffffff;
  font-family: MontserratMedium;
  transition: right .5s;
}

#button_project_filler {
  position: absolute;
  top: 0;
  left: 0;
  width: 40vw;
  height: 40vw;
  border-radius: 50%;
  background-color: #1C1F22;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 1s;
}





.project {
  position: absolute;
  left: 50%;
  width: 80vw;
  transform: translateX(-50%);
  transition: opacity .3s, background-color .3s;
  height: 30vw;
  background-color: #eeeeee;
  cursor: pointer;
  overflow: hidden;
  opacity: 0;
  display: none;
  transform-style: preserve-3d;
}

.project_img_even {
  position: absolute;
  left: 0;
  top: 0;
  width: 54vw;
  background-color: #666666;
}

.project_hover_even {
  position: absolute;
  background-color: #000000;
  top: 0;
  left: 0;
  bottom: 0;
  width: 54vw;
  opacity: 0;
  cursor: pointer;
  transition: opacity .3s;
}

.project_heading_even {
  position: absolute;
  font-family: MontserratMedium;
  font-size: 1.5vw;
  color: #444444;
  right: 12.5vw;
  top: 12vw;
  transform: translateX(50%);
  transition: color .3s;
}

.project_subheading_even {
  position: absolute;
  font-family: Montserrat;
  font-size: 1vw;
  color: #888888;
  right: 12.5vw;
  top: 15vw;
  transform: translateX(50%);
}

.project_keywords_even {
  position: absolute;
  font-family: MontserratMedium;
  font-size: 1vw;
  color: #ffffff;
  right: 12.5vw;
  top: 20vw;
  transform: translateX(50%);
  opacity: 0;
  transition: opacity .3s, color .3s;
}

.project_img_uneven {
  position: absolute;
  right: 0;
  top: 0;
  width: 54vw;
}

.project_hover_uneven {
  position: absolute;
  background-color: #000000;
  top: 0;
  right: 0;
  bottom: 0;
  width: 54vw;
  opacity: 0;
  cursor: pointer;
  transition: opacity .3s;
}

.project_heading_uneven {
  position: absolute;
  font-family: MontserratMedium;
  font-size: 1.5vw;
  color: #444444;
  left: 12.5vw;
  top: 12vw;
  transform: translateX(-50%);
  transition: color .3s;
  text-align: center;
}

.project_subheading_uneven {
  position: absolute;
  font-family: Montserrat;
  font-size: 1vw;
  color: #888888;
  left: 12.5vw;
  top: 15vw;
  transform: translateX(-50%);
}

.project_keywords_uneven {
  position: absolute;
  font-family: MontserratMedium;
  font-size: 1vw;
  color: #ffffff;
  left: 12.5vw;
  top: 20vw;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity .3s, color .3s;
}

#project0 {
  top: 5vw;
}

#project1 {
  top: 38vw;
}

#project1_hover {
  background-color: #222222;
}

#project2 {
  top: 71vw;
}

#project3 {
  top: 104vw;
}

#project4 {
  top: 137vw;
}

#project5 {
  top: 170vw;
  cursor: auto;
}

.project_frame {
  position: absolute;
  height: 3vw;
  background-color: transparent;
  display: none;
}

#project_frame_left {
  top: 0;
  left: 0;
  width: 10vw;
  height: 100%;
}

#project_frame_right {
  top: 0;
  right: 0;
  width: 10vw;
  height: 100%;
}

#project_frame_top {
  top: 0;
  right: 0;
  left: 0;
  height: 5vw;
}

#project_frame_bottom {
  bottom: 0;
  right: 0;
  left: 0;
  height: 4vw;
}

#project_frame_1 {
  top: 35vw;
  right: 0;
  left: 0;
}

#project_frame_2 {
  top: 68vw;
  right: 0;
  left: 0;
}

#project_frame_3 {
  top: 101vw;
  right: 0;
  left: 0;
}

#project_frame_4 {
  top: 134vw;
  right: 0;
  left: 0;
}

#project_frame_5 {
  top: 167vw;
  right: 0;
  left: 0;
}

#project5_heading {
  position: absolute;
  font-family: MontserratMedium;
  font-size: 2vw;
  color: #666666;
  left: 50%;
  top: 5vw;
  transform: translateX(-50%);
  text-align: center;
}

#to_come_ul {
  position: absolute;
  top: 11vw;
  left: 50%;
  transform: translateX(-50%);
  width: 50vw;
}

.to_come_li {
  font-family: Montserrat;
  font-size: 1.4vw;
}

.project_content {
  position: absolute;
  top: 5vw;
  left: 0;
  width: 100vw;
  background-color: #ffffff;
  border: none;
  overflow: hidden;
}

#project0_content {
  height: 218vw;
}

#project1_content {
  height: 211vw;
}

#project2_content {
  height: 239vw;
}

#project3_content {
  height: 147vw;
}

#project4_content {
  height: 130vw;
}








@media only screen and (max-width: 1000px) {

  h1 {
    font-size: 10vw;
    margin-bottom: 2vw;
  }

  h2 {
    font-size: 9vw;
  }

  p {
    font-size: 4.5vw;
    line-height: 6vw;
    margin: 0 6vw;
  }

  li {
    font-size: 4.5vw;
    line-height: 5vw;
    padding: 0 0 2vw 1vw;
  }

  #small_screen {
    display: block;
  }

  #small_screen_text {
    display: block;
  }

  #small_screen_ok {
    display: block;
  }

  #alerts {
    top: 20px;
    font-size: 2.5vw;
    text-align: center;
    padding: 20px;
  }

  #menu_bar {
    height: calc(50px + 2vw);
  }

  #menu_bar_mobile_header {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    height: calc(50px + 2vw);
    right: 0;
    background-color: #434E59;
    transform-origin: top center;
    transform: scaleY(0);
    transition: transform .5s;
  }

  #menu_bar_logo {
    height: calc(30px + 1vw);
    left: 20vw;
  }

  .menu_bar_item {
    font-size: 3vw;
    color: #ffffff;
    cursor: pointer;
    transition: transform .2s, color .4s;
    top: 45%;
    transform: scale(1) translate(0, -50%);
    display: none;
  }

  #menu_bar_projects {
    left: 20vw;
  }
  #menu_bar_projects:hover {
    transform: scale(1) translate(0, -50%);
  }
  #menu_bar_projects:active {
    transform: scale(1) translate(0, -50%);
  }

  #menu_bar_about {
    transform: scale(1) translate(0, -50%);
    left: 50vw;
  }
  #menu_bar_about:hover {
    transform: scale(1) translate(0, -50%);
  }
  #menu_bar_about:active {
    transform: scale(1) translate(0, -50%);
  }

  #menu_bar_line {
    top: calc(50% + 2vw);
    left: 50vw;
    right: 41vw;
    height: 0.4vw;
    transform: translateY(-50%);
    display: none;
  }

  .menu_bar_icon {
    display: none;
  }

  #menu_bar_mobile {
    display: block;
    position: absolute;
    bottom: calc(50% - 6px);
    right: 5vw;
    width: calc(20px + 2vw);
    height: calc(15px + 1vw);
    transform: translateY(50%);
    z-index: 1;
    cursor: pointer;
    transition: bottom .5s;
  }

  .menu_bar_mobile_bar {
    position: absolute;
    width: 100%;
    height: calc(2px + 0.5vw);
    border-radius: 100px;
    background-color: #ffffff;
    transition: background-color .3s, transform .5s, top .5s, bottom .5s;
    left: 0;
  }

  #menu_bar_mobile_top {
    top: 0;
  }

  #menu_bar_mobile_bottom {
    position: absolute;
    bottom: 0;
  }

  #scroll_header {
    top: calc(50px + 2vw);
    height: calc(100vh - 50px - 2vw);
  }

  #content {
    top: 100vh;
    height: 578vw;
  }

  #scroll_header_text_header {
    top: 26vh;
    font-size: 7vw;
    width: 100%;
  }

  #scroll_header_text_sub {
    top: 43vh;
    line-height: 5vw;
    font-size: 3.5vw;
    width: 84vw;
  }

  #scroll_header_text_subsub {
    top: 69vh;
    font-size: 2.5vw;
  }

  #scroll_header_arrow {
    top: 79vh;
    width: 5vw;
  }
  #scroll_header_arrow:hover {
    top: 79vh;
  }

  #scroll_header_bg {
    top: 10vh;
    width: 80vh;
    height: 80vh;
    left: -33vh;
  }

  #cv {
    top: 20px;
    left: 50%;
    transition: opacity .3s;
    width: calc(100vw - 40px);
    height: calc((100vw - 40px) * 1.41);
    box-shadow: 0.6vw 0.83vw 1.19vw #aaaaaa;
    border: none;
  }

  #cv_pdf {
    position: absolute;
    top: 144vw;
    left: 58%;
    width: 52%;
    transform: translateX(-50%);
    font-family: MontserratMedium;
    font-size: 4vw;
    color: #666666;
  }

  #cv_pdf_img {
    position: absolute;
    top: 140vw;
    left: 20vw;
    width: 10vw;
  }

  #competence_profile {
    top: 160vw;
    padding: 10vw 0;
    width: 100vw;
  }

  #competence_heading {
    font-size: 8vw;
    margin-bottom: 10vw;
  }

  .competence_h {
    font-size: 6vw;
    margin: 15vw 10vw 2vw 10vw;
  }

  .competence_ul {
    margin: 5vw 10vw;
    padding-left: 5vw;
  }

  .competence_li {
    font-size: 5vw;
    line-height: normal;
    padding: 2vw;
  }

  #button_project {
    top: 564vw;
    right: 50%;
    transform: translateX(50%);
    width: 25vw;
    height: 8vw;
    border-radius: 10vw;
  }
  
  #button_project_text {
    font-size: 2.5vw;
    left: 3vw;
  }
  
  #button_project_arrow {
    right: 3vw;
    top: 13%;
    font-size: 4.5vw;
  }
  
  #button_project_filler {
    width: 60vw;
    height: 60vw;
  }

  .project {
    width: 92vw;
    height: 72vw;
  }

  .project_img_even {
    width: 100%;
  }

  .project_hover_even {
    width: 100%;
    bottom: auto;
    height: 51.1vw;
  }

  .project_heading_even {
    font-size: 5vw;
    right: 0;
    top: 55vw;
    width: 100%;
    transform: translateX(0);
    text-align: center;
  }

  .project_subheading_even {
    display: none;
  }

  .project_keywords_even {
    font-size: 3vw;
    right: 0;
    top: 62vw;
    color: #444444;
    width: 100%;
    transform: translateX(0);
    text-align: center;
    opacity: 1;
  }

  .project_img_uneven {
    width: 100%;
  }

  .project_hover_uneven {
    bottom: auto;
    width: 100%;
    height: 51.1vw;
  }

  .project_heading_uneven {
    font-size: 5vw;
    left: 0;
    top: 55vw;
    width: 100%;
    transform: translateX(0);
    text-align: center;
  }

  .project_subheading_uneven {
    display: none;
  }

  .project_keywords_uneven {
    font-size: 3vw;
    left: 0;
    top: 62vw;
    color: #444444;
    width: 100%;
    transform: translateX(0);
    text-align: center;
    opacity: 1;
  }

  #project0 {
    top: 10vw;
  }

  #project1 {
    top: 92vw;
  }

  #project1_hover {
    background-color: #222222;
  }

  #project2 {
    top: 174vw;
  }

  #project3 {
    top: 256vw;
  }

  #project4 {
    top: 338vw;
  }

  #project5 {
    top: 420vw;
    cursor: auto;
    height: 55vw;
  }

  #project5_heading {
    font-size: 5vw;
    left: 0;
    transform: translateX(0);
    width: 100%;
  }

  #to_come_ul {
    width: 68vw;
  }

  .to_come_li {
    font-size: 3vw;
    line-height: 3.5vw;
    padding: 0 0 2vw 1vw;
  }

  .project_content {
    top: calc(50px + 2vw);
  }

  #project0_content {
    height: 456vw;
  }

  #project1_content {
    height: 937vw;
  }

  #project2_content {
    height: 522vw;
  }

  #project3_content {
    height: 615vw;
  }

  #project4_content {
    height: 270vw;
  }

}

@media only screen and (max-width: 500px) {

  #alerts {
    font-size: 4vw;
    text-align: center;
    padding: 10px;
  }

  #menu_bar_logo {
    left: 30vw;
  }

  .menu_bar_item {
    font-size: 5vw;
  }

  #menu_bar_line {
    top: calc(50% + 3vw);
    left: 50vw;
    right: 35vw;
    height: 0.5vw;
  }

  #scroll_header_text_header {
    top: 23vh;
    font-size: 10vw;
    width: 100vw;
  }

  #scroll_header_text_sub {
    top: 35vh;
    line-height: 7vw;
    font-size: 5vw;
    width: 90vw;
  }

  #scroll_header_text_subsub {
    top: 58vh;
    font-size: 5vw;
    width: 100vw;
  }

  #scroll_header_arrow {
    top: 68vh;
    width: 10vw;
  }
  #scroll_header_arrow:hover {
    top: 68vh;
  }

  #scroll_header_bg {
    display: none;
  }

  #button_project {
    top: auto;
    bottom: 4vw;
    width: 35vw;
    height: 12vw;
    border-radius: 15vw;
  }
  
  #button_project_text {
    font-size: 4vw;
    left: 3vw;
  }
  
  #button_project_arrow {
    right: 3vw;
    top: 11%;
    font-size: 7vw;
  }
  
  #button_project_filler {
    width: 60vw;
    height: 60vw;
  }

  #project4_content {
    height: 402vw;
  }

}
