/* Font Import */

@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,300,700,300italic,400italic);
@import url(https://fonts.googleapis.com/css?family=Roboto:400,100,300,500);

/* Style */

@media all {
  ::-webkit-scrollbar {
    display: none;
  }
  body {
    background: rgba(78,196,224,0.05);
    background: -webkit-linear-gradient(-45deg, rgba(78,196,224,0.05) 0%,rgba(78,196,224,0.065) 100%);
    display: flex;
    justify-content: center;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
  }
  #page {
    width: 100%;
    max-width: 1000px;
    background: #dbdcdb;
    display: flex;
    margin: 100px 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
  }
  #left-column-wrapper {
    width: 320px;
    background: #4ec3e0;
    color: #fff;
  }
  #left-column > * {
    margin: 30px 30px 30px 100px;
    position: relative;
  }
  #profile-picture {
    position: relative;
    margin: 0;
    padding: 0;
    border-bottom: none;
  }
  #profile-picture img {
    width: 100%;
    height: auto;
  }
  #profile-picture h1 {
    position: absolute;
    bottom: 5px;
    left: 100px;
  }
  address {
    font-style: normal;
    line-height: 1.5em;
  }
  #mail a {
    color: #fff;
    text-decoration: none;
  }
  #mail a:hover {
    text-decoration: underline;
  }
  #left-column > * > .material-icons {
    position: absolute;
    margin-left: -62px;
  }
  .level-wrapper {
    width: calc(100% - 2px);
    height: 8px;
    border: 1px solid #fff;
    margin: 5px 0 10px 0;
    overflow: hidden;
  }
  .level {
    display: block;
    height: 8px;
    background: #fff;
  }
  /* Levels */
  .level.german {
    width: 100%;
  }
  .level.english {
    width: 70%;
  }
  .level.french {
    width: 50%;
  }
  .level.level-100 {
    width: 100%;
  }
  .level.leve-95 {
    width: 95%;
  }
  .level.level-85 {
    width: 85%;
  }
  .level.level-75 {
    width: 75%;
  }
  .level.level-60 {
    width: 60%;
  }
  .level.level-50 {
    width: 50%;
  }
  .level.level-25 {
    width: 25%;
  }
  .interest {
    position: relative;
    float: left;
    width: 25%;
    display: flex;
    justify-content: center;
  }
  #interests-wrapper .tooltip {
    position: absolute;
    opacity: 0;
    font-size: 0.8em;
    -webkit-transition: opacity 0.5s;
    transition: opacity 0.5s;
    background: #089BBE;
    padding: 3px;
    margin-top: 2.2em;
    z-index: -1;
    text-align: center;
  }
  #interests-wrapper i:hover + .tooltip {
    opacity: 1;
    -webkit-transition: opacity 0.25s;
    transition: opacity 0.25s;
    -webkit-transition-delay: 0.25s;
    transition-delay: 0.25s;
    z-index: 10;
  }
  #interests-wrapper i {
    -webkit-transition: color 0.5s;
    transition: color 0.5s;
  }
  #interests-wrapper i:hover {
    color: #089BBE;
    -webkit-transition: color 0.5s;
    transition: color 0.5s;
  }
  #right-column-wrapper {
    width: calc(100% - 320px);
    background: #dbdcdb;
  }
  #right-column {
    margin: 35px 0 35px 35px;
  }
  #right-column > section {
    background: #fff;
    margin-bottom: 30px;
    padding: 30px 0 30px 70px;
    margin-right: 35px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
  }
  #right-column > section > .material-icons {
    position: absolute;
    color: #4ec3e0;
    margin-left: -45px;
  }
  #right-column > section > div {
    padding-bottom: 15px;
    border-bottom: 1px solid #dbdcdb;
    margin-bottom: 20px;
  }
  #right-column > section > div:last-child {
    border: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }
  #right-column > section > div > * {
    margin-right: 30px;
  }
  #right-column .date {
    font-size: 0.9em;
    color: #4ec3e0;
  }
  .two-column {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-right: 30px;
  }
  #projects-wrapper .project {
    margin: 0 0 25px 0;
    width: calc(50% - 15px);
  }
  #projects-wrapper .project-image {
    position: relative;
  }
  #projects-wrapper .project-image a {
    color: #fff;
    margin: 0;
    padding: 0;
    vertical-align: baseline;
  }
  #projects-wrapper .project-image img {
    width: 100%;
    height: auto;
    opacity: 1;
  }
  #projects-wrapper .img-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #projects-wrapper .img-overlay .material-icons {
    font-size: 48px;
  }
  #projects-wrapper .project-image a:hover .img-overlay {
    opacity: 1;
    transition: all 0.3s ease;
  }
  .project-name {
    display: block;
    text-align: center;
  }
  h1,
  h2,
  h3 {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    margin: 0;
    padding: 0;
  }
  h1 {
    font-size: 1.8em;
  }
  h2 {
    margin-bottom: 0.75em;
    font-size: 1.4em;
  }
  p {
    margin: 0.25em 0;
    line-height: 1.5em;
  }
  .material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    /* Preferred icon size */
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
    /* Support for all WebKit browsers. */
    -webkit-font-smoothing: antialiased;
    /* Support for Safari and Chrome. */
    text-rendering: optimizeLegibility;
    /* Support for Firefox. */
    -moz-osx-font-smoothing: grayscale;
    /* Support for IE. */
    font-feature-settings: 'liga';
  }
}

@media screen and (max-width: 875px) {
  #projects-wrapper .project {
    max-width: 250px;
    width: 100%;
  }
  .two-column {
    display: block;
  }
  .two-column > div > a > img {
    width: 100%;
    max-width: 250px;
  }
}

@media screen and (max-width: 875px) {
  #right-column {
    margin-left: 10px;
    margin-right: 10px;
  }
  #right-column > section {
    margin-right: 0;
  }
}

@media screen and (max-width: 650px) {
  #page {
    margin: 0;
    display: block;
  }
  #page > * {
    width: 94%;
    margin: 0 3%;
  }
  #left-column-wrapper {
    padding-bottom: 20px;
  }
  #right-column {
    margin-left: 0;
    margin-right: 0;
  }
}