@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,400,500,700,800);
@import url(https://fonts.googleapis.com/css?family=Montserrat:300,400,500,700,800);

body {
  font-family: 'Open Sans', sans-serif;
  max-height: 50%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  background: #fff;
}

/*//////////////////////////////////////////////////////// Main Typography 0*/

h1 {
  text-transform: uppercase;
  letter-spacing: -0.125em;
}
h2 {
  text-transform: uppercase;
  font-weight: 500;
}
h3 {
  letter-spacing: -0.03125em;
}
article {
  letter-spacing: -0.0125em;
}

/*///////////////////////////////////////////////////// Logo Strona Główna 1*/

header#front {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 70vh;
  display: -webkit-box;
  display: -ms-box;
  // display: flex;
  display: block;
  background: #fff;
}

header #box {
  background: #ececec;
  float: left;
  // display: block;
  margin-top: 0;
  // position: relative;
  width: 50%;
  height: 492px;
  }

header #boxb {
  background: #242424;
  float: right;
  width: 50%;
  height: 956px;
  }

header #boxc {
  background: #ececec;
  width: 50%;
  float: left;
  height: 464px;
  }

header .branding {
  font-family: 'Open Sans', sans-serif;
  text-align: left;
  color: #fff;
  font-size: 5.2em;
  font-weight: 800;
  margin-left: -4px;
  margin-top: -15px;
}

header .complex {
  text-align: right;
  color: #2d2d2d;
  font-size: 1.2em;
  font-weight: 400;
  margin-top: 20%;
  margin-right: 7%;
}

header .precise {
  text-align: left;
  color: #2d2d2d;
  font-size: 1.2em;
  font-weight: 400;
  margin-top: 0;
  margin-left: 20%;
}

header .indyvidual {
  text-align: right;
  color: #2d2d2d;
  font-size: 1.2em;
  font-weight: 400;
  position: relative;
  top: 75%;
  margin-right: 2%;

}

header .de {
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  text-align: left;
  color: #2d2d2d;
  font-size: 6.5em;
  font-weight: 800;
  letter-spacing: 15px;
  margin-left: 32%;
  margin-top: 5%;
}

header .sign {
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  text-align: left;
  color: #2d2d2d;
  font-size: 6.5em;
  font-weight: 800;
  letter-spacing: 15px;
  line-height: 1.1em;
  margin-left: 32%;
}

header .featured-image {
  height: 920px;
  background: url('../img/top_b.jpg') no-repeat top center;
  background-size: cover;
}

header .item-image {
  height: 100%;
  background: url('../img/bussinescard.jpg') no-repeat top center;
  background-size: cover;
}

header .layout {
  font-family: 'Montserrat', sans-serif;
  text-align: left;
  color: #fff;
  font-size: 3.4em;
  font-weight: 400;
  letter-spacing: 38px;
  text-transform: uppercase;
  top: 35%;
  margin-left: 2%;
  position: relative;
}

header .applied {
  font-family: 'Open Sans', sans-serif;
  text-align: left;
  color: #fff;
  font-size: 1.8em;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding-top: 51%;
  margin-left: 2%;
}

