/*
Theme Name: Vir
Theme URI: https://virandreshera.com
Author: Maxime Bichon
Author URI: https://maximebichon.net
Description: Vir
*/

/* @import url('main.css'); */

/* RESET */

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{border:0;font-size:100%;font:inherit;vertical-align:baseline;margin:0;padding:0}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:none}table{border-collapse:collapse;border-spacing:0}

:focus:not([data-focusvisible-polyfill]){outline: none;}

/* SCROLL */

body {
  overflow: hidden;
}

#page_scroll{
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;

  width: 50vw;
  overflow-y: auto;
  overflow-x: hidden;

  /* your original visual trick */
  direction: rtl;
}

/* keep actual content LTR */
#page_scroll main{
  direction: ltr;
}

.os-scrollbar.os-theme-purple {
  --os-size: 30px;
  --os-track-bg: #640054;
  --os-track-bg-hover: #640054;
  --os-track-bg-active: #640054;
  --os-handle-bg: #968cff;
  --os-handle-bg-hover: #968cff;
  --os-handle-bg-active: #968cff;
}

/* body{
	direction: rtl;
	overflow-x: hidden;
}

main{
	direction: ltr;
}

::-webkit-scrollbar {
	width: 30px;
}

::-webkit-scrollbar-track {
   background: #640054;
}

::-webkit-scrollbar-thumb {
	background: #968cff;  
}
::-webkit-scrollbar-thumb:window-inactive {
	background:  #968cff; 
} */

#left_side{
	width: calc(50vw - 30px);
	box-sizing: border-box;
	padding: 90px 15px 30px 60px;
}

#right_side{
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	width: 50vw;
	overflow-y: scroll;
	overflow-x: hidden;
	box-sizing: border-box;
	padding: 90px 60px 0 15px;
}

/* FONTS */

