@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,600;0,700;0,800;0,900;1,600;1,700&family=Playfair+Display:ital,wght@0,600;0,700;0,800;0,900;1,600;1,700&display=swap');

*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    scroll-behavior: smooth;
}
body{
    min-height: 1000px;
}
.open{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1000;
}
.open .layer{
    position: absolute;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: #ff0058;
    transform-origin: top;
    animation: open 1s ease-in-out forwards;
}
@keyframes open{
    0%{
        transform: scaleY(1);
    }
    100%{
        transform: scaleY(0);
    }
}

/* handling home section */
.banner{
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: #000;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    transition: .5s;
}
.bannerText{
    position: relative;
    max-width: 650px;
}
.bannerText h2,
.bannerText h3{
    opacity: 0;
    position: relative;
    margin: 0;
    padding: 0;
    display: inline-block;
    text-transform: uppercase;
    animation: fadeIn 3s ease-in-out forwards;
}
.bannerText h2{
    font-size: 6em;
    animation-delay: 1s;
    color: #ff0058;
}
.bannerText h3{
    color: #fff;
    font-size: 3em;
    font-style: italic;
    animation-delay: .5s;
}
.bannerText p{
    opacity: 0;
    color: #fff;
    font-size: 1.2em;
    font-style: italic;
    font-weight: 400;
    animation: fadeIn 3s ease-in-out forwards;
    animation-delay: 1.5s;
}
@keyframes fadeIn{
    0%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}
.bannerText a{
    opacity: 0;
    display: inline-block;
    margin: 30px 0 0;
    padding: 10px 20px;
    background: #ff0058;
    color: #000;
    font-size: 1.2em;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 20px;
    text-decoration: none;
    animation: fadeIn 3s ease-in-out forwards;
    animation-delay: 2s;
}
.box{
    opacity: 0;
    position: relative;
    width: 320px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 3s ease-in-out forwards;
    animation-delay: 2s;
    cursor: pointer;
}
.box::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(315deg,#03a9f4,#ff0058);
}
.box::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(315deg,#03a9f4,#ff0058);
    filter: blur(30px);
}
.box b{
    position: absolute;
    inset: 6px;
    background: rgba(0,0,0,.6);
    z-index: 2;
}
.box img{
    position: absolute;
    z-index: 3;
    scale: .15;
    opacity: .25;
    transition: .5s;
}
.box:hover img{
    scale: .12;
    opacity: .9;
    transform: translateY(-200px);
}
.box .content{
    position: absolute;
    z-index: 3;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: .5s;
    transform: scale(0);
}
.box:hover .content{
    transform: scale(1);
    bottom: 30px;
}
.box .sci{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}
.box .sci li{
    list-style: none;
}
.box .sci li a{
    position: relative;
    text-decoration: none;
    color: rgba(255,255,255,.4);
    background: rgb(255, 0, 88,.5);
    border-radius: 8px;
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .5s;
}
.box .sci li a:hover{
    color: rgba(255,255,255,1);
}

/* handling header section */
header{
    opacity: 0;
    position: fixed;
    top:0;
    left:0;
    width:100%;
    padding: 20px 100px;
    z-index: 10000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: .5s;
    animation: fadeIn 3s ease-in-out forwards;
    animation-delay: .5s;
}
header.sticky{
    background: white;
    padding: 10px 100px;
    box-shadow: 0 5px 30px rgba(255,255,255,.6);
}
header .logo span{
    font-size: 1.2em;
    font-weight: 900; 
    color: #ff0058;
}
header .logo{
    color: #fff;
    font-size: 2em;
    font-weight: 700;
    text-decoration: none;
}
header .navigation{
    position: relative;
    display: flex;
}
header .navigation li{
    list-style: none;
    margin-left: 30px;
}
header .navigation li a{
    text-decoration: none;
    color: #fff;
    font-size: 1.3em;
    font-weight: 400;
}
header.sticky .logo{
    color: #000;
}
header.sticky .navigation li a{
    color: #000;
}
header .navigation li a:hover{
    color: #ff0058;
}
section{
    padding: 80px;
}

