@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
@property --rotate {
    syntax: "<angle>";
    initial-value: 132deg;
    inherits: false;
  }
:root{
    /* --main-color: #e02f6b; */
    --main-color: #3b87fa; 
    
    --pink: #f01c9f;
    --blue: #0000ff;
    --blue-dark: #18293c;
    --orange: #ffa500;
    --green-yellow: #cddc39;
    --dark-green: #aaf006;
    --cyan-light: #aef1ee;
    --white: #ffffff;
    --white-alpha-40: rgba(255,255,255,0.40);
    --white-alpha-25: rgba(255,255,255,0.25);
    --backdrop-filter-blur:blur(10px);
}

*{
    box-sizing:border-box;
    padding: 0;
    margin: 0;
    outline: none;
}
::before,::after{
    box-sizing:border-box;
}

/*
extra

*/

@keyframes spin {
    0% {
      --rotate: 0deg;
    }
    100% {
      --rotate: 360deg;
    }
}
#banner{
    margin-left: 40%;
    margin-top: 30vh;
}

body {
	/*  last commit: background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);*/
	/*  last commit: background-size: 400% 400%;*/

    /*  background-color: #060929;/* #060929 */ 
	/* animation: gradient 30s ease infinite; */
	height: 100vh;
}

@keyframes gradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}


body{
    min-height: 100vh;
    /*background-image: linear-gradient(to bottom right, var(--pink-light), var(--cyan-light));*/
    /*background-image: linear-gradient(to bottom right, #12c2e9, #c471ed, #f64f59);*/
    /* background-image: linear-gradient(to bottom right, #0f0c29, #302b63, #24243e); */
    /* background-image: linear-gradient(to top left, #000428, #004e92); */
    background-image: url('bg9.jpg'); 
    background-repeat: no-repeat;
    /*     last commit: background-size: 120% 120%;*/  

    

    /* background-image: linear-gradient(var(--rotate), #5ddcff, #3c67e3 43%, #4e00c2); */
    background-attachment: fixed;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    color: var(--blue-dark);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
    padding: 35px 15px;
    color: rgb(253, 250, 250); 
}

body.hide-scrolling{
    overflow-y: hidden;
}

body::before{
    content: '';
    position: fixed;;
    left:0;
    top:0;
    height: 100%;
    width:100%;
    background-color: black;
    z-index: -1;
    opacity: 0.12;
}
a{
    text-decoration: none;
}
h1, h2{
    font-weight: 600;
    color:#ffa500;   
}
h3, h4, h5, h6{
    font-weight: 500;
    color: #aef1ee;
}

ul{
    list-style: none;
}

img{
    max-width:100%;
    vertical-align:top;
    box-shadow: 2px 0 40px 10px #f01c9f;
}
section{
     /*background-color: var(--white-alpha-25);
        border: 1px solid var(--white-alpha-40);
    */
    border: 2px solid rgb(226, 43, 186);
    background-color: #020827; 
    /* background-image: linear-gradient(to bottom right, #0e0b27 50%, #1c1753, #2f2f68); */
    background-image: linear-gradient(to bottom right,#05031b, #0e0b27 50%,#141041, #1c1753, #2f2f68);
    box-shadow: 2px 0 40px 10px #1c31f0;
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
    min-height: calc(100vh - 100px);
    border-radius: 30px;
    position: relative;
    backdrop-filter: var(--backdrop-filter-blur);
    display: none;
}

/* section::before{
    content: "";
    width: 104%;
    height: 102%;
    border-radius: 8px;
    background-image: linear-gradient(
      var(--rotate)
      , #5ddcff, #3c67e3 43%, #4e00c2);
    position: absolute;
    z-index: -1;
    top: -1%;
    left: -2%;
    animation: spin 2.5s linear infinite;
  
}
section::after{
    position: absolute;
    content: "";
    left: 0;
    right: 0;
    z-index: -1;
    height: 100%;
    width: 100%;
    margin: 0 auto;
    transform: scale(0.8);
    filter: blur(calc(var(100vh - 20px) / 6));
    background-image: linear-gradient(
            var(--rotate)
            , #5ddcff, #3c67e3 43%, #4e00c2);
    opacity: 1;
    transition: opacity .5s;
    animation: spin 2.5s linear infinite;
} 
 */
section.active{
    display: block;
    animation: fadeIn 0.5s ease-in-out forwards;
}
section.fade-out{
    animation: fadeOut 0.5s ease-in-out forwards; 
}
.main{
    max-width: 1200px;
    margin: auto;
    transition: all 0.5s ease-in-out;
    position: relative;
}
.main.fade-out{
    opacity:0;
}

.container{
    padding: 0 40px;
    width: 96%;
}

.row{
    display: flex;
    flex-wrap: wrap;
}

.align-items-center{
    align-items: center;
}

.hidden{
    display: none !important;
}

.flex-end{
    justify-content: flex-end;
}
/* section title */
.sec-padding{
    padding : 80px 0;   
}
.section-title{
    padding: 0 15px;
    width: 100%;
    text-align: center;
    margin-bottom: 40px;
}
.section-title h2{
    font-size: 40px;
    text-transform: capitalize  ;
}
/* Custom scroll bar*/
::-webkit-scrollbar{
    width: 15px;
}
::-webkit-scrollbar-track{
    background-color: var(--white);
}
::-webkit-scrollbar-thumb{
    background-color: var(--main-color);
}

/* Buttoon */ 

button{
    font-family: inherit;
    user-select: none;
}

.btn{
    line-height: 1.5;
    background-color: var(--white-alpha-25);
    border: 1px solid var(--white-alpha-40);
    padding: 10px 28px;
    display: inline-block;
    border-radius: 30px;
    color: var(--cyan-light);
    font-weight: 600;
    text-transform: capitalize;
    font-family: inherit;
    font-size: 16px;
    cursor: pointer;
    user-select: none;
    position: relative;
    overflow: hidden;
    vertical-align: middle;
    transition: color 0.3s ease;
}
.btn::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background-color: var(--main-color);
    z-index: -1;
    transition: 0.3s ease;
}
.btn:hover::before{
    width: 100%;
}
.btn:hover{
    color: var(--white);
    box-shadow: 2px 0 40px 10px #3b87fa;
}

