@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');



/* Commom */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
    color: var(--text-color3);
}

:root {
    --menu-color: #f6f6f6;
    --primary-color: #9b59b6;
    --secondary-color: #f6f6f6;
    --tertiary-color: #808080;
    --text-color1: #9b59b6;
    --text-color2: #f6f6f6;
    --text-color3: #2b2b2b;
}

.dark-theme {
    --primary-color: #ffa540;
    --secondary-color: #082032;
    --text-color3: #f6f6f6;
    --menu-color: #334756;
}

body {
    display: flex;
    width: 100%;   
    min-height: 100vh;    
    background: var(--secondary-color);    
    overflow-x: hidden;
    transition: background-color 0.5s linear;    
}

container {
    display: table-cell;
    width: 100%;
    height: max-content ;
    min-height: 100vh;    
}

/* Header / Navbar */
nav {
    position: fixed;    
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    padding: 10px 100px;
    transition: all 0.5s;
    z-index: 999000;
    background: var(--menu-color);    
}

nav .logo {
    float: left;
    padding: 15px;
    transition: all 0.5s;
}

nav .logo img {
    width: 250px;
    height: auto;    
    transition: all 0.5s ease-in-out;
}

nav ul {
    float: right;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    list-style: none;    
    padding-right: 10px;
      
}

nav ul li a {
    line-height: 60px;
    color: var(--text-color3);
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.5s;   
    font-weight: 700;
    
}

nav ul li a.active,
nav ul li a:hover {
    /*color: #f5b987;   */
    color: var(--primary-color);
}

nav ul li a:hover {
    border-bottom: 1px solid var(--primary-color);
}

/* Dark : Light Mode Button*/
label {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    right: 30px;
    top: 25px;
}

input {
    position: absolute;
    opacity: 0;
}

.sun {
    position: absolute;
    font-size: 1.2em;
    color: #ffa540;
    filter: drop-shadow(0 0 2px rgba(0, 0, 0, .5));
    transform: scale(0);
    transition: 1s ease;
}

input:checked~.sun {
    transition-delay: .8s;
    transform:  scale(1) rotate(360deg);
}

.moon {
    font-size: 1.2em;
    color: #666;
    filter: drop-shadow(0 0 2px rgba(0, 0, 0, .5));
    transition: 1s ease;
    transition-delay: .8s;
}

input:checked~.moon {
    transition-delay: 0s;
    transform: rotate(360deg) scale(0);
}

.toggle {
    position: absolute;
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow:
            inset 0 8px 60px rgba(223, 219, 219, 0.1),
            inset 0 8px 8px rgba(223, 219, 219, 0.1),
            inset 0 -4px 4px rgba(223, 219, 219, 0.1);
    z-index: -1;
    transition: 1s;
}

.animateBg {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #f8f8f8;
    z-index: -2;
    clip-path: circle(0% at 50% 50%);
    transition: 1.5s ease-out;
}


/* Heroe Section */
.heroe-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;    
}

.heroeBx {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;    
    width: 100vw;
    top: 70px;
    left: -420px;
    height: 100vh;
    transform: translate(-15%, -25%);    
}

.square {
    position: relative;
    top: 20%;
    left: 25vw;    
    width: 400px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;    
}

.square span {
    position: absolute;
    inset: 0;
    border: 2px solid var(--primary-color);
    opacity: 0.5;
}

.square span:nth-child(1) {
    border-radius: 46% 54% 61% / 40% 40% 60% 60%;
    animation: animateSquare 6s linear infinite;
}

.square span:nth-child(2) {
    border-radius: 44% 56% 45% 55% / 48% 65% 35% 52% ; 
    animation: animateSquare 4s linear infinite;
}

.square span:nth-child(3) {
    border-radius: 56% 44% 36% 64% / 51% 68% 32% 49%;
    animation: animateSquare2 10s linear infinite;
}