@-webkit-keyframes onLoad {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes onLoad {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/*/////////////////////////////////////////////////// Nawigacja Pasek Górny 2*/

#navBar {
  position: fixed;
  margin: 0;
  width: 100%;
  height: 70px;
  background: transparent;
  z-index: 9999;
}

/*///////////////////////////////////////////////////////// Name on Nav Bar 3*/

h1 {
  font-family: 'Open Sans';
  display: inline-block;
  color: #efefef;
  letter-spacing: 0.02em;
  text-transform: lowercase;
  font-size: 1.2em;
  margin: 0;
  font-weight: 500;
  padding: 2em 0 0 2em;
}

a {
  text-decoration: none;
  text-transform: uppercase;
  font-size: 7em;
  font-family: 'Open Sans'; /////////////////////////////* font Drawer menu 3b*/
  letter-spacing: .3em;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
}

/*///////////////////////////////////////////////////////////// Drawer menu 3c*/

.drawer-menu {
  box-sizing: border-box;
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  padding: 120px 0;
  background: #222;
  -webkit-transition-property: all;
  transition-property: all;
  -webkit-transition-duration: .5s;
  transition-duration: .5s;
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
  -webkit-transform-origin: right center;
  transform-origin: right center;
  -webkit-transform: perspective(500px) rotateY(-90deg);
  transform: perspective(500px) rotateY(-90deg);
  opacity: 0;
  box-shadow: 0px 0px 5px #1E1E1E;
}

.drawer-menu li {
  text-align: center;
}

.drawer-menu li a {
  display: block;
  height: 50px;
  line-height: 50px;
  font-size: 14px;
  color: #fff;
  -webkit-transition: all .8s;
  transition: all .8s;
}

.drawer-menu li a:hover {
  color: #1a1e24;
  background: #96908D;
}

/*//////////////////////////////////////////////////////////////// Checkbox 4*/

.check {
  display: none;
}

/*////////////////////////////////////////////////////////// Menu button Up 5*/

.menu-btn {
  position: fixed;
  display: block;
  top: 28px;
  right: 40px;
  display: block;
  width: 40px;
  height: 40px;
  font-size: 10px;
  text-align: center;
  cursor: pointer;
  z-index: 3;
}

.bar {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 40px;
  height: 1px;
  background: #808080; /* kolor nawigacji - open, close */
  -webkit-transition: all .5s;
  transition: all .5s;
  -webkit-transform-origin: left top;
  transform-origin: left top;
}

.bar.middle {
  top: 12px;
  opacity: 1;
}

.bar.bottom {
  top: 24px;
  -webkit-transform-origin: left bottom;
  transform-origin: left bottom;
}

.menu-btn__text {
  position: absolute;
  bottom: -15px;
  left: 0;
  right: 0;
  margin: auto;
  color: #fff;
  -webkit-transition: all .5s;
  transition: all .5s;
  display: block;
  visibility: visible;
  opacity: 1;
}

/*/////////////////////////////////////////////////////////// Hover Effects 6*/

.menu-btn:hover .bar {
  background: white;
}

.menu-btn:hover .menu-btn__text {
  color: #999;
}

.close-menu {
  position: fixed;
  top: 0;
  right: 300px;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0);
  -webkit-transition-property: all;
  transition-property: all;
  -webkit-transition-duration: .3s;
  transition-duration: .3s;
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
  visibility: hidden;
  opacity: 0;
}

/*///////////////////////////////////////////////////////////////// Checked 7*/

.check:checked ~ .drawer-menu {
  -webkit-transition-delay: .3s;
  transition-delay: .3s;
  -webkit-transform: none;
  transform: none;
  opacity: 1;
  z-index: 2;
}

.check:checked ~ .contents {
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
  -webkit-transform: translateX(-300px);
  transform: translateX(-300px);
}

.check:checked ~ .menu-btn .menu-btn__text {
  visibility: hidden;
  opacity: 0;
}

.check:checked ~ .menu-btn .bar.top {
  width: 56px;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.check:checked ~ .menu-btn .bar.middle {
  opacity: 0;
}

.check:checked ~ .menu-btn .bar.bottom {
  width: 56px;
  top: 40px;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.check:checked ~ .close-menu {
  -webkit-transition-duration: 1s;
  transition-duration: 1s;
  -webkit-transition-delay: .3s;
  transition-delay: .3s;
  background: rgba(0, 0, 0, .5);
  visibility: visible;
  opacity: 1;
  z-index: 3;
}

/*//////////////////////////////////////////////////////// About Me Section 8*/

#top{
  display: inline-block;
  width: 100%;
  height: auto;
  // background: #fdfbe7;
}
#about {
  float: left;
  max-width: 50%;
  height:auto;
  background: #ccc;
  color: #5B5A60; /* kolor tekstu about */
}

// #about h1 {
//   padding: 20% 0 2% 0; /* napis tytułowy about */
//   display: block;
//   color: #5B5A60;
//   text-align: center;
//   font-size: 1.8em;
// }

