@font-face {
  font-family:'font-bold';
  src: url('fonts/font-Bold.eot');
  src: url('fonts/font-Bold.eot?#iefix') format('embedded-opentype'),
    url('fonts/font-Bold.woff') format('woff'),
    url('fonts/font-Bold.ttf') format('truetype'),
    url('fonts/font-Bold.svg#CircularStd-Bold') format('svg');
  font-style: normal;
  font-stretch: normal;
  unicode-range: U+000D-25CA;
}

@font-face {
  font-family:'font';
  src: url('fonts/font-reg.eot');
  src: url('fonts/font-reg.eot?#iefix') format('embedded-opentype'),
    url('fonts/font-reg.woff') format('woff'),
    url('fonts/font-reg.ttf') format('truetype'),
    url('fonts/font-reg.svg#CircularStd-Book') format('svg');
  font-style: normal;
  font-stretch: normal;
}

* {
  border: none;
  padding: 0;
  margin: 0;
  box-sizing: inherit;
  color: #444;
  text-decoration: none;
  list-style: none;
  font-family: "font", cursive;
  font-weight: normal;
}

body {
  background: #eef0f1;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-flex-wrap: nowrap;
      -ms-flex-wrap: nowrap;
          flex-wrap: nowrap;
}

body.no-scroll{
  overflow: hidden;
}

main {
  height: 100vh;
  position: fixed;
  width: 100%;
}

nav {
  background-color: #e2e2e2;
  font-size: 20px;
  height: 80px;
  text-align: center;
  line-height: 80px;
  z-index: 2;
  margin-bottom: -80px;
  text-transform: lowercase;
  letter-spacing: 0.5px;
}

a{color: #444; -webkit-transition:color 0.1s ease; transition: color 0.1s ease;}

a:hover {
  color: #888;
}

h1 {
  text-align: center;
  -webkit-align-self: center;
      -ms-flex-item-align: center;
          align-self: center;
  margin-top: 1em;
  color: #222;
  font: normal 45px 'font-bold';
  letter-spacing: 2px;
  text-transform: capitalize;
}

h2 {
  text-align: center;
}

ul {
  padding: 5em 0 5em;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
      -ms-flex-align: start;
          align-items: flex-start;
  -webkit-flex-wrap: nowrap;
      -ms-flex-wrap: nowrap;
          flex-wrap: nowrap;
}

li {
  padding: 1em;
  font-size: 20px;
}

img {
  width: 70%;
  height: auto;
  float: left;
}

.name{display: none;}

.picture-space {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  border: none;
}

.my-picture {
  width: 15em;
  height: 15em;
  border-radius: 50%;
  overflow: hidden;
}

#top-container{
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  height: 89vh;
}

.page-content {
  position: relative;
  top: 89vh;
  background: #fefefe;
  border: none;
  min-height: 100vh;
}

.nav-element {
  padding: 10px 0;
}

.nav-element + .nav-element{
  margin-left: .5em;
}

.nav-scroll {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 2;
}

.page-section {
  padding: 2.3em 0 .5em;
  font-size: 22px;
  margin: 0 auto 0.5em;
  font-family: 'font-bold';
  color: #222;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.page-section.top{
  padding-top: 6em;
}
.project-images{width: 95%; margin: 0 auto;}
.item{width: 45%; position: relative; padding: 2.5%;}
.item img{width: 100%;}
.item .overlay{width: 100%; height: 100%; background: black; opacity: 0; -webkit-transition:opacity 0.2s ease; transition: opacity 0.2s ease; cursor: pointer;}
.item .overlay-text{position: absolute; color: white; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); opacity: 0; -webkit-transition:opacity 0.2s ease; transition: opacity 0.2s ease; cursor: pointer; text-transform: lowercase; letter-spacing: 0.5px;}
.item:hover .overlay{opacity: 0.9;}
.item:hover .overlay-text{opacity: 1;}

