*{
    margin: 0;
    padding: 0;
    font-family: 'poppins','sans-serif';
    box-sizing: border-box;
}

body{
    background:
        radial-gradient(circle at top left,
        rgba(231,149,39,0.08),
        transparent 30%),

        radial-gradient(circle at bottom right,
        rgba(23,77,77,0.25),
        transparent 35%),

        linear-gradient(
            135deg,
            #0A1A1A,
            #174D4D,
            #25383A
        );

    min-height: 100vh;
    width: 100%;
    color: #fff;
}



nav{
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 50px;
    width: 100%;
        background:
        radial-gradient(circle at top left,
        rgba(231,149,39,0.08),
        transparent 30%),

        radial-gradient(circle at bottom right,
        rgba(23,77,77,0.25),
        transparent 35%),

        linear-gradient(
            135deg,
            #0A1A1A,
            #174D4D,
            #393d3d
        );
 
}

 

nav ul{
    display: flex;
    justify-content: center;
}
nav ul li{
    list-style: none;
    margin: 0 23px;
}

.left{
    font-size: 2rem;
}
.left :hover{
    cursor: none;
}
a{
    text-decoration: none;
    color: aliceblue;

}
main{
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 10%;
    margin-bottom: 50px;
    cursor: pointer;
    

}

.profile img{
    background-color: black;
    border-radius: 50%;
    width: 300px;
    height: 300px;
    cursor: pointer;
    margin-right: 50px;
    filter: grayscale(0.1);
    transition: .2s;  
}

.profile img:hover{
    filter: grayscale(0);
    transform: scale(1.1) rotate(0deg);
}


.Experience{
    margin-top: 50px;
    align-items: center;
    text-align: center;
}
.exp{
    margin-top: 50px;
    padding: 1.5rem;
    display: flex;
    text-align: center;
    justify-content: space-around;

}

article img{
    border-radius: 50%;
    width: 20px;
    height: 20px;
}
 


.frontend{
    margin-top: 40px;
}

.backend{
    margin-top: 40px;
}

.Projects{
   display: inline;
   text-align: center;
}

.skill{
    display: inline;
    text-align: center;
    margin-top: 30px;
}
.skills{
    margin-top: 50px;
    padding: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    justify-content: space-around;
    align-content: space-around ;

}

.typing {
    font-size: 2rem;
    overflow: hidden;
    white-space: nowrap;
    border-right: 3px solid #E79527;
    width: 0;
    animation:
        typing 3s steps(20,end) forwards,
        blink 0.8s infinite;
}

.typing span{
    color:#E79527;
}

@keyframes typing{
    from{width:0}
    to{width:100%}
}

@keyframes blink{
    50%{border-color:transparent}
}

main div {
    animation: fadeUp 1.2s ease forwards;
}

