/*******************************/
/********* General CSS *********/
/*******************************/
body {
    color: #414141;
    background: #DBE1FB;
    font-family: 'Libre Franklin', sans-serif;
    cursor: default;
    transition: cursor 0.3s ease;
}

.cursor {
    width: 70px;
    height: 70px;
    border: 5px solid yellow;
    mix-blend-mode: difference;
    border-radius: 50%;
    opacity: 25%;
    position: absolute;
    transition-duration: 200ms;
    transition-timing-function: ease-out;
    animation: cursorAnim 2s infinite alternate;
    pointer-events: none;
}

@keyframes cursorAnim {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(.7);
    }
}

@keyframes cursorAnim2 {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(.4);
    }
}

@keyframes cursorAnim3 {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(3);
    }

    100% {
        transform: scale(1);
        opacity: 0;
    }
}

.expand {
    animation: cursorAnim3 .5s forwards;
    color: blueviolet;
    border: 3px solid blueviolet;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #414141;
}

a {
    color: #313131;
    transition: .3s;
}

a:hover,
a:active,
a:focus {
    color: #6F47E4;
    outline: none;
    text-decoration: none;
}

.btn:focus,
.form-control:focus {
    box-shadow: none;
}

.container-fluid {
    max-width: 1366px;
}

.btn {
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #ffffff;
    background: #6F47E4;
    border: 2px solid transparent;
    border-radius: 0;
    box-shadow: inset 0 0 0 50px #6F47E4;
    transition: ease-out 0.3s;
    -webkit-transition: ease-out 0.3s;
    -moz-transition: ease-out 0.3s;
    border-radius: 15px;
}

.btn:hover {
    color: #6F47E4;
    background: transparent;
    box-shadow: inset 0 0 0 0 #6F47E4;
    border-color: #6F47E4;
    transform: scale(1.05);
}

#loader {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity .3s ease-out, visibility 0s linear .3s;
    -o-transition: opacity .3s ease-out, visibility 0s linear .3s;
    transition: opacity .3s ease-out, visibility 0s linear .3s;
    z-index: 999;
}

#loader.show {
    -webkit-transition: opacity .6s ease-out, visibility 0s linear 0s;
    -o-transition: opacity .6s ease-out, visibility 0s linear 0s;
    transition: opacity .6s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

#loader .loader {
    position: relative;
    width: 45px;
    height: 45px;
    border: 5px solid #dddddd;
    border-top: 5px solid #6F47E4;
    border-radius: 50%;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.back-to-top {
    position: fixed;
    display: none;
    width: 44px;
    height: 44px;
    padding: 8px 0;
    text-align: center;
    line-height: 1;
    font-size: 22px;
    right: 15px;
    bottom: 15px;
    z-index: 9;
}

.back-to-top i {
    color: #ffffff;
}

.back-to-top:hover i {
    color: #414141;
}


/**********************************/
/*********** Nav Bar CSS **********/
/**********************************/
.navbar {
    position: relative;
    transition: .5s;
    z-index: 999;
}

.navbar.nav-sticky {
    position: fixed;
    top: 0;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .3);
}

.navbar.navbar-expand-lg.bg-light.navbar-light.nav-project.nav-sticky{
    box-shadow: none;
}

.navbar .navbar-brand {
    margin: 0;
    font-size: 45px;
    line-height: 0px;
    font-weight: 700;
    letter-spacing: 2px;
    transition: .5s;
}

.navbar .navbar-brand-pj {
    color: white;
    margin: 0;
    font-size: 45px;
    line-height: 0px;
    font-weight: 700;
    letter-spacing: 2px;
    transition: .5s;
}

.navbar.nav-sticky .navbar-brand:hover {
    -webkit-text-stroke: 2px #6F47E4;
    color: transparent;
    transition: 0.5s;
}

.navbar.nav-sticky .navbar-brand-pj:hover {
    -webkit-text-stroke: 2px white;
    color: transparent;
    transition: 0.5s;
}

.navbar.nav-sticky .navbar-brand-pj {
    color: white;
}

@media (max-width:900px) {
    
.navbar.nav-sticky .navbar-brand-pj:hover {
    -webkit-text-stroke: 2px #6F47E4;
    color: transparent;
    transition: 0.5s;
}

.navbar.nav-sticky .navbar-brand-pj {
    color: #6F47E4;
}
}

.navbar .navbar-brand:hover {
    -webkit-text-stroke: 2px white;
    color: transparent;
    transition: 0.5s;
}

