/*HTML native*/
* {
	margin: 0;
	padding: 0;
	text-decoration: none;
}

html {
	background: #3a3a3a;
}

body {
	background: transparent;
}

p:not(.title):not(.dialog_title):not(.portfolio_item_title):not(.nav_text) {
	line-height: 1.5;
}

img {
	border: 0;
}

video {
    width: 100%;
    height: auto;
}

iframe {
    width: 100%;
    height: 15vw;
}

embed {
    width: 100%;
    height: 20vw;
}

textarea {
	width: 97.5%;
	outline: none;
	resize: none;
	padding: 1vw;
	border: none;
	border-bottom: 1px solid #3a3a3a;
	background: #f2f2f2;
	font-family: 'Roboto', sans-serif;
	font-size: 1vw;
	font-weight: 400;
}

textarea:focus {
	background-color: #cdcdcd;
	-webkit-transition: background-color 300ms linear;
	-moz-transition: background-color 300ms linear;
	-ms-transition: background-color 300ms linear;
	-o-transition: background-color 300ms linear;
	transition: background-color 300ms linear;
}

input[type=submit] {
	width: 100%;
	outline: none;
	padding: 1vw;
	border: 1px solid #3a3a3a;
	background: #f2f2f2;
	-webkit-transition: background 300ms ease-out;
	-moz-transition: background 300ms ease-out;
	-ms-transition: background 300ms ease-out;
	-o-transition: background 300ms ease-out;
	transition: background 300ms ease-out;
	font-family: 'Roboto', sans-serif;
	font-size: 2vw;
	font-weight: 100;
}

input[type=submit]:hover {
	background: #cdcdcd;
}

/*Grid definitions*/
.wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-auto-rows: minmax(1vw, auto);
	grid-gap: 1vw;	
	padding-top: 10vw;
	width: 80vw;
	margin-left: auto;
	margin-right: auto;
}

.manifesto_grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-auto-rows: minmax(1vw, auto);
	grid-gap: 2vw;
	padding: 1.5vw;
}

.skill_grid {
	display: grid;
	grid-template-columns: 1.8fr 1fr;
	grid-auto-rows: minmax(1vw, auto);
	padding: 3.5vw;
	align-items: center;
	grid-column-gap: 1vw;
	grid-row-gap: 2vw;
}

.projects_grid {
	max-width: 80vw;
	z-index: 1;
}

.item_wrapper {
	margin: 0 1% 0.75em;
	width: 23%;
	height: auto;
}
@media (max-width: 1500px) { .item_wrapper { width: 31%; } }
@media (max-width: 1080px) { .item_wrapper { width: 46%; margin: 0 2% 0.75em; } }
@media (max-width: 736px) { .item_wrapper { width: 96%; } }

.form_grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 1fr;
	grid-row-gap: 1vw;
	grid-column-gap: 1vw;
	padding: 4vw;
}

.dialog_layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 1fr;
	grid-row-gap: 1vw;
	grid-column-gap: 3vw;
	padding-left: 2vw;
	padding-right: 2vw;
}

.content_background {
	margin-top: 4vw;
	background-color: #f2f2f2;
	border-radius: 20px;
	box-shadow: 0px 0px 10px black;
	opacity: 0;
    -webkit-animation: titleAnimation 0.8s 0.8s forwards;
    -moz-animation: titleAnimation 0.8s 0.8s forwards;
    -o-animation: titleAnimation 0.8s 0.8s forwards;
    -ms-transition: titleAnimation 0.8s 0.8s forwards;
	animation: titleAnimation 0.8s 0.8s forwards;
}

/*Animation definitions*/
@keyframes scaleAnimation {
  0% {
    transform: scale(0.0003,0.0003);
  }
  100% {
    transform: scale(1,1);
	opacity: 1;
  }
}

@keyframes titleAnimation {
  0% {
    transform: translate(0px,100px);
  }
  100% {
    transform: translate(0px,0px);
	opacity: 1;
  }
}

/*Introduction definition*/
.intro_wrapper {
	grid-column: 1/3;
}

.intro_wrapper:not(:first-of-type) {
	margin-top: 2vw;	
}

#prof_pic {
	display: block;
	margin-left: auto;
	margin-right: auto;
	border-radius: 50%;
	object-fit: cover;
	object-position: 50% 30%;
	width: 25vw;
	height: 25vw;
	-webkit-animation: scaleAnimation 0.8s;
    -moz-animation: scaleAnimation 0.8s;
    -o-animation: scaleAnimation 0.8s;
    -ms-transition: scaleAnimation 0.8s;
	animation: scaleAnimation 0.8s;
}

