/*CSS reset*/
*{
    box-sizing: border-box;
}

body{
    margin:0;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 100%;
}

h1 {
    font-size:1.5em;
    font-weight: 600;
}
h2 {
    font-weight: 600;
    font-size:1.25em;
    margin-bottom: 0em;
}
h3,h4,h5,h6 {
    font-size:1em;
    letter-spacing: 0.5px;
}
p{
    font-size: 12px;
    font-weight: 300;
    color: #4a4a4a;
    line-height: 1.75;
    padding-top: 4px;
}

a{
    text-decoration: none;
    color:inherit;
    position: relative;
}

ul{
  list-style: none;
  margin: 0;
  padding: 0;
}
.header{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}
.header-colored{
  background-color: #fff;
  opacity: 0.9;
}

/*Classes*/
.container{
    max-width: 1100px;
    margin-right: auto;
    margin-left: auto;
}

.flex-parent{
    display: flex;
}
.flex-child{
    flex:1 1 auto;
}
.flex-none{
    flex: none;
}
.flex-vertical{
    flex-direction: column;
}
.flex-center{
    align-items: center;
}

.nav ul {
    list-style-type: none;
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 0;
}

.nav a {
    padding: 0.2em 0.5em;
}

.card {
    padding: 1em;
    border-radius: 3px;
    box-shadow: 0 2px 1px rgba(0,0,0,0.15);
    margin-top: 1em;
    margin-bottom: 1em;
    position: relative;
}
.card :first-child{
    margin-top: 0;
}
.card :last-child{
    margin-top: 0;
}
.clearfix:after,
.card:after{
    display: table;
    clear: both;
    content: '';
}


.view-window{
    position: relative;
    height: 70vh;
    background-size: cover;
    background-position: center;
}
.view-window>img{
    max-width: calc(80%-100px);
    max-height: calc(80%-100px);
}
.view-window:before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.centered-child{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    height: 350px;
}

.deflist dt{
    font-weight: bold;
    float: left;
    width: 10em;
}
.deflis dd{
    margin-left: 0;
    float: left;
    width: calc(100% - 10em);
}
/*Gallery*/
.gallery{
    padding:2rem;
    margin-right: auto;
    margin-left: auto;
}
.gallery_grid{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}
.gallery_img{
    background-position: center;
    background-repeat: no-repeat;
    border:1px solid rgb(107,176,4);
    margin: 2em 1em;
    transition:all 1s;
}
.gallery_img:hover{
    transform: scale(1.1);
}
.imgbox{
  height: 100%;
  width: 100%;
  background-size: cover;
  background-position: center;
}
.small_caption{
  font-size: 16px;
  font-style: italic;
  font-weight: 300;
}
/*#myVideo {
    width: 100%;
    height: 80%;
}
#myVideo:after{
    content: "";
    background: rgba(0,0,0,0.3);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: .7;
    z-index: 0;
}*/

/*Button*/
.button{
    text-align: center;
    text-decoration: none;
}
.section .button{
    position: absolute;
    top: 80vh;
    left: 50%;
    transform: translateX(-50%);
}
.scrolldown-btn{
    width: 48px;
    height: 48px;
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background-image: url('../img/arrow.svg');
    background-size: 16px;
    background-repeat: no-repeat;
    background-position: center;
    animation: breath 4s infinite;
}
@keyframes breath{
    0%{opacity: 0.5; transform: translateY(0);}
    50%{opacity: 1;transform: translateY(-50%);}
    100%{opacity: 0.5;transform: translateY(0);}
}
.goback-btn{
    color: #fff;
    padding-left: 30px;
}
/*.back-arrow {
      display: inline-block;
      margin-right: 10px;
      border: 1px solid #fff;
      border-width: 0 0 1px 1px;
      width: 10px;
      height: 10px;
      line-height: 0;
      font-size: 0;
      transform: rotate(45deg);
}*/
.icon-btn{
    display: inline-block;
    width: 32px;
/*    height: 24px;*/
/*    line-height: 32px;*/
    font-size: 22px;
    margin-top: -24px;
    opacity: 0.6;
}
.icon-btn .icon{
    display: block;
    text-align: center;
    transition: all 0.3s;
}
.icon-btn .icon:hover{
    opacity: 0.9;
    transform: translateY(-20%);
}
/*Utilities*/
.u-text-center{
    text-align: center;
}

/*$Icons */

@font-face {
  font-family: 'fontello';
  src: url('../font/fontello.eot?76528912');
  src: url('../font/fontello.eot?76528912#iefix') format('embedded-opentype'),
       url('../font/fontello.woff2?76528912') format('woff2'),
       url('../font/fontello.woff?76528912') format('woff'),
       url('../font/fontello.ttf?76528912') format('truetype'),
       url('../font/fontello.svg?76528912#fontello') format('svg');
  font-weight: normal;
  font-style: normal;
}
/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
/*
@media screen and (-webkit-min-device-pixel-ratio:0) {
  @font-face {
    font-family: 'fontello';
    src: url('../font/fontello.svg?76528912#fontello') format('svg');
  }
}
*/
 
 [class^="icon-"]:before, [class*=" icon-"]:before {
  font-family: "fontello";
  font-style: normal;
  font-weight: normal;
  speak: none;
 
  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  /*margin-right: .2em;*/
  text-align: center;
  /* opacity: .8; */
 
  /* For safety - reset parent styles, that can break glyph codes*/
  font-variant: normal;
  text-transform: none;
 
  /* fix buttons height, for twitter bootstrap */
  /*line-height: 1em;*/
 
  /* Animation center compensation - margins should be symmetric */
  /* remove if not needed */
  /*margin-left: .2em;*/
 
  /* you can be more comfortable with increased icons size */
  /* font-size: 120%; */
 
  /* Font smoothing. That was taken from TWBS */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
 
  /* Uncomment for 3D effect */
  /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */

}

/*Footer*/
/*footer{
    display: block;
    background-color: #000;
    height: 90px;
    position: relative;
}*/
.footer_logo{
    display: block;
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 40px;
    background-image: url('../img/personal-logo.gif');
    background-position: center;
    background-size: cover;
}
.copy_right{
    color: #fff;
    padding-top: 50px;
    margin-bottom: 15px;
    text-align: center;
    margin: 0;
}

/*Overlay*/

.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-color: #008CBA;
}

.a:hover .overlay {
  opacity: 1;
}

.text {
  color: white;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}

.icon-mail:before { content: '\e800'; } /* '' */
.icon-search:before { content: '\e801'; } /* '' */
.icon-quote-right:before { content: '\e803'; } /* '' */
.icon-quote-left:before { content: '\e804'; } /* '' */
.icon-twitter:before { content: '\f099'; } /* '' */
.icon-dribbble:before { content: '\f17d'; } /* '' */
.icon-behance:before { content: '\f1b4'; } /* '' */
.icon-paper-plane:before { content: '\f1d8'; } /* '' */
.icon-paper-plane-empty:before { content: '\f1d9'; } /* '' */
.icon-facebook-official:before { content: '\f230'; } /* '' */
.icon-facebook-squared:before { content: '\f308'; } /* '' */