/* handling about section */
.about{
    background: #000;
    transition: .5s;
}
.row{
    position: relative;
    display: flex;
    justify-content: space-between;
    color: #fff;
}
.row .col50{
    position: relative;
    width: 48%;
}
.titletext{
    color: #ff0058;
    font-size: 2em;
    font-weight: 400;
    margin-bottom: 20px;
}
.titletext span{
    color: #fff;
    font-weight: 700;
    font-size: 1.5em;    
}
.titletext.txt{
    margin-bottom: 70px;
}
.row .col50 p{
    font-size: 1em;
}
.timeline{
    position: relative;
    margin: 50px auto;
    padding: 20px;
}
.timeline::before{
    content: '';
    position: absolute;
    width: 2px;
    height: 95%;
    background: #fff;
}
.timeline ul{
    margin: 0;
    padding: 0;
}
.timeline ul li{
    position: relative;
    line-height: normal;
    padding: 15px 40px;
    list-style: none;
    box-sizing: border-box;
}
.timeline ul li::before{
    content: '';
    position: absolute;
    top: 26px;
    left: -4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff0058;
    box-shadow: 0 0 0 3px rgba(255, 0, 88,.4);
}
.timeline .content h3{
    margin: 0;
    padding: 0;
    font-weight: 600;
    color: rgba(255, 0, 88,.8);
}
.timeline .content a{
    color: #ff0058;
    font-size: 1.15em;
    text-decoration: none;
}
.timeline .content p{
    padding: 0;
    font-size: .9em;
}
.timeline .time{
    position: relative;
    left: -26px;
    padding: 5px 10px;
    display: inline-block;
    background: rgba(255,255,255,.3);
    color: #fff;
    border-radius: 20px;
    box-shadow: 0 0 0 3px rgba(255,255,255,.1);
}
.timeline .time h4{
    margin: 0;
    padding: 0;
    font-size: 14px;
}

/* handling skills section */
.skills{
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
    flex-direction: column;
    padding: 50px 80px;
}
.skills .container{
    position: relative;
    width: 500px;
    height: 500px;
    border: 2px solid #fff;
    border-radius: 50%;
    transition: .5s;
}
.skills .container .icon{
    position: relative;
    left: -50%;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.skills .container .icon .imgBx{
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    transition: .5s;
    background: #fff;
    border: 1px solid #fff;
    box-shadow: 0 0 0 4px #222, 0 0 0 6px #fff;
    transform: rotate(calc(360deg/8 * var(--i)));
    transform-origin: 287px;
    z-index: 100;
    overflow: hidden;
    cursor: pointer;
}
.skills .container .icon .imgBx.active{
    box-shadow: 0 0 0 6px #222, 0 0 0 10px #ff0058;
}
.skills .container .icon .imgBx img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    transform: rotate(calc(-360deg/8 * var(--i)));
    transition: .5s;
    filter: grayscale(1);
}
.skills .container .icon .imgBx.active img{
    filter: grayscale(0);
}
.skills .container .content{
    position: absolute;
    inset: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}
.skills .container .content::before{
    content: '';
    position: absolute;
    inset: 60px;
    border: 4px solid transparent;
    border-left: 4px solid #03a9f4;
    border-right: 4px solid #fff;
    border-radius: 50%;
    animation: animate_01 5s linear infinite;
    z-index: 1;
    pointer-events: none;
}
@keyframes animate_01{
    0%{
        rotate: 0deg;
    }
    100%{
        rotate: 360deg;
    }
}
.skills .container .content::after{
    content: '';
    position: absolute;
    inset: 100px;
    border: 4px solid transparent;
    border-left: 4px solid #ff0058;
    border-right: 4px solid #fff;
    border-radius: 50%;
    animation: animate_02 2.5s linear infinite;
    z-index: 1;
    pointer-events: none;
}
@keyframes animate_02{
    0%{
        rotate: 360deg;
    }
    100%{
        rotate: 0deg;
    }
}
.contentBx{
    position: absolute;
    transform: scale(0);
    transition: .5s;
    opacity: 0;
}
.contentBx.active{
    transform: scale(1);
    opacity: 1;
    transition-delay: .2s;
}
.contentBx .card{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 15px;
}
.contentBx .card .imgBx{
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 10px;
    overflow: hidden;
}
.contentBx .card .imgBx img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.contentBx .card .textBx{
    display: flex;
    justify-content: center;
    align-items: center;
}
.contentBx .card .textBx h2{
    position: relative;
    font-size: 1.25em;
    font-weight: 600;
    color: #ff0058;
    line-height: 1em;
    text-transform: uppercase;
    text-align: center;
}
.contentBx .card .textBx h2 span{
    color: #fff;
    font-size: .65em;
    font-weight: 500;
    letter-spacing: .1em;
}