.stand-image {
  width: 632;
  height: 590px;
  background: url('../img/tube_b.jpg') no-repeat top center;
  background-size: cover;
}

.us {
  float: right;
  width: 50%;
  height: 590px;
  // background: #cefff7;
}

.us-image {
  background: url('../img/horse.png') no-repeat top center;
  width: 455px;
  height: 338px;
  margin-top: 3%;
  margin-left: 12%;
}

.book {
  font-family: 'Open Sans', sans-serif;
  text-align: center;
  color: #000;
  font-size: 1.8em;
  font-weight: 300;
  letter-spacing: 32px;
  text-transform: uppercase;
  padding-top: 32%;
}

article {
  text-align: center;
  // line-height: 150%;
  color: rgba(26, 26, 26, .6);
}

/*////////////////////////////////////////////////////////////// Skill bars 9*/

#skills {
  max-width: 100%;
  // background: #f3fde7;
  height: 600px;
}

#skillsboxa {
  width: 50%;
  height: auto;
  float: left;
  // background: #e0f5ff;
  margin-top: 0;
}

#skillsboxb {
  width: 50%;
  height: auto;
  float: right;
  // background: #ceefff;
  margin-top: 0;
}

.web {
  font-family: 'Open Sans', sans-serif;
  display: inline-block;
  color: #2d2d2d;
  font-size: 6.5em;
  text-transform: uppercase;
  letter-spacing: 60px;
  font-weight: 800;;
  // margin: 15% 0;
  position: absolute;

  -webkit-transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}

.description {
  text-align: left;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 1.1em;
  color: #535353;
  margin-left: 40%;
  margin-top: 22%;
  letter-spacing: 10px;
  line-height: 2.5em;
}

.general {
  text-align: center;
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
  font-size: 1.1em;
  color: #535353;
  letter-spacing: 5px;
  line-height: 2em;
  margin-top: 27%;
}
.rouge {
  color: #a2cfab;
}

#levels {
  text-align: left;
  width: 50%;
  margin-top: 0;
  padding: 5.2% 0 20%;
  background: #E0DFD7;
  color: rgba(26, 26, 26, .6);
}

/*/////////////////////////////////////////////////////////////////////////////// Portfolio Section 10*/

#folio {
  max-width: 100%;
  // background: #FCE7FD;
}

/*///////////////////////////////////////////////////////////////////// Contact form with Formspree 11*/

#contact {
  width: 100%;
  background: #fff;
  margin: 0;
  padding-bottom: 0;
}

#contact h3 {
  text-transform: uppercase;
  text-align: right;
  padding-right: 10%;
  color: #b8b8b8;
}

p.contactIn {
  padding-top: 8%;
  padding-bottom: 0;
  text-align: right;
  // margin: 0 auto;
}

#contact p {
  text-align: right;
  // padding-left: 12%;
}

#contact h1 {
  padding: 0 0 0 0;
  text-align: left;
  display: block;
  color: #2d2d2d;
  font-size: 1.8em;
}

#contact input {
  border-radius: 0px;
  border: 1px solid #ccc;
  border-radius: 0;
  background: #fafafa;
}

#contact label {
  padding-left: 0%;
  padding-bottom: 2%;
  display: block;
  text-align: left;
  color: rgba(5, 5, 5, 0.6);
}

#name {
  letter-spacing: 4px;
  padding-top: 10%;
  padding-left: 8%;
  width: 90%;
  display: block;
  padding-bottom: 5%;
}

#email {
  letter-spacing: 4px;
  padding-bottom: 5%;
  padding-left: 8%;
  display: block;
}

#message label {
  letter-spacing: 4px;
  padding-left: 8%;
  display: block;
}

textarea {
  box-shadow: 0 0 0 0;
  border-radius: 0px;
  margin-left: 8%;
  width: 82%;
  display: inline-block;
  border: 1px solid #ccc;
  background: #fafafa;
  height: 100px;
}