.navbar .navbar-brand img {
    max-width: 100%;
    max-height: 40px;
}

.navbar .dropdown-menu {
    margin-top: 0;
    border: 0;
    border-radius: 0;
    background: #f8f9fa;
}

.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.hamburger div {
    width: 30px;
    height: 5px;
    background-color: #6F47E4;
    margin: 3px 0;
    transition: transform 0.4s ease;
}

.hamburger.active div:nth-child(1) {
    transform: rotate(-45deg) translate(-7px, 8px);
}

.hamburger.active div:nth-child(2) {
    opacity: 0;
}

.hamburger.active div:nth-child(3) {
    transform: rotate(45deg) translate(-7px, -8px);
}

@media (min-width: 992px) {
    .navbar {
        position: absolute;
        width: 100%;
        padding: 30px 60px;
        background: transparent !important;
        z-index: 9;
    }

    .navbar.nav-sticky {
        padding: 10px 60px;
        background: #ffffff !important;
    }

    .navbar.nav-project.nav-sticky{
        background: transparent !important;
    }

    .navbar .navbar-brand {
        color: #ffffff;
    }

    .navbar.navbar-expand-lg.bg-light.navbar-light.nav-project.navbar.nav-sticky .navbar-brand{
        color: white;
    }

    .navbar.nav-sticky .navbar-brand {
        color: #6F47E4;
    }

    .navbar-light .navbar-nav .nav-link,
    .navbar-light .navbar-nav .nav-link:focus {
        padding: 8px 12px 8px 12px;
        margin: 5px;
        color: #ffffff;
        font-size: 15px;
        font-weight: 400;
        border-radius: 10px;
    }

    .navbar.navbar-expand-lg.bg-light.navbar-light.nav-project.navbar.nav-sticky .navbar-nav .nav-link{
        color: white;
    }

    .navbar-light.nav-sticky .navbar-nav .nav-link,
    .navbar-light.nav-sticky .navbar-nav .nav-link:focus {
        color: #6F47E4;
    }

    .navbar-light .navbar-nav .nav-link:hover,
    .navbar-light .navbar-nav .nav-link.active {
        color: #6F47E4;
        background-color: WHITE;
        border-radius: 10px;
        transition: 0.5s;
    }

    .navbar.navbar-expand-lg.bg-light.navbar-light.nav-project.navbar.nav-sticky .navbar-nav .nav-link:hover,
    .navbar.navbar-expand-lg.bg-light.navbar-light.nav-project.navbar.nav-sticky .navbar-nav .nav-link.active{
        background-color: white;
        color: #6F47E4;
        border-radius: 10px;
        transition: 0.5s;
    }
    

    .navbar-light.nav-sticky .navbar-nav .nav-link:hover,
    .navbar-light.nav-sticky .navbar-nav .nav-link.active {
        background-color: #6F47E4;
        color: white;
        border-radius: 10px;
        transition: 0.5s;
    }
}

@media (max-width: 991.98px) {
    .navbar {
        padding: 15px;
        background: #ffffff !important;
    }

    .navbar .navbar-brand {
        color: #6F47E4;
    }

    .navbar-light .navbar-nav .nav-link{
        color: #6F47E4;
    }
    .navbar-light .navbar-nav .nav-link:hover{
        color: black;
    }
    .navbar-light .navbar-nav .nav-link.active{
        color: white;
        background-color: #6F47E4;
    }

    .navbar .navbar-nav {
        margin-top: 15px;
    }

    .navbar a.nav-link {
        padding: 5px
    }

    .navbar .dropdown-menu {
        box-shadow: none;
    }
}


/*******************************/
/********** Hero CSS ***********/
/*******************************/
.hero {
    position: relative;
    width: 100%;
    margin-bottom: 45px;
    padding: 90px 0 0 0;
    overflow: hidden;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background: linear-gradient(315deg, rgba(124, 68, 255, 0.7) 3%, rgba(60, 106, 206, 0.7) 38%, rgba(48, 58, 238, 0.7) 68%, rgba(148, 25, 255, 0.7) 98%);
    animation: gradient 15s ease infinite;
    background-size: 400% 400%;
    background-attachment: fixed;
}

@keyframes gradient {
    0% {
        background-position: 0% 0%;
    }

    50% {
        background-position: 100% 100%;
    }

    100% {
        background-position: 0% 0%;
    }
}

