/**
 * Basic layout, for animation examples, check demo.css
 */

@import url('https://fonts.googleapis.com/css?family=Playfair+Display:400i');

html, body
{
	margin: 0;
	padding: 0;
	overflow-x:hidden;

}

body
{

	color: #000000;
	
	font-family: Raleway, sans-serif;
	font-size: 14px;
	
	
}

a
{
	color: #d7e7f3;
	text-decoration: none;
	font-weight: 500;
	
	transition: color 0.25s ease;
}

a:hover
{
	color: #fff;
}

h1
{
	font-size: 4em;
	font-weight: 200;
	letter-spacing: 1px;
	text-transform: uppercase;
	line-height: normal;
	
	-webkit-font-smoothing: subpixel-antialiased;
}

h2
{
	font-weight: 300;
	font-size: 1.3em;
	line-height: 1.5em;
	color: #779dba;
	
	-webkit-font-smoothing: subpixel-antialiased;
}

h3
{
	font-weight: 500;
	font-size: 1em;
	line-height: 1.5em;
	color: #d7e7f3;
	margin: 80px 0 0 0;
	
	-webkit-font-smoothing: subpixel-antialiased;
}

div.block
{
	


}

div.block svg
{
	position: absolute;
	bottom: 50px;
	width: 30px;
	
	animation: chevronAnimation 4s ease-in-out 0s infinite;
}

div.block svg path
{
	fill: #7e9aae;
}




/**
 * Simple keyframes animation for the chevron on the first slide
 */
@keyframes chevronAnimation {
	0% {
		transform: translate(0,0) scale(1.0,1.0);
	}
	50% {
		transform: translate(0,5px) scale(0.8,0.8);
	}
	100% {
		transform: translate(0,0) scale(1.0,1.0);
	}
}

/**
 * Responsiveness
 */
@media screen and (max-width: 1024px)
{	
	body
	{
		font-size: 18px;
		line-height: 27px;
	}
}

@media screen and (max-width: 800px)
{	
	h1 span
	{
		display: block;
	}
	
	div.block
	{
		height: 85vh;
		padding: 15vh 15vw 0 15vw;
	}
}

@media screen and (max-width: 420px)
{	
	body
	{
		font-size: 12px;
		line-height: 18px;
	}
}

@media screen and (max-width: 360px)
{	
	h1
	{
		font-size: 3em;
	}
}

#home{
	padding:0;
}

.playfair
{font-family: 'Playfair Display', serif !important;
}


 .section-title {
     font-style: normal;
     font-family: Raleway, sans-serif !important;
     font-weight: 700;
     letter-spacing: 6px;
     font-size: 23px;
     color:#8CBF43;
	 transition:1s ease all;
	 text-transform:uppercase;
}

 .section-title-link {
     font-style: normal;
     font-family: Raleway, sans-serif !important;
     font-weight: 700;
     letter-spacing: 6px;
     font-size: 15px;
     color:#666;
	 transition:1s ease all;
	 text-transform:uppercase;
	 cursor:pointer;
}

.section-title-link:hover
{
	color:#000;
}


 .section-line-with-title {
     width:100vw;
     text-align:center;
	 height:10vh;
     position:absolute;
     left:0vw;
     top:0vh;
     z-index: 100;
	 }

#desktop-logo, #desktop-logo-dark, #menu-logo
{
	width:9vw;
	height:9vh;
	position:fixed;
	left:2.5vw;
	top:5vh;
	z-index:50;
	transition:1s ease all;
	background-image:url(../img/masoom_logo_light.png);
	background-size:contain;
	background-position:left;
	background-repeat:no-repeat;
	
}

#desktop-logo
{
background-image:url(../img/masoom_logo.png);
	
}

#menu-logo
{
	background-image:url(../img/masoom_logo_menu.png);
}
.logo-visible
{
	opacity:1;
}

.logo-invisible
{
	opacity:0;
}

#desktop-logo-dark
{
	background-image:url(../img/masoom_logo.png);
	opacity:0;
}


 .title-text {
     font-family:Raleway;
     line-height:150%;
     font-weight: 500;
     font-size: 18px;
     font-style: italic;
     color:#8CBF43;
}
 .subtitle {
     font-family: Raleway, sans-serif !important;
     line-height:150%;
     font-weight: 700;
     font-size: 16px;
     letter-spacing:2px;
	 color:#000;
}
 .regular-text {
     font-family: Raleway, sans-serif !important;
     line-height:150%;
	 font-size:14px;
	 text-align:left;
	 color:#4E4D4D;
}

