* {
	margin: 0;
	padding: 0;
	scrollbar-width: none;
}

*::-webkit-scrollbar {
    display: none;
    width: 0px;
}

::selection {
  	background: rgba(0,0,0,0);
}

html, body {
	background: rgba(40,40,40,1);
}

::selection {
  	background: rgba(0,0,0,0);
}

p::selection {
	color: black;
  background: white;
}


header {
	position: fixed;
	display: flex;
	top: 0;
	width: 100%;
	height: 50px;
	border-bottom: 1px solid black;
	background: rgba(40,40,40,1);
	z-index: 10;
	justify-content: space-around;
	align-items: center;
}

header > span {
	color: white;
	font-family: Galvji;
	font-size: 15pt;
	cursor: pointer;
	width: 100px;
	text-align: center;
	vertical-align: center;
	border: 0px solid red;
}

header > span > a {
	color: white;
	text-decoration: none;
	cursor : pointer;
	transition: 0.20s;
}

header > span:hover, header > span > a:hover {
	color:	#0a4fff;
}

#text {
	display: block;
	position: fixed;
	overflow: scroll;
	overflow-x: hidden;
	top: 50px;
	height: 100%;
	align-items: stretch;
	transition: 1s;
	border-left: 1px solid black;
	z-index: 5;
	cursor: pointer;
	background: rgba(40, 40, 40, 1);
}

#text > p {
	padding-top: 10px;
	padding-left:15px;
	padding-right:15px;

	font-family: Galvji;
	font-size: 12pt;
	line-height: 18pt;
	text-align: left;
}

.textoff {
	right: -21%;
	width: 20%;
}

.textactive {
	right: 0px;
	width: 20%;
	color: rgba(255,255,255,1);
}

.fadeText  {
	animation: fadeInText 1s;
}


@keyframes fadeInText{
    0% { color: rgba(255,255,255,0);}
    20% { color: rgba(255,255,255,0)}
    100% { color: rgba(255,255,255,1)}
}


#left {
	position: fixed;
	background: rgba(40, 40, 40, 1.0);
	height: 100%;
	left:0;
	top:50px;
	opacity: 1;
	overflow: scroll;
	align-items: stretch;
	transition: 1s;
	border-right: 1px solid black;
}

.leftoff {
	width: 50%;
}

.leftactive {
	transition: 1s;
	width: 20%;
}


#left > #works {
  display: grid;
  grid-template-columns: fit-content(40%) fit-content(40%);
  grid-gap: 5px;
  width:99%;
  align-items: stretch;
  padding-top: 20px;
  justify-content: space-evenly;
  z-index:2;
  padding-bottom: 100px;
  border: 0px solid red;
}



@media only screen and (max-width: 1400px) {
	#left > #works {
		/*grid-template-columns: fit-content(40%);*/
	}
}


#cv {
	padding-top: 15px;
	padding-left: 20px;
	font-family: Galvji;
	color: white;
	font-size: 10pt;
	width: 90%;
	padding-bottom: 150px;
}


#left > div > div {
	font-family: Galvji-Bold-Oblique;
	font-size: 10pt;
	color: white;
	text-align: left;
	padding-bottom: 50px;
	padding-left: 0px;
	width:100%;

}

#left > div > div > text{
	width:200px;
	font-family: Galvji;
}

#left > div > div > text > div{
	font-family: Galvji	;
	padding-top: 10px;
}

#left > div > div > text > div > span{
	font-family: Galvji-Oblique;
}

#left > div > div > img {
	width:100%;
	height: auto;
	border-radius: 5px;
}


@media only screen and (max-width: 1200px) {
	#left > div > div > img {
	width:100%;
	height: auto;
	}
}


#left > div > div > img:hover {
  outline: 4px solid #ff283c;
  outline-offset: -10px;
  transition: 0.3s;
}


#left:scroll {
}

#left > div > p {
	font-size: 15pt;
	line-height: 20pt;
}

#left > div > p  > a{
	color: grey;
	text-decoration: none;
	cursor: crosshair;
}

.cv-part {
	text-decoration: underline;
}

.cv-year {
	font-weight: bold;
}

.cv-title {
	font-style: oblique;
}


#right {
	position: fixed;
	background: rgba(40, 40, 40, 0);
	top:0;
	opacity: 1;
	transition: 1s;
	border-left: 0px solid black;
}

.rightoff {
	height: 100%;
	width: 50%;
	right: 0;
	overflow: scroll;
}

.rightactive {
	width: 60%;
	height: calc(100% - 60px);
	right: 20%;
	transition: 1s;
	overflow: hidden;
}


#info {
	padding-left: 30px;
	padding-right: 30px;
	padding-top: 65px;
	color: white;
	font-family: Galvji;
}

#right > div > p {
	font-size: 22pt;
	line-height: 28pt;
}

#menu {
	display: none;
	position: fixed;
	width: 60%;
	border-top: 1px solid black;
	height: 60px;
	bottom: 0px;
	justify-content: space-around;
	align-items: center;
	background: rgba(40, 40, 40, 0);
}

#menu > span {
	color: white;
	font-family: Galvji;
	font-size: 15pt;
	cursor: pointer;
	/*width: 50%;*/
	text-align: center;
	vertical-align: center;
	border: 0px solid red;
	transition: 0.20s;
	padding-left: 50px;
	padding-right: 50px;
}

#menu > span:hover {
	color:	#0a4fff;
}

#info {
	display: block;
}

#gallery {
	background: rgba(40, 40, 40, 1);	
	display: none;
	position: absolute;
	padding-top: 120px;
	padding-left: 20px;
	padding-right: 20px;
	border: 0px solid green;
	width: 100%;
	height: 100%;
	overflow: hidden;
	/*background: blue;*/
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  border: 0px solid green;
}

#title {
	width: 100%;
	position: fixed;
	top: 60px;
	font-family: Galvji;
	font-size: 12pt;
	color: white;
	text-align: center;
	transform: translateX(-20px);
	border: 0px solid red;
}


#gallery > img {
	position: fixed;
	z-index: 1;
	width: 90%;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}

.imgActive {

	
}


#content {
	display: none;
}


#leftpad {
	cursor: w-resize;
	position: fixed;
	z-index: 10;
	width: 50%;
	height: 100%;
	border: 0px solid yellow;
}

#rightpad {
	cursor: e-resize;
	position: fixed;
	z-index: 10;
	width: 50%;
	left: 50%;
	height: 100%;
	border: 0px solid pink;
}


.transition{
	animation: fadeIn 2s;
}


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

#load > img{
	position:fixed;
	width: 20%;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
	z-index:20;
	mix-blend-mode: multiply;
}