#submit input[type=submit] {
  display: block;
  margin: auto;
  color: #ececec;
  background: #2d2d2d;
  border: 0px;
  padding: 1% 3%;
  letter-spacing: 0.1em;
  -webkit-transition: all .5s;
  transition: all .5s;
  border: .5px solid #2d2d2d;
}

#submit input[type=submit]:hover {
  background: #fff;
  color: #2d2d2d;
  border: .5px solid #ececec;
}

#submit {
  padding-bottom: 10%;
  margin-top: 10%;
}

/*///////////////////////////////////////////////////////////////////////////// Footer and Scroll up 12*/

#footer-above {
  width: 100%;
  height: 30px;
}

#to-top {
  display: block;
  padding-bottom: 4%;
  // background: orange;
}

#scroll-up {
  display: inline-block;
  // background: #aed835;
  width: 10px;
  height: 10px;
  margin: auto;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  display: block;
  border-top: 2px solid #1e1e1e;
  border-left: 2px solid #1e1e1e;
  cursor: pointer;
  -webkit-transition: all .5s;
  transition: all .5s;
}

footer {
  display: inline-block;
  font-size: .85em;
  width: 90%;
  padding-bottom: 3%;
  color: #999;
  text-align: center;
  // background: #eee8aa;
  margin: 0 5%;
}

/*////////////////////////////////////////////////////////////////////////////////////// Media Query for Tablet */

@media screen and (min-width: 768px) {

  div#about {
    width: 100%;
  }
  #top{
    display: inline-block;
    width: 100%;
    height: auto;
  // background: #007188;
}
  #about h1 {
    padding-top: 15%;
    padding-bottom: 2%;
    font-size: 2.2em;
  }
  #about p {
    font-size: 1.3em;
  }
  #skills h1 {
    font-size: 2.2em;
  }
  div#skills {
    max-width: 100%;
  }
  div#skills p {
    font-size: 1.3em;
    margin-left: 10%;
    margin-right: 10%;
  }
  .web {
    margin: 25% -18%;
    position: absolute;
  }
  .description {
    text-align: left;
    margin-left: 35%;
    margin-top: 30%;
    letter-spacing: 10px;
    line-height: 2em;
  }

  .general {
    text-align: left;
    font-size: .90em;
    letter-spacing: 5px;
    line-height: 1.7em;
    margin-top: 55%;
  }

  /*//////////////////////////////////////  Skill bars for larger viewports */

  #skills ul {
    font-size: 1.2em;
    margin: 0 auto;
    padding: 0 0 0 0;
    text-align: center;
    width: 100%;
    display: block;
    clear: both;
  }
  // div#skill-left {
  //   display: inline-block;
  //   width: 42%;
  //   padding-right: 5%;
  //   text-align: left;
  //   font-size: 1em;
  // }
  // div#skill-right {
  //   display: inline-block;
  //   width: 42%;
  //   padding-left: 5%;
  //   text-align: left;
  //   font-size: 1em;
  // }

  #port-link {
    font-size: 1.3em;
  }

  div#folio article {
    font-size: 1.3;
  }

  /*  ////////////////Contact Form  ////////////////*/

  div#contact {
    clear: both;
  }
  #contact h1 {
    padding-left: 10%;
    font-size: 1.8em;
  }
  #contact h3 {
    font-size: 1em;
    padding-left: 10%;
    letter-spacing: 2px;
  }
  #contact p {
    margin-right: 10%;
    font-size: 1em;
    padding-left: 10%;
  }

  #contact label {
    font-size: 1.2em;
  }
  #submit {
    font-size: 1.2em;
  }
  div#contact {            /* Cały div Contact */
    display: inline-block;
    // background: #b1d9e5;
  }
  form {
    padding-top: 2.5%;
    float: right;
    width: 55%;
    background: #fff;
    display: inline-block;
  }
  #contact label {
    font-size: .9em;
  }
  #con-left {
    display: inline-block;
    float: left;
    padding-top: 8%;
    width: 45%;
    height: 500px;
    // background: #e0ffcd;
  }
  #submit {
    float: left;
    margin: 4% 8%;
    font-size: 1em;
  }
  #name input {
    width: 50%;
  }
  #email input {
    width: 60%;
  }
  #submit input[type=submit] {
    padding: 5% 25%;
    margin: auto;
    text-align: center;
  }
  div#footer-above {
    clear: both;
  }
}
/*//////////////////////////////////////////////////////////// Media Query only for logo */

