* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	font-family: 'Caudex', serif;
	font-weight: 400;
}

body {
	position: relative;
	z-index: 0;
}

.container {
	height: 100%;
	scroll-snap-type: y proximity;
	overflow: auto;
}

section {
	scroll-snap-align: start;
}

a {
	text-decoration: none;
	color: black;
}


/* Navbar */ 

nav {
	width: 100%;
	min-height: 10vh;
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: fixed;
	z-index: 2;
	background: white;
	-webkit-box-shadow: 0px 0px 6px 2px rgba(0,0,0,0.03); 
	box-shadow: 0px 0px 6px 2px rgba(0,0,0,0.03);
}

.logo a {
	color: white;
	-webkit-text-shadow: 0px 0px 4px rgba(0,0,0,0.4); 
	text-shadow: 0px 0px 4px rgba(0,0,0,0.4);
	font-size: 2em;
	padding-left: 100px;
	display: flex;
}

.logo a h4:first-child {
	transform: translateY(-3px);
}

.logo a h4:nth-child(2) {
	transform: translateY(3px);
}

nav ul {
	list-style: none;
	display: flex;
	justify-content: space-around;
	width: 40%;
	min-width: 440px;
}

nav ul li a {
	font-size: 1.3em;
}

.nav-links li:first-child {
	display: none;
}

nav ul li.active a.home {
	color: #5118F1;
	transition: 0.3s;
}

nav ul li.active a.projects {
	color: #CFF100;
	transition: 0.3s;
}

nav ul li.active a.about {
	color: #FF7A00;
	transition: 0.3s;
}

nav ul li.active a.contact {
	color: #5118F1;
	transition: 0.3s;
}

.burger {
	display: none;
	cursor: pointer;
}

.burger div {
	width: 25px;
	height: 3px;
	margin: 5px;
	background: black;
	transition: all 0.3s ease;
}

@media screen and (max-width: 768px) {
	.logo a {
		padding-left: 0;
	}
  
  	body {
		overflow-x: hidden;
	}

	nav ul {
		position: absolute;
		right: 0;
		height: 92vh;
		top: 8vh;
		background: white;
		-webkit-box-shadow: 0px 5px 6px 2px rgba(0,0,0,0.03); 
		box-shadow: 0px 5px 6px 2px rgba(0,0,0,0.03);
		display: flex;
		flex-direction: column;
		align-items: center;
      	justify-content: space-evenly;
		width: 50%;
		min-width: 100px;
		transform: translateX(100%);
	}
  
  	nav ul.clicked {
		transition: transform 0.5s ease-in;
	}

	nav {
		justify-content: space-around;
      	min-height: 8vh;
	}

	.burger {
		display: block;
		padding-right: 0;
	}

	.logo {
		padding-left: 0;
	}
}

.nav-active {
	transform: translateX(0%);	
}

.toggle .line1 {
	transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
	opacity: 0;
}

.toggle .line3 {
	transform: rotate(45deg) translate(-5px, -6px);
}


/* Contact me Circle */

.contact-me {
	position: fixed;
	background: #5118F1;
	top: 38vh;
	right: 25px;
	width: 85px;
	height: 85px;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 3;
	cursor: pointer;
}

.contact-me p {
	color: white;
	font-size: 0.8em;
} 

@media screen and (max-width: 768px) {
	.contact-me {
		top: auto;
		bottom: 10px !important;
		left: 10px !important; 
		width: 50px;
		height: 50px;
	}
	.contact-me p {
		text-align: center;
		font-size: 0.7em;
	}
}

/* Home section */

#home {
	width: 100%;
	height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
}

.introduction {
	width: 100%;
	transform: translateY(35%);
}

.introduction h1 {
	font-size: 5.8em;
	text-align: center;
	font-weight: 400;
	line-height: 1em;
}

.outline {
	text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
	color: white;
}

.introduction h1:first-child {
	padding-right: 25px;
	padding-left: 130px;
}

.introduction h1:nth-child(2) {
	padding-right: 130px;
}

.introduction .main-title {
	width: 100%;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	text-align: center;
}

.main-title {
	clip-path: inset(0 0 0 0);
	padding-bottom: 10px;
}

.introduction div {
	width: 30%;
	min-width: 430px;
	margin: 0 auto;
}

.under-title {
	transform: translateX(-80%);
	padding-top: 18px;
	clip-path: inset(0 0 0 0);
}

.introduction div h3 {
	font-size: 2em;
	font-weight: 400;
	text-align: center;
}

.arrow {
  	position: absolute;
	right: 45%;
	left: 45%;
	bottom: 60px;
	z-index: 1;
	clip-path: inset(0 0 0 0);
	animation: bounce 5s infinite;
	animation-delay: 2.5s;
}

.arrow a {
	height: 100%;
	width: 100%;
	display: flex;
	justify-content: center;
}

.arrow a img {
	width: 36px; 
	height: 30px;
}