/*Typography definitions*/
.title {
	opacity: 0;
	text-align: center;
	font-family: 'Roboto', sans-serif;
	font-size: 8vw;
	font-weight: 100;
	-webkit-animation: titleAnimation 0.8s 0.8s forwards;
    -moz-animation: titleAnimation 0.8s 0.8s forwards;
    -o-animation: titleAnimation 0.8s 0.8s forwards;
    -ms-transition: titleAnimation 0.8s 0.8s forwards;
	animation: titleAnimation 0.8s 0.8s forwards;
}

.subtitle {
	opacity: 0;
	text-align: center;
	font-family: 'Roboto', sans-serif;
	font-size: 1.5vw;
	font-weight: 400;
	-webkit-animation: titleAnimation 0.8s 0.8s forwards;
    -moz-animation: titleAnimation 0.8s 0.8s forwards;
    -o-animation: titleAnimation 0.8s 0.8s forwards;
    -ms-transition: titleAnimation 0.8s 0.8s forwards;
	animation: titleAnimation 0.8s 0.8s forwards;
}

.heading1 {
	opacity: 0;
	text-align: center;
	font-family: 'Roboto', sans-serif;
	font-size: 4vw;
	font-weight: 100;
	-webkit-animation: titleAnimation 0.8s 0.8s forwards;
    -moz-animation: titleAnimation 0.8s 0.8s forwards;
    -o-animation: titleAnimation 0.8s 0.8s forwards;
    -ms-transition: titleAnimation 0.8s 0.8s forwards;
	animation: titleAnimation 0.8s 0.8s forwards;
}

.manifesto_text {
	opacity: 0;
	text-align: justify;
	font-family: 'Roboto', sans-serif;
	font-size: 1vw;
	font-weight: 400;
	width: 75%;
	-webkit-animation: titleAnimation 0.8s 0.8s forwards;
    -moz-animation: titleAnimation 0.8s 0.8s forwards;
    -o-animation: titleAnimation 0.8s 0.8s forwards;
    -ms-transition: titleAnimation 0.8s 0.8s forwards;
	animation: titleAnimation 0.8s 0.8s forwards;
}

.manifesto_text strong {
	font-size: 1.5vw;
	color: burlywood;
}

@media (min-width: 736px) {
	.manifesto_text:nth-child(even) {
		justify-self: left;
		padding-left: 2vw;
	}
	
	.manifesto_text:nth-child(odd) {
		justify-self: right;
		padding-right: 2vw;
	}
}

.skill_text {
	opacity: 0;
	text-align: left;
	font-family: 'Roboto', sans-serif;
	font-size: 1vw;
	font-weight: 400;
	-webkit-animation: titleAnimation 0.8s 0.8s forwards;
    -moz-animation: titleAnimation 0.8s 0.8s forwards;
    -o-animation: titleAnimation 0.8s 0.8s forwards;
    -ms-transition: titleAnimation 0.8s 0.8s forwards;
	animation: titleAnimation 0.8s 0.8s forwards;
}

.portfolio_item_title {
	opacity: 0;
	text-align: justify;
	font-family: 'Roboto', sans-serif;
	font-size: 20px;
	font-weight: 400;
	-webkit-animation: titleAnimation 0.8s 0.8s forwards;
    -moz-animation: titleAnimation 0.8s 0.8s forwards;
    -o-animation: titleAnimation 0.8s 0.8s forwards;
    -ms-transition: titleAnimation 0.8s 0.8s forwards;
	animation: titleAnimation 0.8s 0.8s forwards;
	margin-bottom: 5px;
}

.portfolio_item_text {
	opacity: 0;
	text-align: justify;
	font-family: 'Roboto', sans-serif;
	font-size: 14px;
	font-weight: 400;
	-webkit-animation: titleAnimation 0.8s 0.8s forwards;
    -moz-animation: titleAnimation 0.8s 0.8s forwards;
    -o-animation: titleAnimation 0.8s 0.8s forwards;
    -ms-transition: titleAnimation 0.8s 0.8s forwards;
	animation: titleAnimation 0.8s 0.8s forwards;
	margin-bottom: 5px;
}

.dialog_title {
	grid-column: 1/3;
	opacity: 0;
	text-align: left;
	font-family: 'Roboto', sans-serif;
	font-size: 5vw;
	font-weight: 100;
	-webkit-animation: titleAnimation 0.8s 0.8s forwards;
    -moz-animation: titleAnimation 0.8s 0.8s forwards;
    -o-animation: titleAnimation 0.8s 0.8s forwards;
    -ms-transition: titleAnimation 0.8s 0.8s forwards;
	animation: titleAnimation 0.8s 0.8s forwards;
}