#gallery-section, #mobile-about
{
	background-color:#EEEEEE;
}



@keyframes growWidthRight{
  0% {
   width:0%;
  }

  100% {
width:100%;
  }
}


.button_container {
  position: fixed;
  top: 5%;
  right: 2%;
  height: 27px;
  width: 35px;
  cursor: pointer;
  z-index: 100;
  transition: opacity 0.25s ease;
}
.button_container:hover {
  opacity: 0.7;
}
.button_container.active .top {
  transform: translateY(10px) translateX(0) rotate(45deg);
  background: #fff;
}
.button_container.active .middle {
  opacity: 0;
  background: #fff;
}
.button_container.active .bottom {
  transform: translateY(-10px) translateX(0) rotate(-45deg);
  background: #fff;
}
.button_container span {
  background: #8CBF43;
  border: none;
  height: 3px;
  width: 100%;
  position: absolute;
  top: 0px;
  left: 0;
  transition: all 0.35s ease;
  cursor: pointer;
}
.button_container span:nth-of-type(2) {
  top: 10px;
}
.button_container span:nth-of-type(3) {
  top: 20px;
}
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  background: #8CBF43;
  transition: all 0.5s ease;
  z-index: 50;
}

.overlay.open {
  opacity: 1;
  visibility: visible;
  height: 100%;
}
.overlay.open:before {
  left: 0;
}
.overlay.open:after {
  right: 0;
}
.overlay.open li {
  animation: fadeInRight 0.5s ease forwards;
  animation-delay: 0.15s;
}
.overlay.open li:nth-of-type(2) {
  animation-delay: 0.25s;
}
.overlay.open li:nth-of-type(3) {
  animation-delay: 0.35s;
}
.overlay.open li:nth-of-type(4) {
  animation-delay: 0.45s;
}
.overlay.open li:nth-of-type(5) {
  animation-delay: 0.55s;
}
.overlay.open li:nth-of-type(6) {
  animation-delay: 0.65s;
}
.overlay nav {
  position: relative;
  height: 70%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 50px;
  font-family: 'Vollkorn', serif;
  font-weight: 400;
  text-align: center;
  z-index: 100;
}
.overlay ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: inline-block;
  position: relative;
  height: 100%;
}
.overlay ul li {
  display: block;
  height: 16.67%;
  height: calc(100% / 6);
  min-height: 50px;
  position: relative;
  opacity: 0;
}
.overlay ul li a {
  display: block;
  position: relative;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
transition:0.5s ease all;
}

.overlay ul li a:hover
{
	color:#000;
}