@keyframes bounce {
	4%, 10%, 16%, 20%, to {
		transform: translateY(0);
	}
	8% {
		transform: translateY(-20px);
	}
	14% {
		transform: translateY(-10px);
	} 18% {
		transform: translateY(-4px);
	}
}

@media screen and (max-width: 1259px) {
	.under-title {
		transform: translateX(0);
	}

	.introduction h1:first-child {
		padding-right: 75px;
		padding-left: 75px;
	}

	.introduction h1:nth-child(2) {
		padding-right: 75px;
		padding-left: 75px;
	}

	.introduction {
		width: 100%;
		transform: translateY(15%);
	}
}

@media screen and (max-width: 768px) {
	.introduction h1 {
		font-size: 9vw;
	}

	.introduction div h3 {
		font-size: 4vw;
		width: 100%;
	}

	.introduction h1:first-child {
		padding-right: 15px;
		padding-left: 15px;
	}

	.introduction h1:nth-child(2) {
		padding-right: 15px;
		padding-left: 15px;
	}
  
  	.arrow {
		bottom: 120px;
	}
  
  	.arrow a img {
  		width: 24px; 
		height: 20px;
  	}
}

@media screen and (max-width: 430px) {
	.introduction div {
		min-width: 100px;
		width: 100%;
	}
}


/* Projects */ 

#projects, .videos-container {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
}

.title {
	width: 80%;
}

.title h2 {
	font-size: 4em;
	font-weight: 400;
	padding-top: 120px;
	clip-path: inset(0 0 0 0);
	color: white;
}

@media screen and (max-width: 768px) {
	.title h2 {
		padding-top: 100px;
	}
}

.video {
	width: 80%;
	display: flex;
	flex-wrap: wrap;
	margin-top: 100px; 
	-webkit-box-shadow: 3px 6px 7px -1px rgba(0,0,0,0.3); 
	box-shadow: 3px 6px 7px -1px rgba(0,0,0,0.3);
}

.video:nth-child(even) {
	flex-direction: row-reverse;
}

.video:first-child {
	margin-top: 60px;
}

.video:last-child {
	margin-bottom: 60px;
}

.video div {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	text-align: center;
	background: #F5F5F5;
	padding: 20px;
	width: 30%;
}

.video div h3 {
	color: #5118F1;
	font-size: 1.7em;
}

.video div p {
	padding: 20px 0 20px 0;
	font-size: 1.2em;
}

.video div a button {
	background: #5118F1;
	color: white;
	border: none;
	padding: 12px 20px;
	border-radius: 25px;
	font-size: 1.2em;
	cursor: pointer;
}

video {
	width: 70%;
	height: auto; 
}

@media screen and (max-width: 1000px) {
	video {
		width: 100%;
	}

	.video div {
		width: 100%;
		padding: 40px 140px;
	}

	.video:nth-child(even) {
		flex-direction: column-reverse;
	}

	.video {
		flex-direction: column-reverse;
		margin-top: 60px; 
	}
}

@media screen and (max-width: 768px) {
	.title h2 {
		font-size: 8vw;
	}

	.video div {
		padding: 30px 40px;
	}
}

@media screen and (max-width: 548px) {
	.video div h3 {
		font-size: 5vw;
	}

	.video div p,
	.video div a button {
		font-size: 4vw;
	}
}


/* About */

#about {
	width: 100%;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}

#about .title h2 {
	color: white;
}

.about-text {
	width: 80%;
	padding-bottom: 60px;
}

.about-text p {
	font-size: 1.4em;
	margin-top: 30px;
	width: 90%;
	max-width: 1000px;
}

.about-text p strong,
.about-text strong a {
	color: #5118F1;
}

.about-text a button {
	background: #5118F1;
	color: white;
	border: none;
	padding: 12px 20px;
	margin: 50px 0 70px 0;
	border-radius: 25px;
	font-size: 1.2em;
	cursor: pointer;
}

@media screen and (max-width: 548px) {
	.about-text p,
	.about-text a button {
		font-size: 4vw;
	}
}


/* Contact */ 

#contact {
	width: 100%;
	background: #5118F1;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
} 

#contact .title,
.contact-icons {
	width: 80%;
}

#contact div h2 {
	color: #5118F1;
}

#contact .title p {
	color: white;
	font-size: 1.4em;
	margin: 10px 0 50px 0;
	max-width: 500px;
}

i {
	color: white;
	font-size: 3em;
}

@media screen and (max-width: 548px) {
	i {
		font-size: 2em;
	}
}

.contact-icons {
	display: flex;
	justify-content: space-between;
	padding-bottom: 80px;
}

.copyright {
	display: flex;
	justify-content: flex-end;
	width: 100%;
}

.copyright p {
	font-size: 1em;
	margin-bottom: 20px;
	margin-right: 20px;
	padding: 0;
	color: white;
}

@media screen and (max-width: 548px) {
	#contact .title p {
		font-size: 4vw;
	}

	.copyright p {
		font-size: 3vw;
	}
}