* {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
body {
	margin: 0;
}

#main {
	display: flex;
}

#main-side-panel {
	height: 100vh;
	position: fixed;
	left: 0;
	top: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	z-index: 100;
}

.land-section {
	padding-left: 105px;
}

.section-title {
	font-size: var(--font-size-4);
	transition: 0.2s;
	background: #111312;
	padding: 30px 10px;
	border-radius: 6px;
	width: 100%;
	text-align: center;
	margin-top: -10px;
	color: var(--thermal);
	font-weight: bold;
	cursor: pointer;
	box-sizing: content-box;
}

.section-title.active {
	background: transparent;
	color: white;
	/*text-shadow: 0 0 7px rgba(255, 255, 255, 0.36);*/
}

.section-title:first-child, .section-title:last-child {
	cursor: auto;
	flex-grow: 1;
}

.section-title:last-child {
	border-bottom-right-radius
}

#main-sections {
	width: 100%;
	height: 100vh;
}

.navbar.theme-light {
	background: #cecece;
}
.navbar.theme-light .navbar-items.active, .navbar.theme-light .navbar-items:hover > * {
	color: var(--thermal) !important;
}
.navbar.theme-light .navbar-items, .navbar.theme-light .navbar-items a, .navbar.theme-light .navbar-items a:visited {
	color: #868B8E;
}
.center {
	text-align: center;
	transform: translate(-50%, -50%);
	top: 50%;
	left: 50%;
	position: relative;
	display: block;
}

#first-section {
	background-image: url('/images/bg1.jpg');
}

.person-picture {
	border-radius: 50%;
	width: 200px;
	height: 200px;
	display: inline-block;
	overflow: hidden;
	position: relative;
}
.person-picture > * {
	transition: 0.2s;
	transition-delay: 1s;
}
.person-picture img {
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
	width: 100%;
	opacity: 1;
}
.person-picture a {
	position: absolute;
	visibility: hidden;
	opacity: 0;
	transform: translate(-50%);
	top: 50%;
	left: 50%;
	background: white;
	padding: var(--size-1);
	border-radius: 6px;
	color: black;
	font-weight: bold;
}
.person-picture:hover > * {
	transition-delay: 0;
}
.person-picture:hover img {
	visibility: visible;
	opacity: 0;
}
.person-picture:hover a {
	visibility: visible;
	opacity: 1;
}
.person-name {
	color: white;
	text-shadow: 0 0 4px rgba(0, 0, 0, 0.52);
	font-size: 3.5em;
}

#skills {
	background-image: url('/images/bg2.jpg');
	background-color: #f7f0ea;
}
.skill-cards-row {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
}
.skill-card {
	width: 250px;
	max-width: 90vw;
	background: #e0e0d8;
	padding: 7px;
	margin: 7px;
	border-radius: 5px;
	color: #111312;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.47);
	word-break: break-word;
	vertical-align: top;
}
.skill-img {
	width: 100%;
	margin-top: -20px;
}
.skill-img img {
	max-width: 70%;
	border-radius: 5px;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.47);
}
.skill-title {
	font-size: var(--font-size-2);
	font-weight: bold;
}
.skill-description {
	padding: 8px;
	width: 100%;
	text-align: justify;
	font-size: var(--font-size-5);
	white-space: normal;
	margin: 0;
}

.projects-container {
	width: calc(100% - 350px);
}

.projects-side-navigator {
	height: 150px;
	position: absolute;
	transform: translateY(-50%);
	top: 50%;
	max-height: 80vh;
	left: 120px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	text-align: center;
}

.projects-side-navigator > * {
	cursor: pointer;
	width: 10px;
	height: 10px;
	margin: auto 10px;
	border-radius: 50%;
	border: 2px solid white;
	box-sizing: content-box;
}

.projects-side-navigator > .active {
	background-color: white;
}

.project-card {
	cursor: pointer;
	width: 100%;
	max-width: 450px;
	background: #4d4d4d;
	padding: 7px;
	border-radius: 5px;
	display: none;
	margin: auto;
	position: relative;
}

