@import url('https://fonts.googleapis.com/css?family=Fira+Sans:100,200,300,400,500');
@font-face {
  font-family: 'regular';
  src: url('../fonts/Akhepra-Regular.otf');
}

@font-face {
  font-family: 'brush';
  src: url('../fonts/Akhepra-Brush.otf');
}

@font-face {
  font-family: 'bold';
  src: url('../fonts/Akhepra-Bold.otf');
}


/* GENERAL */

html {
  font-family: 'Fira Sans', sans-serif;
  font-size: 1.2em;
  font-weight: 200;
  line-height: 1.4em;
  min-width: 360px;
}

article {
  margin: 0;
  padding: 30px;
}

.content_wrap {
  max-width: 900px;
  margin: 0 auto;
}

section {
  border: 2px dashed #000;
  margin-bottom: 30px;
  position: relative;
  padding: 25px;
}

section:before {
  content: '';
  position: absolute;
  top: -11px;
  left: -11px;
  right: -11px;
  bottom: -11px;
  box-sizing: border-box;
  background-position: left top, right top, right bottom, left bottom;
  background-repeat: no-repeat;
  pointer-events: none;
}

h3 {
  font-family: 'brush';
  text-transform: uppercase;
  color: #fff;
  font-size: 1.6em;
  background-color: #AB2430;
  padding: 7px 30px 0;
  line-height: 1em;
  margin: 0;
  display: inline-block;
}


/* PAGE ONE */

.page_one {
  background-color: #3A3A3A;
  color: #fff;
  padding-right: 0;
  padding-bottom: 0;
}

.page_one .content_wrap {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-flex-flow: row wrap;
  -moz-flex-flow: row wrap;
  -ms-flex-flow: row wrap;
  -o-flex-flow: row wrap;
  flex-flow: row wrap;
  justify-content: center;
}

.page_one section {
  border-color: #FFF;
  margin-right: 30px;
  flex: 1 0 250px;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-flex-flow: column wrap;
  -moz-flex-flow: column wrap;
  -ms-flex-flow: column wrap;
  -o-flex-flow: column wrap;
  flex-flow: column wrap;
}

.page_one section:before {
  background-image: url(../images/scissors_w1.png), url(../images/scissors_w2.png), url(../images/scissors_w3.png), url(../images/scissors_w4.png);
}

.profile h3,
.software h3 {
  -webkit-align-self: flex-end;
  align-self: flex-end;
  margin-right: -25px;
}

.awards h3,
.education h3 {
  -webkit-align-self: flex-start;
  align-self: flex-start;
  margin-left: -25px;
}


/* basic */

h1 {
  font-family: 'bold';
  text-transform: uppercase;
  font-size: 11vw;
  line-height: .8em;
  margin: -55px auto 0;
  padding-top: 35px;
  background-color: #AB2430;
  text-align: center;
  /*  min-width: 180px;*/
  max-width: 315px;
}

h1 span {
  font-size: 1.4em;
  line-height: .8em;
  display: block;
}

header p {
  max-width: 315px;
  font-family: 'regular';
  text-align: center;
  background-color: #AB2430;
  margin: 0 auto;
  padding-bottom: .2em;
  font-size: 4.5vw;
  min-width: 170px;
}

@media (min-width: 940px) {
  h1 {
    font-size: 5em;
  }
  header p {
    font-size: 2.2em;
  }
}

@media (max-width: 700px) {
  h1 {
    font-size: 4em;
  }
  header p {
    font-size: 1.7em;
  }
}

.basic {
  max-width: 330px;
  align-self: flex-start;
}

.basic a {
  text-decoration: none;
  color: white;
}

.basic a:hover {
  font-weight: 400;
}

ul.basic_data {
  margin-bottom: 0;
  list-style-type: none;
  padding-left: 30px;
}

ul.basic_data li {
  line-height: 2em;
}

ul.basic_data li:nth-child(1) {
  list-style-image: url('../images/linkedin_icon.png');
}

ul.basic_data li:nth-child(2) {
  list-style-image: url('../images/behance_icon.png');
}

ul.basic_data li:nth-child(3) {
  list-style-image: url('../images/twitter_icon.png');
}

ul.basic_data li:nth-child(4) {
  list-style-image: url('../images/mail_icon.png');
}

ul.basic_data li:nth-child(5) {
  list-style-image: url('../images/cell_icon.png');
  padding-bottom: 0;
}

.basic input {
  background-color: #aaa;
  color: white;
  border: none;
  margin: 20px auto -25px;
  padding: 5px 15px;
  border-radius: 5px 5px 0 0;
  font-weight: 100;
}


/* profile */

.profile {
  flex: 2 0 250px;
}

.profile p {
  margin-bottom: 0;
}


/* awards */

.awards dl {
  text-align: center;
  margin-bottom: 0;
}

.awards img {
  max-width: 100%;
  height: auto;
  margin-top: 5px;
}

.awards dt {
  margin-top: 15px;
  font-weight: 400;
  margin-bottom: 0;
}