.modal-background{background: black; opacity: 0.7; width: 100vw; height: 100vh; position: fixed; display: none; top: 0; left: 0;}
.modal{opacity: 1; display: none;}
.modal{position: fixed; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); width: 60%; background: black; padding: 50px; border-radius: 5px;}
.modal-first-line, .modal-second-line, .modal-link{color: white; padding: 10px;}
.modal-close{
  cursor: pointer;
  position: absolute;
  right: 10px;
  top: 10px;
  width: 50px;
  height: 50px;
}
.modal-close span{
  position: absolute;
  top: 25px;
  right: 15px;
  width: 20px;
  height: 5px;
  background: white;
  border-radius: 5px;
}
.modal-close span:nth-child(1){
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  top: 25px;
}
.modal-close span:nth-child(2){
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
}

.end {
  margin-bottom: 1em;
}

.mobile-nav{
  display: none;
}

#me {
  position: relative;
  right: 48%;
  bottom: 10%;
  -webkit-align-self: center;
      -ms-flex-item-align: center;
          align-self: center;
  width: 200%;
  height: auto;
}

#titles {
  text-align: center;
  font-size: 25px;
  letter-spacing: 0.5px;
  color: #222;
  width: 90%;
  margin: 1.8em auto 0;
}

.arrow-down{
  display: none;
}
.section-content{
  width: 40%;
  margin: 5% auto;
  text-align: justify;
  letter-spacing: 0.5px;
  max-width: 600px;
}
.section-content p {
  margin-bottom: 20px;
}

.hamburger-container{
  display: none;
}