.profile {
    animation: fadeRight 1.5s ease forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeRight {
    from {
        opacity: 0;
        transform: translateX(80px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


 

.cursor{
    display:inline-block;
    width:3px;
    background:#E79527;
    animation: blink 0.8s infinite;
}

 


.abo-img,
.text_about{
    opacity: 0;
    transform: translateY(80px);

    animation: slideUp linear forwards ;
    animation-timeline: view();
    animation-range: entry 20% cover 40%;
}

.text_about{
    font-size: 1.2rem;
    line-height: 1.8;
    color: white;
}

@keyframes slideUp{
    from{
        opacity: 0;
        transform: translateY(80px);
    }
    to{
        opacity: 1;
        transform: translateY(0);
    }
}
 

 

 

 
 


.skill-img{
    height: 90px;
}

.exp{
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-content: center;
    justify-content: space-around;
    align-content: center ;
    margin-bottom: 30px;
}
.job{
    margin-top: 5px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-around;
    background: rgb(16, 16, 16,0.4);
    padding: 10px;
}

.intern{
    display: flex;
    justify-self: start;
}

.pexperience{
    margin-top: 50px;
    padding: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    justify-content: space-around;
    align-content: space-around ;
}



.ccontainer{
    border: #fff;
    width: 255px;
    height: 310px;
    border-width: 5px;
    background: rgba(50, 51, 52, 0.6);
    border-radius: 5%;
    margin: 20px;
    transition: 0.3s;
}

.ccontainer:hover{
    background: rgb(16, 16, 16,0.7);
    transform: scale(1.04);
    
}

.scontainer{
    border: #fff;
    width: 150px;
    height: 150px;
    border-width: 5px;
    background: rgba(106, 137, 168, 0.6);
    border-radius: 5%;
    margin: 30px;
    transition: 0.3s;
}
.scontainer:hover{
    background: rgba(44, 62, 78, 0.7);
    transform: scale(1.04);
    
}
.econtainer{
    border-width: 5px;
    background: rgba(50, 51, 52, 0.6);
    border-radius: 5%;
    margin-top: 20px;
    margin-left: 20px;
    margin-right: 20px;
    width: 100%;
    padding: 10px;
    height: 30%;
    margin-bottom: 30px;
    transition: 0.3s;
}


.econtainer:hover{
    background: rgb(16, 16, 16,0.7);
    transform: scale(1.02);
    
}
.contact_con{
    margin-top: 50px;
    padding: 1.5rem;
    text-align: center;
}
.project-img{
    padding: 5px;
    width: 240px;
    height: 170px;
    padding-top: 10px;
    border-radius: 10%;
    filter: grayscale(0.2);
    transition: .3s;  
}

.project-img:hover{
    filter: grayscale(0);
    transform: scale(1.05) rotate(0deg);
}

.project-name{
    padding: 5px 5px;
    margin-top: 0;
}
.about{
    
    margin-top: 50px;
    margin-left: 50px;
    margin-right: 50px;
    margin-bottom: 30px;
    display: inline;
    text-align: center;
    margin-top: 30px; 
}

.abo{
    margin-top: 70px;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10%;
    margin-bottom: 50px;
    cursor: pointer;

}
.abo-img{
    border-radius: 10%;
    width: 400px;
    margin-bottom: 30px;
    margin-left: 70px;
    
}

.text_about{
    margin-top: 0;
    margin-left: 70px;
    margin-right: 70px;
}

.p_btn{
  color: #fff;
  background: #565558;
  width: 87px;
  border-radius: 50px;
  padding: 10px 5px;
  border: 5px;
  transition: .9s ease;
  box-shadow: 0 15px 60px -5px rgba(0, 0, 0, .5);
  margin: 15px;
  transition: 0.4s;
}

.p_btn:hover{
    background: #242a35;
    transform: scale(1.01);
}

.skill-img{
    width: 120px;
    margin-top: 2px;
    border-radius: 5px;

}

.scontainer,
.ccontainer,
.econtainer,
.abo-img,
.text_about {

    animation: slideReveal linear both;
    animation-timeline: view();
    animation-range: entry 10% cover 35%;
}

@keyframes slideReveal {
    from {
        opacity: 0;
        transform: translateY(80px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ===========================
   Mobile Responsive Design
   =========================== */

@media screen and (max-width: 768px) {

    nav{
        flex-direction: column;
        height: auto;
        padding: 15px 0;
    }

    nav ul{
        flex-wrap: wrap;
        margin-top: 10px;
    }

    nav ul li{
        margin: 8px 10px;
    }

    .left{
        font-size: 1.5rem;
    }

    main{
        flex-direction: column-reverse;
        text-align: center;
        margin-top: 40px;
    }

    .profile img{
        width: 220px;
        height: auto;
        margin-right: 0;
        margin-bottom: 30px;
    }

    img{
        width: 220px;
        height: auto;
    }

    .project-img{
        width: 220px;
        height: auto;
    }

 
    .about{
        margin-left: 15px;
        margin-right: 15px;
    }

    
    h1{
        font-size: 1.8rem;
    }

    h2{
        font-size: 1.4rem;
    }

    .p_btn{
        width: 70px;
    }

    .abo{
        display: flex;
        flex-wrap: wrap;
        text-align: center;
        justify-content: space-around;
        align-content: space-around ;
        margin-bottom: 50px;
    }

    .scontainer{
        margin-top: 0px;
        margin-left: 20px;
        margin-right: 20px;
        height: 150;
        margin-bottom: 50px;
        transition: 0.3s;
    }

    .ccontainer{
        margin-left: 0px;
    }

    .text_about{
        margin-top: 0;
        margin-left: 0;
        margin-right: 0px;
    }

    .abo-img{
        width: 240px;
        margin-left: 0px;
        
    }

 
}