.hero-video {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: -2;
}


@media (min-aspect-ratio: 16/9) {
    .hero-video {
        width: 100%;
        height: auto;
    }
}

@media (max-aspect-ratio: 16/9) {
    .hero-video {
        width: auto;
        height: 100%;
    }
}

.hero .container-fluid {
    padding: 0;
}

.hero .hero-image {
    position: relative;
    text-align: right;
    margin-bottom: 0;
    padding-right: 75px;
}


.hero .hero-image img {
    max-width: 80%;
    max-height: 80%;
    transition: transform .7s ease-in-out;
}

.hero .hero-image img:hover {
    transform: scale(1.05);
}

.hero .hero-content {
    position: relative;
    padding-left: 75px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    z-index: 1;
}

.hero .hero-text p {
    color: #ffffff;
    font-size: 25px;
    font-weight: 300;
    margin-bottom: 0px;
}

.hero .hero-text h1 {
    font-size: 9rem;
    font-weight: 900;
    letter-spacing: 3px;
    margin-bottom: 15px;
    -webkit-text-stroke: 2px white;
    color: transparent;
    transition: transform .7s ease-in-out;
    transform-style: preserve-3d;
}

.hero h1:hover {
    color: white;
    transition: 0.5s;
    transform: scale(1.02);
}

.hero .hero-text h2 {
    display: inline-block;
    margin: 0;
    height: 35px;
    color: #ffffff;
    font-size: 35px;
    font-weight: 600;
}

.hero .hero-text .typed-text {
    display: none;
}

.hero .hero-text .typed-cursor {
    font-size: 35px;
    font-weight: 300;
    color: #ffffff;
}

.hero .hero-btn .btn {
    margin-top: 35px;
    color: #6F47E4;
    background: #ffffff;
    box-shadow: inset 0 0 0 50px #ffffff;
    margin-bottom: 15px;
    transition: transform .7s ease-in-out;
    transform-style: preserve-3d;
}

.hero .hero-btn .btn:hover {
    color: #ffffff;
    background: transparent;
    box-shadow: inset 0 0 0 0 #ffffff;
    border-color: #ffffff;
    transform: scale(1.1);
    transition: 0.5s;
}

.hero .hero-btn .btn:first-child {
    margin-right: 10px;
}

@media (max-width: 1080px) {
    .hero {
        padding: 90px 0px 0px 60px;
    }

    .hero-video {
        width: 100%;
        object-fit: fill;
    }

    .hero .hero-content {
        padding: 0 15px;
    }

    .hero .hero-text p {
        font-size: 20px;
    }

    .hero .hero-text h1 {
        font-size: 6rem;
    }

    .hero .hero-text h2 {
        font-size: 25px;
        height: 25px;
    }

    .hero .hero-btn .btn {
        margin-top: 20px;
        padding: 12px 30px;
        letter-spacing: 1px;
        margin-bottom: 10px;
    }
}

@media (max-width: 981px) {
    .hero {
        padding: 50px 0px 0px 20px;
    }

    .hero .hero-text h1{
        font-size: 4rem;
    }
    
}

@media (max-width: 767.98px) {
    .hero {
        padding: 0;
        justify-content: center;
    }

    .hero-video{
        display: none;
    }

    .cursor {
        display:none;
    }

    .hero .hero-text {
        width: 100%;
        text-align: center;
        padding: 30px 10px 0px 10px;
    }

    .hero .hero-btn {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }

    .hero .hero-text p {
        font-size: 18px;
    }

    .hero .hero-text h1 {
        font-size: 50px;
    }

    .hero .hero-text h2 {
        font-size: 22px;
        height: 22px;
    }

    .hero .hero-btn .btn {
        letter-spacing: 1px;
    }

    .hero-image {
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: 75%;
    }
}

@media (max-width: 575.98px) {
    .hero {
        padding: 0;
        justify-content: center;
    }

    .hero .hero-text p {
        margin-top: 50px;
        font-size: 16px;
    }

    .hero .hero-text h1 {
        font-size: 50px;
    }

    .hero .hero-text h2 {
        font-size: 18px;
        height: 18px;
    }

    .hero .hero-btn .btn {
        padding: 8px 10px;
        letter-spacing: 0;
    }

    .hero-image {
        display: block;
        width: 100%;
        padding: 0;
        margin-bottom: 0;
    }
}


/*******************************/
/******* Section Header ********/
/*******************************/
.section-header {
    position: relative;
    margin-bottom: 45px;
}