/* Animation */
@keyframes fadeOut {
    0%{
        opacity: 1;
    }
    100%{
        opacity: 0;
    }
}

@keyframes fadeIn {
    0%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}
/* header section */
.header{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    padding: 20px 0 0;
}

.header.active{
    position: fixed;
    top:35px;
    padding: 20px 15px;
}
.header.active .container{
    max-width: 1200px;
    margin:auto;
}
.header .nav-toggler{
    width: 50px;
    height: 50px;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    background-color: var(--white-alpha-25);
    border: 1px solid var(--white-alpha-40);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
   /* transition: opacity 0.5s ease-in-out;*/
}
/*
.header .nav-toggler.hide{
    opacity: 0;
    transition: none;
}*/
.header .nav-toggler span{
    height: 2px;
    width: 24px;
    background-color: var(--main-color);
    position: relative;
    transition: background-color 0.3s ease;;
}

.header.active .nav-toggler span{
    background-color: transparent;
}

.header .nav-toggler span::before,
.header .nav-toggler span::after{
    content: '';
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: var(--main-color);
    transition: all 0.3s ease;
}

.header .nav-toggler span::before{
    left: 0;
    transform: translateY(-8px);
}

.header.active .nav-toggler span::before{
    transform: rotate(45deg);
}

.header .nav-toggler span::after{
    right: 0;
    transform: translateY(8px);
}

.header.active .nav-toggler span::after{
    transform: rotate(-45deg);
}

.header:not(.active) .nav-toggler:hover span::before,
.header:not(.active) .nav-toggler:hover span::after{
    width: 50%;
    box-shadow: 2px 0 40px 10px #3b87fa;
}

.header .nav{
    position: fixed;
    top:0;
    left: 0;
    height: 100%;
    width: 100%;
    padding: 35px 15px;
    overflow-y: auto;
    visibility: hidden;
}
.header.active .nav{
    visibility: visible;
}
.header .nav-inner{
    min-height: calc(100vh - 70px);
    max-width: 1200px;
    margin: auto;
    background-color: var(--blue-dark);
    border: 1px solid var(--white-alpha-40);
    backdrop-filter: var(--backdrop-filter-blur);
    padding: 50px 0;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.5s ease;
}

.header.active .nav-inner{
    opacity: 1;
}
.header .nav-inner ul li a{
    font-size: 40px;
    text-transform: capitalize;
    color: var(--dark-green);
    display: block;
    font-weight: 500;
    padding: 8px 15px;
    transition: color 0.3s ease;
}

.header .nav-inner ul li a:hover{
    color: var(--white);
    box-shadow: 2px 0 40px 10px #3b87fa;
    border-radius: 30px;
}


/* ENd */
.align-items-center{
    align-items: center;
}
.home-section{
    padding: 10px 0;
}