.project-card.expanded {
	cursor: auto;
}

.project-card > * {
	display: block;
	margin: 10px auto;
}

.project-cover {
	transition: 0.4s;
	margin-top: -85px;
	border-radius: 5px;
	width: 35%;
	margin-bottom: 0;
}

.project-title {
	transition: 0.3s;
	font-weight: bold;
	font-size: var(--font-size-1);
	padding: 6px;
	margin: 3px;
}

.project-card.expanded .project-cover {
	transition: 0.4s;
	margin-top: -25px;
	border-radius: 5px;
	width: 65%;
}

.project-card.expanded .project-title {
	transition: 0.3s;
	font-weight: bold;
	font-size: var(--font-size-1);
	padding: 8px;
	margin: 5px;
}

.project-description {
	text-align: justify;
	line-height: 1.5em;
	font-size: var(--font-size-5);
	padding: 0 5px;
	overflow: hidden;
}

.project-description a {
	text-decoration: underline;
	color: #1ecaff;
}

.project-date {
	float: left;
}

#contact, #projects {
	background-color: #080908;
	color: white;
	position: relative;
	z-index: 5;
}
.contact-container {
	display: flex;
	justify-content: space-around;
	width: 870px;
	max-width: calc(80% - 70px);
	background: var(--thermal);
	padding: 15px 5px;
}
.contact-group {
	text-align: left;
	font-size: var(--font-size-5);
	width: calc(33% - 15px);
}

.contact-group > * {
	padding: 4px;
	overflow: hidden;
	text-overflow: ellipsis;
}
.contact-title {
	font-weight: bold;
	font-size: var(--font-size-3);
	font-style: italic;
	border-bottom: 2px solid white;
	text-align: center;
}
.contact-group a, .contact-group a:visited {
	color: white;
}
.contact-group > div i {
	min-width: 20px;
	text-align: center;
}

@media only screen and (max-width: 1100px)
{
	.skill-card {
		width: 150px;
		margin-top: 15px;
	}
}

@media only screen and (max-width: 730px)
{
	.land-section {
		padding-left: 0;
	}
	#main-side-panel {
		top: unset;
		bottom: 0;
		width: 100%;
		height: unset;
		flex-direction: row;
		align-items: end;
	}
	.section-title:first-child, .section-title:last-child {
		display: none;
	}
	.section-title.mobile-last {
		border-top-right-radius: 0;
	}
	.section-title.active.mobile-first {
		border-top-left-radius: 0;
	}
	.section-title.active {
		text-shadow: 0 0 6px rgba(0, 0, 0, 0.63);
	}
	.section-title {
		margin: 0;
		margin-left: -2vw;
		padding: 4vw 5vw;
		border-bottom-left-radius: 0;
		border-bottom-right-radius: 0;
	}
	.projects-side-navigator {
		left: 0;
	}
	.projects-container {
		width: calc(100% - 100px);
	}
	.contact-container {
		flex-direction: column;
		align-items: center;
		justify-content: space-between;
		height: 65vh;
		top: 45%;
		max-width: calc(100% - 20px);
		width: auto;
		display: inline-flex;
		overflow: hidden;
	}
	.contact-group {
		font-size: var(--font-size-4);
		width: 100%;
	}
}


@media only screen and (max-width: 550px)
{
	.projects-side-navigator {
		top: calc(50% - 7.5vw);
	}
	.land-section {
		padding-bottom: 15vw;
	}
	.skill-cards-row {
		display: inline-block !important;
		margin-top: -10vh;
		/*overflow: auto;
		white-space: nowrap;*/
	}
	.skill-card {
		display: inline-block;
		width: 80%;
	}
	.skill-img {
		width: 45%;
		margin-top: -20px;
		float: left;
	}
	.skill-img img {
		max-width: unset;
		width: 100%;
	}
	.skill-content {
		position: relative;
		display: flex;
		flex-direction: column;
	}
	.project-cover {
		margin-top: -11vw;
	}
}