body {
   margin: 0;
   padding: 0;
   font-size: 16px;
   font-family: sans-serif;
   line-height: 21px;
}

header {
   height: 200px;
   color: #fff;
   letter-spacing: 1.8px;
   position: fixed;
   width: 100%;
   top: 0;
   transition: height 0.5s;
}

header.sticky {
   height: 96px;
   position: fixed;
   top: 0;
   width: 100%;
}

header.sticky h1 {
   font-size: 2em;
   margin-top: 16px;
}

header:after {
   background-color: #4b4f81;
   content: "";
   display: block;
   position: absolute;
   top: 0;
   left: -30px;
   width: 120%;
   height: 120%;
   transform: rotate(-1deg) translateY(-49px);
   border-radius: 20%;
}

header h1 {
   font-size: 2.4em;
   margin-left: 35px;
   margin-top: 70px;
   position: absolute;
   z-index: 100;
   transition: all 0.5s;
}

#egoimg {
   width: 200px;
   position: fixed;
   right: 55px;
   top: 55px;
   background-color: #fff;
   padding: 10px;
   transform: rotate(5deg);
   z-index: 100;
   transition: all 0.5s;
}

#egoimg img {
   width: 100%;
   height: auto;
}

header.sticky + #egoimg {
   width: 100px;
   top: 16px;
}

div.section {
   padding: 35px;
}

div.section.light-gray {
   padding: 0;
}

div.section.first {
   margin-top: 200px;
}

div.section p {
   margin: 0px;
   padding-right: 300px;
   max-width: 800px;
   width: auto;
}

div.section h4 {
   margin: 0 0 4px;
}

img#certImg {
   margin-top: 8px;
   height: 75px;
}

span.desc {
   max-width: 800px;
   display: inline-block;
   margin-bottom: 8px;
}

div.section.work p:first-of-type {
   max-width: 900px;
}

div.section.work h3 {
   margin: 0 32px;
}

div#work-description {
   padding: 16px 32px;
   background-color: #fff;
}

div#assignments {
   background-color: #fff;
}

div.assignment {
   padding: 16px 32px;
}

div.assignment:first-of-type h4 {
   margin-top: 0;
}

div.assignment:nth-child(odd) {
   background-color: #efefef30;
}

div#certificates {
   padding: 16px 32px;
}

@media only screen and (max-width: 768px) {
   body {
      font-size: 14px;
   }

   header {
      height: 96px;
      position: relative;
   }

   header h1 {
      font-size: 2em;
      margin-top: 21px;
   }

   #egoimg {
      position: static;
      transform: none;
      margin-left: 22px;
      top: 16px;
      width: 120px;
      margin-top: 0px;
   }

   div.section p {
      padding: 0;
   }

   div.section.first {
      margin-top: 0px;
   }
}
