/*
 Theme Name:   Eva Beeusaert
 Theme URI:    https://evabeeusaert.com/
 Description:  Theme for Eva Beeusaert
 Author:       Studio Studio
 Author URI:   https://studiostudio.eb/
 Template:     blankslate
 Version:      1.0.0
*/


/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}table{border-collapse:collapse;border-spacing:0}


/* EVA BEEUSAERT */
@font-face {
	font-family: 'Geograph';
	src: url('fonts/Geograph-Bold.woff2') format('woff2'),
		url('fonts/Geograph-Bold.woff') format('woff');
	font-weight: bold;
	font-style: normal;
	font-display: swap;
}

body {
	font-family: 'Geograph', sans-serif;
	font-weight: bold;
}

a {
	text-decoration: none;
	color: #000;
}

.desktop{
	display: block;
}
.mobile-screen{
	display: none;
}

header#header,
footer#footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 30px;
	font-size: 3vh;
	text-transform: uppercase;
	width: calc(100% - 60px);
	z-index: 200;
}

header#header {
	position: fixed;
	top: 0;
}

footer#footer {
	position: fixed;
	bottom: 0;
}

footer, header{
    pointer-events: none;
}

footer > *, header > *{
    pointer-events: all;
}

/* BACKGROUND IMAGE HOMEPAGE */
.background-container {
	width: fit-content;
	height: auto;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	justify-content: center;
	align-items: center;
}

.background-container img{
	width: 80vw;
	height: auto;
}

/* BUTTON dark/light */
.theme-toggle {
	position: relative;
	display: inline-block;
	width: 60px;
	height: 34px;
}

.theme-toggle input {
	opacity: 0;
	width: 0;
	height: 0;
}

.theme-toggle-slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #fff;
	border: #000 solid 1px;
	transition: .4s;
	border-radius: 34px;
}

.theme-toggle-slider:before {
	position: absolute;
	content: "";
	height: 26px;
	width: 26px;
	left: 4px;
	bottom: 4px;
	background-color: #000;
	transition: .4s;
	border-radius: 50%;
	top: 3px;
}

input:checked+.theme-toggle-slider:before {
	transform: translateX(26px);
	background-color: #fff;
}

input:checked+.theme-toggle-slider {
	background-color: #000;
	border: #fff solid 1px;
}



/* LIGTH/DARK MODES */
[data-theme='light'] {
	color: #000;
	background-color: #fff;
}

[data-theme='light'] a {
	color: #000;
}


[data-theme='dark'] {
	color: #fff;
	background-color: #000;
}

[data-theme='dark'] a {
	color: #fff;
}

[data-theme='dark'] .background-container img{
	filter: invert(1);
}

.gallery {
	width: auto;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 105;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gallery-container:first-child {
    padding-right: 15px;
	display: flex;
	justify-content: flex-end;
}

.gallery-container:last-child {
    padding-left: 15px;
	display: flex;
	justify-content: flex-start;
}

.gallery-container img {
	width: auto;
	max-height: 100%;
	display: block;
}

.gallery-left-inner img{
	float: right;
}

.gallery-right-inner img{
	float: left;
}

.gallery-container > div {
	display: none;
	width: auto;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}




/* WORK PAGE */

.work-content{
    height: auto;
    padding: 90px;
}

/* Rows */
#slider{
}

#slider .slides{
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    box-sizing: unset;

}

#slider .slides li{
	width: calc(100% / 5 - 30px);
    padding: 15px;
    display: block;
}

#slider .slides li.portrait{
    width: calc(100% / 5 - 30px);
}
#slider .slides li.landscape{
    width: calc(100% / 5 * 2 - 30px);
}

#slider .slides li img{
    width: 100%;
    height: auto;
    object-fit: contain;
    cursor: pointer;
}


/* Lightbox */
#carousel{
    display: none; 
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 190;
}

#carousel .slides li{
    display: none;
}

#carousel .slides li.lightbox{
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
}

#carousel img{
    max-height: 77.5vh;
    max-width: 75vw;
    width: auto;
	object-fit: contain;
}

