/* resets will go here.*/
/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline; }

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block; }

ol, ul {
  list-style: none; }

blockquote, q {
  quotes: none; }

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none; }

table {
  border-collapse: collapse;
  border-spacing: 0; }

h1 {
  font-family: "Playfair Display", Times Roman, serif;
  font-size: 3.157em;
  font-weight: 700;
}

h2 {
  /*font-family: "Roboto", Helvetica, Arial, sans-serif;*/
  font-family: "Playfair Display", Times Roman, serif;
  font-size: 2.369em;
  font-weight: 700;
}

h3 {
  /*font-family: "Roboto", Helvetica, Arial, sans-serif;*/
  font-family: "Playfair Display", Times Roman, serif;
  font-size: 1.777em;
  text-transform: capitalize;
  font-weight: 700;
}

/*.playfair{
  font-family:'Playfair Display', serif;
}*/

h4 {
  font-family: "Roboto", Helvetica, Arial, sans-serif;
  font-size: 1.333em;
}

p {
  font-family: "Roboto", Helvetica, Arial, sans-serif;
  font-size: 1em;
}

h5 {
  font-size: 0.9em;
}

h6 {
  font-size: 0.563em;
}

/* ///////////// Navigation ////////////// */
header {
  position: fixed;
  z-index: 98;
  top: 0;
  width: 100%;
  display: block;
  transition: all 400ms ease-out; }

nav {
  font-family: "Playfair Display", Times Roman, serif;
  font-size: 0.9em;
  height: 64px; }
  nav a, nav a:active, nav a:hover, nav a:visited {
    color: #212529;
    margin: auto 0.5em;
  }
  nav a:active, nav a:hover {
    /*color: #243c4d;
    font-weight: 700;*/
    /*transition: all 4s ease-in-out;
    transition: transform 10s ease;*/
  }
  .logo{
      font-size: 1.3em; }

  /*.nav-link:first-of-type{
        padding: .5rem 0.3rem;
  }*/

.is-active {
  transform: translateY(-95px) !important; }

/* ///////////// Navigation end ////////////// */

