/* ==========================================================================
   Normalize.scss settings
   ========================================================================== */
/**
 * Includes legacy browser support IE6/7
 *
 * Set to false if you want to drop support for IE6 and IE7
 */
/* Base
   ========================================================================== */
/**
 * 1. Set default font family to sans-serif.
 * 2. Prevent iOS and IE text size adjust after device orientation change,
 *    without disabling user zoom.
 * 3. Corrects text resizing oddly in IE 6/7 when body `font-size` is set using
 *  `em` units.
 */
@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,700,800");
html {
  font-family: sans-serif;
  /* 1 */
  -ms-text-size-adjust: 100%;
  /* 2 */
  -webkit-text-size-adjust: 100%;
  /* 2 */ }

/**
 * Remove default margin.
 */
body {
  margin: 0; }

/* HTML5 display definitions
   ========================================================================== */
/**
 * Correct `block` display not defined for any HTML5 element in IE 8/9.
 * Correct `block` display not defined for `details` or `summary` in IE 10/11
 * and Firefox.
 * Correct `block` display not defined for `main` in IE 11.
 */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
  display: block; }

/**
 * 1. Correct `inline-block` display not defined in IE 6/7/8/9 and Firefox 3.
 * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
 */
audio,
canvas,
progress,
video {
  display: inline-block;
  /* 1 */
  vertical-align: baseline;
  /* 2 */ }

/**
 * Prevents modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */
audio:not([controls]) {
  display: none;
  height: 0; }

/**
 * Address `[hidden]` styling not present in IE 8/9/10.
 * Hide the `template` element in IE 8/9/10/11, Safari, and Firefox < 22.
 */
[hidden],
template {
  display: none; }

/* Links
   ========================================================================== */
/**
 * Remove the gray background color from active links in IE 10.
 */
a {
  background-color: transparent; }

/**
 * Improve readability of focused elements when they are also in an
 * active/hover state.
 */
a:active, a:hover {
  outline: 0; }

/* Text-level semantics
   ========================================================================== */
/**
 * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
 */
abbr[title] {
  border-bottom: 1px dotted; }

/**
 * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
 */
b,
strong {
  font-weight: bold; }

/**
 * Address styling not present in Safari and Chrome.
 */
dfn {
  font-style: italic; }

/**
 * Address variable `h1` font-size and margin within `section` and `article`
 * contexts in Firefox 4+, Safari, and Chrome.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0; }

/**
 * Addresses styling not present in IE 8/9.
 */
mark {
  background: #ff0;
  color: #000; }

/**
 * Address inconsistent and variable font size in all browsers.
 */
small {
  font-size: 80%; }

/**
 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline; }

sup {
  top: -0.5em; }

sub {
  bottom: -0.25em; }

/* Embedded content
   ========================================================================== */
/**
 * 1. Remove border when inside `a` element in IE 8/9/10.
 * 2. Improves image quality when scaled in IE 7.
 */
img {
  border: 0; }

/**
 * Correct overflow not hidden in IE 9/10/11.
 */
svg:not(:root) {
  overflow: hidden; }

/* Grouping content
   ========================================================================== */
/**
 * Address margin not present in IE 8/9 and Safari.
 */
figure {
  margin: 1em 40px; }

/**
 * Address differences between Firefox and other browsers.
 */
hr {
  box-sizing: content-box;
  height: 0; }

/**
 * Contain overflow in all browsers.
 */
pre {
  overflow: auto; }

/**
 * Address odd `em`-unit font size rendering in all browsers.
 * Correct font family set oddly in IE 6, Safari 4/5, and Chrome.
 */
code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em; }

/* Forms
   ========================================================================== */
/**
 * Known limitation: by default, Chrome and Safari on OS X allow very limited
 * styling of `select`, unless a `border` property is set.
 */
/**
 * 1. Correct color not being inherited.
 *  Known issue: affects color of disabled elements.
 * 2. Correct font properties not being inherited.
 * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
 * 4. Improves appearance and consistency in all browsers.
 */
button,
input,
optgroup,
select,
textarea {
  color: inherit;
  /* 1 */
  font: inherit;
  /* 2 */
  margin: 0;
  /* 3 */ }