@keyframes fadeInRight {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.menu-link
{  font-family: 'Playfair Display', serif;
}



#footer
{
	width:100vw;
	position:absolute;
	bottom:20vh;
	left:0;
	height:8vh;
	background-color:#8CBF43;
	z-index:100;
	transition:0.5s all ease;
}



.menu-open
{
	opacity:0;
}

#copyright-text
{
	color:#FFF;
	font-family: Raleway, sans-serif !important;
     line-height:150%;
	 font-size:14px;
	 text-align:left;
	 margin-left:2.5%;
	 margin-top:1.25%;
}

#social-media-icons
{
	width:20vw;
	position:absolute;
	height:100%;
	right:0;
	top:0;
	display:flex;
	align-items:center;
	justify-content:center;
	color:#FFF;
	font-family: Raleway, sans-serif !important;
     line-height:150%;
	 font-size:14px;
	 text-align:left;
}

.social-media-icon
{
	height:100%;
	width:3vw;
	display:inline-block;
	background-size:60%;
	background-position:center center;
	background-repeat:no-repeat;
}

#icon-1
{
	background-image:url(../img/social-media-icon-01.png);
}
#icon-2
{
	background-image:url(../img/social-media-icon-02.png);
}
#icon-3
{
	background-image:url(../img/social-media-icon-03.png);
}

.mobile
 {
	 display:none;
 }
 
 @media (pointer: coarse) {
	.mobile
 {
	 display:block;
 }
 .desktop
 {
	 display:none;
 }
 
 #mobile-home{
	padding:0;
}



#desktop-logo, #desktop-logo-dark
{
	width:15vw;
	height:12.5vh;
	position:fixed;
	left:5vw;
	top:0vh;
	
}

#menu-logo
{
	display:none;
}

#desktop-logo-dark
{
	opacity:0;
}

#address-text  .playfair
{
        font-family: 'Playfair Display', serif !important;
}

.button_container {
  position: fixed;
  top: 5%;
  right: 5%;
  height: 32px;
  width: 40px;
  cursor: pointer;
  z-index: 100;
  transition: opacity 0.25s ease;
}

.overlay ul li {
  display: block;

  min-height: auto;
    height: 18.5%;
  position: relative;
  opacity: 0;
}

.overlay ul li a
{
	  display: flex;
  align-items:center;
  justify-content:center;
text-align:center;
}

.menu-link{
	height:60px;
  
 }
 
 

 .section-line-with-title {
     width:33vw;
     height:20vh;
        padding-top:2.5vh;
     padding-left:2.5vw;
     position:absolute;
     left:0vw;
     bottom:5vh;
     z-index: 100;
	 
	 }

 
  .title-text {
     font-family:Raleway;
     line-height:150%;
     font-weight: 500;
     font-size: 4vw;
     font-style: italic;
     color:#8CBF43;
}


.mobile-title-text
{
	color:#8CBF43;     line-height:130%;
	 font-size:4vw; font-weight:bold; text-align:center;
}


	.mobile-regular-text {
text-align:justify;
}

.mobile-button
{
	width:50vw;
padding:2vw;
margin: 0 auto;
background-color:#8CBF43;
color:#FFF;
font-size:4vw; font-weight:bold; text-align:center;
}

#mobile-footer
{
	width:100vw;
	height:7.5vh;
	background:#8CBF43;
	position:absolute;
	top:92.5vh;
	left:0;
	display:flex;
	justify-content:center;
	align-items:center;
	color:#FFF;
	font-size:4vw;
}

.logo-invisible
{
	opacity:0 !important;
}


 }
 
.dark-logo
{
	opacity:1 !important;
}

.contact-underline

{
	border-bottom:#8CBF43 2px solid;
	text-transform:none;
}

#gallery-folder-main-container
{
	width:100vw;
	height:90vh;
	position:absolute;
	left:0vw;
	top:10vh;
	padding:0 vw;
}

#gallery-main-container
{
	width:100vw;
	height:80vh;
	position:absolute;
	left:0vw;
	top:15vh;
	padding:0vw;
	padding-left:4vw;
}

.gallery-folder-container
{
	width:24.75vw;
	height:14.75vw;
	background:#999;

	display:inline-block;
	margin-right:0vw !important;
	margin-bottom:0vw !important;
	cursor:pointer;
	transition:0.5s ease all;
}

.gallery-folder-container:hover
{
	background-color:#555;
}

.image-thumbnail
{
	width:15vw !important;
	margin-bottom:0 !important;
	margin-top:-0.25vw !important;
	
}

 .section-line-with-title-gallery {
     width:100vw;
     text-align:center;
	 height:10vh;
margin-left:-4vw;     z-index: 100;
	 }
.work {
  font-family: sans-serif;
  font-size: 20px;
}

.work-item {
  background-size: cover;
  background-position: center;
  transition: all 0.3s;
  display: block;
  text-decoration: none;
   color: #fff !important;
}

.work-item-desc {
  width: 100%;
  height:100%;
  font-size: 1em;
  background-color: rgba(0, 0, 0, 0.6);
  transition: all 0.5s;
  color: #fff !important;
  text-align: center;
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:1;
  
}

.work-item-desc h2
{
	 color: #fff !important;
}



/*desktop*/

@media screen and (min-width: 775px) {
  .work {
    display: flex;
    flex-wrap: wrap;
	width:96vw; 
	margin-left:1.5vw;
  }
  .work-item {
    width: 30vw;
    position: relative;
    overflow: hidden;
	margin:1vw;
  }
  .work-item:hover {
    transform: scale(1.0);
    z-index: 1000;
    box-shadow: 0 5px 30px #000;
  }
  .work-item:after {
    content: "";
    display: block;
    padding-bottom: 100%;
  }
  .work-item-desc {
    position: absolute;
    bottom: 0;
    height:100%;
    padding: 0;
    background-color: rgba(0, 0, 0, 0.7);
    transition: all ease 0.5s;
    box-sizing: border-box;
    opacity: 0;
  }
  .work-item-desc:hover {
    background-color: rgba(0, 0, 0, 0.7);
  }
  .work-item:hover .work-item-desc {
    opacity: 1;
  }
}