body{
    background-color: #070707;
    animation: Deblur 0.3s ease forwards;
}
.hero{
    position: relative;
    width: 100vw;
    height: 100vh;
    background-image: url(hero.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.toolbar{
    display: flex;
    justify-content: left;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 5vh;
    gap: 20px;
    background-color: #070707;
    padding-left: 3%;
    padding-right: 3%;
}
.btn{
    color: lavenderblush;
    transition: all 0.3s ease;

}
.btn:hover{
    color: rgba(255, 240, 245, 0);
}
.hoversweep{
    position: relative;
    display: inline-block;
    overflow: hidden;
    height: auto;
    margin: 0;
    padding: 0;
}
.hoversweep::before{
    content: attr(data-text);
    position: absolute;
    top: 0px;
    left: 0px;
    width: 0%;
    height: 100%;

    background: linear-gradient(to right, #e6b6ff, #a45cc1, #672280);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    transition: width 0.3s ease-out;
    white-space: nowrap;
    pointer-events: none;
}
.hoversweep:hover::before {
    width: 100%;
}
.name{
    color: lavenderblush;
    position: absolute;
    width: 50%;
    height: 25%;
    top: 37.5%;
    left: 25%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #070707;
    text-align: center;
    border-radius: 20px;
}
.title{
    font-size: 90px;
}
.title span{
    display: inline-block;      /* still needed for transforms */
    white-space: normal; 
    opacity: 0;
    transform: translateY(-20px);
    color: #b93ce7;
    animation: textAnimate 0.2s ease-out forwards;
}
.BodyCard{
    width: 80vw;
    height: auto;
    margin-left: 10vw;
    margin-top: 50px;
    /*background-image: linear-gradient( to bottom right, #070707,#1b1b1b);*/
    color: lavenderblush;
}
.btn-dark{
    padding: 10px;
    border: none;
    background-color: #272727;
    position: relative;
    display: inline-block;
    overflow: hidden;
    height: auto;
    z-index: 0;
}
.btn-dark::before{
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #e6b6ff, #a45cc1, #672280);
    transition: left 0.5s ease-out;
    z-index: 0;

}
.btn-dark:hover::before{
    left: 0;
}
.btn-dark:hover{
    background-color: #272727;
}


@keyframes textAnimate {
    0%{
        opacity: 0;
        transform: translateY(-20px);
        color: #000;
    }
    100%{
        opacity: 1;
        transform: translateY(0px);
        color: lavenderblush;
    }
}
.caraimg{
    width: 50vw;
    height: 50vh;
    object-fit: cover;
    object-position: center;
    display: block;
    margin-left: 25vw;
    border-radius: 10px;
}
#projectCarousel{
    margin-top: 50px;
}
.carabtn{
    position: absolute;
    left: 50%; 
    transform: translateX(-50%);
    top: 51vh
}
.carousel-item{
    height: 65vh;
}
.bentoBox{
    margin-left: 1vw;
    margin-top: 1vh;
    width: 98vw;
    height: 120vh;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(6, 1fr);
    gap: 10px;
}
.bentoItem{
    border: solid 5px #a45cc1;
    background-color: #070707;
    border-radius: 10px;
    padding: 2%;
    position: relative;
    color: lavenderblush;
    grid-column: span 2;
    grid-row: span 1;
}
.hoverfix{
    color: lavenderblush;
    width: 18vw;
    transition: all 0.2s ease-out ;
}
.fade-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.1s linear, transform 0.3s ease-out;
  will-change: opacity, transform;
}
@keyframes Deblur{
    0%{
        filter: blur(0px);
    }
    50%{
        filter: blur(10px);
    }
    100%{
        filter: blur(0px);
    }
}
@media (max-width:900px) {
    .hoverfix{
        width: 30vw;
    }
}
@media (max-width: 700px) {
    .hoverfix{
        font-size: 15px;
    }
    .card-text{
        font-size: 18px;
    }
    .name{
        width: 80%;
        left: 10%;
    }
    .caraimg{
        width: 80%;
        margin-left: 10%;
    }
}
@media (max-width: 410px) {
    .card-text{
        font-size: 15px;
    }
    .title{
        font-size: 65px;
    }
    .hoversweep{
        font-size: 16px;
    }
}