/* handling my works section */
.work{
    background: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 0;
}
.work .container{
    max-width: 1000px;
    margin: 0px auto;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-around;
}
.work .container .card{
    position: relative;
    margin: 10px 0;
    width: 350px;
    height: 400px;
    background: #fff;
    transform-style: preserve-3d;
    transform: perspective(2000px);
    transition: 1s;
    box-shadow: inset 300px 0 50px rgba(0,0,0,.5);
}
.work .container .card:hover{
    transform: perspective(2000px) rotate(-10deg);
    box-shadow: inset 20px 0 50px rgba(0,0,0,.5);
    z-index: 2;
}
.work .container .card .imgBox{
    position: relative;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    transform-origin: left;
    z-index: 1;
    transition: 1s;
    border: 1px solid #fff;
}
.work .container .card:hover .imgBox{
    transform: rotateY(-135deg);
}
.work .container .card .imgBox img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.work .container .card .details{
    position: absolute;
    top: 0;
    left: 0;
    box-sizing: border-box;
    padding: 20px;
}
.work .container .card .details h2{
    color: #ff0058;
    font-size: 1.2em;
    font-family: 800;
}
.work .container .card .details p{
    font-size: 1em;
    font-family: 600;
    padding: 10px 0;
}
.work .container .card .details a{
    text-decoration: none;
    color: #fff;
    padding: 5px 10px;
    background: #ff0058;
    border-radius: 20px;
}
.work .container .card .details ul{
    display: flex;
    gap: 15px;
    padding: 15px 10px;
}
.work .container .card .details ul li{
    font-size: .9em;
    list-style: none;
    color: #ff0058;
}

/* handling contact section */
.contact{
    background: rgb(0, 0, 0);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
}
.contact .container{
    position: relative;
    width: 100%;
    max-width: 1000px;
    padding: 10px;
    background: rgba(255,255,255,.1);
    box-shadow: 0 25px 45px rgba(0,0,0,.1);
    border: 1px solid rgba(255,255,255,.25);
    border-right: 1px solid rgba(255,255,255,.1);
    border-bottom: 1px solid rgba(255,255,255,.1);
    border-radius: 10px;
    overflow: hidden;
}
.contact .container::before{
    content: '';
    position: absolute;
    top: 0;
    left: -40%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,.05);
    pointer-events: none;
    transform: skewX(-15deg);
}
.contact .container h2{
    width: 100%;
    text-align: center;
    font-size: 36px;
    color: #ff0058;
    margin-bottom: 20px;
}
.contact .container .row100{
    position: relative;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
}
.contact .container .row100 .col{
    position: relative;
    width: 100%;
    padding: 0 10px;
    margin: 30px 0 20px;
}
.contact .container .row100 .col .inputBox{
    position: relative;
    width: 100%;
    height: 40px;
}
.contact .container .row100 .col .inputBox input,
.contact .container .row100 .col .inputBox textarea{
    position: absolute;
    width: 100%;
    height: 100%;
    background: transparent;
    box-shadow: none;
    border: none;
    outline: none;
    font-size: 18px;
    padding: 0 10px;
    z-index: 1;
}
.contact .container .row100 .col .inputBox .text{
    position: absolute;
    top: 0;
    left: 0;
    line-height: 40px;
    font-size: 18px;
    padding: 0 10px;
    display: block;
    transition: .5s;
    pointer-events: none;
}
.contact .container .row100 .col .inputBox input:focus + .text,
.contact .container .row100 .col .inputBox input:valid + .text,
.contact .container .row100 .col .inputBox textarea:focus + .text,
.contact .container .row100 .col .inputBox textarea:valid + .text{
    top: -35px;
    left: -10px;
    color: #ff0058;
}
.contact .container .row100 .col .inputBox .line{
    position: absolute;
    bottom: 0;
    display: block;
    width: 100%;
    height: 2px;
    background: rgba(255,255,255,.2);
    transition: .5s;
    border-radius: 2px;
    pointer-events: none;
}
.contact .container .row100 .col .inputBox input:focus ~ .line,
.contact .container .row100 .col .inputBox input:valid ~ .line,
.contact .container .row100 .col .inputBox textarea:focus ~ .line,
.contact .container .row100 .col .inputBox textarea:valid ~ .line{
    height: 100%;
}
.contact .container .row100 .col .inputBox.textarea{
    position: relative;
    width: 100%;
    height: 100px;
    padding: 10px 0;
}
.contact .container .row100 .col input[type='submit']{
    border: none;
    padding: 10px 40px;
    background: #ff0058;
    cursor: pointer;
    outline: none;
    font-size: 18px;
    font-weight: 600;
    border-radius: 10px;
}
.status{
    position: absolute;
    bottom: 90px;
    left: 30px;
    color: #ff0058;
}


