.portofolio{
	position: relative;
	background: rgba(32, 36, 45, 1)/*1f242d*/;
	width: 100%;
	height: 78vh;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 70px 10% 0;
}

.portf-text{
	max-width: 600px;
	color: #fff;
}

.portf-text h3{
	color: #fff;
	font-size: 32px;
	font-weight: 700;
	opacity: 0;
	animation: slideBottom 1s ease forwards;
	animation-delay: .7s;
}

.portf-text h3 span{
	color: var(--pifoxen-base);

}

.portf-text h3:nth-of-type(2){
	margin-bottom: 30px;
	animation: slideTop 1s ease forwards;
	animation-delay: .7s;
}

.portf-text h1{
	color: #fff;
	font-size: 52px;
	font-weight: 700;
	margin: 10px 0;
	opacity: 0;
	animation: slideRight 1s ease forwards;
	animation-delay: 1s;
}



.portf-text p{
	font-size: 16px;
	opacity: 0;
	animation: slideLeft 1s ease forwards;
	animation-delay: 1s;
}

.portf-img img{
	max-width: 450px;
	margin-right: -20px;
	opacity: 0;
	animation: zoomIn 1s ease forwards, floatImage 4s
	ease-in-out infinite;
	animation-delay: 2s, 3s;
}


.social-meds a{
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 40px;
	height: 40px;
	background: transparent;
	border: 2px solid var(--pifoxen-base);
	border-radius: 50%;
	font-size: 20px;
	color: var(--pifoxen-base);
	text-decoration: none;
	margin: 30px 15px 30px 0;
	transition: .5s ease;
	opacity: 0;
	animation: slideLeft 1s ease forwards;
	animation-delay: calc(.2s * var(--i));
}
.social-meds a:nth-of-type(even){
	color: var(--pifoxen-primary);
	border: 2px solid var(--pifoxen-primary);
}

.social-meds a:hover{
	background: var(--pifoxen-base);
	color: #1f242d;
	box-shadow: 0 0 20px var(--pifoxen-base);
}

.social-meds a:nth-of-type(even):hover{
	background: var(--pifoxen-primary);
	color: #1f242d;
	box-shadow: 0 0 20px var(--pifoxen-primary);
}

.btn{
	display: inline-flex;
	padding: 12px 28px;
	background: var(--pifoxen-base);
	border-radius: 40px;
	box-shadow: 0 0 10px var(--pifoxen-base);
	text-decoration: none;
	color: #1f242d;
	letter-spacing: 1px;
	font-weight: 600;
	opacity: 0;
	animation: slideTop 1s ease forwards;
	animation-delay: calc(.5s * var(--i));
}

.btn:nth-child(2){
	background: var(--pifoxen-primary);
	box-shadow: 0 0 10px var(--pifoxen-primary);
}






/*KEY FRAMES ANIMATIONS*/
@keyframes slideRight{
	0%{
		transform: translateX(-100px);
		opacity: 0;
	}
	100%{
		transform: translateX(0);
		opacity: 1;
	}
}

@keyframes slideLeft{
	0%{
		transform: translateX(100px);
		opacity: 0;
	}
	100%{
		transform: translateX(0);
		opacity: 1;
	}
}

@keyframes slideTop{
	0%{
		transform: translateY(100px);
		opacity: 0;
	}
	100%{
		transform: translateX(0);
		opacity: 1;
	}
}


@keyframes slideBottom{
	0%{
		transform: translateY(-100px);
		opacity: 0;
	}
	100%{
		transform: translateX(0);
		opacity: 1;
	}
}

@keyframes zoomIn{
	0%{
		transform: scale(0);
		opacity: 0;
	}
	100%{
		transform: Scale(1);
		opacity: 1;
	}
}

@keyframes floatImage{
	0%{
		transform: translateY(0);
	}
	50%{
		transform: translateY(-24px);
	}
	100%{
		transform: translateY(0);
	}
}

.news .new {
	font-weight: bold;
	font-size: larger;
}
