/* ---------------------------------
1. PRIMARY STYLES
--------------------------------- */

html{ font-size: 100%; height: 100%; overflow-x: hidden; margin: 0px;  padding: 0px; touch-action: manipulation; }


body{ font-size: 16px; font-family: 'Poppins', serif; width: 100%; height: 100%; padding: 5%; font-weight: 400;
	-webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; word-wrap: break-word; 
	color: #333; }

h1, h2, h3, h4, h5, h6, p, span, img, inpot, button{ margin: 0; padding: 0; }


button{ display: inline-block; text-decoration: none; color: inherit; line-height: 1; 
	-webkit-transition: all .25s ease-in-out; transition: all .25s ease-in-out; }


b{ font-weight: 600; }

img{ width: 100%; }

li{ list-style: none; display: inline-block; }

span{ display: inline-block; }

button{ outline: 0; border: 0; background: none; cursor: pointer; }


b.max-bold{ font-weight: 700; }



/* ---------------------------------
2. COMMONS FOR PAGE DESIGN
--------------------------------- */

.section{ padding: 100px 0 50px; }

.section .heading{ margin-bottom: 60px; }

.section .heading:before{ content:''; height: 10px; width: 50px; border-radius: 5px;
	margin-bottom: 20px; display: block; background: #FFA804; }
	
.margin-t-10{ margin-top: 10px; }

.margin-b-30{ margin-bottom: 30px; }
.margin-b-50{ margin-bottom: 50px; }

.margin-tb-30{ margin-top: 30px; margin-bottom: 30px; }

.font-yellow{ color: #FFA600; }

.font-semi-white{ color: #ddd; }

.font-lite-black{ color: #999; }


/* ---------------------------------
5. PORFOLIO SECTION
--------------------------------- */

.portfolio-section{ padding-bottom: 5%;}

.portfolio-section .portfolioFilter{ margin-top: 60px; color: #666; }


.portfolio-section .portfolioContainer{ margin-left: -15px; margin-right: -15px; }

.portfolio-section .p-item{ width: 33.333%; padding: 0 7.5px 0px; margin-top: 15px; }

.portfolio-section .p-item.p-item-2 .img:first-child{ float: left; width: 50%; padding-right: 7.5px; }

.portfolio-section .p-item.p-item-2 .img:last-child{ float: right; width: 50%; padding-left: 7.5px; }


/* ---------------------------------
6. HEADER
--------------------------------- */


.overlay ul {
  list-style: none;
  padding: 0;
  margin: 27% auto;
  display: inline-block;
  position: relative;
  height: 100%;
}
.overlay ul li {
  display: block;
  height: 10%;
  height: calc(50% / 4);
  min-height: 3rem;
  position: relative;
  opacity: 0;
  
}
.overlay ul li a {
  display: block;
  position: relative;
  text-overflow:ellipsis;
  background-color: white;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
  overflow: hidden;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
.overlay ul li a:hover:after, .overlay ul li a:focus:after, .overlay ul li a:active:after {
  width: 100%;
}
.overlay ul li a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  height: 3px;
  
  -webkit-transition: .35s;
  transition: .35s;
}


.overlay.open {
  opacity: 0.9;
  visibility: visible;
  height: 100%;
}
.overlay.open li {
  -webkit-animation: fadeInRight .5s ease forwards;
          animation: fadeInRight .5s ease forwards;
  -webkit-animation-delay: .35s;
          animation-delay: .35s;
}
.overlay.open li:nth-of-type(2) {
  -webkit-animation-delay: .4s;
          animation-delay: .4s;
}
.overlay.open li:nth-of-type(3) {
  -webkit-animation-delay: .45s;
          animation-delay: .45s;
}
.overlay.open li:nth-of-type(4) {
  -webkit-animation-delay: .50s;
          animation-delay: .50s;
}
.overlay nav {
  position: relative;
  height: 100%;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  font-size: 3.25rem;
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  text-align: center;
}



@-webkit-keyframes fadeInRight {
  0% {
    opacity: 0;
    left: 20%;
  }
  100% {
    opacity: 1;
    left: 0;
  }
}

@keyframes fadeInRight {
  0% {
    opacity: 0;
    left: 20%;
  }
  100% {
    opacity: 1;
    left: 0;
  }
}


@media (min-width: 630px) {
.overlay ul {
  list-style: none;
  padding: 0;
  margin: 10% auto 0 auto;
  display: inline-block;
  position: relative;
  height: 100%;
}
.overlay ul li {
  display: block;
  height: 20%;
  height: calc(70% / 4);
  min-height: 3rem;
  position: relative;
  opacity: 0;
  
}
.overlay ul li a {
  display: block;
	  min-height: 3rem;
  position: relative;
  text-overflow:ellipsis;
  background-color: white;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
  overflow: hidden;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
.overlay ul li a:hover:after, .overlay ul li a:focus:after, .overlay ul li a:active:after {
  width: 100%;
}
.overlay ul li a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  height: 3px;
  
  -webkit-transition: .35s;
  transition: .35s;
}


.overlay.open {
  opacity: 0.9;
  visibility: visible;
  height: 100%;
}
.overlay.open li {
  -webkit-animation: fadeInRight .5s ease forwards;
          animation: fadeInRight .5s ease forwards;
  -webkit-animation-delay: .35s;
          animation-delay: .35s;
}
.overlay.open li:nth-of-type(2) {
  -webkit-animation-delay: .4s;
          animation-delay: .4s;
}
.overlay.open li:nth-of-type(3) {
  -webkit-animation-delay: .45s;
          animation-delay: .45s;
}
.overlay.open li:nth-of-type(4) {
  -webkit-animation-delay: .50s;
          animation-delay: .50s;
}
.overlay nav {
  position: relative;
  height: 100%;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  font-size: 5.25rem;
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  text-align: center;
}
	

}


@media (min-width: 992px) {

.overlay ul {
  list-style: none;
  padding: 0;
  margin: 9% auto;
  display: inline-block;
  position: relative;
  height: 100%;
}
	
}

.menu-cont {
  float:right;
  display: block;
  cursor: pointer;
  padding: 1.7rem;
	padding-right: 1rem;
  z-index:200;
}

.menu-txt {
  display: inline-block;
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: 700;
  font-family: montserrat;
  text-overflow:ellipsis;
  background-color: black;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  cursor:pointer;
}

.menu-txt:hover{
-webkit-transition: all 0.5s;
  transition: all 0.5s;
	background-color: #ff963b;}

.overlay {
  position: fixed;
  background: rgba(255,150,59,1.00);
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity .35s, visibility .35s, height .35s;
  transition: opacity .35s, visibility .35s, height .35s;
  overflow: hidden;
  z-index:100000;
}



@media (min-width: 768px) {
  .container {
    width: 100%;
  }

}

@media (min-width: 992px) {
  .container {
    width: 100%;
  }
}

@media (min-width: 1200px) {
  .container {
    width: 100%;
    max-width: 100%;
  }
}


header{margin-bottom:-5%;}


header a
{
    color: #238acb;
}

header a img
{
    border: none;
	height:2.25rem;
	width: auto;
	z-index: 1000;
}

.header
{
    position: fixed;
    top: 0;
    left: 0;
    height: 6rem;
    width: 100%;
    overflow: hidden;
    background: transparent;
    z-index: 100000000;
	padding: 0.5rem;
}

.header .logo
{
    float: left;
    padding: 1.1rem;
}

.header .credits
{
    float: right;
}


@media (min-width: 798px) {
  .container {
    width: 100%;
  }
	
			.header
{
    position: fixed;
    top: 0;
    left: 0;
    height: 6rem;
    width: 100%;
    overflow: hidden;
    background: transparent;
    z-index: 100000000;
	padding: 0;
}

.header .logo
{
    float: left;
    padding: 2rem;
}
	
		.menu-cont {
  float:right;
  display: block;
  cursor: pointer;
  padding: 2.5rem;
  z-index:200;
}
	
	header a img
{
    border: none;
	height:2.25rem;
	width: auto;
	z-index: 1000;
}
}

.portfolio-section a{cursor: default;}

div#tipDiv {
color: white;
	font-family: 'Playfair Display';
	font-size: 2.25rem;
	text-shadow: black 0em 0em 0.4em;
}


@media (min-width: 750px) {
	.portfolio-section a{cursor: default;}

div#tipDiv {
color: white;
	font-family: 'Playfair Display';
	font-size: 3rem;
	text-shadow: black 0em 0em 0.4em;
}
}


.overlay_MENU {
  height: 0%;
  width: 100%;
  position: fixed;
  z-index: 1000000000;
  left: 0;
  top: 0;
  background-color: #FF963C;
opacity: 0.9;
	overflow-x: hidden;
  transition: 0.5s; 
}


.overlayMENU-content {
  position: relative;
  top: 12.5%; 
  width: 100%; 
  text-align: center; 
  margin-top: 30px; 
}

.overlayMENU-content a{
	font-size: 5rem;
	font-family: Playfair;
	padding: 0.7rem;
	
}

.overlay_MENU a {
  padding: 0.4rem;
  text-decoration: none;
  font-size: 5rem;
  color: white;
  display: block;
  transition: 0.3s; 
}

.overlay_MENU a:hover, .overlay_MENU a:focus {
  color: #3C3C3C;
}

.overlay_MENU .closebtn {
  position: absolute;
  top: 0.5rem;
  right: 2.5rem;
  font-size: 4rem;
}

@media screen and (max-width: 580px) {
  .overlay_MENU .closebtn {
    top: 0rem;
  right: 1rem;
  font-size: 4rem;
  }
	
	.overlayMENU-content a{
	font-size: 3rem;
	font-family: Playfair;
	padding: 0.5rem;
	
}
}

@media screen and (max-height: 700px) {
 
	.overlayMENU-content a{
	font-size: 3rem;
	font-family: Playfair;
	padding: 0.5rem;
	
}
	.overlayMENU-content {
  position: relative;
  top: 15%;
  width: 100%; 
  text-align: center;
  margin-top: 30px; 
}
}