/* making responsive */
@media (max-width:1030px){
    .bannerText {
        max-width: 500px;
    }
    .bannerText h3 {
        font-size: 2em;
    }
    .bannerText h2 {
        font-size: 4.5em;
    }
}
@media (max-width: 991px){
    header,header.sticky{
        padding: 10px 20px;
    }
    header .navigation{
        display: none;
    }
    header .navigation.active{
        width: 100%;
        height: calc(100% - 70px);
        position: fixed;
        top: 70px;
        left: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        background: #000;
    }
    header .navigation.active li{
        margin-left: 0;
    }
    header .navigation.active a{
        font-size: 2em;
    }
    header .navigation.active li a:hover{
        color: #ff0058;
    }
    header.sticky .navigation.active a{
        color: #fff;
    }
    .menuToggle{
        position: relative;
        width: 40px;
        height: 40px;
        background: url(./images/menu.PNG);
        background-size: 30px;
        background-repeat: no-repeat;
        background-position: center;
        cursor: pointer;
        transition: .3s;
    }
    header.sticky .menuToggle{
        filter: invert(1);
    }
    .menuToggle.active{
        background: url(./images/close.PNG);
        background-size: 25px;
        background-repeat: no-repeat;
        background-position: center;
    }
    section{
        padding: 40px 20px;
    }
}
@media (max-width:900px){
    .banner{
        flex-direction: column-reverse;
    }
    .bannerText{
        margin-top: 30px;
        text-align: center;
    }
    .box{
        margin-top: 80px;
    }
    .row{
        flex-direction: column;
    }
    .row .col50{
        width: 100%;
    }
}
@media (max-width:650px){
    .box{
        width: 200px;
        height: 250px;
    }
    .box img{
        scale: .09;
    }
    .box:hover img{
        scale: .065;
    }
    .box:hover .content{
        bottom: 20px;
    }
    .box .sci li a{
        width: 30px;
        height: 30px;
    }
    .skills .container{
        width: 280px;
        height: 280px;
    }
    .skills .container .icon{
        position: relative;
        left: -50%;
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .skills .container .icon .imgBx{
        width: 40px;
        height: 40px;
        transform-origin: 156px;
    }
    .skills .container .content::before{
        inset: 38px;
        border: 3px solid transparent;
        border-left: 3px solid #03a9f4;
        border-right: 3px solid #fff;
    }
    .skills .container .content::after{
        inset: 60px;
        border: 3px solid transparent;
        border-left: 3px solid #ff0058;
        border-right: 3px solid #fff;
    }
    .contentBx .card{
        gap: 5px;
    }
    .contentBx .card .imgBx{
        width: 80px;
        height: 80px;
    }
    .contentBx .card .textBx h2{
        font-size: .7em;
    }
    .contentBx .card .textBx h2 span{
        font-size: .55em;
    }
    .bannerText h3 {
        font-size: 1.2em;
    }
    .bannerText h2 {
        font-size: 3em;
    }
}