/**
 * Address `overflow` set to `hidden` in IE 8/9/10/11.
 */
button {
  overflow: visible; }

/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
 * Correct `select` style inheritance in Firefox.
 */
button,
select {
  text-transform: none; }

/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *  and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *  `input` and others.
 * 4. Removes inner spacing in IE 7 without affecting normal text inputs.
 *  Known issue: inner spacing remains in IE 6.
 */
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  /* 2 */
  cursor: pointer;
  /* 3 */ }

/**
 * Re-set default cursor for disabled elements.
 */
button[disabled],
html input[disabled] {
  cursor: default; }

/**
 * Remove inner padding and border in Firefox 4+.
 */
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0; }

/**
 * Address Firefox 4+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */
input {
  line-height: normal; }

/**
 * 1. Address box sizing set to `content-box` in IE 8/9/10.
 * 2. Remove excess padding in IE 8/9/10.
 *  Known issue: excess padding remains in IE 6.
 */
input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */ }

/**
 * Fix the cursor style for Chrome's increment/decrement buttons. For certain
 * `font-size` values of the `input`, it causes the cursor style of the
 * decrement button to change from `default` to `text`.
 */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto; }

/**
 * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari and Chrome.
 */
input[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */
  box-sizing: content-box;
  /* 2 */ }

/**
 * Remove inner padding and search cancel button in Safari and Chrome on OS X.
 * Safari (but not Chrome) clips the cancel button when the search input has
 * padding (and `textfield` appearance).
 */
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none; }

/**
 * Define consistent border, margin, and padding.
 */
fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em; }

/**
 * 1. Correct `color` not being inherited in IE 8/9/10/11.
 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
 * 3. Corrects text not wrapping in Firefox 3.
 * 4. Corrects alignment displayed oddly in IE 6/7.
 */
legend {
  border: 0;
  /* 1 */
  padding: 0;
  /* 2 */ }

/**
 * Remove default vertical scrollbar in IE 8/9/10/11.
 */
textarea {
  overflow: auto; }

/**
 * Don't inherit the `font-weight` (applied by a rule above).
 * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
 */
optgroup {
  font-weight: bold; }

/* Tables
   ========================================================================== */
/**
 * Remove most spacing between table cells.
 */
table {
  border-collapse: collapse;
  border-spacing: 0; }

td,
th {
  padding: 0; }

@font-face {
  font-family: 'BlackJackRegular';
  font-style: normal;
  font-weight: normal;
  src: local("BlackJackRegular"), url("../fonts/black_jack.woff") format("woff"); }

.grid {
  display: block;
  margin: 0 auto; }

.box {
  color: white;
  font-size: 4vw;
  padding: 10px;
  background: yellowgreen;
  margin: 10px 0;
  text-align: center; }

@media screen and (min-width: 576px) {
  .grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-gap: 10px; }
  header {
    grid-column: span 12;
    background-color: #d2d2d2; }
  section {
    grid-column: span 12;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around; }
  footer {
    grid-column: span 12;
    background-color: pink; }
  .box {
    margin: 0; }
    .box:nth-child(1) {
      grid-column: span 12; }
    .box:nth-child(2), .box:nth-child(3) {
      grid-column: span 6; }
    .box:nth-child(4), .box:nth-child(5), .box:nth-child(6) {
      grid-column: span 4; }
    .box:nth-child(7), .box:nth-child(8), .box:nth-child(9), .box:nth-child(10) {
      grid-column: span 3; }
    .box:nth-child(11), .box:nth-child(12), .box:nth-child(13), .box:nth-child(14), .box:nth-child(15), .box:nth-child(16) {
      grid-column: span 2; } }

body {
  font-family: "Open Sans", sans-serif;
  font-size: 12px/1em; }

h2 {
  font-family: BlackJackRegular;
  margin: 20px 0; }

.img-responsive {
  width: 100%;
  height: auto; }

.btn {
  display: inline-block;
  letter-spacing: 2px;
  border: 1px solid transparent;
  outline: none;
  margin-top: 0;
  margin-bottom: 0;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none; }

.btn-m {
  font-size: 14px;
  padding: 10px 22px; }

