{% extends 'base.css' %}
{% block css %}
:root {
	--main-bg: #0d0d0d;
	--main-fg: #1c1c1c;
	--secondary-fg: #121212;
	--main-txt: #212121;
	--secondary-text: #666666;
	--main-highlight: #8d8df7;
	--secondary-highlight: #b5b5f4;
	--third-highlight: #6060cb;

	font-size: 2vh;
}
.wip {
	position: absolute;
	background: #7070e6;
	width: 100%;
	height: 15%;
	top: 0;
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	font-size: 1.1rem;
}
* {
	margin: 0;
	padding: 0;
	font-family: 'Baskerville', serif;
	box-sizing: border-box;
}
*:before. *:after {
	box-sizing: border-box;
}
body {
	width: 100vw;
	overflow-x: hidden;
	background: var(--main-bg);
}
::-webkit-scrollbar {
  width: .3vw;
}
 
::-webkit-scrollbar-track {
	background: var(--main-fg);
}
 
::-webkit-scrollbar-thumb {
	background: var(--main-highlight);
}
#bg {
    height: 100%;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    overflow: hidden;
    z-index: -1;
	background: #121212;
}
#top-inner {
	
	align-items: center;
    display: flex;
    justify-content: center;
    height: calc(100vh);
    /* clip-path: polygon(0 0, 100% 0%, 100% 90%, 50% 100%, 0 90%); */
}
#top {
	width: 100vw;
	/* clip-path: polygon(0 0, 100% 0%, 100% 90%, 50% 100%, 0 90%); */
	height: calc(100vh + 4px);
	/* background: #121212; */
}
div#about-section {
	padding-top: 4vh;
	padding-bottom: 10vh;
	background: var(--main-bg);
	background: linear-gradient(0deg, var(--main-bg) 0%, var(--main-bg) 90%, #121212 100%);
	display: flex;
	align-items: center;
	flex-direction: column;
	width: 100vw;
}

h2,h3,h4 {
	position: relative;
	font-size: 6em;
	color: var(--main-highlight);
	text-align: left;
	font-family: 'Charter';
	font-weight: 600;
	font-style: italic;
}
h3 {
	font-size: 4.4em;
}

h4 {
	margin-top: 0vh;
	font-size: 1em;
	font-weight: normal;
	color: var(--secondary-highlight);
}