@font-face {
	font-family: 'Marsha';
	src: url('f/VTCMarsha-Bold.woff2') format('woff2'),
		url('f/VTCMarsha-Bold.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'Sanders';
	src: url('f/SandersDFiveOpti.woff2') format('woff2'),
		url('f/SandersDFiveOpti.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

.marsha{
	font-family: 'Marsha';
}

.sanders{
	font-family: 'Sanders';
}

/*/////////*/
/* GENERAL */
/*/////////*/

body{
	font-family: Times;
	font-size: 30px;
	line-height: 1em;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-backface-visibility: hidden;
}

a{
	text-decoration: none;
	color: black;
}

p{
	margin-bottom: 1em;
}

p:last-of-type{
	margin-bottom: 0;
}

img{
	width: 100%;
	height: auto;
	vertical-align: middle;
}

.left{
	float: left;
}

.right{
	float: right;
}

.clear{
	clear: both;
}

.alignright{
	text-align: right;
}

.center{
	text-align: center;
}

.upper{
	text-transform: uppercase;
}

.lower{
	text-transform: lowercase
}

.capi{
	text-transform: capitalize;
}

.borderbox{
	box-sizing: border-box;
}

.inline{
	display: inline;
}

.inline-block{
	display: inline-block;
}

.block{
	display: block;
}

.relative{
	position: relative;
}

.absolute{
	position: absolute;
}

.fixed{
	position: fixed;
}

.flex{
	display: flex;
}

.flex-wrap{
	flex-wrap: wrap;
}

.flex-column{
	flex-direction: column;
}

.space-between{
	justify-content: space-between;
}

.flex-center{
	align-items: center;
	justify-content: center;
}

.flex-end{
	justify-content: flex-end;
}

.cover{
	object-fit: cover;
}

.contain{
	object-fit: contain;
}

i,
em,
.italic{
	font-style: italic;
}

.bold,
strong{
	font-weight: bold;
}

.hyphens{
	-webkit-hyphens: auto;
	-ms-hyphens: auto;
	hyphens: auto;
}

.overflow{
	overflow: auto;
}

.width20{
	width: 20%;
}

.width25{
	width: 25%;
}

.width33{
	width: 33.33%;
}

.width50{
	width: 50%;
}

.width66{
	width: 66.66%;
}

.width75{
	width: 75%;
}

.width100{
	width: 100%;
}

.height100{
	height: 100%;
}

.pointer{
	cursor: pointer;
}

.marg1em{
	margin-bottom: 1em;
}

.responsive-video{
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	width: 100%;
}

.responsive-video iframe{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/*////////*/
/* LAYOUT */
/*////////*/

.border{
	border-bottom: 1px solid black;
}

.size18{
	font-size: 18px;
	line-height: 1.1em;
}

.size60{
	font-size: 60px;
	line-height: 0.83em;
}

.marg3{
	margin-bottom: 3px;
}

.marg5{
	margin-bottom: 5px;
}

.marg8{
	margin-bottom: 8px;
}

.marg10{
	margin-bottom: 10px;
}

.marg16{
	margin-bottom: 16px;
}

.marg27{
	margin-bottom: 27px;
}

.marg30{
	margin-bottom: 30px;
}

.marg42{
	margin-bottom: 42px;
}

.marg67{
	margin-bottom: 67px;
}

.marg100{
	margin-bottom: 100px;
}

.marg143{
	margin-bottom: 143px;
}

.purple{
	color: #640054
}

.light_purple{
	color: #d0b2cc
}

.nobreak{
	word-break: keep-all;
}

.padd_right_30{
	padding-right: 30px;
	box-sizing: border-box;
}

.ratio{
	width: 100%;
	aspect-ratio: 13.3/9;
	position: relative;
}

.ratio_wrap{
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
}

/* PROJECTS */

.links_projects{
	width: 50%;
	margin-left: 50%;
}

.captions,
.one_link_projects{
	box-sizing: border-box;
	padding: 2px 0 5px;
}

.one_link_projects:first-of-type{
	border-top: 1px solid;
}

.play_small{
	width: 23px;
}

/* DROPDOWN */

.dropdown_content{
	display: none;
}

/* FOOTNOTES */

.fn-trigger{
	cursor: pointer;
}

.inline-footnotes .fn-item{
	border-top: 1px solid;
	border-bottom: 1px solid;
	width: 50%;
	margin-left: 50%;
	box-sizing: border-box;
	padding: 2px 0 5px;
}

/* MENU */

#menu{
	background: white;
	padding: 18px 28px 0 28px;
	box-sizing: border-box;
	position: fixed;
	top: 0;
	left: 30px;
	right: 30px;
	z-index: 666;
}

#menu .border{
	margin-top: 10px;
}

/*////////////*/
/* RESPONSIVE */
/*////////////*/

.mobile,
.mobile_flex,
.mobile_inline{
	display: none;
}

@media screen and (max-width: XXXpx) {
	
	.mobile{
		display: block;
	}
	
	.mobile_flex{
		display: flex;
	}
	
	.mobile_inline{
		display: inline;
	}
	
	.desktop{
		display: none;
	}
	
	#hamburger{
		display: block;
		height: 14px;
		width: 30px;
		border-top: 2px solid black;
		border-bottom: 2px solid black;
		position: absolute;
		cursor: pointer;
		top: 7px;
		right: 20px;
	}
	
	#hamburger .line{
		padding: 0;
		margin: 0;
		margin-top: 2px;
		position: absolute;
		top: 0;
		border-bottom: 2px solid;
		padding-bottom: 4px;
		margin-bottom: 5px;
		width: 100%;
		height: 0px;
	}
	
	.cross{
		width: 30px;
		height: 30px;
		overflow: hidden;
		cursor: pointer;
		position: relative;
		z-index: 100;
	}
	
	.cross::before, 
	.cross::after {
		content: '';
		position: absolute;
		height: 1px;
		width: 100%;
		top: 50%;
		right: 0;
		margin-top: -1px;
		background: black;
	}
	
	.cross::before {
		-webkit-transform: rotate(45deg);
		-ms-transform: rotate(45deg);
		transform: rotate(45deg);
	}
	
	.cross::after {
		-webkit-transform: rotate(-45deg);
		-ms-transform: rotate(-45deg);
		transform: rotate(-45deg);
	}
	
}