@media screen and (max-width: 360px) {

  header #box {
    float: left;
    width: 100%;
    height: auto;
  }

  header #boxb {
    display: none;
  }

  header #boxc {
    float: left;
    width: 100%;
    height: 464px;
  }

  header .branding {
    font-size: 3em;
  }

  header .complex {
    text-align: right;
    font-size: 1em;
    margin-top: 20%;
    // margin-right: 7%;
  }

  header .precise {
    text-align: left;
    font-size: 1em;
    // margin-left: 20%;
  }

  header .indyvidual {
    text-align: center;
    font-size: 1em;
  }

  header .de {
    font-size: 5.5em;
    letter-spacing: 15px;
    margin-left: 10%;
    margin-top: 5%;
  }

  header .sign {
    font-size: 5.5em;
    letter-spacing: 15px;
    line-height: 1.1em;
    margin-left: 10%;
  }
  .web {
    margin: 50% -57%;
  } 

  .description {
    font-size: .95em;
    margin-left: 20%;
    margin-top: 60%;
    letter-spacing: 5px;
    line-height: 2.2em;
  }

  .general {
    font-size: .85em;
    text-align: left;
    letter-spacing: 5px;
    line-height: 1.7em;
    margin-top: 55%;
  }

  .book {
    text-align: center;
    font-size: 1.4em;
    letter-spacing: 35px;
    padding-top: 22%;
    margin-left: 2%;
  }

  .stand-image {
    display: none;
  }

  .us {
    float: left;
    width: 100%;
    height: auto;
    // background: #cefff7;
  }

  .us-image {
    margin-top: 0;
    margin-left: 0;
  }

  #skills {
  height: 500px;
  }

  #contact h3 {
    text-align: center;
    padding-left: 10%;
  }

  #contact p {
    text-align: center;
    // padding-left: 12%;
  }

}

@media screen and (min-width: 480px) {

  .web {
    margin: 45% -25%;
    position: absolute;
  }

  .description {
    font-size: 1em;
    text-align: left;
    margin-left: 19%;
    margin-top: 80%;
    letter-spacing: 5px;
    line-height: 1.5em;
  }

  .general {
    font-size: .85em;
    text-align: left;
    letter-spacing: 5px;
    line-height: 1.7em;
    margin-top: 55%;
  }

}

/*//////////////////////////////////////////////////////////// Large Tablet and Desktop */

@media screen and (min-width: 1000px) {

  .menu-btn:hover span.bar.middle {
    width: 20px;
  }
  .menu-btn:hover span.bar.bottom {
    width: 30px;
  }

  #scroll-up:hover {
    border-top: 2px solid #999;
    border-left: 2px solid #999;
  }
  #port-link {
    -webkit-transition: all .5s;
    transition: all .5s;
  }
  #port-link:hover {
    padding-left: 5%;
  }
  .hideme {
    opacity: 0;
  }
  
  // .web {
  //   margin: 10% -10%;
  // }
  /*////////////////////////////////////////////////  About  */

  #about h1 {
    padding-top: 5%;
    // padding-bottom: 1%;
    font-size: 1.7em;
  }
  #about article {
    font-size: .85em;
    padding-left: 15%; /* tekst główny w dziale About odstęp */
    padding-right: 15%;
    line-height: 1.9em;
    padding-bottom: 3%;
  }

