*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}
body{
    background: #080808;
    color: #fff;
}

.splash{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #080808;
    z-index: 200;
    text-align: center;
}

.splash img{
    padding: 250px 0;
    width: 250px;
}

.splash.display-none{
    position: fixed;
    opacity: 0;
    top: -200px;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #080808;
    z-index: -10;
    text-align: center;
    transition: all 0.5s;
}

@keyframes fadeIn{
    to{
        opacity: 1;
    }
}

.wrapper {
    width: 200px;
    height: 60px;
    top: 300px;
    margin-right: auto;
    margin-left: auto;
    position: relative;
    z-index: 1;
  }
  
  .circle {
    width: 20px;
    height: 20px;
    position: absolute;
    border-radius: 50%;
    background-color: #8A2BE2;
    left: 15%;
    transform-origin: 50%;
    animation: circle7124 .5s alternate infinite ease;
  }
  
  @keyframes circle7124 {
    0% {
      top: 60px;
      height: 5px;
      border-radius: 50px 50px 25px 25px;
      transform: scaleX(1.7);
    }
  
    40% {
      height: 20px;
      border-radius: 50%;
      transform: scaleX(1);
    }
  
    100% {
      top: 0%;
    }
  }
  
  .circle:nth-child(2) {
    background-color: #b08ad3;
    left: 45%;
    animation-delay: .2s;
  }
  
  .circle:nth-child(3) {
    background-color: #fff;
    left: auto;
    right: 15%;
    animation-delay: .3s;
  }
  
  .shadow {
    width: 20px;
    height: 4px;
    border-radius: 50%;
    background-color: rgba(0,0,0,0.9);
    position: absolute;
    top: 62px;
    transform-origin: 50%;
    z-index: -1;
    left: 15%;
    filter: blur(1px);
    animation: shadow046 .5s alternate infinite ease;
  }
  
  @keyframes shadow046 {
    0% {
      transform: scaleX(1.5);
    }
  
    40% {
      transform: scaleX(1);
      opacity: .7;
    }
  
    100% {
      transform: scaleX(.2);
      opacity: .4;
    }
  }
  
  .shadow:nth-child(4) {
    left: 45%;
    animation-delay: .2s
  }
  
  .shadow:nth-child(5) {
    left: auto;
    right: 15%;
    animation-delay: .3s;
  }
  

.fade-in{
    opacity: 0;
    animation: fadeIn 1s ease-in forwards;
}


#header{
    width: 100%;
    height: 100vh;
    background-image: url();
    background-size: cover;
    background-position: center;

    background-attachment: fixed;
    background-repeat: no-repeat;
}
.container{
    padding: 10px 10%;
}
nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.logo{
    margin-top: -10px;
    width: 90px;
}

nav ul li{
    display: inline-block;
    list-style: none;
    margin: 10px 20px;
}
nav ul li a{
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    position: relative;
}
nav ul li a::after{
    content: '';
    width: 0%;
    height: 3px;
    background:  #8A2BE2;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.5s;
}
nav ul li a:hover::after{
    width: 100%;
}
.headertext{
    margin-top: 20%;

    font-size: 30px;
}
.headertext h1{
    font-size: 95px;
    margin-top: 20px;
}
.headertext h1 span{
    color: #8A2BE2;
}
.headertext p a{
    color: #939393; 
    text-decoration: none;
    font-size: 40px;
    cursor: default;
    pointer-events: none;
}

/* ---------about-------- */
#about{
    padding: 80px  0;
    color: #ababab;
}
.row{
    display:flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 50px;
}
.aboutcol1{
    flex-basis: 35%;
}

.aboutcol1 img{
    width: 100%;
    border-radius: 15px;
}

.card {
    background-image: linear-gradient(163deg, #8A2BE2 0%, #fff 100%);
    border-radius: 20px;
    transition: all .3s;
   }
   
   .card2 {
    background-color: #1a1a1a;
    border-radius:20px;
    transition: all .2s;
   }
   
   .card2:hover {
    transform: scale(0.98);
    border-radius: 20px;
   }
   
   .card:hover {
    box-shadow: 0px 0px 30px 1px rgba(255, 255, 255, 0.50);
    border-radius:20px;
   }
   

.aboutcol2{
    flex-basis: 60%;
}
.subtitle{
    font-size: 60px;
    font-weight: 600;
    color: #fff;
}

.tabtitles{
    display: flex;
    margin: 20px 0 40px;
}

.tablinks{
    margin-right: 50px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}
.tablinks::after{
    content: '';
    width: 0;
    height: 3px;
    background: #8A2BE2;
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: 0.5s;
}

.tablinks.activelink::after{
    width: 50%;
}
.tabcontents ul li{
    list-style: none;
    margin: 10px 0;
}
.tabcontents ul li span{
    color: #9f5edb;
    font-size: 14px;
}
.tabcontents{
    display: none;
}
.tabcontents.activetab{
    display: block;
}

/* --------portfolio------------- */

#portfolio{
    padding: 50px 0;
}
.workcontent{
    text-align: center;
}
.worklist{
    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%;
    border-radius: 10px;
    display: block;
    transition: transform 0.5s;
}