.home-section.active{
    display: flex;
}

.home-text .btn{
    margin:0 15px 15px 0;
}
.home-text p{
    font-size: 18px;
}
.home-text h1{
    font-size: 50px;
    text-transform: capitalize;
    color: var(--pink);
}
.home-text h3{
    font-size: 20px;
    font-weight: 300;
    text-transform: capitalize;
    margin: 0 0 30px;
}
.home-text,.home-img{
    width:50%;
    padding: 15px;
}
.home-img .img-box{
    max-width: 360px;
    background-color: var(--white-alpha-25);
    border-radius: 70%;
    border: 8px solid var(--white-alpha-25);
    margin: auto;
}
.home-img .img-box img{
    width:100%;
    border-radius: 50%;
}

/* About section */
.about-img{
    width: 40%;
    /* height: 70vh; */
    padding: 0 15px;
    margin-bottom: 70px;
}

.about-text{
    width: 60%;
    padding: 0 15px;
}

.about-img .img-box{
    /* background-color: var(--white-alpha-25); */
    max-width: 380px;
    max-height: 800px;
    border: 1 px solid var(--white-alpha-40);
    margin: auto;
    border-radius: 10px;
}

.about-img .img-box img {
    width: 95%;
    margin-top: 190px;
    transform: scale(1,2.5);
}

.about-text h3 {
    text-transform: capitalize;
    font-size: 20px;
    margin: 20px 0;
}

.about-text .skills{
    display: flex;
    flex-wrap: wrap;
}

.about-text .skill-item{
    background-color: var(--white-alpha-25);
    border: 1px solid var(--white-alpha-40);
    padding : 5px 15px;
    margin: 0 10px 10px 0;
    border-radius: 20px;
}

.about-tabs{
    margin-top: 20px;
}

