
@import url('https://fonts.googleapis.com/css?family=Karla');
/*@import url('https://fonts.googleapis.com/css?family=Noto+Sans');
@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro');*/

html, body {
  position: relative;
  height: 100%;
}
body {
  background-color: #c4d9ea;
    font-family: 'Karla', sans-serif;

  /*font-family: 'Noto Sans', sans-serif;*/
  font-size: 16px;
  color:#000;
  margin: 0;
  padding: 30px 0;
}
a{
  color: black;
  text-decoration: none;
}

a:hover{
    color: hotpink;
}

header#site-header{
  padding: 0 60px;
}
header#site-header h1{
  margin: 0;
  padding: 0;
  font-size: 16px;
}
.project{
  margin: 60px 0 120px 0;
  position: relative;
}
.project-header{
  margin: 0 0 15px 60px;
}
h2.project-title {
  margin: 0;
  font-size: 16px;
}
.project-subtitle {
  font-size: 14px;
}
.project-description{
  margin: 15px 0 0 60px;
  max-width: 1000px;
}
#main-menu{
  text-align: left;
  float: right;
}
#main-menu ul{
  list-style: none;
  padding: 0;
  margin: 0;
}
#main-menu ul li.menu-item{
  display: inline;
  margin-right: 15px;
}
#main-menu ul li.menu-item:last-child {
  margin-right: 0;
}
/*Popup */
#popup-wrapper.closed{
  display: none;
  width: 0;
  height: 0;
}
#popup-wrapper.open,
#popup-wrapper.open #popup-overlay{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  width: 100vw;
  height: 100%;
  height: 100vh;
  z-index: 100;
}
.blur {
  overflow: hidden;
}
.blur .project{
  filter: blur(4px);
}
#popup-wrapper.open #popup-overlay{
  background-color: rgba(255,255,255,0.5);
}
#popup-content{
  width: 50%;
  height: auto;
  max-height: 75%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px dotted black;
  background-color: rgba(255,255,255,1);
  padding: 50px;
  z-index: 200;
  box-sizing: border-box;
  overflow: auto;
}
.popup-body{
  overflow-y: auto;
  display: none;
}
.popup-body.show{
  display: block;
}
#popup-close{
  position: absolute;
  top: 10px;
  left: auto;
  right: 10px;
  cursor: pointer;
}
.videoWrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  width: 100%;
}
.videoWrapper iframe,
.videoWrapper object,
.videoWrapper embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


@media screen and (max-width: 768px) {
  body{
    padding: 15px 0;
  }
  header#site-header {
    padding: 0px 15px;
  }
  .project-header{
    margin: 0 0 15px 15px;
  }
  .project-description{
    margin: 15px 0 0 15px;
  }
  #popup-content{
    width: 80%;
    padding: 15px;
  }
}