@keyframes animateSquare {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes animateSquare2 {
    0% {
        transform: rotate(360deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

.imgBx {
    display: flex;
    position: absolute;
    left: 50px;
    width: 300px;
    height: 300px;    
}

.imgBx img {
    display: flex;
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;   
    border: none;
    border-radius: 50%;
    box-shadow: 0 0 0 8px var(--secondary-color),
    0 0 0 14px var(--primary-color),
    0 0 0 16px var(--secondary-color);
    transition: 0.5s;

}

.contentBx {
    display: flex;
    position: relative;
    width: 100vw;   
    min-height: fit-content;
    left: 40vw;
}

.contentBx .contentTxt {
    width: 40vw;
    height: auto;      
    justify-content: center;    
    left: 90vw;
}

.contentBx .contentTxt h3 {
    font-size: 1.1em;
    font-weight: 400;
}

.contentBx .contentTxt h2 {
    font-size: 60px;
    text-transform: uppercase;
    color: var(--primary-color);
}

.contentBx .contentTxt p {
    padding-bottom: 20px;
}

.contentBx .contentTxt a {
    font-size: 1.8em;     
}

.contentBx .contentTxt a ion-icon {
    color: var(--primary-color);
}

/* Section About*/
.about {    
    background: var(--bg-color);
   display: flex;
   position: relative;
   justify-content: center;
   align-items: center;  
   min-height: 100vh;    
  
}
.main {
   width: 1290px;
   max-width: 95%;
   margin: 0 auto;
   display: flex;
   flex-wrap: wrap;
   align-items: center;
   justify-content: space-around;
   background-color: var(--bg-color);
   transform: translateY(5%);
  /* box-shadow: 20px 20px 60px #6b6969;*/   
}

.about .main img {
   width: 500px;
   max-width: 100%;
   height: auto;
   padding: 0 10px;
}

.all-text {
   width: 600px;
   max-width: 100%;
   padding: 0 10px;
}

.all-text h4 {
   font-size: 18px;    
   letter-spacing: 1px;
   font-weight: 400;
   margin-bottom: 10px;
}

.all-text h1 {
   font-size: 60px;
   font-weight: 700;
   margin-bottom: 20px;
   color: var(--primary-color);
}

.all-text p {
   font-size: 16px;
   line-height: 20px;
   margin-bottom: 35px;
}

.btn a {
    font-size: 1.5rem;
    padding-right: 20px;
    text-decoration: none;
    color: var(--text-color3);
    opacity: 0.8;
    transition: 0.5s;
    font-weight: 500;
}

.btn a:hover {
    color: var(--primary-color);
    opacity: 1;
}

.btn a ion-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 500;
}

/* Skills */
.containerSkills {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 110px 10%;
}

.container .main-title {
    max-width: 700px;
    margin: 0px auto;
    text-align: center;    
}

.containerSkills .main-title h1 {
    position: relative;
    font-size: 3rem;
    color: var(--text-color3);
    margin-bottom: 30px;
    display: inline-block;
}

.container .main-title h1::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    top: 125%;
    left: 0;
    background-color: var(--tertiary-color);    
}

.container .main-title h1::after {
    content: "";
    position: absolute;
    width: 50%;
    height: 3px;
    background-color: var(--primary-color);
    top: calc(125% - 1px);
    left: 50%;
    transform: translateX(-50%);
}

.main-title p{
	color: var(--tertiary-color);
}

.container .row{
	width: 100%;
	display: flex;
	justify-content: space-between;
	margin-top: 70px;
}

.row .col{
	flex-basis: 46%;
}

.row .sub-title h2{
	position: relative;
	color: var(--text-color3);
	font-size: 22px;
	font-family: helvetica;
	display: inline-block;
	margin-bottom: 30px;
}

.row .sub-title h2::before{
	content: '';
	position: absolute;
	width: 50%;
	height: 1px;
	top: 125%;
	left: 0;
	background-color: var(--tertiary-color);
}

.row .sub-title h2::after{
	content: '';
	position: absolute;
	width: 25%;
	height: 3px;
	top: calc(125% - 1px);
	left: 0;
	/*background-color: #d03645;*/
    background-color: var(--primary-color);
}

.subject{
	font-size: 18px;
	font-weight: thin;
	color: var(--tertiary-color);
	padding-bottom: 15px;
	text-transform: uppercase;
}

.progress-bar{
	position: relative;
	width: 100%;
	height: 5px;
	background-color: var(--tertiary-color);
	border-radius: 15px;
	margin-bottom: 20px;
}

.progress-bar::after{
	position: absolute;
	content: attr(value);
	top: -35px;
	right: 0;
	color: var(--tertiary-color);
	font-size: 18px;
}
.progress-line{
	position: absolute;
	width: 0%;
	height: 7px;
	background-color: var(--primary-color);
	border-radius: 15px;
	top: -1px;
	animation: animate 1.5s cubic-bezier(1, 0.2, 0.2, 1) forwards;
}

@keyframes animate{
	100%{
		width: 100%;
	}
}

.progress-line::after{
	content: '';
	position: absolute;
	width: 13px;
	height: 13px;
	border-radius: 50%;
	top: 50%;
	left: 100%;
	transform: translate(-50%, -50%);
	background-color: var(--primary-color);
}


/* Portfolio */
.portfolio {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 100px 0px;
    padding-top: 110px;       
}

.portfolio-heading {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
}

.portfolio-heading h3 {
    font-size: 2.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.portfolio-heading span {
    color: var(--primary-color);
}

.portfolio-filter{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    border: 1px solid rgb(237, 237, 237,0.6);
    flex-wrap: wrap;
    margin: 20px;
}

.portfolio-filter li{
    margin: 10px;
    padding: 5px 20px;
    color: var(--tertiary-color);
    font-size: 1rem;
    letter-spacing: 0.5px;
    font-weight: 400;
    cursor: pointer;
    user-select: none;
}

.portfolio-filter-active{
    background-color: var(--secondary-color);
    color: var(--text-color3) !important;
}

.portfolio-container{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
}

.portfolio-box{
    width:330px;
    padding: 15px;
    border: 1px solid #eeeeee;
    margin: 20px;
   
}

.portfolio-box img{
    width: 100%;
    height: 100%;
    border-radius: 5px;
    overflow: hidden;
}

/* Contact Section */
.contact {
    padding-top: 100px;
    
}

.contact-bg {
    display: flex;
    height: 60vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8)), url(../img/contact-bg.jpg);
    background-position: 50% 100%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    text-align: center;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--primary-color);
    line-height: 1.5;
}