/*/////////////////////////////////////////////  skills  */

  div#skill-left {
    font-size: .85em;
  }
  div#skill-right {
    font-size: .85em;
  }
  #skills h1.hideme {
    padding-top: 10%;
    padding-bottom: 1%;
  }
  #skills h1.hideme {
    padding-top: 8%;
    font-size: 1.7em;
  }
  div#skill-left {
    display: inline-block;
    width: 35%;
    padding-right: 5%;
    text-align: left;
    font-size: .8em;
  }
  div#skill-right {
    display: inline-block;
    width: 35%;
    padding-left: 5%;
    text-align: left;
    font-size: .8em;
  }
  article#skill-info.hideme {
    font-size: .85em;
    padding-left: 20%;
    padding-right: 20%;
    line-height: 1.7em;
  }
  #skills li {
    padding-bottom: .5em;
  }
  div#skills {
    padding-bottom: 10%;
  }
  #folio h1 {
    padding-top: 8%; /*///// przesunięcie do góry tytułu portfolio */
  }
  #portfolio article {
    padding-bottom: 10%;
  }
  #port-link {
    font-size: 1em;
  }
  /*  Contact  */
  #contact article {
    font-size: .85em;
  }
  #footer {
    padding-bottom: 1.5%;
  }
}

/*//////////////////////////////////////////// Media Query for large desktop computers */

@media screen and (min-width: 1500px) {

header .branding {
  text-align: left;
  margin-left: -4px;
  margin-top: -14px;
}

header .de {
  text-align: left;
  margin-left: 30%;
  margin-top: 0;
}

header .sign {
  text-align: left;
  line-height: 1.1em;
  margin-left: 30%;
}

header .item-image {
  background: url('../img/bussinescard_res.jpg') no-repeat top center;
  background-size: cover;
}

.stand-image {
  float: right;
  width: 632px;
}

.book {
  padding-top: 20%;
}

.us-image {
  width: 455px;
  height: 338px;
  margin-top: 3%;
  margin-left: 20%;
}

#footer {
    padding-bottom: 1%;
  }
}

/*///////////////////////////////////////////////////////// Header */

header#resume {
  height: 75vh;
  width: 100%;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  overflow: hidden;
}

#bg-resume {
  max-width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  position: absolute;
  display: block;
  height: 75vh;
  margin-top: 78px;
  opacity: .9;
  -webkit-animation: onLoad 2s ease-in-out;
          animation: onLoad 2s ease-in-out;
}

#res-head {
  top: 50%;
  max-width: 33.333%;
  margin: 0 33.5%;
  position: absolute;
  z-index: 9;
  display: block;
}

#port-head {
  top: 50%;
  max-width: 50%;
  margin: 0 25%;
  position: absolute;
  z-index: 9;
  display: block;
}

/*////////////////////////////////////////////////////////////////////////// skills */

#tech-and-skills {
  background: #EDEEEF;
  display: block;
}

#tech-and-skills h1 {
  color: #2d2d2d;
  text-align: left;
  padding-bottom: 8%;
  padding-top: 15%;
}

#tech-and-skills h3 {
  padding-left: 5%;
  color: #2d2d2d;
  letter-spacing: .4px;
  text-transform: uppercase;
}

div#tech-and-skills ul {
  list-style-type: disc;
  margin: 0;
  padding: 0 0 8% 0;
  padding-left: 15%;
  color: rgba(26, 26, 26, .6);
  line-height: 2em;
}

/*////////////////////////////////////////////////////////////////////////// Experience */

#experience {
  background: whitesmoke;
  display: block;
}

#experience h1 {
  color: #2d2d2d;
  text-align: left;
  padding-bottom: 8%;
  padding-top: 15%;
}

#experience h3 {
  padding-left: 5%;
  color: #2d2d2d;
  letter-spacing: .2px;
}

#experience h4 {
  padding-left: 10%;
  color: #2d2d2d;
  letter-spacing: .2px;
}

#experience article {
  line-height: 1.5em;
  padding: 0 0 0 5%;
  text-align: left;
}

#experience ul {
  list-style-type: disc;
  margin: 0;
  padding: 0 0 0 15%;
  color: rgba(26, 26, 26, .6);
  line-height: 2em;
  margin-right: 10%;
}

article#mcglinns {
  padding-bottom: 10%;
  padding-right: 5%;
}

ul#mcglinns {
  padding-bottom: 10%;
}

/*////////////////////////////////////////////////////////////////////////// Education */