.section-content a{
  border-bottom: 1px solid black;
  display: inline-block;
}
.section-content a:after{
  content: '';
  display: block;
  height: 1px;
  width: 0;
  background-color: black;
  transition: width .2s ease, background-color .2s ease;
  bottom: -1px;
  position: relative;
}
.section-content a:hover{
  border-bottom: 1px solid transparent;
}
.section-content a:hover:after{
  width: 100%;
}
#mobile-arrow {display: none;}
@media screen and (max-width: 800px){
  .section-content{width: 80%;}
  h1{font-size: 55px; margin: 0 15px;}
  img{width: 90%;}
  a:hover{border-bottom: none;}
  nav{display: none;}
  .page-section.top{padding-top: 2.3em;}
  .my-picture{margin-bottom: 50px; width: 13em; height: 13em;}
  .page-content{top: 100vh;}
  .end{margin-top: auto;}
  .end a{font-weight: 700;}
  #mobile-arrow {
    display: block;
    align-self: center;
    position: absolute;
    bottom: 30px;
  }
  #mobile-arrow span {
    width: 30px;
    height: 3px;
    display: inline-block;
    background: black;
  }
  #mobile-arrow span:first-of-type {
    transform: translateX(5px) rotate(45deg);
  }
  #mobile-arrow span:last-of-type {
    transform: translateX(-5px) rotate(-45deg);
  }

  .hamburger-container{
    width: 100%;
    border-bottom: 1px solid black;
    height: 70px;
    background: white;
    position: fixed;
    z-index:999;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .name{
    display: block;
    text-align: center;
    font: normal 25px 'font-bold';
    color: black;
  }
  .section-content a:hover{
    border-bottom: 1px solid black;
    color: #444;
  }
  .section-content a:hover:after{
    width: 0;
  }
  #hamburger-button {
    position: fixed;
    display: inline-block;
    vertical-align: top;
    height: 45px;
    width: 55px;
    top: 15px;
    left: 15px;
    z-index: 999;
  }

  #hamburger-button:hover {
    cursor: pointer;
  }

  #hamburger-button > span {
    margin-bottom: 10px;
    height: 5px;
    width: 100%;
    background-color: black;
    display: block;
    border-radius: 5px;

    -webkit-transition: all 0.1s ease;
            transition: all 0.1s ease;
  }

  #hamburger-button.open span:nth-child(1) {
    -webkit-transform: translateY(15px) rotate(45deg);
            transform: translateY(15px) rotate(45deg);
  }

  #hamburger-button.open span:nth-child(2) {
    -webkit-transform: rotateY(90deg);
            transform: rotateY(90deg);
  }

  #hamburger-button.open span:nth-child(3) {
    -webkit-transform: translateY(-15px) rotate(-45deg);
            transform: translateY(-15px) rotate(-45deg);
  }
  .mobile-nav{
    display: block;
    position: fixed;
    width: 100vw;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
        -ms-flex-direction: column;
            flex-direction: column;
    background: #eaeaea;
    -webkit-box-pack: end;
    -webkit-justify-content: flex-start;
        -ms-flex-pack: end;
            justify-content: flex-start;
  }
  .nav-el-container{
    height: calc(100vh/8);
    border-bottom: 1px solid black;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .nav-el-container:first-of-type{border-top: 1px solid black;}
  .mobile-nav-element{
    width: 100%;
    text-align: center;
  }
  .mobile-nav:last-child{border-bottom: none;}
  .mobile-nav-container{
    width: 100vw;
    position: fixed;
    background: #eaeaea;
    border-right: 1px solid black;
    -webkit-transition: left 0.2s ease;
    transition: left 0.2s ease;
    z-index: 998;
    top: -100%;
    transition: top 0.2s ease;
  }
  .mobile-nav-container.open{
    top: 70px;
  }
}
#form-form {
  display: flex;
  flex-wrap: wrap;
}
#form .input-wrap {
  position: relative;
  padding: 0 10px;
  flex-basis: calc(50% - 20px);
  height: 50px;
  margin-bottom: 20px;
}
#form input[type=text] {
  display: block;
  height: 50px;
  border: 1px solid black;
  width: 100%;
  font-size: 16px;
  text-indent: 15px;
}
#form input[type=text] + label {
  position: absolute;
  top: 50%;
  left: 30px;
  z-index: 1;
  transform: translateY(-50%);
  transition: all 0.2s ease;
}
#form input[type=text]:focus + label,
#form input[type=text]:not(:placeholder-shown) + label {
  top: 10px;
  font-size: 12px;
}
#form .select-wrap {
  flex-basis: 100%;
  height: auto;
}
#form .select-wrap label {
  text-align: left;
  margin-bottom: 20px;
  width: 100%;
}
#form .select-wrap select {
  display: none;
}
#form .select-wrap .selected {
  border: 1px solid black;
  padding: 20px;
  cursor: pointer;
  margin-top: 10px;
  display: flex;
  align-items: center;
  text-align: left;
}
#form .select-wrap .selected:before,
#form .select-wrap .selected:after {
  content: '';
  width: 15px;
  height: 1px;
  background: black;
  position: absolute;
  right: 29px;
}
#form .select-wrap .selected:before {
  transform: translateX(-5px) rotate(45deg);
}
#form .select-wrap .selected:after {
  transform: translateX(5px) rotate(-45deg);
}
#form .select-wrap .select-display {
  border: 1px solid black;
  border-top: none;
  display: none;
  padding: 20px 20px 5px 20px;
}
#form .select-wrap .select-display__option {
  padding-bottom: 15px;
  cursor: pointer;
}
#form .textarea-wrap {
  flex-basis: 100%;
  height: auto;
}
#form .textarea-wrap textarea {
  display: block;
  width: calc(100% - 20px);
  height: 200px;
  border: 1px solid black;
  margin-top: 10px;
  font-size: 16px;
  padding: 10px;
  resize: none;
}
#form input[type="submit"] {
  background: black;
  color: white;
  width: 100%;
  padding: 20px;
  margin: 0 10px 20px;
  font-size: 16px;
}
@media screen and (max-width: 800px){
  #form .input-wrap {
    flex-basis: 100%;
  }
}
::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: transparent;
  opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: transparent;
}

::-ms-input-placeholder { /* Microsoft Edge */
  color: transparent;
}
