*{
    margin: 0px 5px;
    padding: 0px;;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth ;
}
body
{
    background: #080808;
    color: #ffff;
}

#header{
    width: 100%;
    height: 100vh;
    background-image: url("images/web.png");
    background-size: cover;
    background-position: center;
}

.container{
    padding:2% 2%;
}

nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo{
    width: 140px;
}

nav ul li {
    display: inline-block;
    list-style: none;
    margin: 10px 10px;
}

nav ul li a {
    border-radius: 10px;
    color: #ffff;
    text-decoration: none;
    font-size:18px ;
    position: relative;
}
nav ul li a::after{
    border-radius: 10px;
    content: "";
    width: 0;
    height: 3px;
    color: #45136e;
    background-color: #9625f2 ;
    position: absolute;
    left: 0;
    bottom: -6px;
    transform:  scale(1);
    transition: 0.5s;
}

nav ul li a:hover::after{
    transform: scale(1.5);
    font-size: 25px;
    width:80%;
    
}

#header-text {
    margin-top: 25%;
    font-size: 30px;
}
.subtitle{
    font-size: 60px;
}
#header-text h1 span {
    color: #45136e;
} 






/* about section */
#about {
    color: #ababaa;
}

.row {
    display: flex;
    justify-content:space-between;
    flex-wrap: wrap;
}

.aboutcol1 {
    
    flex-basis: 35%;
}
.aboutcol1 img
{
    width: 100%;
    border-radius: 15px;
}

.aboutcol2 {
    flex-basis: 60%;

}
.aboutcol2 h1 {
    
    font-size: 50px;
    font-weight: 600;
    color: #ffff;
}
.aboutcol2 p {
    font-size: 16px;
    margin: 15px;
}
.tab-titles{
    display: flex;
    margin: 20px 0 40px;
}

.tab-links {
    margin-right: 50px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}

.tab-links::after {
    content: "";
    width: 0;
    height: 3px;
    background-color:#9625f2 ;
    position:absolute;
    left: 0;
    bottom: -8px;
    transition:  0.5;
}

.tab-links.active-link::after{
    width: 60%;
} 

.tab-contents ul li{
    list-style: none;
    margin: 10px 10px;

}

.tab-contents ul li span{
    color:#7418c0 ;
    font-size: 16px;
}
 
.tab-contents{
    display: none;
    
}
.tab-contents.active-tab{
    display: block;
}






/*--------services---------------*/
#services{
    padding:40px 0 ;
}

.service-list{
    display:grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    grid-gap: 30px;
    margin-top: 50px;
}

.service-list div{
    height: auto;
    background: #262626;
    padding: 30px;
    font-size: 13px;
    font-weight: 300;
    border-radius: 15px;
    transition:background 0.5s ,trasnfrom 0.5s;
}

.service-list div i{
    font-size: 60px;
    margin-bottom: 40px;
}

.service-list div h2{
    font-size: 30px;
    font-weight:700;
    margin-bottom: 30px;
}

.service-list div:hover{
    background-color: #45136e;
    transform:  translateY(-20px);
}

#protfolio{
    padding: 50px 0 ;
}

.contact-left{
    flex-basis: 35%
    
}
.contact-right{
    flex-basis: 60%;
}

.contact-left p{
    margin-top: 30px;
    
}
.contact-left p i{
    color: #45136e;
    margin-right: 15px;
    font-size: 25px;

}
.social-icons {
    margin-top: 30px;

}
.social-icons a{
    text-decoration: none;
    font-size: 30px;
    margin-right: 15px;
    color:#ababaa;
    display:inline-block;
    transition:transform(0.5s);
}

.social-icons a:hover{
    color:#45136e;
    transform: translateY(-5px);

}
.btn{
    display: block;
    margin: 50px auto;
    width: fit-content;
    border: 1px soid #7418c0;
    padding: 14px 50px;
    border-radius: 6px;
    text-decoration: none;
    color:white;
    transition: background 0.5s;

}
.btn:hover {
    background: #7418c0
}
.btn.btn2{
    background-color: #6110a3;
    display: inline-block;
}
.contact{
    padding: 0% 2%;
}
.contact-right form{
    width: 100%
}
form input ,form textarea{
    width: 100%;
    border: 0;
    outline: none;
    background:#262626 ;
    padding: 15px;
    margin: 15px 0;
    color: #ffff;
    font-size: 18px;
    border-radius: 6px;
}

form .btn.btn2{

    background-color: #6110a3;
    padding:14px 60px;
    font-size: 18px;
    margin-top: 20px;
    cursor: pointer;
}
nav .fa-solid {
    display: none;
}

#msg{
    color:#9625f2;
    margin-top: -20px;
    display: block;
}

.copyright{
    width: 100%;
    text-align: center;
    padding:0 0;
    background: #262626;
    font-weight: 400;
    margin-top: 20px;
    margin-bottom: 10px;
}
@media only screen and (max-width:600px)
{
    #header{
        background-image: url("images/mobile.png");

    }
    #header-text {
       
        font-size: 16px;

    }
    #header-text h1{
        font-size:25px;
    }
    nav .fa-solid {
        display: block;
        font-size: 25px;
    }
    nav ul{

        background:#45136e;
        position:fixed;
        top: 0;
        right: -200px;
        width: 200px;
        height: 50vh;
        padding: 50px;
        border-radius: 10px;
        z-index: 2;
        transition: right 0.5s;
    }
    
    nav ul li {
        margin: 20px;
    }
    nav ul .fa-solid{
        position: absolute;
        top: 25px;
        left: 25px;
        cursor: pointer;
    }
    .aboutcol2 h1{
        font-size:40px;
        

    }
    .aboutcol1 , .aboutcol2 {
        flex-basis: 100%;
    }
    .aboutcol1 {
        margin-top: -35%;
        margin-bottom: 30px;
    }
    .contact-left , .contact-right {
        flex-basis: 100%;
    }

    .contact-left p i{
        font-size: 20px;
    }
     
    .social-icons a{
        font-size: 20px;
    }
}