@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:ital@1&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@300&display=swap');
@import 'https://fonts.googleapis.com/css?family=Montserrat:300, 400, 700&display=swap';
*{
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
}
html{
    scroll-behavior: smooth;
}
body{
    background-color: #080808;
    color: #fff;
}

#header{
    width: 100%;
    height: 100vh;
    background-image: url(img/wallpaperflare.com_wallpaper\ \(6\).jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
nav img{
    width: 200px;
    margin-right: 250px;
}
nav{
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
}
nav ul li {
    display: inline-block;
    list-style: none;
    margin: 20px 30px;
}
nav ul li a{
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-family: 'Montserrat', sans-serif;
    position: relative;
}
nav ul li a:hover{
    color: #ff004f;
    transition: 0.5s;
}
/*nav ul li a::after{
    content: " ";
    width: 0;
    height: 3px;
    background: #ff004f;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.5s;
}
nav ul li a:hover:after{
    width: 100%;
}*/
.container1{
    background-color: rgb(19, 19, 19);
    width: 100%;
    height: 10%;
    top: 0;
    position: fixed;
    z-index: 1;
   
}
.container{
    background-color: black;
    padding: 10px 10%;
}
.infoContainer{
    height: 60vh;
    width: 80vw;
    margin: 144px auto;
    margin-top:4%;
    display: flex;
    justify-content: space-around;
}
.devInfo{
    margin-top: 350px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    font-family: 'Source Code Pro', monospace;
}
.hello{
    font-size: 55px;
}

.name{
    font-size: 70px;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
}
.name span{
    color: #ff004f;
}

.about{
    font-size: 50px;
}
.devInfo .hello,.name,.about{
    animation-name: aziz;
    animation-duration: 4s;
    animation-iteration-count: 5;
    animation-fill-mode: forwards;
}
@keyframes aziz {
    form{
        
    }
    to{
       
    }
}
.more-about{
    font-size: 25px;
    margin-top: 22px;
    font-family: 'Fira Sans', sans-serif;
    width: 80%;
}
.buttons{
    margin-top: 30px;
}
.buttons button{
    text-decoration: none;
    padding: 14px 50px ;
    border: 1px solid #ff004f;
    background: transparent;
    color: #fff;
    border-radius: 6px;
    font-size: 25px;
    transition: 0.5s;
    cursor: pointer;
}
.buttons button:hover{
    color: #fff;
    background-color: #ff004f;
    
}
.devPic img{
    height: 45vh;
}

/*---------about----------*/


#my-about{
    padding: 80px 0;
    
}
.row{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.about-col-1{
    flex-basis: 35%;
}
.about-col-1 img{
    background-color: gray;
    width: 100%;
    border-radius: 15px;
}
.about-col-2{
    flex-basis: 60%;
}
.title{
    font-family: 'Montserrat', sans-serif;
    font-size: 60px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
}
.about-col-2 p{
    font-size: 20px;
}
.tab-title{
    display: flex;
    margin: 15px 0 20px;
}
.tab-title p{
    margin-right: 50px;
    font-size: 30px;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
    color: #e73e74;
    position: relative;
}

.tab-contents ul li{
    font-family: 'Montserrat', sans-serif;
    list-style: none;
    margin: 20px 0px;
}
.tab-contents ul li div{
    color: #b54769;
    font-size: 20px;
    font-weight: bold;
    
}

/*------------------services------------- */
#services{
    padding: 30px 0;
}
.services-list{
    font-family: 'Montserrat', sans-serif;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}
.services-list div{
    background: #262626;
    padding: 40px;
    font-size: 13px;
    font-weight: 300;
    border-radius: 10px;
    transition:  background 0.5s,transform 0.5s;
    
}
.services-list div i{
    font-size: 50px;
    margin-bottom: 30px;
}
.services-list div h2{
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 15px;
}
.services-list div p{
    font-family: 'Source Code Pro', monospace;
    font-size: 20px;
}
.services-list div:hover{
    background: #ff004f;
    transform: translateY(-10px);
}

/*-----------------------portfolio--------------------------- */

#portfolio{
    padding: 50px 0;
}
.work-list{
    font-family: 'Fira Sans', sans-serif;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}