/* ///////////// Social   ////////////// */
.social a {
  color: #243c4d;
  margin: 0 10px;
  text-decoration: none; }
  .social a :hover {
    color: #1F88AF; }
.social a:first-of-type{
  margin-left: 0;
}
.social a:last-of-type {
  margin-right: 0;
}
/* ///////////// Social end ////////////// */

/* ///////////// home ////////////// */
.home-wide {
  height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  width: 100%;
  padding-right: 21px;
  padding-left: 21px;
}

.home-wide h1 span {
  display: table;
}

.home-wide .social a {
    color: #ffffff;
  }
/* ///////////// home end ////////////// */

/* ///////////// portfolio section ////////////// */
.work-grid {
  background-size: cover !important;
  background-position: center center !important;
  margin: 15px 0;
}
.work-grid a {
  display: block;
  padding: 40% 0 0 0;
}
.work-grid a, .work-grid a:active, .work-grid a:hover, .work-grid a:visited {
    text-decoration: none;
}
.work-grid a h4, .work-grid a:active h4, .work-grid a:hover h4, .work-grid a:visited h4 {
      color: #ffffff;
      font-weight: 600;
}
.work-grid a h3, .work-grid a:active h3, .work-grid a:hover h3, .work-grid a:visited h3 {
      color: #000000;
      transition: transform 0.5s ease;
      font-weight: 600;
}
.work-grid a:active, .work-grid a:hover {
    background: rgba(18, 15, 25, 0.3);
}
.work-grid a:active h3, .work-grid a:hover h3 {
      color: #ffffff;
      transform: translateX(16px);
      transition: transform 0.5s ease;
}
.work-grid .work-text {
    min-height: 70px;
    padding: 0 0 40px 10px;
}

/* The individual projects */
.greybg {
  background: #fafafa; }

.darkgreybg{
  background: #f3f3f3;
}

/* The Title of page */
.page-title {
  padding: 10% 0;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.page-title h5 {
    margin-top: 0.5%;
}

/* if container-fluid, full width, with bg color */
.portfolio-grid-fluid {
    padding: 10% 5%;
}

.project-grid-topic-3 {
  /*padding: 10% 0;*/
  padding: 5% 0 10% 0;
}

.project-grid-topic-3 p {
    font-size: 1.2em;
    font-weight: 300;
    line-height: 30px;
}

.project-grid-topic-3 a, .project-grid-topic-3 a:active, .project-grid-topic-3 a:hover, .project-grid-topic-3 a:visited {
    background: #000000;
    color: #ffffff;
    display: inline-block;
    margin-top: 10px;
    padding: 1em;
    text-align: center;
}
.project-grid-topic-3 a:active, .project-grid-topic-3 a:hover {
    background: #E0E0E0;
    color: #000000;
    text-decoration: none;
}

/* used in indivdual profilo projects */
.portfolio-grid {
  padding: 10% 5%;
}

.portfolio-grid p {
    font-size: 1.5em;
    font-weight: 300;
    line-height: 40px;
}

.portfolio-grid a, .portfolio-grid a:active, .portfolio-grid a:hover, .portfolio-grid a:visited {
  color: #212529;
  font-family: "Roboto", Helvetica, Arial, sans-serif;
  font-weight: 400;
  line-height: 40px;
  text-decoration: none;
}
.portfolio-grid a:active, .portfolio-grid a:hover {
    color: #212529;
}

a.slide-link, a.slide-link > span {
  font-size: 1.5em;
  position: relative;
}

a.slide-link-regular, a.slide-link-regular > span {
  font-size: inherit;
}

a.slide-link:before, a.slide-link:after, a.slide-link > span:before, a.slide-link > span:after {
  content: '';
  position: absolute;
  transition: transform .5s ease;
}

.slide-link {
  display: inline-block;
  padding-top: 10px;
  padding-bottom: 5px;
  overflow: hidden;
}

.slide-link:before {
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: #212529;
  /*transform: translateX(-100%);*/
  -webkit-transition: .6s cubic-bezier(.165,.84,.44,1);
  transition: .6s cubic-bezier(.165,.84,.44,1);
  transition-property: all;
  -webkit-transition-property: -webkit-transform;
  transition-property: -webkit-transform;
  transition-property: transform;
  transition-property: transform,-webkit-transform;
  -webkit-transform-origin: right;
  transform-origin: right;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
}
.slide-link:hover:before {
  /*transform: translateX(0);*/
  -webkit-transform-origin: left;
  transform-origin: left;
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}
.greybg .portfolio-grid, .darkgreybg .portfolio-grid {
    padding: 10% 9.5%;
  }

.imgMove{
  position: relative;
}
.imgLeft{
  bottom: 4em;
  left:0;
  padding: 0;
  position: absolute;
}
.imgMiddle{
  top: -1em;
  left:30%;
  padding: 0;
  position: absolute;
}
.imgRight{
  top: -7em;
  right: 0;
  padding: 0;
  position: absolute;
}
.position-relative {
    position: relative !important;
}
.hoverZoom figure img {
	-webkit-transform: scale(1);
	transform: scale(1);
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}
.hoverZoom figure:hover img {
	-webkit-transform: scale(1.3);
	transform: scale(1.3);
}
figure {
  max-height: 233px;
	margin: 0;
	padding: 0;
	background: #fff;
	overflow: hidden;
  bottom: -5px;
}
figure:hover+span {
	bottom: -36px;
	opacity: 1;
}
.appear {
  animation: appear 1s 1;
  position: relative;
  display: inline-block;
  animation-fill-mode: both;
}
.appear:nth-child(2) {
  animation-delay: 0.4s;
}
.appear:nth-child(3) {
  animation-delay: 0.8s;
}
.appear:nth-child(4) {
  animation-delay: 1.2s;
}
.appear:nth-child(5) {
  animation-delay: 1.6s;
}
.appear:nth-child(6) {
  animation-delay: 2s;
}
.appear:nth-child(7) {
  animation-delay: 2.4s;
}
.appear:nth-child(8) {
  animation-delay: 2.8s;
}
.appear:nth-child(9) {
  animation-delay: 3.2s;
}
.appear:nth-child(10) {
  animation-delay: 3.6s;
}

@keyframes appear {
  0% {
    transform: translateY(-20px);
    opacity: 0;
  }
  100% {
    transform: translateY(0px);
    opacity: 1;
  }
}

a.linkbtn, a:active.linkbtn, a:hover.linkbtn, a:visited.linkbtn {
  background: #000000;
  border: 3px solid #000000;
  color: #ffffff;
  display: inline-block;
  margin-top: 10px;
  padding: 1em;
  text-align: center;
}

a:active.linkbtn, a:hover.linkbtn {
  background: #E0E0E0;
  color: #000000;
  text-decoration: none;
}

.linkbtn {
  background: #000000;
  color: #ffffff;
  display: inline-block;
  margin-top: 10px;
  padding: 1em;
  text-align: center;
  font-family: initial !important;
  font-size: 1em !important;
  font-weight: normal !important;
  line-height: normal !important;
}

a.linkbtninverted, a:active.linkbtninverted, a:hover.linkbtninverted, a:visited.linkbtninverted {
  border: 3px solid #000000;
  color: #000000;
  display: inline-block;
  margin-top: 10px;
  padding: 1em 3em;
  text-align: center;
}

a:active.linkbtninverted, a:hover.linkbtninverted {
  border: 3px solid #E0E0E0;
  color: #E0E0E0;
  text-decoration: none;
}

a.linkbtnlight, a:active.linkbtnlight, a:hover.linkbtnlight, a:visited.linkbtnlight {
  background: #E0E0E0;
  border: 3px solid #E0E0E0;
  color: #000000;
  display: inline-block;
  margin-top: 10px;
  min-width: 150px;
  padding: 1em;
  text-align: center;
}

a:active.linkbtnlight, a:hover.linkbtnlight {
  background: #000000;
  border: 3px solid #000000;
  color: #E0E0E0;
  text-decoration: none;
}

a:hover.linkbtn + a.linkbtnlight {
  background: #000000;
  border: 3px solid #000000;
  color: #E0E0E0;
  text-decoration: none;
}

.homebtn .linkbtn {
  border: 3px solid #000000;
  padding: 1em 1.6em;
}
  .homebtn .linkbtn:active, .homebtn .linkbtn:hover {
    border: 3px solid #E0E0E0;
    padding: 1em 1.6em;
  }

a.regular, a:active.regular, a:hover.regular, a:visited.regular {
  background: initial;
  color: #212529;
  display: inline-block;
  font-weight: 300;
  margin-top: initial;
  margin-left: initial;
  padding: initial;
  text-align: initial;
  text-decoration: underline;
}

a:active.regular, a:hover.regular {
  background: initial;
  color: #243c4d;
  text-decoration: underline;
}

  .portfolio-sidebar{
    position: fixed;
    z-index: 98;
    right: 0;
    width: 100%;
    display: block;
    transition: all 400ms ease-out;
    bottom: 200px;
  }
  .portfolio-sidebar a{
    color: #000000
  }

.moreprojects{
  padding-bottom: 5%;
}
.moreprojects a:link, .moreprojects a:active, .moreprojects a:hover, .moreprojects a:visited{
  color: #212529;
}

.moreprojects a:active, .moreprojects a:hover{
  color: #212529;
  text-decoration: none;
}
/* ///////////// portfolio section end ////////////// */

/* ///////////// Contact ////////////// */
input[type="text"], input[type="email"] {
  width: 100%;
  margin: 0 0 1% 0;
  border: 1px solid #d2cfd8;
  font-size: 1em;
  line-height: normal;
  box-sizing: border-box;
  font-family: "Roboto", Helvetica, Arial, sans-serif;
  font-size: 1.125em;
  height: 70px;
  text-indent: 2%; }

input:focus, textarea:focus {
  background: #FAFAFA none repeat scroll 0 0;
  border: 1px solid #c7c7c7; }

textarea {
  width: 100%;
  padding: 1%;
  margin: 0 0 1% 0;
  border: 1px solid #d2cfd8;
  font-size: 1em;
  line-height: normal;
  box-sizing: border-box;
  font-family: "Roboto", Helvetica, Arial, sans-serif;
  font-size: 1.125em;
  text-indent: 1%; }

input[type="submit"], input[type="button"], input[type="reset"] {
  border: #ffffff;
  background-color: #000000;
  color: #ffffff;
  font-family: "Roboto", Helvetica, Arial, sans-serif;
  font-size: 1em;
  height: 80px;
  margin: 0 0 1% 0;
  padding: 2% 5%;
  width: 100%; }

input[type="submit"]:hover, input[type="button"]:hover, input[type="reset"]:hover {
  cursor: pointer;
  background-color: #E0E0E0;
  color: #000000; }

input[type="submit"]:visited {
  cursor: pointer;
  background-color: #000000; }

input[type="submit"]:active {
  cursor: pointer;
  background-color: #E0E0E0; }

input[type="submit"]:focus {
  cursor: pointer;
  background-color: #E0E0E0; }

input[type="checkbox"] {
  border-radius: 4px;
  background: #fcfff4;
  padding: 1%; }


  a.connect, a:active.connect, a:hover.connect, a:visited.connect {
    background: initial;
    color: #000000;
    display: inline-block;
    margin-top: initial;
    margin-left: initial;
    padding: initial;
    text-align: initial;
    text-decoration: none; }

  a:active.connect, a:hover.connect {
    background: initial;
    color: #243c4d;
    text-decoration: underline; }

.tasks{
    background: #000000;
    color: #ffffff;
    display: inline-block;
    padding: 1em;
    text-align: center;
    font-size: 1em;
    font-family:'Playfair Display', serif;
    margin: 5px
   10px 0 0;
    }
/* ///////////// Contact end ////////////// */

/* ///////////// Footer ////////////// */
footer {
  border-top: 1px solid #f1f1f1;
  color: #ffffff;
  min-height: 100px;
}

footer .row:first-of-type{
  background: #ffffff;
}
footer .row:last-of-type{
  background: #000000;
}

footer .row:last-of-type a{
  color: #ffffff !important;
}
footer .row:last-of-type a:active, footer .row:last-of-type a:hover {
  color: #1F88AF;
  text-decoration: underline;
}

footer a, footer a:active, footer a:hover, footer a:visited {
  color: #000000;
  /*font-family: "Roboto", Helvetica, Arial, sans-serif;*/
  font-family: "Playfair Display", Times Roman, serif;
  text-decoration: none;
}
footer a:active, footer a:hover {
  color: #1F88AF;
}
footer .social a, footer .social a:active, footer .social a:hover, footer .social a:visited{
  color: #000000;
}

.footer-link{
      padding: 0 1rem;
}
/* ///////////// Footer end ////////////// */

/* ///////////// responsiveness ////////////// */
/*Medium devices (tablets, 768px and below)*/
@media (max-width: 768px) {
  h1 {
    font-size: 2.5em;
  }

  .home-wide{
    height: auto;
    padding-top: 100px;
    padding-bottom: 100px;
    padding-right: 0;
    padding-left: 0;
  }

  .home-wide h1 span {
    display: inline;
  }

  .imgLeft, .imgMiddle, .imgRight{
    top: initial;
    right: initial;
    left: initial;
    bottom: initial;
    position: initial;
  }

  .portfolio-sidebar {
    bottom: 20px;
  }
}
/*Extra small devices (portrait phones, less than 576px)*/
@media (max-width: 575.98px) {
  h1 {
    font-size: 2em;
  }

  h2 {
    font-size: 1.712em; }

  h3 {
    font-size: 1.12em;
  }

  h4 {
    font-size: 1.1em;
  }

  p {
    font-size: 1em !important;
  }

  h5 {
    font-size: 0.9em;
   }

  h6 {
    font-size: 0.8em;
  }

  .home-wide {
    padding-bottom: 40px;
  }

  .home-wide .social a {
    margin: 0 10px 0 0 !important;
  }

  .title-mobile{
    padding-top: 100px;
  }

  .portfolio-sidebar{
    display: none;
  }

  .social a{
    margin-right: 0;
    margin-left: 4px;
  }

  footer .col-sm-12 p {
    font-size: 0.9em;
  }

  footer .social a {
    margin-right: 10px;
  }
}

@media (max-width: 365px) {
  .social a{
    margin-right: 0;
    margin-left: 1px;
  }
}
/* ///////////// responsiveness end////////////// */