#carousel .lightbox-img-container{
    opacity: 0;
}

.arrow {
    height: 89vh;
    cursor: pointer;
    display: flex;
    align-items: center;
    min-width: 12vw;
}

#carousel .arrow img{
    width: 35px;
}

.prev-arr{
    padding-right: 30px;
    justify-content: flex-end;
}

.next-arr{
    padding-left: 30px;
}

.close{
    display: none;
    position: fixed;
    left: 50%;
    bottom: 30px;
    transform: translate(-50%, 0);
    z-index: 201;
    cursor: pointer;
    font-size: 50px;
}

.close img{
    width: 30px;
}

[data-theme="dark"] .close img, [data-theme="dark"] #carousel .arrow img{
    filter: invert(1);
}



/* CONTACT */

.contact{
	position: fixed;
	width: 75vw;
	height: calc(100vh - 30px);
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
}

.logo{
	height: 15vh;
	width: auto;
}

.logo-ig{
	height: 5vh;
	width: auto;
    padding-bottom: 15px;
    padding-top: calc(10vh - 15px);
}

.logo img, .logo-ig img{
	width: auto;
	height: 100%;
	object-fit: contain;
}

[data-theme = "dark"] .logo img, [data-theme = "dark"] .logo-ig img{
	filter: invert(1);
}

.mail{
	font-size: 7.5vw;
	text-align: center;
	text-transform: uppercase;
}


/* EXTRA */
.page-template-work footer, .page-template-work header{
    background-color: #fff;
}

[data-theme = "dark"] .page-template-work footer, [data-theme = "dark"] .page-template-work header{
    background-color: #000
}


/* MEDIA QUERIES */

