.loader-wrapper {
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #f9f6fb;
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
  z-index: 1000;
}

.loader-wrapper.hidden {
  opacity: 0;
}

.loader-wrapper svg {
  --spin-duration: 2000ms;
  --infinity-duration: 2000ms;
  animation: spin81213 var(--spin-duration) linear infinite;
}

.eight {
  --eight-length-px: 60.84563446044922px;
  /* As seen on getTotalLength */
  --offset: calc(var(--order) * 5px);
  animation: infinity8123 var(--infinity-duration) linear infinite;
  d: path("m5 5a1 1 0 0110 0c0 4-10 6-10 10a1 1 0 0010 0c0-4-10-6-10-10");
  fill: none;
  stroke: url(#gradient);
  stroke-dasharray: 6px calc(var(--eight-length-px) - 6px);
  stroke-linecap: round;
  stroke-width: calc(1 - var(--order) / 10);
}

@keyframes infinity8123 {
  0% {
    stroke-dashoffset: calc(var(--eight-length-px) + var(--offset));
  }

  100% {
    stroke-dashoffset: var(--offset);
  }
}

@keyframes spin81213 {
  0% {
    transform: rotate(0);
  }

  100% {
    transform: rotate(360deg);
  }
}

#main-content {
  display: none;
}
.nav-link{
    color:#fff;
    transition-property:color;
    transition-duration:300ms;
    position:relative
}
.nav-link:hover{
    color:#7F55B1
}
.tcolor{
    color:#fff
}
.tcolor:hover{
    color:#090040;
    transition-property:color;
    transition-duration:300ms
}
.tcolor:active{
    color:#fff;
    transition-property:color;
    transition-duration:100ms
}
.bg-custom-bg{
    background-color:#f9f6fb
}
.hamburger{
    display:none
}
.sidebar{
    display:none
}
.content{
    margin:15px;
    padding:15px
}
@media screen and (max-width: 768px){
    .hamburger{
        color:#fff;
        display:block;
        position:fixed;
        top:1rem;
        right:1rem;
        z-index:1000;
        cursor:pointer;
        padding:.5rem
    }
    .hamburger div{
        width:1.5rem;
        height:2px;
        background-color:#fff;
        margin:.3rem 0;
        transition:.4s
    }
    .sidebar{
        position:fixed;
        top:-10%;
        left:-100%;
        width:80vw;
        max-width:320px;
        height:100vh;
        background-color:#f9f6fb;
        transition:left .3s ease;
        z-index:1;
        padding:0;
        margin-left:-20px;
        box-sizing:border-box;
        display:block
    }
    .sidebar.open{
        left:0
    }
    .sidebar ul{
        width:100%;
        height:100%;
        padding:1rem;
        margin:0;
        background-color:#111827;
        box-sizing:border-box
    }
    .sidebar ul li{
        margin:1rem 0
    }
    .sidebar ul li a.nav-link{
        text-decoration:none;
        font-size:1.2rem;
        display:block;
        padding:.7rem;
        transition:color .3s
    }
    .sidebar ul li a.nav-link span.tcolor{
        color:#fff
    }
    .sidebar ul li a.nav-link:hover span.tcolor{
        color:#7F55B1
    }
    .content{
        padding:1rem
    }
    .hamburger.open .bar1{
        transform:rotate(-45deg) translate(-5px,6px)
    }
    .hamburger.open .bar2{
        opacity:0
    }
    .hamburger.open .bar3{
        transform:rotate(45deg) translate(-5px,-6px)
    }
}
#header{
    background-color:transparent;
    transition:background-color .3s ease
}
#header.scrolled{
    background-color:#7e5a9bf2
}
#header .nav-link,#header #brandText,#header #hamburger-btn{
    color:#fff;
    transition:color .3s ease
}
body{
    font-family:'Poppins',sans-serif
}
h1,h2,h3,h4,h5,h6{
    font-family:'Playfair Display',serif
}
.nav-link::after{
    content:'';
    position:absolute;
    width:0;
    height:2px;
    bottom:-4px;
    left:0;
    background-color:#8044d8;
    transition:width .3s ease
}
.nav-link:hover::after{
    width:100%
}
.portfolio-item:hover .portfolio-overlay{
    opacity:1
}
.service-card:hover{
    transform:translateY(-5px)
}
input:focus,textarea:focus{
    outline:none;
    border-color:#8044d8
}
.image-comparison{
    position:relative;
    overflow:hidden
}
.image-comparison:hover .after-image{
    transform:translateX(0)
}
.after-image{
    position:absolute;
    top:0;
    right:0;
    width:50%;
    height:100%;
    transform:translateX(100%);
    transition:transform .5s ease
}
.after-image::before{
    content:'After';
    position:absolute;
    bottom:10px;
    right:10px;
    background-color:#fffc;
    padding:4px 8px;
    border-radius:4px;
    font-size:12px
}
.before-label{
    position:absolute;
    bottom:10px;
    left:10px;
    background-color:#fffc;
    padding:4px 8px;
    border-radius:4px;
    font-size:12px
}
#hamburger-btn{
    display:none;
    cursor:pointer;
    padding:.5rem;
    background:none;
    border:none;
    outline:none
}
@media (max-width: 800px){
    #hamburger-btn{
        display:block
    }
    #nav-links{
        display:none
    }
}
#home{
    background-size:cover;
    background-repeat:no-repeat;
    background-position:82%;
    display:flex;
    position:relative;
    min-height:70vh;
    max-height:100vh;
    padding-top:60px;
    padding-bottom:190px;
    align-items:center
}
#home::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:1;
    pointer-events:none;
    background:linear-gradient(to right,#1e1236b3 0%,#1e12364d 35%,#1e123600 100%)
}
#home .flex > a{
    box-shadow:0 4px 24px 0 #7e5a9b26;
    font-size:1.1rem;
    letter-spacing:.01em;
    transition:box-shadow 0.2s,transform .2s
}
#home .flex > a[href="#portfolio"]{
    min-width:220px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:fit-content
}
#home .flex > a:hover{
    box-shadow:0 8px 32px 0 #7e5a9b40;
    transform:translateY(-2px) scale(1.03)
}
#home > .container{
    display:flex 1;
    position:relative;
    z-index:2;
    align-items:center;
    justify-content:flex-start
}
@media(max-height:500px){
    #home > .container > div{
        padding-top:70%
    }
}
@media(max-height:800px){
    #home > .container > div{
        display:flex;
        flex-direction:column;
        margin-top:19dvh;
    }
}
@media (max-width: 900px){
    #home{
        background-position:70% 90%;
        background-size:cover;
        min-height:70vh;
        max-height:100vh;
        align-items:center;
        position:relative;
        background-size:cover;
        background-position:82%;
        padding-top:auto;
        padding-bottom:auto;
        min-height:70vh;
        max-height:100vh;
        align-items:center;
        position:relative
    }
    #home::before{
        content:"";
        position:absolute;
        inset:0;
        z-index:1;
        pointer-events:none
    }
    #home > .container{
        padding-bottom:40dvh;
    }
    #home > .container > div span{
        display:block;
        font-size:30px;
        margin-bottom:px;
        margin-top:0
    }
    .text-lg.text-secondary{
        display:block;
        display:flex;
        color:#fff;
        max-width:40vw;
        font-size:11px;
        line-height:1.6;
        margin-bottom:0;
        font-weight:100;
        text-shadow:0 1px 8px #7e5a9b14
    }
    #home{
        background-image:url(https://ik.imagekit.io/f5kpj2wfi9/images/home-mini.svg?updatedAt=1751516231051);
        background-position:70% 90%;
        background-size:cover;
        background-position-y:30px
    }
    #home .flex > a{
        width:46vw;
        min-width:unset;
        font-size:.55rem;
        margin-bottom:20px;
        margin-top:-10px;
        text-align:center;
        border-radius:999px!important
    }
    #home .flex > a:last-child{
        margin-bottom:0
    }
    #home .flex{
        flex-direction:column;
        gap:0;
        align-items:stretch
    }
    #home .flex > a[href="#portfolio"]{
        width:46vw;
        min-width:unset;
        font-size:.55rem;
        margin-top:-10px;
        text-align:center;
        border-radius:999px!important
    }
}
 
