@import url(https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap);

* {
	
	margin: 0;
	padding: 0;
	box-sizing: inherit;
	font-family: "Montserrat", serif;
}

#hero{
	overflow: hidden;
}
html {
	box-sizing: border-box;
	font-size: 62.5%;
	scroll-behavior: smooth;
}
.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.main {
    flex: 1 1 auto;
}
canvas {
    display: block;
    vertical-align: bottom;
}
#particles-js {
    position: absolute;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    background-position: 50% 50%;
}
body {
	min-height: 100vh;
	color: #fafafa;
	font-family: montserrat, sans-serif;
	background-color: #1a1a1a;
	overflow-x: hidden;
}
li {
	list-style: none;
}
a {
	text-decoration: none;
	color: inherit;
}
button {
	border: none;
	outline: none;
	background-color: transparent;
	color: inherit;
}
.heading {
	width: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	height: 90vh;
	margin-top: 30rem;
	color: #fafafa;
	font-weight: 300;
	z-index: 100;
}

/*Heading - start*/
.heading__line-1 span {
	color: #dc143b;
	font-weight: 400;
}
.heading__line-1, .heading__line-2 {
	font-size: 6rem;
	background-color: transparent;
}
.heading-cta {
	position: relative;
	display: flex;
	align-items: center;
	margin-top: 2.4rem;
	padding: 0.8rem 3rem;
	width: 27.5rem;
	height: 4.8rem;
	background-color: rgba(26, 26, 26, 0.6);
	border: 2px solid #dc143b;
	border-radius: 2px;
	color: #dc143b;
	font-size: 2.4rem;
	font-weight: 500;
	cursor: pointer;
	animation: moveInBottom 0.7s 1.2s;
	animation-fill-mode: backwards;
	animation-timing-function: cubic-bezier(0.21, 1.11, 0.81, 0.99);
}
.heading-cta:before,
.heading-cta:after {
	content: '';
	position: absolute;
	top: -2px;
	left: -2px;
	width: 27.5rem;
	height: 4.8rem;
	border-radius: 3px;
	border: 2px solid #dc143b;
	filter: blur(0);
	transform-origin: 50%;
	z-index: -1;
}
.heading-cta:hover {
	transform: translateY(-2px);
}
.heading-cta:hover:before,
.heading-cta:hover:after {
	border-color: transparent;
	filter: blur(2px);
	transform: scaleX(1.3) scaleY(2.2);
	transition: 800ms transform ease, 1900ms blur ease, 700ms border-color ease;
	pointer-events: none;
}
.heading-cta:hover:after {
	transition-delay: 150ms;
}
.heading-cta:active {
	transform: translateY(-1px);
}
.heading__arrow {
	display: inline-block;
	height: 24px;
	width: 24px;
	margin-left: 15px;
	transform: rotate(90deg);
	fill: #dc143b;
	transition: all 0.3s;
}
#name{
    font-size: 22px;
    background: linear-gradient(to right, #6c9ad9, #a5799d, #ee5466);
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
}
/*HEADING- END*/