.icon {
	color: var(--secondary-highlight);
}
/*h2:before {
	content:"";
	width: 100%;
	height: 5px;
	background: var(--secondary-highlight);
	display: block;
	z-index: 2;
	position: relative;
	top: 1.3em;
}*/
.top-text {
	color: white;
	font-size: 4vh;
	align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 1;
    margin-bottom: 50px;
    pointer-events: none;
}
.top-text div h1 {
	margin:0;
	padding: 0;
}
.top-text div {
	text-align: center;
	font-weight: 300;
}
.highlight {
	color: var(--main-highlight);
	display: inline-block;
}
h1 {
	background: rgb(96,96,203);
background: linear-gradient(9deg, rgba(96,96,203,1) 0%, rgba(141,141,247,1) 53%, rgba(169,169,255,1) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: 'Charter', serif;
  font-weight: 800;
}
.about-info {
	/* display: flex; */
	/* align-content: center; */
 	/* justify-content: center; */
	/* width: 100%; */
	margin-top: 40px;
	/* flex-flow: row wrap; */
}
.tools {
	color: white;
	font-size: 2.8vh;
}
.tools th, .tools td {
	padding: 0 2vw;
}
.tools th {
	text-align: left;
	font-size: 2vh;
	font-weight: bold;
	font-family: 'Charter', serif;
	color: var(--third-highlight);
}
.table-subheading {
	font-size: 2.5vh;
	font-style: italic;
	color: var(--secondary-text);
}
.tools td {
	vertical-align: top;
}
.tools td div {
	display: inline-flex;
	flex-direction: column;
}
.familiar-column:before {
	content: "";
	position: absolute;
	transform: translate(-2vw,4vh);
	width: 2px;
	height: 27vh;
	background-color: #2f2f2f;

}
.experience-timeline td {
	padding: 1vh 0;
	vertical-align: top;
}

td.experience-date {
	font-size: 2.5vh;
	font-style: italic;
	color: var(--secondary-text);
	text-align: right;
	padding-right: 3vw;
}

.experience-timeline h4 {
	color: white;
	font-style: normal;
	font-weight: normal;
	font-size: 1.5rem;
	font-family: 'Baskerville', serif;
	display: block;
}
.experience-timeline h4:before {
	content: "";
	position: absolute;
	transform: translate(calc(-1.5vw - 4px),1.2vh);
	width: 15px;
	height: 3px;
	/* border-radius: 50%; */
	background-color: #2f2f2f;
}
.experience-timeline i {
	color: var(--third-highlight);
	font-size: 1rem;
	font-family: 'Baskerville', serif;
	display: block;
}
.experience-timeline span {
	color: var(--secondary-text);
	font-size: 1rem;
	font-family: 'Baskerville', serif;
	display: block;
}

.experience-timeline th {
	text-align: left;
	font-size: 2vh;
	font-weight: bold;
	font-family: 'Charter', serif;
	color: var(--third-highlight);
}

.course-container {
	margin: 0 10vw;
}
.course-container h3 {
	font-style: normal;
	font-size: 2vh;
	color: var(--third-highlight);
	margin-top: 5vh;
}
.course-container .courses-table {
	width: 100%;
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 10vw;
}
.course-container div.tcourse span {
	color: var(--secondary-text);
	/* font-style: italic; */
}
.course-container div.tcourse span i {
	color: var(--third-highlight);
}
.course-container div.tcourse h4 {
	color: white;
	font-style: normal;
	font-size: 1.4rem;
	font-family: "Baskerville",serif;
}
.course-container div.tcourse h4 i {
	font-family: "Charter",serif;
	color: var(--main-highlight);
	font-size: 1.2rem;
	margin-left: 1vw;
}



.timeline-column {
	position: relative;
}
.timeline-column:before {
	content: "";
	position: absolute;
	width: 2px;
	top: 4vh;
	left: 26.2%;
	bottom: 0;
	background-color: #2f2f2f;

}


div.tool {
	font-size: 1.5rem;
	background: var(--main-highlight);
	color: var(--main-bg);
	margin: 10px 5px;
	padding: 5px 10px;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	border-radius: 10px;
	transition: .1s;
}
div.tool > div{
	color: white;
	position:absolute;
	transition: 0.1s;
	transform: translateY(-30px);
	background: var(--main-fg);
	opacity: 0;
	padding: 10px;
	text-align: center;
}
div.tool > div:after{
	position: absolute;
	left: calc(50% - 7px);
	bottom: -7px;
	content:"";
	width: 14px;
	height: 14px;
	background: var(--main-fg);
	transform: rotate(45deg);
}
div.tool:hover > div{
	opacity: 1;
	transform: translateY(-50px);
}
.about-desc {
	margin-top: 50px;
	display: flex;
	justify-content: center;
	width: 100%;
	margin-bottom: 50px;
}
.highlight-bg {
	width: 100vw;
	position: relative;
}
.highlight-bg:before,.highlight-bg:after {
	width: 33vw;
	height: 5vh;
	border: 2px solid var(--secondary-text);
	content: "";
	position: absolute;
	left: -5vw;
	top: 35%;
}
.highlight-bg:after {
	left: auto;
	right: -5vw;
}
img.portrait {
	max-width: 50vh;
	max-height: 50vh;
	clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

.about-desc > span {
	/*clip-path: polygon(0% 0%, 75% 0%, 100% 50%, 75% 100%, 0% 100%);*/
	width: 45vw;
	font-size: 1.4em;
	color: white;
	text-align: center;
	font-weight: 300;
	padding: 0 75px;
	transition: 0.3s;
	margin-top: 8vh;
	margin-bottom: 14vh;
}
/*.about-desc:hover > span {
	opacity: 1;
}*/
b {
	font-weight: bold;
}
span.highlight {
	color: var(--main-highlight);
}
div.light-bg {
	background: #141414;
	padding: 4vh 0;
	margin: 5vh 0;
}
.awards {
	padding-top: 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.award-bar-bg {
	background: var(--main-bg);
	color: white;
	font-weight: 300;
	width: 80vw;
	content: "";
	text-align: right;
	border-radius: 0px;
	margin: 20px 0;
}
.award-bar {
	font-size: 1.3em;
	color: white;
	width: 30vw;
	background: var(--main-highlight);
	border-radius: 0 5px 5px 0px;
	padding: 10px 10px;
}
.award-bar .event {
	font-size: .8em;
}
.year {
	font-weight: normal;
	width: 100%;
	display: block;
	color: var(--secondary-highlight);
}
.award-bar .year {
	font-size: .8em;
	color: var(--main-bg);
	font-weight: bold;
}
.courses {
	padding-top: 20px;
}
.course {
	color: white;
	font-size: 1.3em;
	font-weight: 300;
	width: 30vw;
	padding: 5px 7px;
	background: var(--main-fg);
	border-radius: 10px;
	margin: 20px 0;
}
.event {
	font-weight: normal;
	width: 100%;
	display: block;
	color: var(--main-bg);
}
.grade {
	font-weight: normal;
	width: 100%;
	display: block;
	color: var(--main-highlight);
}

.projects {
	justify-items:stretch;
	width: calc(33.33vw - 20px);;
	display: flex;
	flex-direction: column;
	/*display: grid;
	grid-template-columns: repeat(3,1fr);
	column-gap: 10px;
  	row-gap: 10px;*/
  	/*padding-bottom: 20vh;*/
}
#projects-section {
	display: flex;
	align-items: center;
	flex-direction: column;
	margin-bottom: 0;
}
.projects-rows {
	display: flex;
	justify-content: center;
}
.projects-scroll {
	overflow-y: scroll;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.projects .project {
	width: calc(33.33vw - 20px);
	/*height: 25vw;*/
	background: #303030;
	/* border-radius: 10px; */
	margin:0;
	/*overflow: hidden;*/
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
}
.can-grab {
	cursor: grab;
}
.projects .project img {
	width: calc(33.33vw - 20px);
	/*object-fit: cover;*/
	/*height: 25vw;*/
	transition:0.2s;
	margin-right: 0%;
}
.projects .project:hover img {
	margin-left: 0%;
}
.projects .project span.project-name {
	z-index: 100;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	opacity: 0;
	transition: 0.2s;
	color: white;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	text-align: center;
}
.projects .project span.project-name::before {
	z-index: 10;
	opacity: 0.8;
	content:"";
	position: absolute;
	transition: 0.2s;
	background: #303030;
	color: white;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
}
.projects .project span.project-name > span {
	padding-top: 15px;
	color: white;
	z-index: 101;
	font-weight: normal;
	font-size: 2rem;
	transform: translateY(-20px);
	transition: 0.2s;
}
.projects .project:hover span.project-name span {
	transform: translateY(0px);
}
.projects .project span.project-name div.find-out {
	bottom: 10px;
	position: absolute;
	color: white;
	z-index: 101;
	font-weight: normal;
	font-size: 2rem;
	transform: translateY(40px);
	transition: 0.2s;
	text-align: center;
	width: 100%;
}
.projects .project:hover span.project-name div.find-out {
	transform: translateY(0px);
}
span.project-date {
	display:block;
	color: var(--secondary-highlight);
	z-index: 101;
	font-weight: bold;
	font-size: .7em;
	text-align: center;
	margin: 0; padding: 0;
}
.projects .project span.project-name span span.project-tools {
	display:block;
	color: var(--main-highlight);
	z-index: 101;
	font-weight: normal;
	font-size: .7em;
	text-align: center;
	margin: 0; padding: 0;
}

.projects .project:hover span.project-name {
	opacity: 1;
}
.projects .project:hover {
	/* border-radius: 10px; */
}



.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 105; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: hidden; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #303030;
  border-radius: 10px;
  margin: 15% auto;
  padding: 20px;
  padding-bottom: 10vh;
  width: 70vw;
  transition: .3s;
  position:relative;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  transform: translateY(-10px);
}

.close:hover,
.close:focus {
  color: white;
  text-decoration: none;
  cursor: pointer;
}
#modal-project-name {
	color: white;
	font-size: 3rem;
	font-weight: normal;
}
#modal-project-date {
	color: var(--main-highlight);
	font-size: 1.4rem;
	font-weight: normal;
	margin-left: 10px;
}
#modal-project-type {
	color: var(--secondary-highlight);
	font-size: 1.5rem;
	font-weight: normal;
	display:block;
}
#modal-project-desc {
	margin-top: 10px;
	color: white;
	font-size: 1.5rem;
	font-weight: normal;
	display:block;
}
#modal-image-container {
	margin-top: 5vh;
	width: 100%;
	text-align: center;
	position: relative;
	user-select: none;
}
#modal-image-container img {
	max-width: 60%;
	border-radius: 10px;
	user-select: none;
}
.rarrow,.larrow {
	user-select: none;
	content:"";
	border-left: solid white 10px;
	border-bottom: solid white 10px;
	width: 30px;
	height: 30px;
	top: calc(50% - 19px);
	position: absolute;
	transition: .1s;
	cursor: grab;
}
.rarrow:hover,.larrow:hover {
	border-left: solid var(--main-highlight) 10px;
	border-bottom: solid var(--main-highlight) 10px;
}
.larrow {
	transform: rotate(45deg);
	left: 10%;
}
.rarrow {
	transform: rotate(-135deg);
	right: 10%;
}
#modal-project-link-outer {
	text-align: center;
	margin-top: 10vh;
}
a#modal-project-link {
	text-align: center;
	width: 200px;
	font-size: 1.2rem;
	cursor: grab;
	user-select: none;
	padding: 8px;
	color: var(--secondary-highlight);
	border: solid var(--secondary-highlight) 3px;
	position:absolute;
	bottom:2vh;
	left: calc(50% - 100px);
}
a#modal-project-link {
	text-align: center;
	width: 200px;
	font-size: 1.2rem;
	cursor: grab;
	user-select: none;
	padding: 8px;
	color: var(--secondary-highlight);
	border: solid var(--secondary-highlight) 3px;
	position:absolute;
	bottom:2vh;
	left: calc(50% - 100px);
	transition: 0.1s;
	text-decoration: none;
}
a#modal-project-link:hover {
	color: var(--main-bg);
	background: var(--secondary-highlight);
	border: solid var(--secondary-highlight) 3px;
}

