/*
 * @Author: jannisportmann
 * @Date:   2017-07-29T11:36:06+02:00
 * @Last modified by:   jannisportmann
 * @Last modified time: 2017-09-04T00:05:45+02:00
 */

@import url('https://fonts.googleapis.com/css?family=Lato:300');

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Lora', serif;
  width: 100%;
}

h1 {
    font-size: 1em;
}

h2 {
    font-size: 1px;
}

#nav-about a {
  border-bottom: 2px solid #fff;
  padding-bottom: 5px;
}

.main {
  position: relative;
  margin-top: 2em;
  width: 80%;
  max-width: 60em;
  margin-left: auto;
  margin-right: auto;
  height: inherit;
}

.portrait {
  position: relative;
  height: 30em;
  width: 50%;
  display: inline-block;
  float: left;
  clear: left;
  background-image: url("../src/portrait.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: solid 6px #E9E289;
}

.description {
  position: relative;
  color: #2D4442;
  font-size: 1em;
  text-align: justify;
  font-family: 'Lato', sans-serif;
  font-weight: 200;
  line-height: 1.5em;
  width: 30%;
  display: inline-block;
  float: right;
  clear: right;
  padding-left: 10%;
  padding-right: 10%;
}

#footer {
  clear: both;
  display: block;
  padding: 4em;
}

.line {
  display: none !important;
}

#me {
  display: block;
}

#partner {
  clear: both;
  position: relative;
  padding-top: 50px;
  width: 100%;
  display: block;
}

#partner-img-container {
  display: flex;
  justify-content: center;
  flex-direction: row;
  margin-top: 50px;
}

.partner-element {
  height: 150px;
  width: 100%;
  display: block;
}

.partner-img {
  display: block;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  height: 150px;
}

.nnd {
  background-image: url("../src/partner-nnd.png");
}

.anja {
  background-image: url("../src/partner-anja.png");
}

#partner > p {
  font-family: 'Lora', sans-serif;
  font-size: 24px;
  color: #FFF;
  background-color: #2D4442;
  border-bottom: solid 6px #E9E289;
  font-weight: bold;
  position: relative;
  width: 100%;
  line-height: 75px;
  text-align: center;
  display: block;
}

@media only screen and (max-width: 768px) {
  .portrait, .description {
    width: 80%;
    display: block;
    clear: none;
    margin-left: 10%;
    margin-right: auto;
  }

  .line {
    display: inline-block !important;
  }
}