.dialog_subtitle {
	grid-column: 1/3;
	opacity: 0;
	text-align: left;
	font-family: 'Roboto', sans-serif;
	font-size: 1vw;
	font-weight: 400;
	-webkit-animation: titleAnimation 0.8s 0.8s forwards;
    -moz-animation: titleAnimation 0.8s 0.8s forwards;
    -o-animation: titleAnimation 0.8s 0.8s forwards;
    -ms-transition: titleAnimation 0.8s 0.8s forwards;
	animation: titleAnimation 0.8s 0.8s forwards;
}

.dialog_text {
	opacity: 0;
	text-align: justify;
	font-family: 'Roboto', sans-serif;
	font-size: 1.4vw;
	font-weight: 400;
	-webkit-animation: titleAnimation 0.8s 0.8s forwards;
    -moz-animation: titleAnimation 0.8s 0.8s forwards;
    -o-animation: titleAnimation 0.8s 0.8s forwards;
    -ms-transition: titleAnimation 0.8s 0.8s forwards;
	animation: titleAnimation 0.8s 0.8s forwards;
}

.dialog_link_text {
	grid-column: 1/3;
	opacity: 0;
	text-align: justify;
	font-family: 'Roboto', sans-serif;
	font-size: 4vw;
	font-weight: 100;
	-webkit-animation: titleAnimation 0.8s 0.8s forwards;
    -moz-animation: titleAnimation 0.8s 0.8s forwards;
    -o-animation: titleAnimation 0.8s 0.8s forwards;
    -ms-transition: titleAnimation 0.8s 0.8s forwards;
	animation: titleAnimation 0.8s 0.8s forwards;
}

.rbc-center-text {
	font-family: 'Roboto', sans-serif;
	font-size: 5vw;
}

.nav_text {
	display: block;
	font-family: 'Roboto', sans-serif;
	font-size: 1.5vw;
	font-weight: 100;
	color: #f2f2f2;	
	padding: 2vw;
}

.nav_text:hover {
	opacity: 0.5;
}

.email_text {
	float: right;
	display: block;
	font-family: 'Roboto', sans-serif;
	font-size: 1.5vw;
	font-weight: 100;
	color: #f2f2f2;
	padding: 0.3vw;
}

.form-element {
	width: 95%;
	color: #3a3a3a;
	outline: none;
	padding: 1vw;
	border: none;
	border-bottom: 1px solid #3a3a3a;
	background: #f2f2f2;
	font-family: 'Roboto', sans-serif;
	font-size: 1vw;
	font-weight: 400;
}

.form-element:focus {
	background-color: #cdcdcd;
	-webkit-transition: background-color 300ms linear;
	-moz-transition: background-color 300ms linear;
	-ms-transition: background-color 300ms linear;
	-o-transition: background-color 300ms linear;
	transition: background-color 300ms linear;
}

.form-label {
	color: #3a3a3a;
	font-family: 'Roboto', sans-serif;
	font-size: 2vw;
	font-weight: 100;
}

.contact_text {
	text-align: justify;
	width: 35vw;
	margin: 0 auto;
}

.fail_text {
	text-align: center;
	margin-top: 1vw;
}

.fail_text2 {
	text-align: justify;
	width: 27vw;
	margin: 1vw auto;
}

.copyright_text {
	font-family: 'Roboto', sans-serif;
	font-size: 1.5vw;
	font-weight: 100;
	color: #f2f2f2;	
	padding: 2vw;	
	text-align: center;
}

.light {
	color: #f2f2f2;
}

.dark {
	color: #3a3a3a;
}

.extra_spacing {
	padding: 1.5vw 3.5vw 1.5vw 3.5vw;
}

/*Skill circle definitions*/
.radialChart {
	margin-left: 0.3vw;
}

.skill_circle {
	display: inline-block;
	border-radius: 50%;
	width: 1.5vw;
	height: 1.5vw;
	margin: 0vw 0.3vw 0vw 0.3vw;
	-webkit-transition: background 300ms linear;
	-moz-transition: background 300ms linear;
	-ms-transition: background 300ms linear;
	-o-transition: background 300ms linear;
	transition: background 300ms linear;
}

.skill_circle_gray {
	opacity: 0;
	background: #ccc;
	animation: titleAnimation 0.8s 0.8s forwards;
}

.skill_circle_green {
	opacity: 0;
	background: #1dd70c;
	animation: titleAnimation 0.8s 0.8s forwards;
}

/*Navigation definitions*/
.email_image {
	width: 5vw;
	height: 5vw;
	padding-top: 0.5vw;
	border-radius: 50%;
	transform: scale(0.5,0.5);
}

