html {
	font-family: helvetica;
	font-weight: 100;
	font-size: 18px;
	margin: 0;
	height: 100%;

	--back: white;
	--text: #333333;
	--detail: gray;
	--disabled: lightgray;
}

body {
	margin: 0;
	background: linear-gradient(to bottom, var(--back), var(--detail)) no-repeat center center fixed;
	height: 100%;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
	color: var(--text);
}

a {
	color: var(--text);
	text-decoration: none;
}

a:visited{
	color: var(--text);
}

#my-canvas{
	position: absolute;
	margin: 25% 0 0 0;
	z-index: -1;
}

.page-container{
	z-index: 5;

}

/* container for navbar and maincontent */
.main{
	display: flex;
	flex-direction: column;
}

/* container for title and desc */
.main-container{
	margin: 20% 0;
}

/* Renzo Cotti */
.main-title{
	font-size: 70px;
	font-weight: 100;
	text-align: center;
}
/* Compsci */
.main-subtitle{
	font-style: italic;
	text-align: right;
}

/* container for all entries */
.content{
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	width: 90%;
	margin: 20% 0;
	flex-wrap: wrap;
	margin: 0 auto;
	padding-top: 150px;

}

/* main title generic */
.title{
	text-align: center;
	font-size: 25px;
	font-weight: 400;
}

.text{
	padding: 15px 0 0 0;
	line-height: 1.4;
}

.clickable-entry{
	padding: 20px 20px;
	margin: 5% 0 0 0;
	border-bottom: 1px solid transparent;
	max-width: 35%;


	display: flex;
	flex-direction: column;
	transition: all 0.3s ease;
}

.clickable-entry:hover{
	border-bottom: 1px solid var(--detail);
	cursor: pointer;
}


.entry{
	padding: 0 10px;
	margin: 5% auto;

	display: flex;
	flex-direction: column;
	transition: all 0.3s ease;
}


#navbar{
	position: fixed;
	width: 30%;
	display: flex;
	flex-direction: row;
}

.navbar-element{
	width: 100%;
	padding: 20px 40px;
	border-bottom: 1px solid transparent;

	font-size: 15px;
	text-align: center;

	transition: all 0.3s ease;
}

.navbar-element:hover{
	border-bottom: 1px solid var(--detail);
}

#footbar{
	position: fixed;
	font-size: 15px;
	padding: 10px 20px;
	bottom: 0;
	left: 0;
	opacity: 0.3;
}

a.disabled{
	color: var(--disabled);
	border-bottom: 1px solid transparent;
}
a.disabled:hover{
	cursor: default;
	border-bottom: 1px solid transparent;
}


@media screen and (max-device-width: 800px) {
	html{
		font-size: 22px;
	}

	#navbar{
		font-size: 18px;
		width: 100%;
		display: flex;
		flex-direction: row;
	}

	.navbar-element{
		width: 20%;
		padding: 20px 20px;
		border-bottom: 1px solid transparent;

		font-size: 15px;
		text-align: center;

		transition: all 0.3s ease;
	}


	.main-container{
		margin: 50% 10%;
	}

	.main-title{
		font-size: 40px;
	}

	.content{
		margin: 0% auto;
		padding: 0%;
		padding-top: 20%;
	}

	.clickable-entry{
		margin: 0 0;
			transition: none;

	}

	.text{
		text-align: center;
	}
}