.awards dt:last-of-type {
  margin-top: 35px;
}

.awards dd {
  margin: 0;
  line-height: 1.1em;
}


/* software */

.software {
  background: url(../images/software.png) no-repeat center center;
  background-size: contain;
  min-height: 300px;
  align-self: flex-start;
}

.software ul {
  display: none;
}


/* education */

@media (min-width: 640px) {
  .education {
    min-height: 285px;
    height: auto;
    background: url(../images/education_line.svg) no-repeat center center;
    background-size: contain;
  }

  .education dl {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    align-items: flex-start;
    font-size: .9em;
    position: relative;
    line-height: 1.1em;
  }

  .education dt {
    font-weight: 400;
    margin-bottom: 5px;
  }

  .education dd {
    margin-left: 0;
  }

  .education div:nth-of-type(1),
  .education div:nth-of-type(2) {
    margin-top: 110px;
  }

  .education div {
    position: relative;
    text-align: right;
  }

  .education div:after {
    content: '';
    width: 25px;
    height: 25px;
    background: url(../images/arrow.svg) no-repeat;
    -webkit-background-size: contain;
    background-size: contain;
    position: absolute;
    top: -5px;
    right: -30px;
    box-sizing: border-box;
    background-repeat: no-repeat;
  }

  .education div:nth-of-type(3):after {
    -webkit-transform: scaleY(-1);
    -ms-transform: scaleY(-1);
    -o-transform: scaleY(-1);
    transform: scaleY(-1);
    top: 20px;
    right: -20px;
  }

  .education div:nth-of-type(1) {
    margin-left: 5%;
    width: 20%;
  }

  .education div:nth-of-type(2) {
    margin-left: 5%;
    width: 23%;
  }

  .education div:nth-of-type(3) {
    margin-left: 5%;
    width: 30%;
    padding-right: 2%;
  }

  .education dl > dd {
    margin-top: 55px;
  }
}


@media (max-width: 639px) {
  .education {
    min-height: 570px;
  }
  .education dl {
    width: 70%;
    text-align: right;
    position: relative;
  }
  .education dl:after {
    content: '';
    width: 10px;
    height: 510px;
    background: url(../images/education_line_v.svg) no-repeat;
    -webkit-background-size: contain;
    background-size: contain;
    position: absolute;
    top: 0px;
    right: -45px;
    box-sizing: border-box;
    background-repeat: no-repeat;
  }
  .education dt {
    font-weight: 400;
  }
  .education div {
    position: relative;
  }
  .education div:after {
    content: '';
    width: 25px;
    height: 25px;
    background: url(../images/arrow.svg) no-repeat;
    -webkit-background-size: contain;
    background-size: contain;
    position: absolute;
    bottom: -20px;
    right: -30px;
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform: rotate(90deg);
    box-sizing: border-box;
    background-repeat: no-repeat;
  }
  .education dl > dd {
    display: inline;
    margin-right: -90px;
  }
  .education div:nth-of-type(1) {
    margin-top: 4.2em;
  }
  .education div:nth-of-type(2) {
    margin-top: 4.1em;
  }
  .education div:nth-of-type(3) {
    margin-top: 6.2em;
  }
}

@media (max-width: 555px) {
  .education div:nth-of-type(1) {
    margin-top: 2.8em;
  }
  .education div:nth-of-type(2) {
    margin-top: 2.8em;
  }
}

@media (max-width: 508px) {
  .education div:nth-of-type(2) {
    margin-top: 1.4em;
  }
}


@media (max-width: 474px) {
  .education div:nth-of-type(1) {
    margin-top: 1.4em;
  }
  .education div:nth-of-type(2) {
    margin-top: 1.5em;
  }
}


@media (max-width: 436px) {
  .education div:nth-of-type(1) {
    margin-top: 0;
  }
  .education div:nth-of-type(2) {
    margin-top: 0;
  }
}

@media (max-width: 428px) {
  .education div:nth-of-type(3) {
    margin-top: 5em;
  }
}




/* PAGE TWO */