#education {
  background: #EDEEEF;
  display: block;
}

#education h1 {
  color: #2d2d2d;
  text-align: left;
  padding-bottom: 8%;
  padding-top: 15%;
}

#education h3 {
  padding-left: 5%;
  color: #2d2d2d;
  letter-spacing: .2px;
}

#education article {
  line-height: 1.5em;
  padding: 0 0 0 10%;
  margin-right: 10%;
  text-align: left;
}

article#wvc {
  padding-bottom: 10%;
}

/*/////////////////////////////////////////////////////// Media queries for resume */

@media screen and (min-width: 768px) {

#skills {
  height: 500px;
}

.web {
  margin: 20% -20%;
}

.description {
  font-size: 1.3em;
  margin-left: 30%;
  margin-top: 20%;
  letter-spacing: 10px;
  line-height: 2em;
}

.general {
  text-align: center;
  font-size: 1em;
  letter-spacing: 5px;
  line-height: 1.8em;
  margin-top: 27%;
}

  
#res-head {
  max-width: 20%;
  margin: 0 40%;
}
  
#port-head {
  max-width: 25%;
  margin: 0 37.5%;
}
     
#tech-header {
  padding-top: 1.5%;
  margin-left: 5%;
  float: left;
  width: 30%;
  display: inline-block;
}
  
  #daily {
    margin-left: 5%;
    padding-top: 5%;
    width: 25%;
    display: inline-block;
    padding-bottom: 8%;
  }
  
  #familiar {
    padding-top: 5%;
    float: right;
    width: 27%;
    display: inline-block;
  }
  
  #experience {
    background: whitesmoke;
    display: inline-block;
  }
  
  #exp-header {
    text-align: center;
    padding-top: 1.5%;
    margin-left: 5%;
    float: left;
    width: 30%;
  }
  
  #exp-text {
    width: 60%;
    float: right;
  }
  
  #experience h3 {
    padding-top: 8%;
  }
  
  #education {
    clear: both;
    display: inline-block;
    margin-top: -6px;
    width: 100%;
  }
  
  article#mcglinns {
    padding-bottom: 0;
    padding-right: 15%;
  }
  
  #experience ul {
    padding-right: 15%;
  }
  
  ul#mcglinns {
    padding-bottom: 15%;
  }
  
  #edu-header {
    text-align: center;
    padding-top: 1.5%;
    margin-left: 5%;
    float: left;
    width: 30%;
  }
  
  #edu-text {
    width: 60%;
    float: right;
    padding-top: 5%;
  }
   
}

/*//////////////////// Portfolio header edited above */

#port-thumb {
  background: #EDEEEF;
}

.container {
  padding: 2em 0;
  margin: 0 10%;
}

.content {
  position: relative;
  width: 100%;
  max-width: 450px;
  margin: auto;
  overflow: hidden;
}

.content .content-overlay {
  background: rgba(0, 0, 0, 0.7);
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  opacity: 1;
  -webkit-transition: all 0.4s ease-in-out 0s;
  transition: all 0.4s ease-in-out 0s;
}

img.content-image {
  padding: 0;
  margin: 0;
  width: 100%;
}

.content .content-overlay2 {
  border: 2px solid rgba(255, 255, 255, 0.5);
  height: 90%;
  width: 94%;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  opacity: 1;
  -webkit-transition: all 0.4s ease-in-out 0s;
  transition: all 0.4s ease-in-out 0s;
}

.content-image {
  width: 100%;
}

