/*body {background-color: #EBECF0}*/

html, body {
  height:100%;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  font-family: 'Open Sans', sans-serif;
}


a, a:hover {
    text-decoration: none;
    color: #dc6252;
    cursor: pointer;
    transition: 0.2s opacity;
    -webkit-transition: 0.2s opacity;
}

.content {
    max-width: 900px;
    margin: 0 auto 50px;
}

#header {
  margin-top: 50px;
  margin-bottom: 50px;
  padding: 0 15px;
}

#header h1 {
  color: black;
  font-size: 40px;
  font-weight: 700;
  float: left;
  font-family: 'Playfair Display', serif;
  margin: 0;
}

#links {
  text-align: right;
  margin-top: 20px;
}

#links a {
  font-size: 14px;
  padding: 0 0 3px 0;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-left: 40px;
  border-bottom: 2px solid transparent;
  transition: 0.3s all;
}

#links a:hover {
  border-bottom: 2px solid #dc6252;
}

.hero-unit {
  font-size: 18px;
  line-height: 30px;
  font-weight: 300;
  background-color: #fff;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  margin: 0 0 10px;
}

.hero-unit h1 {
  border-bottom: 1px solid gray;
  font-size: 14px;
  padding: 0 0 10px 0;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.vertical-center {
  min-height: 100%;  /* Fallback for browsers do NOT support vh unit */
  min-height: 100vh; /* These two lines are counted as one :-)       */
  display: flex;
  align-items: center;
}

#skills ul {
  padding: 0;
  margin: 0;
}

.hero-unit li {
  list-style-type: none;
  padding: 10px 0;
}

/*/// WERK ///*/

#work .links {
  float: right;
  margin-top: 40px;
}

#work .hero-unit {
  margin: 50px 0 0;
}

#work img {
  width: 100%;
  margin-bottom: 30px;
  box-shadow: 0 0 5px rgb(0 0 0 / 10%);
  transition: 0.3s all;
}

#work p {
  margin: 0 0 10px;
  position: absolute;
  transform: translateY(-50%);
  top: 50%;
  text-align: center;
  width: calc(100% - 30px);
  opacity: 0;
  transition: 0.3s all;
  font-weight: 700;
}

#work .col-md-4:hover img {
  opacity: .2;
}

#work .col-md-4:hover p {
  opacity: 1;
}

#work .first {
  margin: 0;
}

#work .last {
  margin: 50px 0 10px;
}

#work #contact {
    margin: 40px 0;
    text-align: right;
}

.about-cta:after {
  content: "";
  display: block;
  padding-bottom: 100%;
}

.about-cta {
  width: 80%;
  background-color: #dc6252;
  margin: 5% 10%;
  border-radius: 100%;
  position: absolute;
}

.about-cta h2 {
  color: #fff;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  text-align: center;
  margin: 0;
  font-family: 'Playfair Display', serif;
}

@media (max-width: 1420px) {
    
    #logo {
        height: 460px;
    }

    #logo h2 {
        font-size: 90px;
    }
  
  .hero-unit {
  font-size: 14px;
  line-height: 24px;
  }
  
  .hero-unit li {
  padding: 5px 0;
  }
}

@media (max-width: 992px) {
  #logo h2 {
    font-size: 80px;
    margin: 0 0 40px;
    /* unrotate logo */
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=0);
  }
  
  #links {
    margin-top: 15px;
  }
}

@media (max-width: 775px) {
  #work .hero-unit {
    margin: 20px 0 0;
  }
  
  #work .last {
    margin: 20px 0 10px;
  }
}

@media (max-width: 570px) {
  .hero-unit {
    padding: 30px;
    font-size: 16px;
  }
  
  #logo h2 {
    font-size: 50px;
    margin: 0 0 30px;
  }
  
  #work h1 {
    font-size: 30px;
  }
  
  #work h3 {
    font-size: 1em;
  }
  
}

@media (max-width: 450px) {
    
  .content {
    width: 100%;
  }
    
  #logo h2 {
    font-size: 40px;
  }

}