.section-header p {
    display: inline-block;
    margin-bottom: 10px;
    position: relative;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    --s: 0.1em;
    /* the thickness of the line */
    --c: #6F47E4;
    /* the color */

    padding-bottom: var(--s);
    background:
        linear-gradient(90deg, var(--c) 50%, #000 0) calc(100% - var(--_p, 0%))/200% 100%,
        linear-gradient(var(--c) 0 0) 0% 100%/var(--_p, 0%) var(--s) no-repeat;
    -webkit-background-clip: text, padding-box;
    background-clip: text, padding-box;
    transition: 0.5s;
}

.section-header p:hover {
    --_p: 100%
}


.section-header h2 {
    margin: 0;
    position: relative;
    font-size: 45px;
    font-weight: 700;
    background-image: linear-gradient(-225deg,
            #6F47E4 0%,
            #44107a 29%,
            #38217e 67%,
            #6F47E4 100%);
    background-size: auto auto;
    background-clip: border-box;
    background-size: 200% auto;
    color: #fff;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textclip 10s linear infinite;
    margin-bottom: 0px;
}

@keyframes textclip {
    to {
        background-position: 200% center;
    }
}

@media (max-width: 767.98px) {
    .section-header h2 {
        font-size: 30px;
    }
}


/*******************************/
/********** About CSS **********/
/*******************************/
.about {
    position: relative;
    width: 100%;
    border-radius: 25px;
}

.card {
    border-radius: 20px;
    box-shadow: 0 0 60px rgba(0, 0, 0, .08);
    padding: 20px;
}

.about .col-lg-6 {
    padding: 0;
}

.about .section-header {
    margin-bottom: 15px;
}

.about .about-img {
    position: relative;
    height: 100%;
    border-radius: 15px;
    transition: transform .7s ease-in-out;
}

.about .about-img:hover {
    transform: scale(1.05);
}

.about .about-img img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: 0.5s;
}



@media (max-width: 767.98px) {
    .about {
        justify-content: center;
    }

    .about .about-img img {
        display: none;
    }
}

.about .about-content {
    padding: 0 60px;
}

.about .about-text p {
    font-size: 16px;
}

.about .about-text a.btn {
    margin-top: 15px;
}

@media (max-width: 991.98px) {
    .about .about-content {
        padding: 15px 15px 0 15px;
    }
}


/*******************************/
/******* education CSS ********/
/*******************************/
.education {
    position: relative;
    padding: 45px 0 15px 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background: linear-gradient(315deg, rgba(124, 68, 255, 0.7) 3%, rgba(60, 106, 206, 0.7) 38%, rgba(48, 58, 238, 0.7) 68%, rgba(148, 25, 255, 0.7) 98%);
    animation: gradient 15s ease infinite;
    background-size: 300% 300%;
    background-attachment: fixed;
    color: #ffffff;
}

.education h3 {
    margin: 0;
    position: relative;
    font-size: 45px;
    font-weight: 700;
    background-image: linear-gradient(-225deg,
            #ffffff 0%,
            #e7d3ff 29%,
            #cfbfff 67%,
            #ffffff 100%);
    background-size: auto auto;
    background-clip: border-box;
    background-size: 200% auto;
    color: #fff;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textclip 10s linear infinite;
}

.education p {
    display: inline-block;
    margin-bottom: 10px;
    position: relative;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    --s: 0.1em;
    /* the thickness of the line */
    --c: #ffffff;
    /* the color */

    padding-bottom: var(--s);
    background:
        linear-gradient(90deg, var(--c) 50%, #ffffff 0) calc(100% - var(--_p, 0%))/200% 100%,
        linear-gradient(var(--c) 0 0) 0% 100%/var(--_p, 0%) var(--s) no-repeat;
    -webkit-background-clip: text, padding-box;
    background-clip: text, padding-box;
    transition: 0.5s;
}

.education p:hover {
    --_p: 100%
}

.education img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: 10px 0 0 10px;
    box-shadow: 0 0 60px rgba(0, 0, 0, .08);
    ;
}

.education h4 {
    padding-bottom: 8px;
}

.education .timeline {
    position: relative;
    width: 100%;
}

.education .timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: #ffffff;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.education .timeline .timeline-item {
    position: relative;
    background: inherit;
    width: 50%;
    margin-bottom: 30px;
    padding: 0;
}

.education .timeline .timeline-item.left {
    left: 0;
    padding-right: 30px;
}

.education .timeline .timeline-item.right {
    left: 50%;
    padding-left: 30px;
}

.education .timeline .timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 48px;
    right: -8px;
    background: #DBE1FB;
    border: 2px solid #6F47E4;
    border-radius: 16px;
    z-index: 1;
}