.project-type-toggle {
	width: 80%;
	margin:auto;
	height: 1.7rem;
	margin-top: 2rem;
	display: grid;
	grid-template-columns: repeat(2,1fr);
	justify-content: center;
}
.project-type-toggle button {
	margin: 0rem 1.5rem;
	font-size: 1rem;
	border: none;
	border-radius: 5px;
	background: #2c2c2c;
	color: white;
	transition: .2s;
}
.project-type-toggle button:hover {
	cursor: pointer;
	transform: scale(1.05);
	background: var(--secondary-highlight);
}
.project-type-toggle button.active {
	color: white;
	background: var(--main-highlight);
}
.project-type-toggle button:active {
	cursor: pointer;
	transition: .05s;
	transform: scale(.93);
}

.art-modal .art-reformatter {
	display: flex;
	flex-direction: row-reverse;
}
.art-modal #modal-image-container {
	padding: 1rem;
}
.art-modal #modal-image {
	max-width: 100%;
	max-height: 70vh;
}
.art-modal #modal-project-desc {
	width: 50%;
	padding-top: 2.5rem;
	margin-left: 1rem;
	margin-right: 3rem;
	font-size: 1.2rem;
}
.art-modal .modal-content {
	padding-bottom: 2rem;
}
#top-canvas {
	position: absolute;
	right: 0;
	left: 0;
}