.layer{
    width: 100%;
    height: 0%;
    background: linear-gradient(rgba(0,0,0,0.6), #8A2BE2);
    border-radius: 10px;
    position: absolute;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    font-size: 14px;
    text-align: center;
    transition: height 0.75s;
}
.layer h3{
    font-weight: 500;
    margin-bottom: 20px;
}
.layer a{
    margin-top: 20px;
    color: #8A2BE2;
    text-decoration: none;
    font-size: 18px;
    line-height: 60px;
    background: #fff;
    width: 60px;
    height: -60px;
    border-radius: 50px;
    text-align: center;
}

.work:hover img{
    transform: scale(1.1);
}
.work:hover .layer{
    height: 100%;
}

/*---------- contact ---------*/
.contactleft{
    flex-basis: 35%;
}

.contactright{
    flex-basis: 60%;
}

.contactleft p{
    margin-top: 30px;
}
.contactleft p i{
    color: #8A2BE2;
    margin-right: 15px;
    margin-bottom: 15px;
    font-size: 25px; 
}
.socialicons{
    margin-top: 30px;
}
.socialicons a{
    text-decoration: none;
    font-size: 30px;
    margin-right: 15px;
    color: #ababab;
    display: inline-block;
    transition: transform 0.5s;
}
.socialicons a:hover{
    color: #8A2BE2;
    transform: translateY(-5px);
}
.btn{
    display: block;
    margin: 50px auto;
    width: fit-content;
    border: 1px solid #8A2BE2;
    padding: 14px 50px;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    transition: background 0.5s;
}
.btn:hover{
    background: #8A2BE2;
}
.btn.btn2{
    display: inline-block;
    background: #8A2BE2;
}


.contactright form{
    width: 100%;
}
form input, form textarea{
    width: 100%;
    border: 0;
    outline: none;
    background: #262626;
    padding: 15px;
    margin: 15px 0;
    color: #fff;
    font-size: 18px;
    border-radius: 6px;
}
form .btn2{
    padding: 14px 60px;
    font-size: 18px;
    margin-top: 20px;
    cursor: pointer;
}
.copyright{
    width: 100%;
    text-align: center;
    padding: 25px 0;
    background: #262626;
    font-weight: 300;
    margin-top: 20px;

}
textarea{
    resize: none;
}

/* ------------------ css for small screens ---------------*/
nav .fa-solid{
    display: none;
}

@media only screen and (max-width: 750px){
    .splash img{
        padding: 250px 0;
        width: 200px;
    }
    .wrapper {
        width: 145px;
        height: 60px;
        top: 290px;
        margin-right: auto;
        margin-left: auto;
        position: relative;
        z-index: 1;
    }
        
    .circle {
    width: 15px;
    height: 15px;
    position: absolute;
    border-radius: 50%;
    background-color: #8A2BE2;
    left: 12%;
    transform-origin: 50%;
    animation: circle7124 .5s alternate infinite ease;
    }
        
    .circle:nth-child(2) {
        background-color: #b08ad3;
        left: 44%;
        animation-delay: .2s;
    }
    
    .circle:nth-child(3) {
        background-color: #fff;
        left: auto;
        right: 12%;
        animation-delay: .3s;
    }
    .headertext{
        margin-top: 50%;
        font-size: 16px;
    }
    .headertext h1{
        font-size: 50px;
    }
    .headertext p a{
        font-size: 25px;
    }
    nav .fa-solid{
        display: block;
        font-size: 25px;
    }
    nav ul{
        background: #8A2BE2;
        position: fixed;
        top: 0;
        right: -200px;
        width: 200px;
        height: 100vh;
        padding-top: 50px;
        z-index: 2;
        transition: right 0.5s;
    }
    nav ul li{
        display: block;   
        margin: 25px;
    }
    nav ul .fa-solid{
        position: absolute;
        top: 25px;
        left: 25px;
        cursor: pointer;
    }
    .subtitle{
        font-size: 40px;
    }
    .aboutcol1, .aboutcol2{
        flex-basis: 100%;
    }
    .aboutcol1{
        margin-bottom: 30px;
    }
    .aboutcol2{
        font-size: 14px;
    }
    .tablinks{
        font-size: 16px;
        margin-right: 20px;
    }
    .contactleft, .contactright{
        flex-basis: 100%;
    }
}