.education .timeline .timeline-item.right::after {
    left: -8px;
}

.education .timeline .timeline-item::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    top: 46px;
    right: 10px;
    z-index: 1;
    border: 10px solid;
    border-color: transparent transparent transparent #ffffff;
}

.education .timeline .timeline-item.right::before {
    left: 10px;
    border-color: transparent #ffffff transparent transparent;
}

.education .timeline .timeline-date {
    position: absolute;
    width: 100%;
    top: 44px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 1;
}

.education .timeline .timeline-item.left .timeline-date {
    text-align: left;
    left: calc(100% + 55px);
}

.education .timeline .timeline-item.right .timeline-date {
    text-align: right;
    right: calc(100% + 55px);
}

.education .timeline .timeline-text {
    padding: 0px;
    background: #DBE1FB;
    position: relative;
    border-right: 5px solid #ffffff;
    box-shadow: 0 0 60px rgba(0, 0, 0, .08);
    border-radius: 20px;
}

.education .timeline .timeline-item.right .timeline-text {
    border-right: none;
    border-left: 5px solid #ffffff;
}

.education .timeline .timeline-text h2 {
    margin-top: 10px;
    font-size: 22px;
    font-weight: 600;
}

.education .timeline .timeline-text h4 {
    margin: 0;
    font-size: 16px;
    font-style: italic;
    font-weight: 400;
}

@media (max-width: 767.98px) {
    .education img {
        border-radius: 10px;
    }

    .education .timeline::after {
        left: 8px;
    }

    .education .timeline .timeline-item {
        width: 100%;
        padding-left: 38px;
    }

    .education .timeline .timeline-item.left {
        padding-right: 0;
    }

    .education .timeline .timeline-item.right {
        left: 0%;
        padding-left: 38px;
    }

    .education .timeline .timeline-item.left::after,
    .education .timeline .timeline-item.right::after {
        left: 0;
    }

    .education .timeline .timeline-item.left::before,
    .education .timeline .timeline-item.right::before {
        left: 18px;
        border-color: transparent #ffffff transparent transparent;
    }

    .education .timeline .timeline-item.left .timeline-date,
    .education .timeline .timeline-item.right .timeline-date {
        position: relative;
        top: 0;
        right: auto;
        left: 0;
        text-align: left;
        margin-bottom: 10px;
        color: #44107a;
    }

    .education .timeline .timeline-item.left .timeline-text,
    .education .timeline .timeline-item.right .timeline-text {
        border-right: none;
        border-left: 5px solid #ffffff;
        padding: 20px;
    }
}


/*******************************/
/********* skill CSS *********/
/*******************************/
.skill {
    position: relative;
    width: 100%;
    padding: 45px 0 15px 0;
    margin-top: 40px;
    box-shadow: 0 0 60px rgba(0, 0, 0, .08);
    background: white;
}

.skill .skill-item {
    position: relative;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    box-shadow: inset 0 0 0 0 transparent;
    transition: ease-out 0.5s;
    border-radius: 20px;
}

.skill p {
    background-color: none;
}

.skill .skill-item:hover {
    border-radius: 20px;
    box-shadow: inset 800px 0 0 0 #6F47E4;
    transform: scale(1.05);
}

.skill .skill-icon {
    position: relative;
    width: 150px;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #6F47E4;
    background: #ffffff;
    border-radius: 20px;
}

.skill .skill-icon i {
    position: relative;
    font-size: 60px;
    color: #6F47E4;
    transition: .3s;
}

.skill .skill-item:hover i {
    font-size: 75px;
}

.skill .skill-text {
    position: relative;
    width: calc(100% - 120px);
    padding: 0 30px;
}

.skill .skill-text h3 {
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 600;
    transition: 1s;
}

.skill .skill-text p {
    margin: 0;
    font-size: 16px;
    transition: 1s;
}

.skill .skill-item:hover .skill-text h3,
.skill .skill-item:hover .skill-text p {
    color: #ffffff;
    transition: 0.1s;
}