.horizontal-container {
	display: flex;
	width: 100vw;
	justify-content: space-between;
	/* column-gap: 12vw; */
	padding: 10vh 8vw;
}
.blocked-horizontal {
	display: flex;
	justify-content: right;
	width: 100vw;
	padding: 10vw;
	position: relative;
}
.blocked-horizontal:before {
	content: "";
	position: absolute;
	left: 10vw;
	top: 21vh;
	border: 2px solid var(--secondary-text);
	width: 45vw;
	height: 5vh;
}

.blocked-horizontal:after {
	content: "";
	position: absolute;
	left: 10vw;
	top: 31vh;
	border: 2px solid var(--secondary-text);
	width: 60vw;
	height: 5vh;
	z-index: 0;
}
.blocked-horizontal h3 {
	text-align: right;
	z-index: 1;
}

.more-projects {
	display: flex;
	flex-direction: column;
	align-items: left;
	width: 100vw;
	padding-left: 10vw;
}
.more-projects h3 {
	font-size: 3rem;
}

.cproject {
	width: 100vw;
	margin-bottom: 10vh;
	display: block;
}
.cproject a {
	text-decoration: none;
}
.cproject img {
	object-fit: cover;
	width: 35vw;
	height: 20vw;
	border: 2px solid #8d8df7;
	filter: sepia(100%) hue-rotate(200deg) saturate(400%)
}
.cproject p {
	width: 35vw;
	color: var(--secondary-text);
	font-family: 'Baskerville', serif;
	font-size: 1.3rem;
	margin-top: 15px;
}