.btn-light {
  color: #000;
  border: 2px solid #fff;
  display: inline-block;
  font-size: 12px; }

.btn-dark {
  color: #fff;
  border: 2px solid #000;
  display: inline-block;
  font-size: 12px;
  background-color: #000; }

.navbar {
  font-size: 18px;
  position: -webkit-sticky;
  position: sticky;
  top: 0; }

.main-nav {
  list-style-type: none;
  display: none; }

.nav-links, .logo {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7); }

.main-nav li {
  text-align: center;
  margin: 15px auto; }
  .main-nav li a {
    margin: 10px;
    color: black;
    margin: 10px;
    color: black;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700; }

.logo {
  display: inline-block;
  font-size: 22px;
  margin-top: 10px;
  margin-left: 20px; }

.navbar-toggle {
  position: absolute;
  top: 10px;
  right: 20px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.8);
  font-size: 24px; }

.active {
  display: block; }

@media screen and (min-width: 768px) {
  .navbar {
    display: flex;
    justify-content: space-between;
    padding-bottom: 0;
    align-items: center; }
  .main-nav {
    display: flex;
    margin-right: 30px;
    flex-direction: row;
    justify-content: flex-end; }
    .main-nav li {
      margin: 0; }
  .nav-links {
    margin-left: 40px; }
  .logo {
    margin-top: 0; }
  .navbar-toggle {
    display: none; }
  .logo:hover, .nav-links:hover {
    color: black; } }

/* TYPE WRITER ANIMATION*/
.typewriter h2 {
  color: #fff;
  font-family: monospace;
  overflow: hidden;
  /* Ensures the content is not revealed until the animation */
  border-right: .15em solid orange;
  /* The typwriter cursor */
  white-space: nowrap;
  /* Keeps the content on a single line */
  margin: 0 auto;
  /* Gives that scrolling effect as the typing happens */
  letter-spacing: .15em;
  /* Adjust as needed */
  animation: typing 3.5s steps(30, end), blink-caret 0.5s step-end infinite; }

/* The typing effect */
@keyframes typing {
  from {
    width: 0; }
  to {
    width: 100%; } }

/* The typewriter cursor effect */
@keyframes blink-caret {
  from, to {
    border-color: transparent; }
  50% {
    border-color: orange; } }

/****paralax*****/
.wrapper {
  /* The height needs to be set to a fixed value for the effect to work.
   * 100vh is the full height of the viewport. */
  height: 100vh;
  /* The scaling of the images would add a horizontal scrollbar, so disable x overflow. */
  overflow-x: hidden;
  /* Enable scrolling on the page. */
  overflow-y: auto;
  /* Set the perspective to 2px. This is essentailly the simulated distance from the viewport to transformed objects.*/
  perspective: 2px; }

.section {
  /* Needed for children to be absolutely positioned relative to the parent. */
  position: relative;
  /* The height of the container. Must be set, but it doesn't really matter what the value is. */
  height: 100vh;
  /* For text formatting. */
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-shadow: 0 0 5px #000; }

.parallax::after {
  /* Display and position the pseudo-element */
  content: " ";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  /* Move the pseudo-element back away from the camera,
   * then scale it back up to fill the viewport.
   * Because the pseudo-element is further away, it appears to move more slowly, like in real life. */
  transform: translateZ(-1px) scale(1.5);
  /* Force the background image to fill the whole element. */
  background-size: 100%;
  /* Keep the image from overlapping sibling elements. */
  z-index: -1; }

/* The styling for the static div. */
.static {
  background: red; }

/* Sets the actual background images to adorable kitties. This part is crucial. */
.bg1::after {
  background-image: url("https://placekitten.com/g/900/700"); }

.bg2::after {
  background-image: url("https://placekitten.com/g/800/600"); }

#experiance {
  background-image: url("../img/IMG_20150920_183754.jpg"); }

.parallax-background {
  background-image: url("../img/DSC01577.jpg");
  background-position: 50% 0;
  background-repeat: no-repeat;
  -webkit-background-size: cover;
  background-size: cover;
  -moz-transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  min-height: 500px; }

.parallax-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  background: #0000004f;
  color: white; }

h1 {
  font-family: BlackJackRegular;
  font-size: 3em;
  text-align: center;
  margin: 0; }