.page_two {
  background-image: radial-gradient(50% 100%, #FFFFFF 50%, #E2E2E2 100%);
}

.page_two .content_wrap {
  max-width: 870px;
  position: relative;
  margin-bottom: 0;
}

.page_two section:before {
  background-image: url(../images/scissors_b1.png), url(../images/scissors_b2.png), url(../images/scissors_b3.png), url(../images/scissors_b4.png);
}

.page_two section {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-flex-flow: column wrap;
  -moz-flex-flow: column wrap;
  -ms-flex-flow: column wrap;
  -o-flex-flow: column wrap;
  flex-flow: column wrap;
}

@media (min-width: 645px) {
  .page_two > div {
    -moz-column-count: 2;
    -webkit-column-count: 2;
    column-count: 2;
    -moz-column-gap: 0;
    -webkit-column-gap: 0;
    column-gap: 30px;
    margin-bottom: 30px;
  }
}

.prof_skills h3,
.conferences h3,
.languages h3 {
  -webkit-align-self: flex-end;
  align-self: flex-end;
  margin-right: -25px;
  text-align: right;
}

.design_skills h3,
.experience h3 {
  -webkit-align-self: flex-start;
  align-self: flex-start;
  margin-left: -25px;
}

.page_two span {
  color: #AB2430;
}


/* design_skills */

@media (max-width: 740px) {
  .design_skills {
    padding-left: 0;
    padding-right: 0;
  }
  .design_skills h3 {
    margin-left: 0px;
  }
}

.design_skills ul {
  width: 336px;
  height: 336px;
  margin: 0 auto;
  background: url(../images/design_skills.png) no-repeat center center;
  position: relative;
}

.design_skills li {
  padding-left: 0;
  margin-left: 0;
  display: inline;
  position: absolute;
}

.design_skills li:nth-of-type(1) {
  right: 80px;
  top: 55px;
}

.design_skills li:nth-of-type(2) {
  right: 20px;
  top: 130px;
}

.design_skills li:nth-of-type(3) {
  width: 60px;
  line-height: 1em;
  right: 40px;
  bottom: 90px;
}

.design_skills li:nth-of-type(4) {
  bottom: 35px;
  left: 110px;
}

.design_skills li:nth-of-type(5) {
  left: 0px;
  bottom: 100px;
}

.design_skills li:nth-of-type(6) {
  left: 20px;
  top: 50px;
}

@media (max-width: 900px) {
  .design_skills ul {
    width: 230px;
    height: 230px;
    background: url(../images/design_skills_s.png) no-repeat center center;
    margin: 20px auto;
  }
  .design_skills li:nth-of-type(1) {
    right: 20px;
    top: 85px;
  }
  .design_skills li:nth-of-type(2) {
    right: 20px;
    top: 130px;
  }
  .design_skills li:nth-of-type(3) {
    width: 60px;
    line-height: 1em;
    right: 75px;
    bottom: 10px;
  }
  .design_skills li:nth-of-type(4) {
    bottom: 40px;
    left: 35px;
  }
  .design_skills li:nth-of-type(5) {
    left: 20px;
    bottom: 140px;
  }
  .design_skills li:nth-of-type(6) {
    left: 50px;
    top: 10px;
  }
}

.design_skills span {
  display: none;
}


/* experience */

.experience {
  text-align: center;
}

.experience dt {
  font-weight: 400;
  margin-bottom: 0;
  display: inline-block;
}

.experience dd {
  margin-left: 0;
}

.experience dt + dd + dd {
  font-size: .8em;
}

.experience li {
  display: none;
}

.experience ul {
  height: 5px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  -webkit-background-size: cover;
  max-width: 250px;
  margin: 5px auto 1em;
}

.experience dd:nth-of-type(3) ul {
  background: url(../images/exp_oid.png);
  background-size: cover;
}

.experience dd:nth-of-type(6) ul {
  background: url(../images/exp_rad.png);
  background-size: cover;
}

.experience dd:nth-of-type(9) ul {
  background: url(../images/exp_maracuya.png);
  background-size: cover;
}

.experience dd:nth-of-type(12) ul {
  background: url(../images/exp_maracuya.png);
  background-size: cover;
  margin-bottom: 0;
}


/* professional skills */

.prof_skills {
  break-before: column;
}

.prof_skills ul {
  list-style-type: none;
  padding-left: 0;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-flex-flow: column;
  -moz-flex-flow: column;
  -ms-flex-flow: column;
  -o-flex-flow: column;
  flex-flow: column;
  margin-bottom: 0;
}

.prof_skills li {
  position: relative;
  overflow: hidden
}

.prof_skills li:after {
  content: '';
  width: 500px;
  height: 10px;
  background: url(../images/line.png) no-repeat;
  bottom: 5px;
  position: absolute;
}


/* conferences */

.conferences {
  text-align: center;
  max-width: 350px;
  float: right;
}

.conferences dl {
  font-weight: 400;
  clear: both;
  margin-bottom: 0;
}

.conferences dd {
  margin: 5px auto 0;
  line-height: 1.1em;
}

.conferences ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.conferences li {
  font-size: .8em;
  margin: 0;
  padding: 0;
  line-height: 1.1em;
}


/* languages */

.languages {
  text-align: center;
  max-width: 300px;
  float: right;
}

.languages dl:first-of-type {
  margin-bottom: 5px;
}

.languages dl:last-of-type {
  margin-top: 0px;
  margin-bottom: 5px;
}

.languages small {
  margin-bottom: 0;
  padding-bottom: 0;
}


/* statement */

.statement {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-flex-flow: column;
  -moz-flex-flow: column;
  -ms-flex-flow: column;
  -o-flex-flow: column;
  flex-flow: column;
  clear: both;
}

.statement {
  max-width: 820px;
  margin: 0 auto;
}

.statement h3 {
  -webkit-align-self: flex-start;
  align-self: flex-start;
  margin-left: -25px;
}

.statement p {
  margin-bottom: 0;
}
