*{
    margin: 0;
    padding: 0;
    font-family: 'poppins', sans-serif;
    box-sizing: border-box;

}



/* CSS FOR PRELOADER */
 .circle {
    --circle-size: 40px;
    position: fixed;
    height: var(--circle-size);
    width: var(--circle-size);
    border: 0.1px solid white;
    border-radius: 100%;
    top: calc(var(--circle-size) / 2 * -1);
    left: calc(var(--circle-size) / 2 * -1);
    pointer-events: none;
    z-index:8;
    background-color : #EDBFFF;
    mix-blend-mode:difference;
  }
html{
    scroll-behavior: smooth;
}
::-webkit-scrollbar { width: 3.5px;}
  
::-webkit-scrollbar-track { background-color: transparent; }
  
::-webkit-scrollbar-thumb { 
    background: linear-gradient(transparent, #fff,transparent);
    border-radius:10px;
}
  
body{
    background: #080808;
    color: #cccccc;
}

#header {
    width: 100%;
    height: 100vh;
    background-image: url(images/background.png);
    background-size: cover;
    background-position: center;
    z-index: 1;
}
.header-text .typing {
    z-index: 2;
}
.container {
    padding: 10px 10%;
}
nav  {
    display: flex;
    align-items: center;
    justify-content : center;
    /* flex-wrap: wrap; */
    gap: 26%;
    position : fixed;
    top : 0;
    left : 0;
    width : 100%;
    z-index : 10;
    padding : 20px;
    transition: ease .5s ;
    background-color: rgba(42,42,42,0.8)
}
.sticky {
    background-color:rgba(240,240,240,0.8);
    font-color:#000;
}

nav.sticky ul li a  {
    color: #000;
    text-decoration: none;
    font-size: 18px;
    position: relative;
    font-weight:500;
}
/* nav #sidemenu {
    
    justify-content:center;
} */

/* .header-text .first {

}

.header-text .second {

} */

.logo {
    width: 140px;
}
nav ul li {
    display: inline-block;
    list-style: none;
    margin: 10px 20px;
}
nav ul li a  {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    position: relative;
}
nav ul li a::after {
    content: '';
    width: 0;
    height: 4px;
    background:linear-gradient(45deg,#CD0A41 0%,#B2226C 20%,#863C84 40%,#554A85 60%,#324C73 80%,#2F4858 100%);
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.5s;
}
nav ul li a:hover::after {
    width: 100%
}
.header-text {
    margin-top: 20%;
    font-size: 30px;
}
.header-text h1{
   font-size: 52px;
}
.header-text h1 span {
    background-image:linear-gradient(45deg,#CD0A41 0%,#B2226C 20%,#863C84 40%,#554A85 60%,#324C73 80%,#2F4858 100%);
    -webkit-background-clip:text ;
    color: transparent;
}
.header-text .text-rotate {
    color: #fff;
}

/* -----------------About----------------- */
.about-col-2 .sub-title {
    color : #cccccc;
    padding : 10px;
}

#about{
    padding: 80px 0;
    color: #ababab;
}
.row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.about-col-1 {
    flex-basis: 35%;
}
.about-col-1 img {
    width: 100%;
    border-radius: 15px;
    object-fit:cover;
}
.about-col-2{
    flex-basis: 56%;
}
.sub-title {
    font-size: 50px;
    font-weight: 600;
    color: #fff;
}
.tab-titles{
    display: flex;
    margin: 20px 0 40px;
}
.tab-links {
    margin-right: 80px;
    font-size: 19px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}
.about-col-2 .tab-titles {
    color : rgb(210,210,210);
}
.tab-links::after{
    content: '';
    color : #000;
    width: 0;
    height: 3px;
    background:linear-gradient(45deg,#CD0A41 0%,#B2226C 20%,#863C84 40%,#554A85 60%,#324C73 80%,#2F4858 100%);
    position: absolute;
    left: 0;
    bottom: -6px;    
    transition: 0.5s;
    color : #fff;
}
.tab-links.active-link::after{
    width: 100%;
}
.tab-contents ul li{
    list-style: none;
    margin: 10px 0;

}
.tab-contents ul li span{
    color :#fff;
    font-weight :500;
    font-size: 18px;
    padding : 10px;
}
.tab-contents {
    display: none;
}
.tab-contents.active-tab {
    display:block;
}

/* .tab-contents {
    background-color: #863C84;
} */
/* -------------------Services------------------- */


#services{
    padding: 30px 0;
}

#services .sub-title {
    color: #cccccc;
}
.services-list{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}
.services-list .card i {
    font-size : 35px;
    background-image:linear-gradient(45deg,#CD0A41 0%,#B2226C 20%,#863C84 40%,#554A85 60%,#324C73 80%,#2F4858 100%);
    -webkit-background-clip:text ;
    color: transparent;
}

.services-list .card p {
    color:#cccccc;
}

.cardContainer {
    width: fit-content;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right:12px;
  }
  
  .card {
    position: relative;
    width: vw;
    height: vx;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align:center;
    justify-content: center;
    padding-top: 50px;
    padding-bottom: 30px;
    padding-left:15px;
    padding-right:15px;
    gap : 25px;
    border-radius: 10px;
    backdrop-filter: blur(30px);
    background-color: rgba(65, 65, 65, 0.308);
    border: 1px solid rgba(255, 255, 255, 0.089);
    cursor: pointer;
  }
  
  
  
  
  
  .cardContainer::before {
    width: 100px;
    height: 100px;
    content: "";
    position: absolute;
    background-color: rgb(144, 161, 255);
    z-index: -1;
    border-radius: 50%;
    left: 120px;
    top: 80px;
    transition: all 1s;
  }
  
  .cardContainer:hover::before {
    transform: translate(-50px, 50px);
  }
  
/* ---------------portfolio---------------- */
#portfolio{
    padding: 50px 0;
}
.sub-title {
    color: #cccccc;
}