@media only screen and (max-width: 768px) {

	.desktop{
		display: none;
	}
	.mobile-screen{
		display: block;
	}

	header#header{
		flex-wrap: wrap;
		justify-content: center;
		font-size: 2rem;
	}

	#site-title{
		width: 100%;
		text-align: center;
		margin-bottom: 30px;
	}

	#mobileMenu {
		display: none;
		position: fixed;
		bottom: 0;
		left: 0;
		width: 100%;
		background-color: #fff;
		z-index: 999;
		padding-bottom: 60px;
	}

	[data-theme = "dark"] #mobileMenu{
		color: #fff;
		background-color: #000;
	}

	.menu-mobile-container{
		font-size: 4rem;
		text-align: center;
		line-height: 1.1;
		height: 100%;
		display: flex;
		align-items: center;
		justify-content: center;
	}


	/* .hamburger {
		a.main-nav-toggle {
		  display: block;
		  width: 28px;
		  height: 16px;
		  position: fixed;
		  left: 50%;
		  transform: translate(-50%, 15px);
		  
		  &:after,
		  &:before {
			content: '';
			position: absolute;
			top: 0;
			height: 0;
			border-bottom: 2px solid #000;
			width: 100%;
			left: 0;
			right: 0;
			transition: transform ease-out 0.3s;
		  }
		  
		  &:after {
			top: 100%;
		  }
		  
		  i {
			display: block;
			text-indent: 100%;
			overflow: hidden;
			white-space: nowrap;
			height: 2px;
			background-color: #000;
			width: 100%;
			position: absolute;
			top: 50%;
			transition: transform ease-out 0.1s;
		  }
		  
		  &.active-menu {
			&:after {
			  transform: rotate(-45deg);
			  transform-origin: center;
			  top: 50%;
			}
			
			&:before {
			  transform: rotate(45deg);
			  transform-origin: center;
			  top: 50%
			}
			
			i {
			  opacity: 0;
			}
		  }
		}
	  } */


	  .hamburger a.main-nav-toggle {
		display: block;
		width: 28px;
		height: 16px;
		position: fixed;
		left: 50%;
		transform: translate(-50%, 15px);
	}
	
	.hamburger a.main-nav-toggle:after,
	.hamburger a.main-nav-toggle:before {
		content: '';
		position: absolute;
		top: 0;
		height: 0;
		border-bottom: 2px solid #000;
		width: 100%;
		left: 0;
		right: 0;
		transition: transform ease-out 0.3s;
	}
	
	.hamburger a.main-nav-toggle:after {
		top: 100%;
	}
	
	.hamburger a.main-nav-toggle i {
		display: block;
		text-indent: 100%;
		overflow: hidden;
		white-space: nowrap;
		height: 2px;
		background-color: #000;
		width: 100%;
		position: absolute;
		top: 50%;
		transition: transform ease-out 0.1s;
	}
	
	.hamburger a.main-nav-toggle.active-menu:after {
		transform: rotate(-45deg);
		transform-origin: center;
		top: 50%;
	}
	
	.hamburger a.main-nav-toggle.active-menu:before {
		transform: rotate(45deg);
		transform-origin: center;
		top: 50%;
	}
	
	.hamburger a.main-nav-toggle.active-menu i {
		opacity: 0;
	}
	




	[data-theme = "dark"] .hamburger a.main-nav-toggle i{
		background-color: #fff;
	  }
	  [data-theme = "dark"] .hamburger a.main-nav-toggle:before, 	  [data-theme = "dark"] .hamburger a.main-nav-toggle:after{
		border-color: #fff;
	}




	footer#footer{
		background-color: #fff;
		height: 25px;
	}

	[data-theme = "dark"] footer#footer{
		background-color: #000;
	}

    .gallery-mobile{
		width: 90vw;
		height: fit-content;
    }

	.gallery-mobile-container {
		position: fixed;
		height: fit-content;
		width: inherit;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -45%);
		z-index: 110;
		pointer-events: none;
	}

	.gallery-mobile-container > div{
	display: none;
	}

	.gallery-mobile-container > *{
		pointer-events: all;
	}

	.gallery-mobile-container:first-child, .gallery-mobile-container:last-child{
		padding: 0;
	}

	.gallery-mobile-container img{
		margin: auto;
		width : 100%;
		height: auto;
		object-fit: contain
	}

	.theme-toggle{
		position: absolute;
		left: 48%;
		bottom: 25px;
		transform: scale(0.75) translate(-50%, 0);
	}

	.work-content {
        padding: 150px 25px;
    }

    #slider .slides li{
        width: calc(100% / 3 - 14px);
        padding: 7px;
    }
    #slider .slides li.portrait{
		width: calc(100% / 3 - 14px);
	}
	#slider .slides li.landscape{
		width: calc(100% / 3 * 2 - 14px);
	}


    #carousel{
        width: 100%;
        height: 75vh;
		pointer-events: none;
    }

	#carousel > *{
		pointer-events: all;
	}

    #carousel .slides li.lightbox{
        display: block;
    }

    .arrow{
        display: block;
        height: 100%;
    }

    .arrow img{
        display: none;
    }

    #carousel img{
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        z-index: 0;
        max-width: calc(100% - 65px);
    }

    .prev-arr{
        padding: 0;
        position: absolute;
        width: 33vw;
        left: 0;
        top: 0;
        z-index: 2;
    }

    .next-arr{
        padding: 0;
        position: absolute;
        width: 33vw;
        right: 0;
        top: 0;
        z-index: 3;
    }

	.close{
		bottom: 80px;
		transform: translate(-50%, 0) scale(0.9);
		z-index: 191;
	}
	.close img{
		width: 25px;
	}
	
};

@media only screen and (max-width: 576px) {
}

@media only screen and (max-height: 667px) {
		header#header{
			padding: 20px;
			font-size: 1.5rem;
			width: calc(100% - 40px);
		}
		#site-title{
			margin-bottom: 20px;
		}
		footer#footer{
			padding: 20px;
			width: calc(100% - 40px);
			height: 20px;
		}
		.work-content{
			padding: 120px 20px;
			overflow-y: scroll;
		}
		.theme-toggle{
			position: fixed;
			bottom: 15px;
		}
		.close {
			left: 45px ;
			bottom: 15px;
			z-index: 500;
		}
		.gallery-mobile-container{
			width: calc(100% - 65px);
		}


}