/* ----------header------------- */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'poppins',sans-serif;
}
html
{
    scroll-behavior: smooth;
}
body{
    background-color: #080808;
    color: #e6e6fa;
}
#header{
    background-image: url(images/background.png);
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: right;
}
nav img{
    height: 350px;
    width: 400px;
    margin: -50px;
    margin-top: -120px;
}
nav{
    display: flex;
    justify-content: space-between;
    margin: 15px;
}
nav ul li{
    display: inline-block;
    padding: 20px;
    margin-top: 15px;
}
nav ul li a{
    text-decoration: none;
    color: #fff;
    position: relative;
}
nav ul li a::after{
    background: rebeccapurple;
    content: '';
    width: 0;
    height: 3px;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.3s;
}
nav ul li a:hover::after{
    width: 100%;
}
.headertext{
    margin: 40px;
    font-size: x-large;
    font-weight: 600;
}
.headertext span{
    color: rebeccapurple;
}
/* ---------header------------- */
/* ------------about-------------- */
#about{
    margin: 40px 20px;
    padding: 20px;
    color: #ababab;
}
.row{
    display: flex;
    justify-content: space-between;
}
.about-col-1{
    flex-basis: 35%;
}
.about-col-1 img{
    width: 100%;
    border-radius: 15px;
}
.about-col-2{
    flex-basis: 60%;
}
.sub-title{
    font-size: 40px;
    margin: 10px 0;
}
.tab-titles{
    display: flex;
    margin-top: 25px;
    margin-bottom: 25px;
    font-size: large;
    font-weight: bold;
    cursor: pointer;
}
.tab-links{
    margin-right: 15px;
    position: relative;
}
.tab-links::after{
    background: rebeccapurple;
    content: '';
    width: 0;
    height: 3px;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.3s;
}
.tab-links:hover::after{
    width: 100%;
}
.tab-contents span{
    color: rebeccapurple;
}
.tab-contents{
    font-size: 15px;
    display: none;
}
.tab-contents.active-tab{
    display: block;
}
/* ------------about-------------- */
/* ------------services-------------- */
#services{
    margin: 40px;
    padding: 20px;
}
.services-list{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    grid-gap: 40px;
}
.services-list div{
    padding: 70px;
    background: #262626;
    margin: 40px;
    border-radius: 10px;
    transition: background 0.5s,transform 0.5s;
}
.services-list div i{
    font-size: 40px;
    margin-bottom: 10px;
}
.services-list div h2{
    font-size: x-large;
    margin-bottom: 10px;
}
.services-list div p{
    font-size: small;
    margin-bottom: 10px;
}
.services-list div a{
    color: #fff;
    text-decoration: none;
    margin-bottom: 10px;
    display: inline-block;
}
.services-list div:hover{
    background: rebeccapurple;
    transform: translateY(-10px);
}
/* ------------services-------------- */
/* ------------portfolio-------------- */
#portfolio{
    padding: 50px 0;
    margin: 20px;
}
#portfolio h1{
    margin-left: 3rem;
}
.work-list{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    grid-gap: 50px;
    margin: 70px 50px;
}
.work{
    display: block;
    overflow: hidden;
    position: relative;
    border-radius: 10px;
}
.work img{
    width: 100%;
    display: block;
    border-radius: 10px;
    transition: transform 0.5s;
}
.layer{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(rgb(0,0,0,0.6),rebeccapurple);
    border-radius: 10px;
    transition: height 0.5s;
    overflow: hidden;
}
.work:hover .layer{
    height: 100%;
}
.work:hover img{
    transform: scale(1.1);
}
.layer h3{
    margin-bottom: 20px;
    font-weight: bold;
    font-size: x-large;
}
.layer a{
    margin-top: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: rebeccapurple;
    background: #fff;
    line-height: 60px;
}
.btn{
    display: block;
    text-decoration: none;
    margin: 50px auto;
    color: #fff;
    border: 1px solid rebeccapurple;
    border-radius: 6px;
    width: fit-content;
    padding: 14px 50px;
    transition: background 0.3s;
}
.btn:hover{
    background: rebeccapurple;
}
/* ------------portfolio-------------- */
/* ------------Contact-------------- */
.contact-left{
    flex-basis: 35%;
}
.contact-right{
    flex-basis: 60%;
}
.contact-left h1{
    margin-left: 20px;
}
.contact-left p{
    margin-top: 20px;
    margin-left: 10px;
}
.contact-left p i{
    margin: 0 10px;
}
.social-icons a{
    font-size: x-large;
    margin: 15px 10px 0 15px;
    text-decoration: none;
    color: lavender;
    transition: transform 0.5s;
    display: inline-block;
}
.social-icons a:hover{
    transform: translateY(-5px);
    color: rebeccapurple;
}
.btn.btn2{
    background: rebeccapurple;
}
.contact-right form{
    width: 100%;
}
form input, form textarea{
    width: 100%;
    border: 0;
    outline: none;
    background: #262626;
    padding: 15px;
    margin: 10px;
    border-radius: 6px;
    color: #fff;
    font-size: 1rem;
}
form .btn2{
    padding: 14px 60px;
    font-size: 1rem;
    margin-top: 20px;
    cursor: pointer;
}
/* ------------Contact-------------- */
/* ------------footer-------------- */
.copyright{
    width: 100%;
    background: #262626;
    padding: 30px 0;
    text-align: center;
    margin-top: 20px;
}
.copyright i{
    color: rebeccapurple;
}
/* ------------footer-------------- */