.contact-bg h3 {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--primary-color);
}

.contact-bg h2 {
    font-size: 3rem;
    text-transform: uppercase;
    padding: 0.4rem 0;
    letter-spacing: 4px;
    color: #f6f6f6;
}

.line div {
    margin: 0 0.3rem;    
}

.line div:nth-child(1),
.line div:nth-child(3) {
    height: 3px;
    width: 70px;
   /* background: #f7327a;*/
   background: var(--primary-color);
    border-radius: 5px;
}

.line {
    display: flex;
    align-items: center;    
}

.line div:nth-child(2) {
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
}

.text {
    font-weight: 300;
    opacity: 0.9;
    color: #fafafa;
}

.contact-bg .text {
    margin: 1.6rem 0;
}

.contactBody {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.contactInfo {
    margin: 2rem 0;
    text-align: center;
    padding: 2rem 0;
}

.contactInfo span {
    display: block;
}

.contactInfo div {
    margin: 0.8rem 0;
    padding: 1rem;
}

.contactInfo span ion-icon {
    font-size: 2rem;
    padding-bottom: 0.9rem;
    color: var(--primary-color);
}

.contactInfo div span:nth-child(2) {
    font-weight: 500;
    font-size: 1.1rem;
}

.contactInfo a {
    text-decoration: none;
    opacity: 0.9;
    color: var(--text-color3);
}

.contactInfo a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.contactInfo .text {
    padding-top: 0.4rem;
}

.contactBody .image {
    margin: 0 auto;
    text-align: center;
    justify-content: center;
}

.contactBody img {
    width: 80%;
    height: auto;    
    transform: translateY(15%);
}

/* Footer Section*/
.footerContainer {
    width: 100%;
    height: max-content;
    padding: 70px 30px 20px;      
    background: var(--primary-color);
}

.socialIcons {
    display: flex;
    justify-content: center;
}

.socialIcons span {
    color: var(--secondary-color);
    align-items: center;
    display: flex;
    position: absolute;
    padding: 20px;
    transform: translateY(-80%);
}

.socialIcons a {
    text-decoration: none;
    width: 50px;
    height: 50px;
    padding: 10px;
    background: var(--secondary-color);
    margin: 10px;
    border-radius: 50%;
}

.socialIcons a ion-icon {
    font-size: 2em;
    color: var(--primary-color);
    opacity: 0.7;
    text-align: center;
}

.socialIcons a:hover ion-icon {
    opacity: 1;
}

.socialIcons a span {
    color: var(--secondary-color);
    
}

.footerNav {
    margin: 30px 0;
}

.footerNav ul {
    display: flex;
    justify-content: center;
    list-style-type: none;
}

.footerNav ul li a {
    color: var(--secondary-color);
    margin: 20px;
    text-decoration: none;
    font-size: 1.3em;
    opacity: 0.7;
    transition: .5s;
}

.footerNav ul li a:hover {
    opacity: 1;
    border-bottom: 1px solid var(--primary-color);
}

.footerBottom {
   /* background-color: #9b59b6;*/
    text-align: center;
}

.footerBottom p {
    color: var(--secondary-color);
}

.designer {
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    margin: 0 5px;
}


/* Responsivness*/

@media screen and (min-width:1660px) {
    .headerBx {
        transform: translateX();
    }
    .heroeBx {
        transform: translate(-25%, -35%);
    }

    .card {
        transform: translateY(-65%);        
    }
}

@media screen and (max-width: 1250px) {
    .about {
        width: 100%;
        height: auto;
        padding: 60px 0;
    }
    .all-text {
        text-align: center;
        margin-top: 40px;
    }
}

@media(max-width:740px){
    .containerSkills{
		padding: 30px 8%;
	}

    .portfolio-filter{
        background-color: var(--secondary-color);
        border: 1px solid rgba(0, 0, 0, 0.05);
    }
    .portfolio-filter-active{
        background-color: var(--secondary-color);
        border: 1px solid rgb(219, 219, 219);
    }
    .portfolio-box{
        width:80%;
    }
}

@media screen and (max-width: 650px) {
    .about {
        min-height: max-content;
    }
    .about .main img {
        margin-bottom: 35px;
    }
    .all-text h1 {
        font-size: 45px;
        margin-bottom: 20px;
    }

}

@media(max-width:568px){
 
    .project-heading h3
    {
        font-size: 1.8rem;
    }

    .containerSkills .row{
		flex-direction: column;
	}
	.containerSkills .main-title h1{
		font-size: 36px;
	}
	.containerSkills .row{
		margin-top: 30px;
	}
	.row .col:nth-child(2){
		margin-top: 20px;
	}
}