.email_image:hover + .email_element {
	width: 20vw;
}

.email_element {
	width: 0vw;
	height: 2.6vw;
	float: right;
	overflow: hidden;
	margin-top: 1.5vw;
	margin-left: -1vw;
	-webkit-transition: width 300ms linear;
	-moz-transition: width 300ms linear;
	-ms-transition: width 300ms linear;
	-o-transition: width 300ms linear;
	transition: width 300ms linear;
}

.email_element:hover {
	width: 20vw;
}

.nav_screen_pos {
	width: 80vw;
	margin-left: auto;
	margin-right: auto;
}

.nav_wrapper {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 500;
	box-shadow: 0px 0px 3px black;
	background: rgba(58,58,58,0.8);
}

.nav_list {
	list-style-type: none;
	text-align: center;
}

.nav {
	display: inline-block;
	vertical-align: middle;
}

.social_media_images {
	width: 5vw;
	height: 5vw;
	padding-top: 0.5vw;
	border-radius: 50%;
	transform: scale(0.5,0.5);
}

.social_media_images:hover {
	opacity: 0.5;
}

.mobile_init {
	display: none;
}

#toggle, #toggle2 {
	display: none;
}

/*Project definitions*/
.filter_wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.filter_wrapper_mobile_background {
	display: none;
}

.filter_button {
	display: inline-block;
	padding: 0.5vw 1vw 0.5vw 1vw;
	margin-left: 1vw;
	opacity: 0;
	-webkit-animation: titleAnimation 0.8s 0.8s forwards;
    -moz-animation: titleAnimation 0.8s 0.8s forwards;
    -o-animation: titleAnimation 0.8s 0.8s forwards;
    -ms-transition: titleAnimation 0.8s 0.8s forwards;
	animation: titleAnimation 0.8s 0.8s forwards;
}

.item_wrapper_css {
	margin-bottom: 25px;
	border-radius: 20px 20px 20px 20px;
	box-shadow: 0px 0px 10px black;
	-webkit-transition: transform 300ms ease-out;
	-moz-transition: transform 300ms ease-out;
	-ms-transition: transform 300ms ease-out;
	-o-transition: transform 300ms ease-out;
	transition: transform 300ms ease-out;
}

.item_wrapper_css:hover {
	transform: scale(1.05);
}

.project_image {
	width: 100%;
	height: auto;
	border-radius: 20px 20px 0px 0px;
}

.description_wrapper {
	max-width: 100%;
	height: auto;
	margin-top: -4px;
	padding: 30px;
	background-color: rgba(242,242,242,1);
	border-radius: 0px 0px 20px 20px;
}

/*Popup dialog alterations*/
.remodal {
	border-radius: 20px 20px 20px 20px;	
	box-shadow: 0px 0px 10px black;
	max-width: 95% !important;
}

.remodal-close {
	left: initial !important;
	right: 0;
	margin: 10px;
}

.remodal-overlay {
	background: rgba(58,58,58,0.9) !important;
}

/*Popup dialog element*/
.dialog_image, .dialog_video, .dialog_canvas, .dialog_iframe {
	opacity: 0;
	width: 100%;
    -webkit-animation: scaleAnimation 0.8s 0.8s forwards;
    -moz-animation: scaleAnimation 0.8s 0.8s forwards;
    -o-animation: scaleAnimation 0.8s 0.8s forwards;
    -ms-transition: scaleAnimation 0.8s 0.8s forwards;
	animation: scaleAnimation 0.8s 0.8s forwards;
}

.dialog_link {
	opacity: 0;
	width: 35vw;
	height: 10vw;
	text-align: left;
    -webkit-animation: scaleAnimation 0.8s 0.8s forwards;
    -moz-animation: scaleAnimation 0.8s 0.8s forwards;
    -o-animation: scaleAnimation 0.8s 0.8s forwards;
    -ms-transition: scaleAnimation 0.8s 0.8s forwards;
	animation: scaleAnimation 0.8s 0.8s forwards;
	padding: 2vw;
	background: #3a3a3a;
}

/*Contact form*/
.form_column_cover {
	grid-column: 1/3;
}

.return_image {
	width: 3.5vw;
	height: 3.5vw;
	opacity: 0;
    -webkit-animation: scaleAnimation 0.8s 0.8s forwards;
    -moz-animation: scaleAnimation 0.8s 0.8s forwards;
    -o-animation: scaleAnimation 0.8s 0.8s forwards;
    -ms-transition: scaleAnimation 0.8s 0.8s forwards;
	animation: scaleAnimation 0.8s 0.8s forwards;
}