.work-list {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px, 1fr));
    grid-gap: 100px;
    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.7),#000);
    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;
    text-align: center;
    font-size: 14px;
    transition: height 0.5s;
}
.layer h3 {
    font-weight: 500;
    margin-bottom: 20px;
}
.layer a {
    margin-top: 20px;
    color: #ff004f;
    text-decoration: none;
    font-size: 18px;
    line-height: 60px;
    background: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
}
.work:hover img{
    transform: scale(1.1);
}
.work:hover .layer{
    height: 100%;
} */
.btn {
    display: block;
    margin: 50px auto;
    width: fit-content;
    border: 1px solid #fff;
    padding: 14px 50px;
    border-radius: 10px;
    text-decoration: none;
    color: #fff;
    transition: background 0.5s;
}
.btn:hover{
    background-image:linear-gradient(45deg,#CD0A41 0%,#B2226C 20%,#863C84 40%,#554A85 60%,#324C73 80%,#2F4858 100%);

}



.cards {
    border-radius: 10px;
    height:640px;
    position: relative;
    overflow: hidden;
    background: #080808;
    transition: all 0.4s;
    box-shadow: 0px 0px 10px 5px  rgba(0, 0, 0, 0.705);
    font-size: 30px;
    font-weight: 900;
    
  }
  .cards:hover {
    border-radius: 15px;
    cursor: pointer;
    transform: scale(1.035);
    box-shadow: 0px 0px 10px 5px  rgba(0, 0, 0, 0.705);
    background: rgba(183,183,183,0.1);
  }
  
  .first-content {
    height: 100%;
    width: 100%;
    transition: all 0.4s;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    border-radius: 15px;
    
  }

  .first-content span img{
    width:100%;
    object-fit:cover;
  }
  
  .cards:hover .first-content {
    height: 0px;
    opacity: 0;
  }
  
  .second-content {
    height: 0%;
    width: 100%;
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    transition: all 0.4s;
    font-size: 0px;
    transform: rotate(90deg) scale(-1);
    border: 0.5px solid rgba(256, 256, 256, 0.1);
   
  transition: all ease 0.3s;
  }
.sc{
    display:flex;
    flex-direction: column;
    align-items:center;
    justify-content:center;
    gap:30px;
    padding:2px 25px;
}
.second-content h3{
        font-weight:700;
        font-size:28px;
        text-align:center;
        background-image:linear-gradient(45deg,#CD0A41 0%,#B2226C 20%,#863C84 40%,#554A85 60%,#324C73 80%,#2F4858 100%);
    -webkit-background-clip:text ;
    color: transparent;
    padding-bottom:20px;
}
.second-content p{
    font-weight:300;
    font-size:16px;
    text-align:center;
}
.second-content a{
    font-size:21px;
    width:800;
    background-image:linear-gradient(45deg,#CD0A41 0%,#B2226C 20%,#863C84 40%,#554A85 60%,#324C73 80%,#2F4858 100%);
    -webkit-background-clip:text ;
    color: transparent;
}
.fora {
    font-weight:500;
    
    margin-top: 20px;
    color: #ff004f;
    text-decoration: none;
    font-size: 18px;
    line-height: 55px;
    background: #cccccc;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    text-align: center;
}

  .cards:hover .second-content {
    opacity: 1;
    height: 100%;
    font-size: 1.8rem;
    transform: rotate(0deg);
    /* box-shadow:0px 0px 20px 10px #fff; */
  }

.cards:hover{
    box-shadow:0px 0px 20px 1px #cccccc;
}
  
/* ---------------Contact--------------- */
.contact-left {
    flex-basis: 35%;
}
.contact-right {
    flex-basis: 55%;
}
.contact-left p {
    margin-top: 30px;
}
.contact-left p i {
    color: #EDBFFF;
    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: transform 0.5s;
}
.social-icons a:hover{
    /* background-image:linear-gradient(45deg,#CD0A41 0%,#B2226C 20%,#863C84 40%,#554A85 60%,#324C73 80%,#2F4858 100%);
    -webkit-background-clip:text ;
    color: transparent; */
    transform: translateY(-5px);
}
.btn.btn2 {
    display: inline-block;
    background-image:linear-gradient(45deg,#CD0A41 0%,#B2226C 20%,#863C84 40%,#554A85 60%,#324C73 80%,#2F4858 100%);
    
}
.contact-right form {
    width: 100%;
}
form input, form textarea {
    width: 100%;
    border: 0;
    outline: none;
    background: #262626;
    padding: 15px;
    margin: 15px 0;
    color: #fff;
    font-size: 16px;
    border-radius: 6px;
}

.input {
    min-height: 45px;
    color: #fff;
    outline: none;
    transition: 0.35s;
    padding: 12px 7px;
    background-color: #212121;
    border-radius: 6px;
    border: 2px solid #212121;
    box-shadow: 6px 6px 10px rgba(0,0,0,1),
    1px 1px 10px rgba(255, 255, 255, 0.6);
}
.input:focus {
    transform: scale(1.03);
    box-shadow: 6px 6px 10px rgba(42,42,42,0.8),
    1px 1px 10px rgba(255, 255, 255, 0.6),
    inset 2px 2px 10px rgba(0,0,0,1),
    inset -1px -1px 5px rgba(255, 255, 255, 0.6);
  }



form btn2 {
    padding: 60px;
    margin-top: 20px;
    cursor: pointer;
    font-size: 18px;
}
.copyright{
    width: 100%;
    text-align: center;
    padding: 25px;
    background: #262626;
    font-weight: 300;
    margin-top: 20px;
}
.copyright i{
    background-image:linear-gradient(45deg,#CD0A41 0%,#B2226C 20%,#863C84 40%,#554A85 60%,#324C73 80%,#2F4858 100%);
    -webkit-background-clip:text ;
    color: transparent;
}



.alert{
  background: #ffdb9b;
  padding: 20px 40px;
  max-width: 340px;
  position : sticky;
  left: 1500%;
  top: 10px;
  border-radius: 4px;
  border-left: 8px solid #ffa502;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.alert.showAlert{
  opacity: 1;
  pointer-events: auto;
  
}
.alert.show{
  animation: show_slide 1s ease forwards;
}
@keyframes show_slide {
  0%{
    transform: translateX(100%);
  }
  40%{
    transform: translateX(-10%);
  }
  80%{
    transform: translateX(0%);
  }
  100%{
    transform: translateX(-10px);
  }
}
.alert.hide{
  animation: hide_slide 1s ease forwards;
}
@keyframes hide_slide {
  0%{
    transform: translateX(-10px);
  }
  40%{
    transform: translateX(0%);
  }
  80%{
    transform: translateX(-10%);
  }
  100%{
    transform: translateX(100%);
  }
}
.alert .fa-exclamation-circle{
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #ce8500;
  font-size: 30px;
}
.alert .msg{
  padding: 0 20px;
  font-size: 18px;
  color: #ce8500;
}
.alert .close-btn{
  position: absolute;
  right: 0px;
  top: 50%;
  transform: translateY(-50%);
  background: #ffd080;
  padding: 20px 18px;
  cursor: pointer;
  display:none;
}
.alert .close-btn:hover{
  background: #ffc766;
  display:none;
}
.alert .close-btn .fas{
  color: #ce8500;
  font-size: 22px;
  line-height: 40px;
  display:none;
}
/* ----------------------CSS FOR SMALL SCREEN--------------------- */
nav .fa-solid{
    display: none;
    margin-left:50% ;
}

.button {
    margin-top:20px;
    text-decoration: none;
    position: relative;
    border: none;
    font-size: 16px;
    font-family: inherit;
    cursor: pointer;
    color: #fff;
    width: 8em;
    height: 2.5em;
    line-height: 2em;
    text-align: center;
    background: linear-gradient(90deg, #03a9f4, #f441a5, #ffeb3b, #03a9f4);
    background-size: 300%;
    border-radius: 10px;
    z-index: 1;
  }
  
.button:hover {
    animation: ani 8s linear infinite;
   
  }
  
  @keyframes ani {
    0% {
      background-position: 0%;
    }
  
    100% {
      background-position: 400%;
    }
  }
  
.button:before {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    z-index: -1;
    background: linear-gradient(90deg, #03a9f4, #f441a5, #ffeb3b, #03a9f4);
    background-size: 400%;
    border-radius: 10px;
    border:1.5px solid #fff;
    transition: 1s;
  }
  
.button:hover::before {
    filter: blur(20px);
  }
  
.button:active {
    background: linear-gradient(32deg, #03a9f4, #f441a5, #ffeb3b, #03a9f4);
  }

@media only screen and (max-width: 890px) {
    .alert {
        display:none;
    }
    .show {
        display:block;
    }
}


@media only screen and (max-width: 600px){
    #header{
        
    }
    .circle {
        --circle-size: 25px;
        position:relative;
        background-color:#080808;
        border: 0px solid white;
    }
    .header-text{
        margin-top: 80%;
        font-size: 16px;
    }
    .header-text h1{
        font-size: 30px;
    }
    nav .fa-solid{
        display: block;
        font-size: 23px;
    }
    nav.sticky .fa-bars {
        color:#000;
    }
    nav.sticky ul li a  {
        color: #fff;
        text-decoration: none;
        font-size: 18px;
        position: relative;
    }
    
    nav ul{
        background-color:#080808;
        position: fixed;
        top: 0;
        right: -200px;
        width: 200px;
        height: 40vh;
        border-bottom-left-radius: 20px;
        border-top-left-radius: 20px;
        padding-top: 30px;
        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;
    }
    .container {
        margin:0px;
    }
    .sub-title{
        font-size: 40px;
    }
    .about-col-1, .about-col-2{
        flex-basis: 100%;
    }
    .about-col-1{
        margin-bottom: 30px;
    }
    .about-col-2{
        font-size: 14px;
    }
    .tab-links{
        font-size: 16px;
        margin-right: 20px;
    }
    .contact-left, .contact-right{
        flex-basis: 100%;

    }
    .cards{
        height:500px;
    }
}


@media (max-width: 275px){
    .cardContainer {
        padding-right:20px;
      }
    * {
        margin-left:0px;
    }
    .work-list{
        margin-left:-25px;
    }
}

@media (max-width: 275px){
    .cardContainer {
        padding-right:20px;
      }
    * {
        margin-left:-2px;
    }
    .work-list{
        margin-left:-25px;
    }
    .cards {
        width:93%;
        padding-right:2px;
    }
}

@media (max-width: 305px){
    .cardContainer {
        padding-right:20px;
      }
    * {
        margin-left:-1px;
    }
    .work-list{
        margin-left:-10px;
    }
    .cards {
        width:92%;
        padding:0px;
    }
}

@media (max-width: 307px){
    .cardContainer {
        padding-right:20px;
      }
    * {
        margin-left:2px;
    }
    .work-list{
        margin-left:-10px;
    }
    .cards {
        width:95%;
        padding:0px;
    }
}
@media (max-width: 310px){
    .cardContainer {
        padding-right:20px;
      }
    * {
        margin-left:-1px;
    }
    .work-list{
        margin-left:-5px;
    }
    .cards {
        width:95%;
        padding:1px;
    }
}

#contact .sub-title {
    background-image:linear-gradient(40deg,#CD0A41 0%,#B2226C 20%,#863C84 40%,#554A85 60%,#324C73 80%,#2F4858 100%);
    -webkit-background-clip:text ;
    color: transparent;
}