/*ABOUT - START*/
.about {
	width: 1300px;
	margin-left: auto;
	margin-right: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.about__heading:before {
	position: absolute;
	content: '';
	border-bottom: 18px solid #dc143b;
	width: 16rem;
	display: block;
	margin: 0 auto;
	position: relative;
	left: 3.5rem;
	top: 6.3rem;
	z-index: -1;
}
.about__content {
	display: flex;
	justify-content: space-between;
	width: 100%;
}
.profile {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	font-weight: 500;
}
.profile__picture {
	height: 24rem;
	margin-bottom: 4rem;
	display: flex;
	justify-content: flex-start;
	align-items: center;
}
.profile__blurb {
	font-size: 1.8rem;
	width: 500px;
	line-height: 1.8;
}
.profile__fade-in {
	opacity: 1;
	transform: translateX(300px);
}
.skills {
	display: flex;
	justify-content: center;
}
.skills__row {
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.skills__row:not(:last-child) {
	margin-right: 25px;
}
.skills__item {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-evenly;
	height: 100px;
	width: 160px;
	border: double 3px transparent;
	border-image-slice: 1;
	border-width: 3px;
	background-image: linear-gradient(#1a1a1a, #1a1a1a), radial-gradient(circle at top left, #51a2e9, #dc143b);
	border-radius: 10px;
	background-origin: border-box;
	background-clip: content-box, border-box;
	transition: transform 0.2s, opacity 1.2s;	
}
.skills__item:not(:last-child) {
	margin-bottom: 3rem;
}
.skills__item img {
	height: 60px;
	width: auto;
	transition: all 0.2s;
}
.skills__item-name {
	font-size: 1.2rem;
	font-weight: 600;
	line-height: 1;
	transition: all 0.2s;
	letter-spacing: 1px;
}
.skills__item-fade-in {
	opacity: 1;
}
.skills__item--js img {
	border-radius: 5px;
}
.skills__item--webpack img {
	border-radius: 50%;
}
/*ABOUT - END*/

/*CONTACT - START*/
main{
	margin-bottom: 40px;
}
.row{
    display: flex;
    margin:3rem 8rem;
    overflow: hidden;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.3);
    border-radius: 1rem;
    min-height: 70vh;
}
.image{
    flex:1 1 50%;
}
.message .row .image img{
    height:100%;
    width:100%;
    object-fit: cover;
}
form{
    flex:1 1 50%;
    background:#393636;
    padding:3rem;
}
.box{
    padding:1rem;
    margin:1rem 0;
    font-size: 1.5rem;
    text-transform: none;
    background:#f0f0f0;
    width:100%;
}
#form-submit{
	color: white;
	font-size: 1.6rem;
	font-weight: 700;
	letter-spacing: 3px;
	line-height: 1;
	text-transform: uppercase;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: fit-content;
	padding: 10px 12px;
	position: relative;
	cursor: pointer;
	
}
.contact_btn{
	border: 1px solid #dc143b;
	background-color: #dc143b;
	width: 150px;
	display: flex;
	justify-content: center;
	
}
/*Contact title*/
.contact {
	position: relative;
	margin-left: auto;
	margin-right: auto;
	display: flex;
	width: 500px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	z-index: 10;
	margin-bottom: 10rem;
}
.contact__heading {
	margin-top: 5rem !important;
	margin-bottom: 1rem !important;
}
.contact__heading:before {
	position: absolute;
	content: '';
	border-bottom: 18px solid #dc143b;
	width: 21rem;
	display: block;
	margin: 0 auto;
	position: relative;
	left: 3.5rem;
	top: 6.3rem;
	z-index: -1;
}
/*FOOTER*/
.footer {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	height: 160px;
	background-color: #282828;
}
.socials {
	display: flex;
	margin-bottom: 20px;
}
.socials__github,
.socials__email {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 35px;
	background-color: transparent;
	cursor: pointer;
	transition: all 0.2s;
}
.socials__github:hover,
.socials__email:hover {
	transform: scale(1.2);
}
.socials__github {
	margin-right: 1rem;
}
.socials__email {
	margin-left: 1rem;
}
.socials img {
	height: 100%;
}
.copyright {
	color: #fafafa;
	font-size: 10px;
	font-weight: 500;
}
.return-home {
	position: absolute;
	top: -25px;
	width: 40px;
	height: 45px;
	margin-right: auto;
	margin-left: auto;
	left: 0;
	right: 0;
	text-align: center;
	background-color: #dc143b;
	-webkit-animation-duration: 1s;
	animation-duration: 1s;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
	-webkit-animation-timing-function: ease-in-out;
	animation-timing-function: ease-in-out;
	animation-iteration-count: infinite;
	-webkit-animation-iteration-count: infinite;
}
.return-home:hover {
	cursor: pointer;
	animation-name: bounce;
	-moz-animation-name: bounce;
}
.return-home svg {
	width: 100%;
}
.navigation {
	display: flex;
	margin-right: 10rem;
	font-size: 2rem;
	font-weight: 500;
	letter-spacing: 1px;
}
.navigation-bar {
	position: sticky;
	margin-top: -280px;
	position: -webkit-sticky;
	top: 0;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	height: 6rem;
	border-bottom: 1px solid #1a1a1a;
	background-color: rgba(40, 40, 40, 0.95);
	backdrop-filter: blur(8px);
	box-shadow: 0 4px 4px rgba(0, 0, 0, 0.3);
	z-index: 99999999999;
}
.navigation__item {
	transition: all 0.2s;
}
.navigation__item:not(:last-child) {
	margin-right: 3rem;
}
.navigation__item:hover {
	color: #dc143b;
}
.projects {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
.projects__heading:before {
	position: absolute;
	content: '';
	border-bottom: 18px solid #dc143b;
	width: 22.5rem;
	display: block;
	margin: 0 auto;
	position: relative;
	left: 3.5rem;
	top: 6.3rem;
	z-index: -1;
}
.project {
	position: relative;
	display: flex;
	margin-bottom: 2rem;
	justify-content: flex-start;
}
.project__image-container {
	position: relative;
	height: 36rem;
	width: 55rem;
	background-color: #1f2853;
	transition: all 0.2s;
	cursor: pointer;
}
#project__image-container:hover {
	border: 3px solid black;
}
.project__image-image {
	width: 85%;
	position: relative;
}
.project__image-image img {
	width: 100%;
}
.project__info {
	position: relative;
	top: 8rem;
	height: fit-content;
	padding: 1rem;
	z-index: 9999999;
}
.project__title {
	position: relative;
	z-index: 66;
	font-size: 3.5rem;
}
.project__description {
	position: relative;
	line-height: 30px;
	margin-top: 3rem;
	font-size: 1.8rem;
	font-weight: 500;
	z-index: 999909999;
}
.project__live-2 {
	font-size: 1.6rem;
	font-weight: 700;
	letter-spacing: 3px;
	line-height: 1;
	text-transform: uppercase;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: fit-content;
	padding: 1rem 1.2rem;
	position: relative;
	margin-top: 3rem;
	cursor: pointer;
}
.project__live-2:after {
	position: absolute;
	content: '';
	height: 2px;
	background-color: #dc143b;
	width: 100%;
	bottom: 1px;
	display: block;
	transform-origin: bottom;
	transition: all 0.25s;
	z-index: -1;
}
.project__live-2:hover {
	color: #1a1a1a;
}
.project__live-2:hover:after {
	height: 100%;
}
.project__live,
.project__code {
	position: relative;
	margin-top: 3rem;
	padding: 0.6rem 1rem;
	width: fit-content;
	font-size: 1.6rem;
	text-transform: uppercase;
	font-weight: 700;
	letter-spacing: 3px;
	z-index: 9;
	transition: all 0.2s;
	cursor: pointer;
}
.project__live:hover,
.project__code:hover {
	color: #1a1a1a;
	font-weight: 700;
}
.project__live:after,
.project__code:after {
	position: absolute;
	content: '';
	border-bottom: 2px solid #dc143b;
	width: calc(100% + 2rem);
	left: -10%;
	top: 0.5rem;
	display: block;
	margin: 0 auto;
	position: relative;
	transform-origin: bottom;
	transition: all 0.2s;
	z-index: -1;
}
.project__live:hover:after,
.project__code:hover:after {
	transform: scaleY(17.5);
}
.project__code:after {
	width: calc(100% + 2rem);
	left: -8%;
}
.project-left {
	align-self: flex-start;
	width: 60%;
	margin-left: 22rem;
}
.project-left .project__info {
	left: -8rem;
	margin-right: -2rem;
}
.project-right {
	align-self: flex-end;
	width: 60%;
	margin-right: 22rem;
}
.project-right .project__info {
	right: -8rem;
	margin-left: -2rem;
}
.retro {
	display: flex;
	align-items: flex-end;
	justify-content: center;
}
.retro img {
	margin-bottom: -3px;
}
.todo {
	display: flex;
	align-items: center;
	justify-content: flex-end;
}
.weather {
	display: flex;
	align-items: center;
	justify-content: flex-start;
}
.section-heading {
	position: relative;
	font-size: 5.5rem;
	font-weight: 700;
	margin-top: 9rem;
	margin-bottom: 7rem;
	z-index: 9999;
}

/*Mobile adaptation*/

@media (max-width: 1700px) {
	.project-right {
		margin-right: 11rem;
		width: auto;}
	.project-left {
		margin-left: 11rem;
		width: auto;}
}
@media all and (max-width: 1500px) {
	html {
		font-size: 57.25%;}
	.heading-cta {
		margin-top: 50px;
		width: auto;}
	.heading-cta:before,
	.heading-cta:after {
		width: 27.8rem;}
	.about {
		width: 1100px;}
	.skills__item {
		height: 90px;
		width: 145px;}
	.skills__item img {
		height: 55px;}	
	#particles-js {
		height: 90vh;}
	.project-right {
		margin-right: 0;}
	.project-left {
		margin-left: 0;}
	.project__live:hover:after,
	.project__code:hover:after {
		transform: scaleY(16.5);}
}
@media all and (max-width: 1300px) {
	.about__content {
		flex-direction: column;}
	
	.profile {
		margin-bottom: 10rem;
		left: 0;
		opacity: 1;}
	.profile__fade-in {
		transform: translateX(0);}
	.skills__item {
		opacity: 1;
		border-width: 2px;}
}
@media all and (max-width: 1200px) {
	html {
		font-size: 50%;}
	.heading-cta:before,
	.heading-cta:after {
		width: 28.5rem;
		border: 2px solid transparent;}
	.about {
		width: auto;}
	.skills__item-name {
		font-size: 1.4reml;}
	.navigation {
		margin-right: 3rem;}
	.section-heading {
		margin-bottom: 10rem;}
	.project__live:hover:after,
	.project__code:hover:after {
		transform: scaleY(14);}
	.project__image-container {
		height: 64rem;
		width: 90rem;}
}
@media all and (max-width: 1000px) {
	#hero{
		width: auto;}
	.profile {
		margin-bottom: 7rem;}
	.skills__item {
		height: 80px;
		width: 130px;}
	.skills__item img {
		height: 50px;}
	.section-heading {
		margin-top: 6rem;}
	.project__title {
		font-size: 3rem;}
	.project__info {
		width: fit-content;}
	.project__image-container {
		height: 58rem;
		width: 80rem;}
}
@media (max-width: 900px) {
	.project__image-container {
		height: 54rem;
		width: 75rem;}
}
@media (max-width: 820px) {
	.project__title {
		font-size: 2.7rem;}
}
@media all and (max-width: 770px) {
	html {
		font-size: 43.75%;}
	.heading__line-1,
	.heading__line-2 {
		font-size: 5rem;
		text-align: center;
		margin-left: 4rem;
		margin-right: 4rem;}
	.heading__arrow {
		height: 20px;
		width: 20px;}
	.about__heading:before {
		border-bottom: 14px solid #dc143b;}
	.contact__heading:before {
		border-bottom: 14px solid #dc143b;}
	.message .row .image {
		display: none;}
	.project-right .project__info {
		margin-left: -4rem;}
	.project-left .project__info {
		margin-right: -4rem;}
	.project__live:hover:after,
	.project__code:hover:after {
		transform: scaleY(12.5);}
	.projects__heading:before {
		border-bottom: 14px solid #dc143b;}
}
@media all and (max-width: 700px) {
	.heading-cta {
		margin-top: 40px;}
	.navigation {
		margin-right: 0;}
	#particles-js {
		height: 85vh;}
	.contact {
		width: 400px;}
	.project__info {
		background-color: rgba(26, 26, 26, 0.5);}
	.navigation-bar {
		justify-content: center;}
}
@media all and (max-width: 615px) {
	html {
		font-size: 40%;}
	.heading__line-1,
	.heading__line-2 {
		font-size: 5rem;}
	.heading__arrow {
		margin-left: 10px;}
	.profile__blurb {
		width: 80vw;
		margin-left: auto;
		margin-right: auto;}
	.skills__item {
		height: 70px;
		width: 115px;}
	.skills__item img {
		height: 45px;}
	.project-right .project__info {
		margin-left: -6rem;}
	.project-left .project__info {
		margin-right: -6rem;}
}
@media all and (max-width: 550px) {
	.heading-cta {
		padding: 0.8rem 2rem;}
	.heading__arrow {
		height: 16px;
		width: 16px;}
	.skills__item {
		height: 60px;
		width: 100px;}
	.skills__item img {
		height: 35px;}
	#particles-js {
		height: 80vh;}
	.contact {
		width: 330px;}
	.message .row{
        margin:1rem 1rem;}
	.project__live,
	.project__code {
		margin-top: 2rem;}
	.project__live-2 {
		margin-top: 2rem;}
	.project__description {
		margin-top: 2rem;
		word-wrap: break-word;
		line-height:20px;}
	.project__title {
		font-size: 2.5rem;}
	.project__info {
		top: 4rem;}
	.project__image-container {
		height: 37rem;
		width: 47rem;}
	.project {
		margin-bottom: 12rem;}
}
@media (max-width: 440px) {
	.heading-cta {
		margin-top:60px;}
	.project-right .project__info {
		right: -15rem;
		margin-left: -13rem;}
	.project-left .project__info {
		left: -15rem;
		margin-right: -13rem;}
	.project__info {
		top: 2rem;}
	.project__image-container {
		height: 30rem;
		width: 39rem;}
	.project {
		margin-bottom: 10rem;}
}
@media all and (max-width: 410px) {
	.heading-cta {
		margin-top: 60px;}
	.skills__row:not(:last-child) {
		margin-right: 15px;}
	.skills__item {
		height: 50px;
		width: 80px;}
	.skills__item:not(:last-child) {
		margin-bottom: 15px;}
	.skills__item img {
		height: 26px;}
	.contact {
		width: 260px;}
	.project__title {
		font-size: 2.2rem;}
	.project__info {
		top: 0;}
}
@media all and (max-width: 350px) {
	html {
		font-size: 35%;}
	.skills__row:not(:last-child) {
		margin-right: 10px;}
	.skills__item {
		height: 45px;
		width: 70px;}
}