@media (max-width: 575.98px) {
    .skill .skill-text h3 {
        font-size: 16px;
        margin-bottom: 5px;
    }

    .skill .skill-text p {
        font-size: 14px;
    }
}


/*******************************/
/******** project CSS ********/
/*******************************/
.project {
    position: relative;
    background: white;
    padding: 45px 0 15px 0;
    box-shadow: 0 0 60px rgba(0, 0, 0, .08);
}

.project .project-item {
    position: relative;
}

.project .project-wrap {

    position: relative;
    width: 100%;
}

.project .project-img {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.project .project-img img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s;
}

.project .project-item:hover img {
    transform: scale(1.05);
}

.project .project-text {
    position: relative;
    height: 60px;
    margin: -30px 0px 30px 0px;
    padding: 0px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    box-shadow: 0 0 15px rgba(0, 0, 0, .12);
    border-radius: 0px 0px 20px 20px;
}

.project .project-text h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 0 15px;
    white-space: nowrap;
    overflow: hidden;
}

.project .project-text a.btn {
    width: 50px;
    height: 50px;
    padding: 0 0 2px 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 45px;
    font-weight: 100;
}

.project .project-item:hover a.btn {
    color: #6F47E4;
    background: transparent;
    box-shadow: inset 0 0 0 0 #6F47E4;
    border-color: #6F47E4;
}

/*******************************/
/********* Contact CSS *********/
/*******************************/
.contact {
    position: relative;
    width: 100%;
    margin: 0;
    position: relative;
    padding: 25px 0 0 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background: linear-gradient(315deg, rgba(124, 68, 255, 0.7) 3%, rgba(60, 106, 206, 0.7) 38%, rgba(48, 58, 238, 0.7) 68%, rgba(148, 25, 255, 0.7) 98%);
    animation: gradient 15s ease infinite;
    background-size: 300% 300%;
    background-attachment: fixed;
    color: #ffffff;
    z-index: 1;
    overflow: hidden;
}

.contact .container-fluid {
    background: url(../img/contact.png) left center no-repeat;
    background-size: contain;
    border-radius: 25px;
    z-index: 1;
}

.contact .contact-form {
    position: relative;
    padding: 90px 0 90px 45px;
    z-index: 2;
}

.contact .contact-form input {
    color: #ffffff;
    padding: 15px 0;
    background: none;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid rgba(256, 256, 256, .5);
}

.contact .contact-form textarea {
    color: #ffffff;
    height: 90px;
    padding: 15px 0;
    background: none;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid rgba(256, 256, 256, .5);
}

.contact .contact-form .form-control::placeholder {
    color: #ffffff;
    opacity: 1;
}

.contact .contact-form .form-control:-ms-input-placeholder,
.contact .contact-form .form-control::-ms-input-placeholder {
    color: #ffffff;
}

.contact .contact-form .btn {
    margin-top: 35px;
    color: #6F47E4;
    background: #ffffff;
    box-shadow: inset 0 0 0 50px #ffffff;
}

.contact .contact-form .btn:hover {
    color: #ffffff;
    background: transparent;
    box-shadow: inset 0 0 0 0 #ffffff;
    border-color: #ffffff;
}

.contact .help-block ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 14px;
    font-style: italic;
    color: #ffffff;
}

@media (max-width: 767.98px) {
    .contact .container-fluid {
        background: none;
    }

    .contact .contact-form {
        padding: 90px 0;
    }
}

.blobform {
    position: absolute;
    margin: -250px 180px;
    width: 500px;
    height: 500px;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.42) 31.77%,
            #DBE1FB 100%);
    mix-blend-mode: color-dodge;
    -webkit-animation: move1 25s infinite alternate;
    animation: move1 25s infinite alternate;
    transition: 1s cubic-bezier(0.07, 0.8, 0.16, 1);
    z-index: -2;
}

@-webkit-keyframes move1 {
    from {
        transform: translate(-100px, -180px) rotate(-90deg);
        border-radius: 24% 76% 35% 65% / 27% 36% 64% 73%;
    }

    to {
        transform: translate(-150px, -200px) rotate(-10deg);
        border-radius: 76% 24% 33% 67% / 68% 55% 45% 32%;
    }
}

@keyframes move1 {
    from {
        transform: translate(-100px, -180px) rotate(-90deg);
        border-radius: 24% 76% 35% 65% / 27% 36% 64% 73%;
    }

    to {
        transform: translate(-150px, -200px) rotate(-10deg);
        border-radius: 76% 24% 33% 67% / 68% 55% 45% 32%;
    }
}