.cproject h2 {
	width: 35vw;
	color: white;
	font-size: 2.5rem;
	margin-bottom: 15px;
}

.mini-project {
	margin-right: 3vw;
}
.mini-project img {
	object-fit: cover;
	width: 28vw;
	height: 16vw;
	border: 2px solid #8d8df7;
	filter: sepia(100%) hue-rotate(200deg) saturate(400%)
}

.mini-project h2 {
	width: 28vw;
	color: white;
	font-size: 1rem;
	margin-bottom: 15px;
}
.project-slider {
	display: flex;
	width: 80vw;
	overflow-x: scroll;
	margin-top: 5vh;
}

.project-slider::-webkit-scrollbar {
	height: .2vw;
}

.achievements {
	width: 90vw;
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 5vw;
	margin: 0 auto;
	margin-top: 25vh;
}
.achievements .awards {
	margin-top: 4vh;
	width: 50vw;
	display: flex;
	flex-direction: column;
}
.achievements .awards div {
	width: 100%;
	color: white;
	font-size: 1.7rem;
	border-bottom: 1px solid var(--secondary-text);
	padding-bottom: 10px;
	margin-bottom: 2vh;
}
.achievements .awards div b {
	color: var(--main-highlight);
}
.achievements .awards div span {
	color: var(--secondary-text);
	display: block;
	font-size: 1.2rem;
	font-style: italic;
}

#art-button {
	border: 2px solid var(--main-highlight);
	color: var(--main-highlight);
	text-decoration: none;
	font-family: 'Baskerville', sans-serif;
	font-style: italic;
	font-weight: bold;
	font-size: 1.4rem;
	padding: 2vh 2vw;
	margin-top: 20vh;
	transition: .1s;
}
#art-button:hover {
	cursor: pointer;
	background-color: var(--main-highlight);
	color: white;
}