a {
  margin: 9px 41%; }

h2 {
  font-weight: 100 !important;
  margin: 0;
  padding: 0 20px;
  text-align: center; }
  h2:before {
    content: '[';
    left: 0; }
  h2:after {
    content: ']';
    right: 0; }
  h2:after, h2:before {
    top: 0;
    color: #fff;
    font-size: 35px;
    line-height: 40px;
    -webkit-animation-name: opacity;
    -webkit-animation-duration: 2s;
    -webkit-animation-iteration-count: infinite;
    animation-name: opacity;
    animation-duration: 2s;
    animation-iteration-count: infinite; }

@-webkit-keyframes opacity {
  0%, 100% {
    opacity: 0; }
  50% {
    opacity: 1; } }

@-o-keyframes opacity {
  0%, 100% {
    opacity: 0; }
  50% {
    opacity: 1; } }

@-moz-keyframes opacity {
  0%, 100% {
    opacity: 0; }
  50% {
    opacity: 1; } }

@keyframes opacity {
  0%, 100% {
    opacity: 0; }
  50% {
    opacity: 1; } }

.section-header {
  width: 100%;
  text-align: center;
  padding: 5% 0;
  font-family: BlackJackRegular;
  font-size: 2em; }

/*----- Skils SECTION ----------*/
#skills {
  background-color: grey;
  float: left; }

.skills {
  width: 33%;
  float: left;
  min-height: 131px;
  text-align: center; }
  @media (min-width: 1024px) {
    .skills {
      width: 20%; } }

/*----- ABOUT SECTION ----------*/
@media (min-width: 1024px) {
  .about-image {
    width: 40%;
    margin-bottom: -11px; }
    .about-image IMG {
      width: 100%;
      HEIGHT: 563px; } }

.about-text {
  width: 50%;
  margin: 0 auto; }
  .about-text ul {
    list-style-type: none;
    padding: 0; }
    .about-text ul li {
      border-bottom: 1px solid rgba(0, 0, 0, 0.1);
      padding: 15px 0; }
      .about-text ul li span {
        min-width: 130px;
        display: inline-block; }

/*----- Experiance SECTION ----------*/
@media (min-width: 1024px) {
  section#experiance {
    min-height: 200px; } }

.parallax-img-content {
  width: 100%;
  padding: 0 5%;
  float: left; }

.circle {
  width: 125px;
  height: 125px;
  border-radius: 50%;
  /* the magic */
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  font-weight: 700;
  margin: 40px 1.5% 40px;
  border: 1px dashed white;
  float: left;
  background: rgba(0, 0, 0, 0.2); }
  .circle p {
    padding: 34% 0;
    text-align: center;
    color: white;
    font-size: 10px;
    text-transform: uppercase; }

/*---------------*/
/***** hover effect *****/
/*---------------*/
.row {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px; }

/* Create four equal columns that sits next to each other */
.column {
  flex: 25%;
  max-width: 25%;
  padding: 0 4px; }

.column img {
  margin-top: 8px;
  vertical-align: middle; }

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
  .column {
    flex: 50%;
    max-width: 50%; } }

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .column {
    flex: 100%;
    max-width: 100%; } }

section#Portfolio {
  display: grid;
  grid-gap: 0px;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  grid-auto-rows: 100px; }

.image {
  grid-row-end: span 2; }

.photo {
  grid-row-end: span 3; }

.project {
  grid-row-end: span 5; }

.blog {
  grid-row-end: span 4; }

figure {
  grid-column: span 4;
  overflow: hidden;
  position: relative;
  margin: 0; }

.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-color: white; }
  .overlay h2 {
    color: black;
    position: absolute;
    color: black;
    position: absolute;
    top: 10%;
    left: 0%;
    text-align: center;
    width: 100%;
    padding: 0; }
  .overlay .description {
    color: black;
    position: absolute;
    color: black;
    position: absolute;
    top: 20%;
    left: 20%;
    text-align: center;
    width: 60%; }
  .overlay button {
    margin-top: 20px;
    bottom: 5%;
    position: absolute;
    width: 50%;
    left: 25%; }

figure:hover .overlay {
  opacity: 0.9; }
