* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
.navbar {
    width: 100%;
    background-color: #0a0525;
    color: white;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    z-index: 1000;
}
.navbar a{
    text-decoration: none;
    color: white;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}
.navbar ul{
    margin-right: 30px;
}
.navbar li{
    display: inline-block;
    text-decoration: none;
    position: relative;
}
.navbar li a{
    margin: 10px 15px;
    color: white;
    font-size: 20px;
    text-decoration: none;
    font-family: Arial;
    position: relative;
}
.navbar li a:hover{
    color: #0ff;
}
.navbar li a::before{
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    width: 0%;
    height: 3px;
    background-color: #0ff;
    transition: all .5s;
}
.navbar li a:hover::before{
    width: 100%;
}
.menu-icon {
    display: none;
    cursor: pointer;
    color: #0ff;
}
@media screen and (max-width: 768px) {
    .navbar{
        flex-direction: column;
        align-items: flex-start;
        z-index: 1000;
    }
    .menubar{
        display: none;
        width: 100%;
        margin: 10px;
        padding: 10px 0;
    }
    .menubar.active{
        display: block;
        transition: all 0.3s ease-in-out;
    }
    .navbar li {
        display: block;
        background-color: rgb(36, 97, 126);
        width: 100%;
        height: 5vh;
        border: 2px solid black;
        border-radius: 10px;
    }
    .navbar li:hover{
        background-color: rgb(226, 43, 217);
    }
    .menu-icon{
        display: block;
        position: absolute;
        cursor: pointer;
        right: 20px;
    }

}
.container{
    background: linear-gradient(to right, #0a7596, #0a0525, #0a0525, #0a0525, #0a7596);
    color: white;
    width: 100%;
    height:100vh;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-around;
    align-items: center;
    line-height: .9;
}
.image{
    border: 8px solid #363636;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    box-shadow: 0 0 20px #0ff,0 0 40px #9b00ff,0 0 60px #0ff;
    margin: 100px 10px;
    object-fit: cover;
}
.details{
    margin-top: 100px;
}
.details h3{
    font-size: 25px;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}
.details h3 span.name{
    font-size: 40px;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}
.details h3 span.web{
    font-size: 30px;
    color: #0ff;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}
.details p.para{
    margin-top: 20px;
    line-height: 1.2;
    font-family: cursive;
}
.details .icons{
    margin-top: 20px;
    width: 300px;
}
.details .icons a i{
    width: 40px;
    height: 40px;
    color: #0ff;
    text-align: center;
    border: 1px solid #0ff;
    border-radius: 50%;
    padding: 5px;
    font-size: 27px;
    margin: 0 10px;
    transition: all 0.3s ease-in-out;
}
.details .icons a i:hover{
    background-color: #0ff;
    color: #0a0525;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 0 20px #0ff, 0 0 40px #9b00ff, 0 0 60px #0ff;
}
.btn button{
    width: 160px;
    height: 40px;
    margin-top: 60px;
    background-color: #0ff;
    color: #0a0525;
    border: none;
    border-radius: 25px;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 0 20px #0ff;
    transition: all 0.3s ease-in-out;
}
.btn button:hover{
    background-color: #0ff;
    color: #0a0525;
    box-shadow: 0 0 20px #0ff, 0 0 40px #9b00ff, 0 0 60px #0ff;
    width: 162px;
}
@media screen and (max-width: 768px) {
    .container{
        flex-direction: column;
        text-align: center;
        height: auto;
        padding: 20px;
    }
    .image{
        width: 250px;
        height: 250px;
    }
    .details{
        margin-top: -50px;
        padding: 20px;
    }
    .details .icons{
        position: relative;
        left: 50px;
        z-index: 1;
        padding: 20px;
    }
    .btn button{
        position: relative;
        bottom: 20px;
        z-index: 1;
    }
}
 
/* .................................About me................................ */
.about{
    display: flex;
    justify-content: space-between;
    background: linear-gradient(to right, #0a7596, #0a0525, #0a0525, #0a0525, #0a7596);
    color: white;
    width: 100%;
    height:100vh;
}
.about .image2{
    border: 8px solid #363636;
    width: 300px;
    height: 300px;
    margin: 80px;
    margin-top: 160px;
    border-radius: 50%;
    box-shadow: 0 0 20px #0ff,0 0 40px #9b00ff,0 0 60px #0ff;
    object-fit: cover;
}
.about-me{
    margin: 80px;
}
.about-me h1{
    font-family:Arial, Helvetica, sans-serif;
    margin-top: 60px;
}
.about-me span{
    color: #0ff;
}
.about-me h3{
    margin-top: 15px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
.about-me p{
    margin-top: 15px;
    font-family:cursive;
}
@media screen and (max-width:768px) {
    .about{
        flex-direction: column;
        align-items: center;
        height: auto;
        margin: 0;
        padding: 20px;
    }
    .about .image2{
        width: 250px;
        height: 250px;
    }
    .about-me{
        text-align: center;
        margin-top: -60px;
        padding: 20px;
        z-index: 1;
    }
}
/* .................................My Services................................ */

.services{
    background: linear-gradient(to right, #0a7596, #0a0525, #0a0525, #0a0525, #0a7596);
    color: white;
    width: 100%;
    height:80vh;
}
.services h1{
    text-align: center;
    font-family:Arial, Helvetica, sans-serif;
}
.services span{
    color: #0ff;
}
.services .card{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 100px;
}
.card .box{
    width: 300px;
    height: 220px;
    background-color: #090524;
    border-radius: 10px;
    margin: 30px;  
    box-shadow: 5px 5px 20px rgb(7, 9, 175); 
    transition: all 0.5s ease-in-out; 
}
.card .box:hover{
    box-shadow: 0 8px 10px rgb(226, 72, 72);

}
.card .box h3,
.card .box p{
    margin: 10px 20px;
}
.card .box i{
    margin: 10px 30px;
    color: #0ff;
    font-size: 17px;
}
.card .box button{
    width: 120px;
    height: 30px;
    background-color: #0ff;
    color: #0a0525;
    margin: 10px 20px;
    border: none;
    border-radius: 25px;
    font-size: 17px;
    cursor: pointer;
    box-shadow: 0 0 7px #0ff;
    transition: all 0.3s ease-in-out;
}
.card .box button:hover{
    background-color: #0ff;
    color: #0a0525;
    box-shadow: 0 0 7px #0ff, 0 0 10px #9b00ff, 0 0 15px #0ff;
    width: 125px;
}
@media screen and (max-width: 768px) {
    .services .card{
        flex-direction: column;
        justify-content: center;
        height: auto;
        align-items: center;
        margin-top: 20px;
        padding: 20px;
        z-index: 1;
    }
    .card .box{
        width: 90%;
        margin: 20px auto;
        height: auto;
        padding: 20px;
        z-index: 1;
    }
    .card .box h3{
        text-align: center;
        font-size: 20px;
        z-index: 1;
    }
    .card .box p{
        text-align: center;
        font-size: 16px;
        z-index: 1;
    }
    .card .box i{
        text-align: center;
        display: block;
        margin: 10px auto;
        z-index: 1;
    }
}
 /* ...........................................Skills.......................................  */
section{
    background: linear-gradient(to right, #0a7596, #0a0525, #0a0525, #0a0525, #0a7596);
    width: 100%;
    height: 100vh;
    color: white;
}
section h1{
    text-align: center;
    color: white;
    font-size: 30px;
    padding: 10px;
    font-family: Arial, Helvetica, sans-serif;
}
section h1 span{
    color: #0ff;
}
.my-skills{    
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 80px 150px;
    color: white;
    flex-wrap: wrap;
}
.t-skills h2{
    text-decoration: underline;
    font-family: Arial, Helvetica, sans-serif;
}
.t-skills .skills{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: baseline;
    padding-top: 30px;
    flex-wrap: wrap;

}
.skills label{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    margin-bottom: 10px;
}
.skills input{
    width: 350px;
    height: 4px;
}
.p-heading{
    margin-top: -73px;
    padding-right: 30px;
}
.com{
    margin-top: 60px;
}
#html{
    color: #e34c26;
}
#css{
    color: #4ce426;
}
#js{
    color: #f0db4f;
}
#react{
    color: #f0bb2b;
}
#c{
    color: #00e49f;
}
@media screen and (max-width: 1000px) {
    .my-skills{
        flex-direction: column;
        align-items: center;
        margin: 20px;
        width: 100%;    
        padding: 20px;
        box-sizing: border-box;
    }
    section{
        height: auto;
        padding: 20px;
        box-sizing: border-box;
    }
    section h1{
        text-align: center;
        margin-top: 400px;  
        font-size: 30px;
    }
    .my-skills h1{
        text-align: center;
        margin-top: 20px;
    }
    .p-heading{
        margin-top: 40px;
        padding: 20px;    
    }
    .t-skills{
        width: 100%;
        text-align: center;        
    }
    .t-skills h2{
        margin-bottom: 20px;
    }
    .skills{
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
    }
}
@keyframes range {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
/* .................................My Services................................ */
.portfolio-heading{
    text-align: center;
    width: 100%;
    height: 90vh;
    font-family: Arial, Helvetica, sans-serif;
    background: linear-gradient(to right, #0a7596, #0a0525, #0a0525, #0a0525, #0a7596);
    color: white;
}
.portfolio-heading span{
    color: #0ff;
}
.portfolio{    
    display: flex;
    justify-content: center;
    align-items: center;    
}
.port{
    width: 350px;
    height: auto;
    border-radius: 10px;
    text-align: center;
    margin: 150px 40px;
    padding: 10px 5px;
    display: flex;
    align-items: center;
    transition: 0.5s ease-in-out;
    position: relative;
}
.port:hover{
    transform: translateY(-10px);
}
.port img{
    width: 350px;
    height: 250px;
    background-color: #00e4a052;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 5px 5px 20px rgb(7, 9, 175);
}
.port .layer{
    width: 350px;
    height: 250px;
    background: linear-gradient(rgba(255, 255, 255, 0),rgb(255, 0, 128));
    position: absolute;
    border-radius: 10px;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}
.port:hover .layer{
    opacity: 1;
    transform: translateY(-10px);
    z-index: 1;    
}
.port .layer h5{
    font-size: 20px;
    font-family: Arial, Helvetica, sans-serif;
    margin-top: 30px;
}
.port .layer p{
    font-size: 15px;
    margin: 30px 20px;
    font-family: cursive;
}
.port .layer a{
    position: absolute;
    text-align: center;
    bottom: 10px;
    left: 45%;
    color: #00eeff;
    font-size: 25px;
    z-index: 1;
}
@keyframes layer{
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
    
}
@media screen and (max-width: 768px) {
    .portfolio-heading{
        width: 100%;
        height: 190vh;
        padding: 20px;
        box-sizing: border-box;
        font-family: Arial, Helvetica, sans-serif;
    }
    .portfolio{
        flex-direction: column;
        align-items: center;
        height: auto;
        padding: 20px;
    }
    .port{
        width: 90%;
        margin: 50px auto;
    }
    .port img{
        width: 100%;
        height: 300px;
        margin-top: 100px;
    }
    .port .layer{
        width: 97.7%;
        margin-top: 100px;
        height: 300px;
    }
    .port .layer h5,
    .port .layer p{
        text-align: center;
        
    }
}

/* ...........................................contact....................................... */
.contact-me{
    background: linear-gradient(to right, #0a7596, #0a0525, #0a0525, #0a0525, #0a7596);
    color: white;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 100px;
}
.contact h1{
    font-family: Arial, Helvetica, sans-serif;
    margin-top: 50px;
}
.contact h1 span{
    color: #0ff;
}
.contact h3{
    font-family: Arial, Helvetica, sans-serif;
    margin: 20px 0;
}
.contact p{
    font-family: cursive;
    margin: 20px 0;
}
.contact .icons{
    display: flex;
    justify-content: flex-start;
    margin: 20px 0;
}
.contact .icons a i{
    width: 40px;
    height: 40px;
    color: #0ff;
    text-align: center;
    border: 1px solid #0ff;
    border-radius: 50%;
    padding: 5px;
    font-size: 27px;
    margin: 0 10px;
    transition: all 0.3s ease-in-out;
}
.contact .icons a i:hover{
    background-color: #0ff;
    color: #0a0525;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 0 20px #0ff, 0 0 40px #9b00ff, 0 0 60px #0ff;
}
.contact-me form{
    display: flex;
    flex-direction: column;
    margin-top: 20px;
    padding: 20px 0;
}
.contact-me .form input,
.contact-me .form textarea{
    width: 400px;
    padding: 10px;
    margin: 10px 0;
    background-color: #0a0525;
    border: 1px solid #ccc;
    color: rgb(255, 255, 255);
    border-radius: 5px;
}
.contact-me .form button{
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    background: #0ff;
    color: #0a0525;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 0 20px #0ff;
    transition: all 0.3s ease-in-out;
}
.contact-me .form button:hover{
    background-color: #0ff;
    color: #0a0525;
    box-shadow: 0 0 20px #0ff, 0 0 40px #9b00ff, 0 0 60px #0ff;
}
@media screen and (max-width: 768px) {
    .contact-me{
        flex-direction: column;
        align-items: center;
        padding: 20px;
        width: 100%;
        height: auto;
        padding: 20px;
    }
    .contact-me h1{
        text-align: center;
        margin-bottom: 20px;
    }
    .contact-me .icons{
        justify-content: center;
        margin-bottom: 20px;
    }
    .contact-me form{
        width: 100%;
        text-align: center;
        margin: 0 auto;
    }
    .contact-me .form input,
    .contact-me .form textarea{
        width: 100%;
        max-width: 400px;
    }
    
}
/*................................footer........................................ */

.footer{
    background-color: #acacac;
    color: rgb(0, 0, 0);
    text-align: center;
    padding: 10px;
    font-family: Arial, Helvetica, sans-serif;
}