@media only screen and (max-width: 900px) { 
	html {
		width: 100vw;
	}
	div.tools {
		padding: 0 1rem;
	}
	h3 {
		padding: 0 1rem;
		font-size: 4rem;
	}
	.course {
		transform: translate(0) !important;
		width: 80vw;
		margin: 1rem 10vw;
	}
	h2 {
		font-size: 2rem;
	}
	h4 {
		padding: 10px 3rem;
		font-size: .8rem;
	}

	.project-type-toggle {
		width: 90vw;
	}
	.project-type-toggle button {
		margin: 0rem .2rem;
		padding: 10px 0;

	}
	/*.projects {
		grid-template-columns: repeat(1,1fr);
	}*/
	.projects .project {
		width: calc(99vw);
	}
	.projects .project img {
		width: calc(99vw);
		object-fit: cover;
		/*min-height: 100%;*/
	}

	.modal-content {
	  margin: 0% auto;
	  padding: 20px;
	  padding-bottom: 5vh;
	  width: 95vw;
	  height: 90vh;
	  overflow-y: scroll;
	}

	a#modal-project-link {
		margin-top: 10vh;
		position: relative;
	}

	#modal-project-desc {
		margin-top: 5vh;
	}

	.art-modal .art-reformatter {
		display: flex;
		flex-direction: column-reverse;
	}
	.art-modal #modal-project-desc {
		width: 90%;
		margin-top: .3rem;
		padding-top: 0rem;
		font-size: 1.2rem;
	}

	img#modal-image {
		width: 80vw;
		min-width: 80vw;
		max-width: 80vw;
	}

	.rarrow,.larrow {
		margin-top: 15vh;
	}

	.about-desc > span {
		width: auto;
	}

	.highlight-bg:before,.highlight-bg:after {
		width: 20vw;
	}
	.horizontal-container {
		flex-direction: column;
		padding: 3vw;
	}
	.experience-timeline h4 {
		padding-left: 0;
	}
	.experience-timeline td.experience-date {
		padding-left: 0;
	}
	.experience-timeline h4:before {
		position: absolute;
		transform: translate(calc(-6.5vw - 4px),1.2vh);
	}
	.experience-timeline td {
		padding-left: 5vw;
	}
	.courses-table {
		grid-template-columns: 1fr !important;
	}
	.course-container h3 {
		padding: 0;
		margin-bottom: 5px;
	}
	.courses-table h4 {
		padding: 0;
		margin-bottom: 2vh;
	}
	.blocked-horizontal {
		justify-content: center;
		font-size: .8rem;
	}
	.blocked-horizontal:after {
		content: none;
	}
	.blocked-horizontal:before {
		left: 5vw;
		top: 17vh;
		width: 35vw;
		height: 3vh;
	}
	.cproject {
		display: flex;
		justify-content: center;
		padding: 0 !important;
	}
	.cproject img {
		width: 80vw;
		height: auto;
	}
	.cproject p, .cproject h2 {
		width: 80vw;
	}
	.mini-project img {
		width: 50vw;
		height: 30vw;
	}
	.mini-project h2 {
		width: 50vw;
	}
	.achievements {
		grid-template-columns: 1fr;
	}
	.achievements h3 {
		font-size: 4rem;
		padding: 0;
	}
	.achievements .awards {
		width: 90vw;
	}
	.projects-rows {
		display: grid;
	}
	.projects {
		width: auto;
	}
	#modal-project-name {
		display: block;
	}
	.about-info {
		overflow-x: scroll;
	}
	.blocked-horizontal h3, .achievements h3{
		font-size: 3rem;
	}
	.contactme b {
		display: block;
	}
	.tcourse h4 {
		padding: 0;
	}
	.experience-timeline tr td:last-child {
		width: 68vw;
	}
	.experience-timeline th {
		text-align: center;
	}
}

.project-name h2 {
	font-size: 2rem;
	color: white;
}

/*.projects {
	height:100vh;
}*/


.hidden {
	display: none;
}
{% endblock %}