/*******************************/
/********* Footer CSS **********/
/*******************************/
.footer {
    position: relative;
    background: #6F47E4;
}

.footer .container-fluid {
    padding: 60px 0 0 0;
}

.footer .footer-info {
    position: relative;
    width: 100%;
    text-align: center;
}

.footer .footer-info h2 {
    margin-bottom: 20px;
    font-size: 30px;
    font-weight: 700;
    color: #ffffff;
}

.footer .footer-info h3 {
    margin-bottom: 25px;
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
}

.footer .footer-menu {
    width: 100%;
    display: flex;
    justify-content: center;
}

.footer .footer-menu p {
    color: #ffffff;
    font-size: 22px;
    font-weight: 600;
    line-height: 20px;
    padding: 0 15px;
    border-right: 1px solid #ffffff;
}

.footer .footer-menu p:last-child {
    border: none;
}

.footer .footer-social {
    position: relative;
    margin-top: 15px;
}

.footer .footer-social a {
    display: inline-block;
}

.footer .footer-social a i {
    margin-right: 15px;
    font-size: 20px;
    color: #ffffff;
    transition: .3s;
}

.footer .footer-social a:last-child i {
    margin: 0;
}

.footer .footer-social a:hover i {
    color: #414141;
}

.footer .copyright {
    position: relative;
    text-align: center;
    padding-top: 25px;
    padding-bottom: 25px;
}

.footer .copyright::before {
    position: absolute;
    content: "";
    width: 50%;
    height: 1px;
    top: 0;
    left: 25%;
    background: rgba(256, 256, 256, .2);
}

.footer .copyright p {
    margin: 0;
    color: #ffffff;
}

.footer .copyright .col-md-6:last-child p {
    text-align: right;
}

.footer .copyright p a {
    color: #ffffff;
    font-weight: 600;
}

.footer .copyright p a:hover {
    color: #414141;
}

@media (max-width: 575.98px) {
    .footer .footer-info h2 {
        margin-bottom: 20px;
        font-size: 20px;
        font-weight: 600;
    }

    .footer .footer-info h3 {
        margin-bottom: 20px;
        font-size: 16px;
    }

    .footer .footer-menu p {
        font-size: 16px;
        line-height: 16px;
        padding: 0 5px;
    }
}

/*******************************/
/********Project Page***********/
/*******************************/
.project-wrapper {
    display: block;
    position: relative;
    width: 100%;
    margin: 0;
    scroll-snap-type: y mandatory;
}

section {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    margin: 0;
    padding: 50px;
    color: white;
}

.project-title {
    text-align: center;
    position: relative;
    color: white;
}

.project-td {
    text-align: center;
    position: relative;
    color: white;
}

@media (max-width: 610px) {
    section {
        padding-top: 20px;
        padding: 20px;
    }
    .cineseeker{
        padding-top: 20px;
        overflow: hidden;
    }

    section h1 {
        margin-top: 0;
    }
    .cineseeker .red {
        font-size: 50px;
        margin-top: 0;
    }

    .emarket h1 {
        font-size: 50px;
    }
    .pianoenthalpy {
        padding: 20px;
    }

    .pianoenthalpy h1{
        font-size: 50px;
    }
}

section img {
    border-radius: 25px;
}

.red {
    color: red;
}

.light {
    font-weight: 300;
}

section h1 {
    margin-top: 20px;
    font-size: 80px;
    font-weight: 700;
}

.emarket {
    background-position: center;
    background-repeat: repeat;
    background-size: cover;
    background: linear-gradient(315deg, rgba(124, 68, 255, 0.7) 3%, rgba(60, 106, 206, 0.7) 38%, rgba(48, 58, 238, 0.7) 68%, rgba(148, 25, 255, 0.7) 98%);
    animation: move2 60s linear infinite;
    background-attachment: fixed;
    background-image: url('../img/emarket-bg.png');
    background-size: contain;
}

@keyframes move2 {
    0% {
        background-position: 0px;
    }

    100% {
        background-position: 500px;
    }
}

.emarket img {
    width: 100%;
}

@media (min-width:961px) { 
    .cineseeker {
        padding-top: 80px;
    }   
}

.cineseeker {
    background-color: #111111;
}

.cineseeker img {
    width: 100%;
}

.cineseeker iframe {
    border-radius: 20px;
    width: 100%;
}