.work{
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}
.work img{
    width: 100%;
    height: 100%;
    border-radius: 10px;
    display: block;
    transition: 0.5s;
}
.layer{
    width: 100%;
    height: 0%;
    background: linear-gradient(rgba(0,0,0,0.6),#ff004f);
    border-radius: 10px;
    position: absolute;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    transition: 0.5s;
}
.layer h3{
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    margin-bottom: 20px;
}
.layer a{
    margin-top: 20px;
    color: #080808;
    font-size: 18px;
    text-decoration: none;
    background: #fff;
    line-height: 60px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
}
.layer a:hover{
    color: #ff004f;
}
.work:hover img{
    transform: scale(1.1);
}
.work:hover .layer{
    height: 100%;
}
.btn{
    display: block;
    margin: 50px auto;
    width: fit-content;
    border: 1px solid #ff004f;
    padding: 14px 50px;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    transition: 0.5s;
}
.btn:hover{
    background: #ff004f;
}

/*----------------------contact------------------------------*/

.contact-left{
   flex-basis:35%;
}
.contact-right{
    flex-basis: 60%;
}
.contact-left p{
    margin-top: 30px;
}
.contact-left p i{
    color: #ff004f;
    margin-right: 15px;
    font-size: 25px;
}
.social-icons{
    margin-top: 30px;
}
.social-icons a{
    text-decoration: none;
    font-size: 30px;
    margin-right: 15px;
    color: #ababab;
    display: inline-block;
    transition: 0.5s;
}
.social-icons a:hover{
    color: #ff004f;
    transform: translateY(-5px);
}
.btn.btn2{
    display: inline-block;
    background-color: #ff004f;
}
.contact-right form{
    width: 100%;
}
form input, form textarea{
    width: 100%;
    border: 0;
    margin: 15px 0;
    padding: 15px;
    background-color: #262626;
    outline: none;
    font-size: 18px;
    border-radius: 7px;
    color: #fff;
}
form .btn2{
    padding: 14px 60px;
    cursor: pointer;
    font-size: 18px;
    margin-top: 20px;
}
.copyright{
    width: 100%;
    text-align: center;
    padding: 25px 0;
    background: #262626;
    font-weight: 400;
    margin-top: 20px;
}
#msg{
    color: #61b752;
    margin-top: -40px;
    display: block;
}

/*------------------------------------css for mobile--------------------------------------*/

nav .fa-solid{
    display: none;
}


@media only screen and (max-width:600px) {
    .container1{
        height: 7%;
    }
    nav .fa-solid{
        display: block;
        font-size: 25px;
    }
    nav ul{
        background: #ff004f;
        position: fixed;
        top: 0;
        right: -200px;
        width: 200px;
        height: 100vh;
        padding-top: 50px;
        z-index: 2;
        transition: 0.5s;
    }
    nav ul .fa-solid{
        position: absolute;
        top: 25px;
        left: 25px;
        cursor: pointer;
    }
    nav img{
        width: 130px;
    }
    .hello,.about{
        font-size: 30px;
    }
    .name{
        font-size: 45px;
    }
    .more-about{
        font-size: 18px;
    }
    .buttons button{
        font-size: 15px;
    }
    .title{
        font-size: 40px;
    }
    .about-col-1 , .about-col-2{
        flex-basis: 100%;
    }
    .about-col-1{
        margin-bottom: 30px;
    }
    .about-col-2 .self-about{
        font-size: 15px;
        margin-bottom: 30px;
    }
    .tab-title p{
        font-size: 27px;
    }
    .tab-contents ul li div{
        font-size: 22px;
    }
    .tab-contents ul li {
        font-size: 17px;
    }
    #my-about{
        padding-bottom: 0;
    }
    .services-list div h2{
        font-size: 25px;
    }
    .services-list div  p{
        font-size: 18px;
    }
    .contact-left, .contact-right{
        flex-basis: 100%;
    }
    form{
        margin-left: -10px;
    }
    .copyright{
        font-size: 14px;
    }
    .btn.btn2{
        font-size: 12px;
    }
}
@media only screen and (max-width:1064px){
    nav .fa-solid{
        display: block;
        font-size: 25px;
    }
    nav ul{
        background: #ff004f;
        position: fixed;
        top: 0;
        right: -200px;
        width: 200px;
        height: 100vh;
        padding-top: 50px;
        z-index: 2;
        transition: 0.5s;
    }
    nav ul .fa-solid{
        position: absolute;
        top: 25px;
        left: 25px;
        cursor: pointer;
    }
}