.about-tabs .tab-item{
    padding: 2px 0;
    background-color: transparent;
    border: none;
    display: inline-block;
    color: var(--cyan-light);
    font-size: 20px;
    cursor: pointer;
    font-weight: 500;
    margin: 0 30px 0 0;
    position: relative;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.about-tabs .tab-item:last-child{
    margin: 0;
}

.about-tabs .tab-item::before{
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 1px;
    background-color: var(--blue-dark);
    transition: width 0.3s ease;
}

.about-tabs .tab-item:hover::before{
    width: 100%;
    box-shadow: 2px 0 40px 10px #3b87fa;
}

.about-tabs .tab-item.active::before{
    width: 100%;
    background-color: var(--main-color);
    box-shadow: 2px 0 40px 10px #3b87fa;
}

.about-tabs .tab-item.active{
    color: var(--white  );
    opacity: 1;
    cursor: auto;
}

.about-text .timeline{
    position: relative;
}

.about-text .timeline::before{
    content: '';
    position: absolute;
    height: 100%;
    width: 1px;
    top: 0;
    left: 5px;
    background-color: var(--main-color);
}
.about-text .tab-content{
    padding: 40px 0;
    display: none;
}

.about-text .tab-content.active{
    display: block;
}

.about-text .timeline-item{
    margin-bottom: 30px;
    position:relative;
    padding: 10px 0 0 40px;
}

.about-text .timeline-item::before{
    content:'';
    position: absolute;
    height: 11px;
    width:11px;
    background-color: var(--main-color);
    left: 0;
    top:16px;
    border-radius: 50%;
}

.about-text .timeline-item:last-child{
    margin-bottom: 0;
}
.about-text .timeline-item .date{
    display:block;
    color: var(--main-color);
    font-weight: 400;
    margin: 0 0 10px;
}

.about-text .timeline-item h4{
    font-size: 18px;
    text-transform: capitalize;
    margin: 0 0 10px;
}

.about-text .timeline-item h4 span{
    font-weight: 400;
}

.about-text .btn{
    margin: 0 15px 15px 0;
}

/* Portfolio Section */
.portfolio-section{
    padding: 50px;
}
.portfolio-item{
    width: calc((100% / 3) - 30px);
    margin: 0 15px 30px;
}

.portfolio-item-thumbnail{
    padding: 10px;
    background-color: var(--white-alpha-25);
    border: 1px solid var(--white-alpha-40);
    border-radius: 10px;
}

.portfolio-item-thumbnail img{
    width: 100%;
    border-radius: 10px;
}

.portfolio-item h3{
    font-size: 20px;
    text-transform: capitalize;
    margin: 20px 0;
}

.portfolio-item-details{
    display: none;
}

/* Portfolio popup */
.portfolio-popup{
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    z-index: 200;
    visibility: hidden;
}

.portfolio-popup.open{
    visibility: visible;
    overflow-y: auto;
}

.pp-inner{
    min-height: 100vh;
    padding: 40px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pp-content{
    background-color: var(--white-alpha-25);
    padding: 30px;
    border-radius: 30px;
    max-width: 900px;
    width: 100%;
    border: 1px solid var(--white-alpha-40);
    backdrop-filter: var(--backdrop-filter-blur);
    opacity: 0;
    transform: scale(0.9);
}

.portfolio-popup.open .pp-content{
    opacity: 1;
    transform: scale(1);
    transition: all 0.5s ease-in-out;
}
.pp-header{
    position: relative;
}

.pp-header .btn{
    height: 40px;
    width: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: -40px;
    top: -40px;
}

.pp-thimbnail #p-image{
    border-radius: 10px;
    margin: auto;
}

.pp-header h3{
    font-size: 25px;
    text-transform: capitalize;
    margin: 20px 0 15px;
}

.pp-body .description{
    margin-bottom: 20px;
}

.pp-body .general-info li{
    margin-bottom: 10px;
    font-weight: 500;
    text-transform: capitalize;
}

.pp-body .general-info li span{
    font-weight: 300;
}

.pp-body .general-info li a{
    text-transform: lowercase;
    color: var(--orange);
}

/* Responsive */
@media(max-width:991px){
    .container{
        padding:0;
    }
    .home-text,.home-img{
        width: 100%;
    }
    .home-text{
        text-align: center;
    }
    .home-img{
        order:-1;
    }
    .home-img .img-box{
        max-width: 300px;
    }
    .home-text .btn{
        margin: 0 7px 15px;
    }
    .contact-form,.contact-info{
        width:100%;
    }
    .contact-form{
        text-align: center;
        order: -1;
    }
    .portfolio-item{
        width: calc(50% - 30px);
    }

}
@media(max-width:767px){
    .contact-form,.contact-info,.about-img,.about-text{
        width: 100%;
    }
    .about-text{
        margin-top: 30px;
    }
    .portfolio-item{
        width: calc(100% - 30px);
    }
    .pp-inner{
        padding: 30px 15px;
    }
    .contact-info{
        order: -1;
        margin-bottom: 15px;
    }
    .about-img .img-box img{
        transform: scale(1,1.4);
        margin-top: 50px;
    }
}
@media(max-width:575px){
    .section-title h2,
    .header .nav-inner ul li a{
        font-size: 35px;
    }
    .home-text h1{
        font-size: 30px;
    }
    .home-text h2{
        font-size: 18px;
    }
    .pp-header h3{ 
        font-size: 20px;
    }
}

.back-video{
    position:absolute;
    z-index:-1;
    top:0;
    left:0;
    width:100%; 
    height:100vh;
    object-fit: cover;
}

/* .header{
    height: 100vh;
    width: 100%;
    padding: 0 8%;
    position: relative;
} */

/* Contact section */
.contact-form,.contact-info{
    width: 100%;
    padding: 0 15px;
}

.contact-form .input-group{
    width: 100%;
    margin-bottom: 30px;
    color: var(--cyan-light);
}

.contact-form .input-control::placeholder{
    color: var(--cyan-light);
    opacity: 0.8;
    font-weight: 300;

}

.contact-form .input-control{
    display: block;
    width: 100%;
    height: 50px;
    border-radius: 25px;
    border: none;
    font-family: inherit;
    font-weight: 400;
    font-size: 16px;
    background-color: var(--white-alpha-25);
    padding: 0 20px;
    color: var(--blue-dark);
    border: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.contact-form textarea.input-control{
    height: 120px;
    resize: none;
    padding-top:15px;
}

.contact-form .input-control:focus{
    border-color: var(--main-color);
}

.contact-info-item{
    margin: 0 0 30px;
    padding: 0 0 20px;
}

.contact-info-item h3{
    font-size: 20px;
    text-transform: capitalize;
    margin: 0 0 5px;
    border-bottom: 3px solid burlywood;
}

.contact-info-item .social-links a{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 40px;
    background-color: var(--white-alpha-25);
    border: 1px solid var(--white-alpha-40);
    color: var(--main-color);
    border-radius: 50%;
    margin: 6px 4px 0 0;
    transition: all 0.3s ease;
}

.contact-info-item .social-links a:hover{
    color: var(--white);
    background-color: var(--main-color);
}