.pianoenthalpy {
    background: black;
    display: flex;
    justify-content: center;
    flex-shrink: 0;
    color: white;
}

.pianoenthalpy h1 {
    color: white;
}

.pianoenthalpy h1:hover {
    font-style: italic;
    animation: shakeText 0.5s ease infinite;
}



@keyframes shakeText {

    0%,
    100% {
        transform: translateX(0);
    }

    25%,
    75% {
        transform: translateX(-5px);
    }

    50% {
        transform: translateX(5px);
    }
}

.piano img {
    width: 100%;
}

.piano-project{
    margin-top: 20px;
}

.button-row {
    display: flex;
    justify-content: center;
}
#btn3{
    
    margin: 10px 20px;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    color: black;
    background: white;
    border: 2px solid transparent;
    border-radius: 0;
    box-shadow: inset 0 0 0 50px white;
    transition: ease-out 0.3s;
    -webkit-transition: ease-out 0.3s;
    -moz-transition: ease-out 0.3s;
    border-radius: 15px;

}

#btn3:hover {
    color: white;
    background: transparent;
    box-shadow: inset 0 0 0 0 white;
    border-color: white;
    transform: scale(1.05);
}

.project-btn {
    margin: 10px 20px;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    color: white;
    background: maroon;
    border: 2px solid transparent;
    border-radius: 0;
    box-shadow: inset 0 0 0 50px maroon;
    transition: ease-out 0.3s;
    -webkit-transition: ease-out 0.3s;
    -moz-transition: ease-out 0.3s;
    border-radius: 15px;
}

.project-btn:hover {
    color: red;
    background: transparent;
    box-shadow: inset 0 0 0 0 red;
    border-color: red;
    transform: scale(1.05);
}

.project-btn.active {
    margin: 10px 20px;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #ffffff;
    background: white;
    border: 2px solid transparent;
    border-radius: 0;
    box-shadow: inset 0 0 0 50px red;
    transition: ease-out 0.3s;
    -webkit-transition: ease-out 0.3s;
    -moz-transition: ease-out 0.3s;
    border-radius: 15px;
}

.project-btn.active:hover {
    color: red;
    background: transparent;
    box-shadow: inset 0 0 0 0 red;
    border-color: red;
    transform: scale(1.05);
}


.blob {
    width: 500px;
    height: 500px;
    margin-left: -1000px;
    margin-top: -400px;
    background: linear-gradient(45deg, red, blueviolet);
    border-radius: 50%;
    position: absolute;
    animation: moveBlob 10s infinite alternate ease-in-out;
    filter: blur(60px);
    z-index: 0;
    opacity: 50%;
}

@keyframes moveBlob {
    0% {
        transform: translateY(0) translateX(0);
    }

    100% {
        transform: translateY(200px) translateX(200px);
    }
}

.project-footer {
    position: relative;
    background-color: #1B2B6D;
}

.project-footer .container-fluid {
    padding: 60px 0 0 0;
}

.project-footer .copyright {
    position: relative;
    text-align: center;
    padding-top: 25px;
    padding-bottom: 25px;
}

.project-footer .copyright p {
    margin: 0;
    color: #ffffff;
}

.project-footer .copyright .col-md-6:last-child p {
    text-align: right;
}

.project-footer .copyright p a {
    color: #ffffff;
    font-weight: 600;
}

.project-footer .copyright p a:hover {
    color: #7FFFFF;
}

/*Slides Show*/
.slideshow-container {
    max-width: 600px;
    position: relative;
    margin: auto;
    width: fit-content;
}

.mySlides {
    display: none;
    width: 100%;
    animation: opacity 1s ease;
}


.piano-img {
    padding-top: 24px;
    height: 80vh;
    border: 3px solid white;
}

.pianoenthalpy-logo {
    width: 100%;
    max-width: max-content;
}

.piano-images {
    display: flex;
    justify-content: center; /* centers horizontally */
    align-items: center;     /* centers vertically if needed */
    flex-direction: column;  /* keeps bars below images */
    text-align: center;
}

@keyframes opacity {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Navigation dots style */
.bar-container {
    text-align: center;
    margin-top: 0;
    width: auto;
}

.bar {
    height: 5px;
    width: 32%;
    background-color: #bbb;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.6s ease;
    margin: 0;
}

.active-bar {
    background-color: red;
}

.bar:hover {
    height: 10px;
    transition: 0.6s ease;
    background-color: red;
    transform: scale(1.05);
}
