@import url('https://fonts.googleapis.com/css?family=Ubuntu:300,400,700');

html {
  scroll-behavior: smooth;
}

/* Links inside the navbar */
.navbar a {
  float: left;
  font-size: 16px;
  color: #000;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

/* The dropdown container */
.dropdown {
  float: left;
  overflow: hidden;
}

/* Dropdown button */
.dropdown .dropbtn {
  font-size: 16px;
  border: none;
  outline: none;
  color: #000000;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit; /* Important for vertical align on mobile phones */
  margin: 0; /* Important for vertical align on mobile phones */
}

/* Add a red background color to navbar links on hover */
.navbar a:hover, .dropdown:hover .dropbtn {
  background-color: ;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  float: none;
  color: #000;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

/* Add a grey background color to dropdown links on hover */
.dropdown-content a:hover {
  background-color:#333 ;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

* {
  box-sizing: border-box;
  transition: all ease-in-out 350ms;
}

body {
  margin:0;
  font-family: 'Ubuntu', sans-serif;
  text-align: center;
}

img {
  max-width:100%;
  height: auto;
}

.clearfix::after,
section::after {
  content: '';
  display: block;
  clear: both;

}

/*typography
==================== */

h1 {
  font-weight: 300;
  font-size: 2.5rem;
  margin-top:0;
}

.title {
  font-size: 2.8rem;
  margin-bottom:1em;
  font-weight: 900;
  margin-top: 1em;
}

.title span {
  font-weight:300;
  display: block;
  font-size: .5em;
  margin-top:.5em;
}

@media (min-width: 60rem ) {
  .title {
    font-size:4rem;
  }

}
.titlemacro {
  font-size: 2.8rem;
  font-weight: 900;
  margin-top: 3em;
}

.titlemacro span {
  font-weight:300;
  display: block;
  font-size: .5em;
  margin-top:.5em;
}

@media (min-width: 60rem ) {
  .titlemacro {
    font-size:4rem;
  }

}

/*buttons*/

.macrobutton {
  display: inline-block;
  font-size:1.3rem;
  text-decoration: none;
  text-transform: uppercase;
  border-width: 2px;
  border-style: solid;
  padding: .5em 1.75em;
}

.button {
  display: inline-block;
  font-size:1.3rem;
  text-decoration: none;
  text-transform: uppercase;
  border-width: 2px;
  border-style: solid;
  padding: .5em 1.75em;
}
.button-hire {
  display: inline-block;
  font-size:1.3rem;
  color:#000000;
  text-decoration: none;
  text-transform: uppercase;
  border-width: 2px;
  border-style: solid;
  margin: 2em;
  padding: .5em 1.75em;
}
.button-bottom {
  display: inline-block;
  font-size:1.3rem;
  text-decoration: none;
  text-transform: uppercase;
  border-width: 2px;
  border-style: solid;
  margin: 2em;
  padding: .5em 1.75em;
}
@media (min-width: 60rem){
  .button {
    font-size: 1.5rem;
  }
}

.button-small {
 font-size:.9rem;
 font-weight: 700;
}

.button-accent {
  color: #fff;
  border-color: #fff;
}
.button-accent:hover,
.button-accent:focus {
  background: #fff;
  color: #232323;
}



/*header
==================== */

header {
 position: absolute;
 left:0;
 right:0;
 margin: 1em;
}

nav ul {
  maring: 0;
  padding: 0;
  list-style: none;
}

nav li {
  display: inline-block;
  margin: 1em;
}

nav a {
  font-weight:1000;
  text-decoration: none;
  text-transform: uppercase;
  font-size: .8rem;
  padding: .5em;
  color: #fff;
}
nav a:hover,
nav a:focus {
  color: #ddd;
}

@media (min-width: 60rem) {
.logo {
  float: left;
  }
  nav {
  float: right;
  }
}


/*home-hero
==================== */

.home-hero {
  background-image: url(../img/bg.jpg);
  background-size: cover;
  background-position: center;
  padding: 20em 0;
  color: #fff;
}
@media (min-width: 20rem) {
  .home-hero {
    background-position:right;
  }
@media (min-width: 60rem) {
  .home-hero {
  height: 100vh;
  padding-top: 45vh;
  }
}

/*hero-home
============ */

.home-about {
  background-image:url();
  background-position: left;
 }

.home-about-textbox {
  width:60%;
  padding:3em;
  width:100vw;
  color: #000000;
  outline: 3px solid #fff;
  outline-offset: -1.5em;

  }

  @media (min-width: 60rem) {
    .home-about {
      padding:5em;
      background-image:url(../img/bgabout.jpg);
      background-position:center;
      background-size:cover;
     }



    .home-about-textbox {
      padding:3em;
      width:90vw;
      color: #000000;
      outline: 2px solid #fff;
      outline-offset: -1.5em;
      }
  }

/* portfolio
================== */
.portfolio {
  margin:;
}

.port-item {
  margin: 0;
  position: relative;
  }

.port-item img {
  display:block;

  }

  .port-desc {
    position: absolute;
    z-index: 100;
    bottom: 0em;
    left: 0;
    right: 0;
    color: white;
    background: rgba(0,0,0,.5);
    padding-bottom: 2em;
  }

  .port-desc p {
    margin: 1em;
  }

  @media (min-width: 40rem) {
.port-item {
  width:50%;
  float: left;
}
  }


  @media (min-width: 60rem) {
    .port-item {
  width:33.333334%;
    overflow: hidden;
    }

    .port-desc {
      transform: translateY(150%);
    }

    .port-item:hover .port-desc {
      transform: translateY(0%);
    }
  }


  /*Contact
  ==================== */

  .contact {
  background-color: #333;
  color: #fff;
  padding: 3em;

  }


  /*footer
===================*/

footer {
  background: #232323;
  color: #fff;
  padding:1em 0;
}

/*photogaphy page
====================*/
.macro-hero {
  background-image: url(../img/bgmacro.jpg);
  background-size: cover;
  background-position: center;
  padding: 20em 0;
  color: #fff;
}
.landscape-hero {
  background-image: url(../img/bglandscape.jpg);
  background-size: cover;
  background-position: center;
  padding: 20em 0;
  color: #fff;
}

.infrared-hero {
  background-image: url(../img/bginfrared.jpg);
  background-size: cover;
  background-position: center;
  padding: 20em 0;
  color: #fff;
}

.portrait-hero {
  background-image: url(../img/bgportrait.jpg);
  background-size: cover;
  background-position: center;
  padding: 20em 0;
  color: #fff;
}.wildlife-hero {
  background-image: url(../img/bgwildlife.jpg);
  background-size: cover;
  background-position: center;
  padding: 20em 0;
  color: #fff;
}
/*photo-hero
==================== */

.photo-hero {
  background-image: url(../img/bgphoto2.jpg);
  background-size: cover;
  background-position: center;
  padding: 20em 0;
  color: #fff;
}
@media (min-width: 20rem) {
  .photo-hero {
    background-position:right;
  }
@media (min-width: 60rem) {
  .photo-hero {
  height: 100vh;
  padding-top: 45vh;
  }
}
.product-hero {
  background-image: url(../img/products.jpg);
  background-size: cover;
  background-position: center;
  padding: 20em 0;
  color: #fff;
}

.lifestyle-hero {
  background-image: url(../img/lifestyle.jpg);
  background-size: cover;
  background-position: center;
  padding: 20em 0;
  color: #fff;
}
.design-hero {
  background-image: url(../img/bgdesign.jpg);
  background-size: cover;
  background-position: center;
  padding: 20em 0;
  color: #fff;
}

@media (min-width: 20rem) {
  .home-hero {
    background-position:right;
  }
@media (min-width: 60rem) {
  .home-hero {
  height: 100vh;
  padding-top: 45vh;
  }
}

.photography-sec {
 width:100%;
 height:100%;

}
.design-sec {
 width:100%;
 height:100%;
 background-color: #fff;

}


/*photogaphy Grid
====================*/

.row {
  display: flex;
  flex-wrap: wrap;
  padding: 0 0px;
}

/* Create two equal columns that sits next to each other */
.column {
  flex: 50%;
  padding: 0 0px;
}

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

// Get the elements with class="column"
var elements = document.getElementsByClassName("column");

// Declare a "loop" variable
var i;

// Full-width images
function one() {
  for (i = 0; i < elements.length; i++) {
    elements[i].style.flex = "100%";
  }
}

// Two images side by side
function two() {
  for (i = 0; i < elements.length; i++) {
    elements[i].style.flex = "50%";
  }
}

// Four images side by side
function four() {
  for (i = 0; i < elements.length; i++) {
    elements[i].style.flex = "25%";
  }
}
.header {
  text-align: center;
  padding: 32px;
}

.row {
  display: -ms-flexbox; /* IE 10 */
  display: flex;
  -ms-flex-wrap: wrap; /* IE 10 */
  flex-wrap: wrap;
  padding: 0 0px;
}

/*Gallery
====================*/

.gallerycontainer{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 40px 20px 0 20px;
}

.gallerycontainer .heading{
  width: 50%;
  padding-bottom: 50px;
}
.gallerycontainer .heading h3{
  font-size: 3em;
  font-weight: bolder;
  padding-bottom: 10px;
  border-bottom: 3px solid #222;
}

.gallerycontainer .heading h3 span{
  font-weight: 100;
}
.gallerycontainer .box{
 display: flex;
 flex-direction: row;
 justify-content: space-between;
}

.gallerycontainer .box .dream{
  display: flex;
  flex-direction: column;
  width: 32.5%;
}

.gallerycontainer .box .dream img{
  width: 100%;
  padding-bottom: 15px;
  border-radius: 0px;
}

.gallerycontainer .btn{
  margin: 40px 0 70px 0;
  background: #222;
  padding: 15px 40px ;
  border-radius: 5px;
}

.gallerycontainer .btn a{
 color: #fff;
 font-size: 1.2em;
 text-decoration: none;
 font-weight: bolder;
 letter-spacing: 3px;
}

@media only screen and (max-width: 769px){
    .gallerycontainer .box{
   flex-direction: column;
  }

.gallerycontainer .box .dream{
  width: 100%;
}

@media only screen and (max-width: 643px){
.gallerycontainer .heading{
  width: 100%;
}
.gallerycontainer .heading h3{
  font-size: 1em;

}