/**
 * Andreas Michel
 */
body {
  background: #fff;
  color: #000;
  font-family: "Droid Serif", serif;
  font-size: 15px;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: none;
  word-wrap: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  padding: 40px 95px 95px 95px;
  margin: 0px;
  min-height: 1200px;
}
/* ----------------------------------------------------------- HEADER ----------------------------------------------------------- */
.header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0px auto 50px;
  max-width: 1560px;
  min-height: 85px;
  width: 100%;
}
.header-title {
  display: inline-flex;
  flex: 0 1 auto;
  padding-right: 40px;
  font-size: 50px;
  line-height: normal;
  font-weight: bold;
}
.header-title a {
  color: #000;
  text-decoration: none;
  display: contents;
}
.header-title a:hover {
  color: #000;
}
.header-title a:active {
  color: #666;
}
.header-navigation {
  display: inline-flex;
  flex: 0 1 auto;
  flex-wrap: wrap;
  font-size: 14px;
  padding-top: 6px;
  gap: 20px;
}
.navigation-list {
  font-style: normal;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.navigation-list a {
  text-decoration: none;
  color: #999;
}
.navigation-list a:hover {
  border-bottom: 1px solid #000;
  color: #000;
}
.navigation-list a:active {
  color: #666;
  border-bottom: 1px solid #666;
}
/* ----------------------------------------------------------- PROJECT ----------------------------------------------------------- */
.projects {
  display: flex;
  flex-direction: column;
  max-width: 1560px;
  margin: 0 auto;
}
.project {
  display: none;
}
.project.active {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  padding-bottom: 150px;
  column-gap: 100px;
  row-gap: 0px;
}
.project-spacer {
  display: inline-flex;
  flex-basis: 100%;
  padding-bottom: 150px;
}
/* ----------------------------------------------------------- PROJECT MEDIA----------------------------------------------------------- */
.project-media {
  display: inline-flex;
  align-items: flex-start;
  flex-direction: column;
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: 500px;
  font-style: normal;
}
.project-media-text {
  display: inline-flex;
  flex-direction: column;
  padding-top: 50px;
  max-width: 720px;
  min-height: 0px;
}
.project-media.right {
  align-items: flex-end;
}
.project-media.center {
  align-items: center;
}
.project-media.narrow {
  flex-basis: 410px;
  max-width: 720px;
}
.project-gallery {
  display: inline-flex;
}
.project-gallery a {
  display: inline-flex;
  cursor: zoom-in;
}
.project-gallery img {
  max-height: 720px;
  max-width: 100%;
}
.project-gallery.item {
  display: none;
}
.project-gallery.item.active {
  display: inline-flex;
}
.portrait {
  padding-right: 180px;
}
.portrait.narrow {
  padding-right: 240px;
}
.square {
  max-width: 720px;
}
.zoom {
  overflow: hidden;
  display: inline-flex;
}
.zoom img:hover {
  opacity: 0;
}
.zoom img {
  transition: opacity .5s ease-in-out;
  display: inline-flex;
  width: 100%;
}
.contact a {
  cursor: default;
}
.caption {
  display: inline-flex;
  font-weight: bold;
  height: 15px;
  padding-top: 5px;
  padding-bottom: 5px;
}
/* ----------------------------------------------------------- PROJECT CONTENT ----------------------------------------------------------- */
.project-content {
  display: inline-flex;
  flex-direction: column;
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: 380px;
  min-height: 720px;
}
.project-content.narrow {
  flex-basis: 180px;
  align-items: flex-start;
}
.project-content.wide {
  flex-direction: column;
  flex-basis: 470px;
  margin-left: auto;
}
.project-text {
  display: inline-flex;
  flex-direction: column;
}
.project-text.bottom{
  margin-top: auto;
  display: inline-flex;
  flex-direction: column;
  max-width: 720px;
}
.text:last-child {
  padding-bottom: 0px;
}
.title {
  font-weight: bold;
  line-height: 1.4em;
  padding-bottom: 20px;
}
.text {
  font-weight: normal;
  line-height: 1.4em;
  padding-bottom: 20px;
}
.text a {
  font-weight: normal;
  text-decoration: none;
  color: black;
}

.text a:hover{
  border-bottom: 1px solid #999;
  color: #999;
}
.text.item {
  padding-bottom: 14px;
  width: 100%;
}
.text.item:last-child {
  padding-bottom: 0px;
}
.text.item.active a {
  color: black;
  border-bottom: 1px solid black;
}
.text.item a {
  color: #999;
  cursor: pointer;
}
.text.item a:hover {
  border-bottom: 1px solid #999;
}
.hidden{
  display: none;
}	
.footer {
  color: #999999;
  font-size: 12px;
  line-height: 1.5;
}
.footer a {
  border-bottom: 1px solid #ccc;
  color: #999999;
  text-decoration: none;
  cursor: pointer;
}
.footer a:hover {
  color: #000;
}
.footer a:active {
  background: none;
  color: #999999;
}

.footer-link {
  display: contents;
}


/* ----------------------------------------------------------- PROJECT NAVIGATION ----------------------------------------------------------- */
.navigation {
  display: inline-flex;
  flex-direction: column;
  width: 100%;
  margin-top: auto;
}
.navigation-icons {
  display: inline-flex;
  justify-content: flex-end;
  gap: 50px;
}
.icon {
  display: inline-flex;
}
.icon a {
  display: inline-flex;
  cursor: pointer;
}
.icon a:hover {
  background: none;
  color: #000;
  opacity: 0.6;
}
.icon a:active {
  background: none;
  color: #666;
  opacity: 0.3
}
.icon img {
  height: 80px;
}
/* ----------------------------------------------------------- CV ----------------------------------------------------------- */
.timeline {
  display: inline-flex;
  flex-direction: column;
  min-width: 500px;
}
.timeline-item {
  display: inline-flex;
  height: 100px;
  flex-direction: row;
  justify-content: flex-start;
}
.timeline-item:last-child {
  display: inline-flex;
  flex-direction: row;
  height: auto;
  justify-content: flex-start;
}
.timeline-date {
  display: inline-flex;
  font-weight: normal;
  padding-right: 65px;
  width: 120px;
  flex-direction: column;
  text-align: start;
  color: #999;
}
.timeline-date-text {
  font-weight: normal;
  padding-bottom: 10px;
  color: #999;
}
.timeline-date-text:last-child {
  padding-bottom: 0px;
}
.timeline-event {
  display: inline-flex;
  padding-left: 65px;
  flex-direction: column;
}
.timeline-event-title {
  font-weight: bold;
  padding-bottom: 10px;
}
.timeline-event-text {
  font-weight: normal;
  padding-bottom: 10px;
}
.timeline-objects {
  display: inline-flex;
  flex-direction: column;
  width: 18px;
  align-items: center;
}
.circle {
  display: inline-flex;
  min-height: 14px;
  min-width: 14px;
  border: solid 2px;
  background-color: white;
  border-radius: 50%;
}
.circle.small {
  min-height: 8px;
  min-width: 8px;
}
.circle.empty {
  color: #999;
}
.line {
  display: inline-flex;
  height: 100%;
  border-right: solid 2px;
  position: relative;
}
.triangle {
  display: inline-flex;
  fill: white;
  stroke: black;
  stroke-width: 2px;
}
.skills {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  width: 100%;
  max-width: 500px;
  min-width:380px;
}
.skill {
  display: inline-flex;
  font-weight: normal;
  flex-direction: row;
  padding-bottom: 10px;
  width: 100%;
  height: 18px;
}
.skill:last-child {
  padding-bottom: 0px;
}
.skill-title {
  display: inline-flex;
  font-weight: normal;
  padding-right: 50px;
  min-width: 120px;
  flex-direction: column;
  text-align: start;
}
.skill-objects {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.skill-box {
  width: 100%;
  height: 2px;
  background-color: #999;
}
.skill-bar-60{
  width: 60%;
  height: 100%;
  background-color: black;
}




/* ----------------------------------------------------------- THUMBNAILS ----------------------------------------------------------- */
.thumbnails {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin: 0 auto;
  max-width: 1560px;
  gap: 30px;
}
.thumbnail {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  width: calc((100% - 5 * 30px) / 6);
}

.thumbnail.transparent {
  opacity: 90%;
}
.thumbnail:hover {
  opacity: 0.6;
}
.thumbnail:last-child:hover {
  opacity: 1;
}
.thumbnail-active {
  opacity: 0.6;
}
.thumbnail a {
  width: 100%;
  height: 100%;
  cursor: pointer;
  text-decoration: none;
}
.thumbnail img {
  width: 100%;
}
.thumbnail-text {
  display: inline-flex;
  position: absolute;
  font-style: normal;
  color: #666;
}
.thumbnail-text:hover {
  color: #000;
  text-decoration-line: underline;
  text-underline-offset: 3px;
}
.thumbnail-text:active {
  color: #666;
}
/* ----------------------------------------------------------- MEDIA QUERIES 1240 ----------------------------------------------------------- */
@media all and (max-width: 1240px) {
  .project {
    justify-content: flex-start;
    flex-direction: column;
    min-height: 1210px;
  }
  .project-media {
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: 100%;
    width: 100%;
    max-height: 720px;
    display: contents;
  }
  .project-media.right {
    align-items: flex-start;
  }
  .project-media.center {
    align-items: flex-start;
  }
  .project-content {
    width: 100%;
    flex-grow: 1;
    flex-shrink: 0;
    flex-basis: 100%;
    min-height: 500px;
    display: contents;
  }
  .title {
    width: 100%;
  }
  .thumbnail {
    width: calc((100% - 4 * 30px) / 5);
  }
  .project-gallery {
    order: 1;
  }
  .project-text {
    padding-top: 50px;
    padding-bottom: 50px;
    order: 2;
  }
  .project-media-text {
    order: 2;
  }
  .navigation {
    order: 3;
  }
  .skills {
    order: 4;
  }
  .timeline {
    padding-bottom: 100px;
    order: 3;
  }
   .hidden {
    display: inline-flex;
  }
}
/* ----------------------------------------------------------- MEDIA QUERIES 960 ----------------------------------------------------------- */
@media all and (max-width: 960px) {
  .thumbnail {
    width: calc((100% - 3 * 30px) / 4);
  }
}
/* ----------------------------------------------------------- MEDIA QUERIES 840 ----------------------------------------------------------- */
@media all and (max-width: 840px) {
	body {	
	font-size: 17px;
  }
	.header {
  margin-bottom: 45px;
}
  .footer {
    font-size: 15px;
	}
	.thumbnail {
    width: calc((100% - 2 * 30px) / 3);  
  }
}
/* ----------------------------------------------------------- MEDIA QUERIES 640 ----------------------------------------------------------- */
@media all and (max-width: 640px) {
  body {
    padding: 20px;
  }	
  .header-title {
    padding-right: 0px;
  }
  .project-media {
    flex-basis: 100%;
  }
  .thumbnail {
    width: calc((100% - 30px) / 2);
  }
}
/* ----------------------------------------------------------- MEDIA QUERIES 320 ----------------------------------------------------------- */
@media all and (max-width: 320px) {
  body {
    padding: 15px;
  }
  .thumbnail {
    display: inline-flex;
    width: 100%;
  }
}