.content-details {
  position: absolute;
  text-align: center;
  padding-left: 20%;
  padding-right: 20%;
  width: 100%;
  top: 50%;
  left: 50%;
  opacity: 1;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.content-details h3 {
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.15em;
  margin-bottom: 0.5em;
  font-size: 15%;
  text-transform: uppercase;
}


@media screen and (min-width: 800px) {

.web {
  margin: 15% -10%;
}

.description {
  text-align: left;
  font-size: 1.1em;
  margin-left: 38%;
  margin-top: 20%;
  letter-spacing: 10px;
  line-height: 2.5em;
}

.general {
  text-align: center;
  font-size: 1em;
  letter-spacing: 5px;
  line-height: 2em;
  margin-top: 27%;
}
  
.container {
  display: inline-block;
  width: 26%;
  padding: 10% 0;
  margin: 0 11%;
}
  
 #photo-left {
    margin-left: 13%;
 }

.content {
  position: relative;
  width: 100%;
  max-width: 450px;
  margin: auto;
  overflow: hidden;
}

.content .content-overlay {
  background: rgba(0, 0, 0, 0.7);
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  opacity: 0;
  -webkit-transition: all 0.4s ease-in-out 0s;
  transition: all 0.4s ease-in-out 0s;
}

// img.content-image {
//   padding: 0;
//   margin: 0;
//   width: 100%;
// }

.content .content-overlay2 {
  border: 2px solid rgba(255, 255, 255, 0.5);
  position: absolute;
  height: 99%;
  width: 100%;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  opacity: 0;
  -webkit-transition: all 0.4s ease-in-out 0s;
  transition: all 0.4s ease-in-out 0s;
}

.content:hover .content-overlay,
.content:hover .content-overlay2 {
  opacity: 1;
}

.content:hover .content-overlay2 {
  height: 90%;
  width: 94%;
}

.content-image {
  width: 100%;
}

.content-details {
  position: absolute;
  text-align: center;
  padding-left: 20%;
  padding-right: 20%;
  width: 100%;
  top: 50%;
  left: 50%;
  opacity: 0;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -webkit-transition: all 0.4s ease-in-out 0s;
  transition: all 0.4s ease-in-out 0s;
}

.content:hover .content-details {
  opacity: 1;
}

.content-details h3 {
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.15em;
  margin-bottom: 0.5em;
  font-size: 15%;
  text-transform: uppercase;
}
  
}

@media screen and (min-width: 768px) {
  
  #photography-port h1 {
    font-size: 2.8em;
  }
  
  #photos {
  width: 68%;
  display: block;
  padding: 0 0 0 16.5%;
}
  
  #photography-port {
  display: block;
  width: 96%;
  padding-left: 2%;
  padding-right: 2%;
  background: #EDEEEF;
  padding-top: 78px;
  padding-bottom: 10%;
}
  
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  width: 100%;
  height: 100%;
  text-align: center;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, .7);
}

.lightbox img {
  width: 90%;
  max-height: 90%;
  margin-top: 30%;
  margin-left: 0;
  margin-right: 0;
  float: none;
  display: inline-block;
}

.lightbox:target {
  outline: none;
  display: block;
}

.lightbox:target img {
  -webkit-animation: fadein .2s ease-in-out;
          animation: fadein .2s ease-in-out;
}

@-webkit-keyframes fadein {
  0% {
    -webkit-transform: scale(0);
            transform: scale(0); 
  }
  
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}

@keyframes fadein {
  0% {
    -webkit-transform: scale(0);
            transform: scale(0); 
  }
  
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}

/*///////////////////////////////////////////////////////////////////////////// Fix for landscape mode */

@media screen and (orientation: landscape) {
  // .lightbox img {
  //   max-width: 50%;
  //   margin-top: 10%;
  // }
  
  // .lightbox article {
  //   display: none;
  // }
  
  header .featured-image {
    width: 631px;
  }

  header .complex {
    font-size: 1em;
    text-align: left;
    margin-top: 15%;
    margin-left: 30%;
  }
  
  header .precise {
    font-size: 1em;
    margin-top: 0%;
    text-align: left;
    margin-left: 27%;
  }
  
  header .indyvidual {
    font-size: 1em;
    text-align: right;
    top: 80%;
    margin-right: 12%;
  }

  .web {
    margin: 10% -4%;
  }
  
  .description {
    font-size: 1.1em;
    margin-left: 35%;
    margin-top: 13%;
  }

  .general {
    font-size: 1em;
    margin-top: 15%;
  }
  
}
@media only screen and (min-device-width : 800px) and (max-device-width : 980px) {

  .web {
    margin: 19% -15%;
  }
}