* {
    box-sizing: border-box;
    font-family:
        "Poppins",
        system-ui,
        -apple-system,
        "Segoe UI",
        Roboto,
        "Helvetica Neue",
        "Noto Sans",
        "Liberation Sans",
        Arial,
        sans-serif,
        "Apple Color Emoji",
        "Segoe UI Emoji",
        "Segoe UI Symbol",
        "Noto Color Emoji";
    line-height: 1.6;
}

body {
    z-index: 1;
    font-size: 16px;
    outline: 0;
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
    background-color: #fff;
    color: black;
}

.loaderWrapper {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 2000;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeLoader 0.6s 1s ease forwards;
}

.loader {
    display: flex;
    flex-direction: row;
    align-items: center;
    z-index: 1999;
}

.loader .bar {
    width: 10px;
    height: 5px;
    background: #000000;
    margin: 2px;
    animation: bar 1s infinite linear;
}

.loader .bar:nth-child(1) {
    animation-delay: 0s;
}

.loader .bar:nth-child(2) {
    animation-delay: 0.25s;
}

.loader .bar:nth-child(3) {
    animation-delay: 0.5s;
}

@keyframes bar {
    0% {
        transform: scaleY(1) scaleX(0.5);
    }

    50% {
        transform: scaleY(10) scaleX(1);
    }

    100% {
        transform: scaleY(1) scaleX(0.5);
    }
}

@keyframes fadeLoader {
    to {
        opacity: 0;
    }
}

/**/
header {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 1000;
    /*High z-index to be above everything, so that hover works*/
}

nav {
    position: relative;
    background-color: transparent;
    border-bottom: 0;
    padding-top: 1rem;
    padding-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-right: calc(1.5rem * 0.5);
    padding-left: calc(1.5rem * 0.5);
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

.nav-item.dropdown {
    height: 4.5rem;
    display: flex;
    align-items: center;
}

/* HERO */
#hero {
    background-image: linear-gradient(180deg,
            rgba(255, 255, 255, 0.01),
            #fff 85%),
        radial-gradient(ellipse at top left,
            rgba(98, 87, 255, 0.3),
            transparent 50%),
        radial-gradient(ellipse at top right,
            rgba(212, 25, 174, 0.25),
            transparent 50%),
        radial-gradient(ellipse at center right,
            rgba(125, 66, 193, 0.25),
            transparent 50%),
        radial-gradient(ellipse at center left,
            rgba(212, 25, 174, 0.25),
            transparent 50%);
    position: relative;
}

.container {
    position: relative;
    width: 100%;
    padding-right: calc(1.5rem * 0.5);
    padding-left: calc(1.5rem * 0.5);
    margin-right: auto;
    margin-left: auto;
}

.container>.row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    height: 100vh;
    /* margin-top: calc(-1* 1.5rem); */
    margin-right: calc(-0.5 * 1.5rem);
    margin-left: calc(-0.5 * 1.5rem);
}

.row>* {
    margin-inline: auto;
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-inline: calc(1.5rem * 0.5);
    margin-top: 0;
}

.inline-flex {
    display: inline-flex;
}

.inline-flex>div>h1,
.inline-flex>div>h2,
.inline-flex>div>p {
    position: relative;
    transition: all 0.6s;
    z-index: 2;
    margin-block: 0 !important;
    font-size: calc(1.625rem + 4.5vw);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.022rem;
    color: rgb(22, 20, 47);
}

.inline-flex>div>h1>small {
    letter-spacing: 1px;
    font-weight: 400;
    font-size: calc(1.275rem + 0.3vw);
}

.arrow-container {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
}

.scroll {
    position: relative;
    margin: auto;
    text-align: center;
    height: 50px;
    overflow: hidden;
}

.scroll__line {
    position: absolute;
    top: 0;
    left: 50%;
    display: block;
    width: 1px;
    height: 100%;
    z-index: 10;
    background-color: rgb(22, 20, 47);
    animation: scroll 2.4s infinite normal;
    transform: translateY(-50%);
}

html[data-bs-theme="dark"] .scroll__line {
    background-color: #fff;
}

.scroll__arrow {
    display: block;
    position: relative;
    z-index: 111;
    padding-left: 1px;
    top: -13px;
    text-align: center;
}

html[data-bs-theme="light"] .scroll__arrow svg g g {
    stroke: rgb(22, 20, 47);
}

@keyframes scroll {
    0% {
        transform: translate3d(0, -100%, 0);
    }

    15% {
        transform: translate3d(0, -95%, 0);
    }

    85% {
        transform: translate3d(0, 95%, 0);
    }

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

.navbar-brand-dark {
    display: none;
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    overflow-clip-margin: 0;
    overflow: clip;
}

html[data-bs-theme="dark"] .navbar-brand-dark {
    display: block;
}

html[data-bs-theme="dark"] .navbar-brand-light {
    display: none;
}

.navbar-brand-light {
    display: block;
    max-width: 100%;
    height: auto;
    overflow-clip-margin: 0;
    overflow: clip;
}

/* PORTFOLIO */
.portfolio-wrapper {
    margin-bottom: 3rem;
    display: flex;
    flex-wrap: wrap;
    margin-right: calc(-0.5 * 1.5rem);
    margin-left: calc(-0.5 * 1.5rem);
}

@media (min-width: 992px) {
    .portfolio-content {
        flex: 0 0 auto;
        width: 50%;
    }
}

.portfolio-heading {
    font-size: calc(1.5rem + 3vw);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.022rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 1200px) {
    .portfolio-heading {
        font-size: 3.75;
    }
}

.portfolio-description {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 300;
}

/* css for
<div class="portfolio-item">
    <div class="portfolio-item-content">
        <div class="portfolio-item-image">
            <img
                src="assets/images/portfolio/4.webp"
                alt="Project 4"
            />
        </div>
        <div class="portfolio-item-text">
            <h3 class="portfolio-item-title">Project 4</h3>
            <p class="portfolio-item-description">
                This is a description of the project. It is
                a very interesting project that I am very
                proud of.
            </p>
            <a href="#" class="portfolio-item-link"
                >View Project</a
            >
        </div>
    </div>
</div>
*/

.portfolio-item {
    flex: 0 0 auto;
    width: 100%;
    padding-right: calc(1.5rem * 0.5);
    padding-left: calc(1.5rem * 0.5);
    margin-bottom: 3rem;
}

@media (min-width: 576px) {
    .portfolio-item {
        flex: 0 0 auto;
        width: 50%;
    }
}

@media (min-width: 992px) {
    .portfolio-item {
        flex: 0 0 auto;
        width: 33.333333%;
    }
}

.portfolio-item-content {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: 0 0 1.5rem 0 rgba(22, 20, 47, 0.1);
}

.portfolio-item-image {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem 0.5rem 0 0;
}

.portfolio-item-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0.5rem 0.5rem 0 0;
}

.portfolio-item-text {
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 0 0 0.5rem 0.5rem;
}

.portfolio-item-title {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.022rem;
    margin-bottom: 1rem;
}

.portfolio-item-description {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 300;
}

.portfolio-item-link {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    color: #6c63ff;
    transition: color 0.15s ease-in-out;
}

.portfolio-item-link:hover {
    color: #554dff;
}


.project-row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.project-col {
    position: relative;
    max-width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    flex: 0 0 50%;
    max-width: 50%;
    margin-bottom: 30px;
}

@media (min-width: 576px) {
    .project-col {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

.project-card {
    display: block;
    color: inherit;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.project-image-container {
    background-color: #007bff;
    overflow: hidden;
}

.project-image {
    width: 100%;
    vertical-align: middle;
    transition: transform .5s ease;
}

.project-card:hover .project-image {
    transform: scale(1.2);
}

.project-info {
    padding: 1.25rem;
}

.project-details {
    list-style: none;
    margin-bottom: 0;
    padding-left: 0;
}

.project-title {
    font-size: 1.25rem;
    margin-bottom: .25rem;
}

.project-subtitle {
    color: #6c757d;
}

footer {
    background-color: #fff;
    position: relative;
}

footer>.container {
    padding-block: 4rem;
}

@media (min-width: 992px) {
    footer>.container {
        padding-block: 6rem;
    }
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
    margin-right: calc(-.5 * 1.5rem);
    margin-left: calc(-.5 * 1.5rem);
}

footer>div.container>div.footer-row>div.footer-col:first-child {
    height: 100%;
    flex: 0 0 auto;
    width: 100%;
    margin-right: auto;
    margin-bottom: 3rem;
    -moz-osx-font-smoothing: grayscale;
}

@media (min-width: 768px) {
    footer>div.container>div.footer-row>div.footer-col:first-child {
        flex: 0 0 auto;
        width: 58.333333%;
        margin-bottom: 0;
    }
}

.footer-heading {
    letter-spacing: -0.022rem;
    font-weight: 600;
    line-height: 1.2;
    font-size: calc(1.5rem + 3vw);
    position: relative;
    margin-bottom: 1.5rem;
    margin-top: 0;
    text-align: start;
}

@media (min-width: 1200px) {
    .footer-heading {
        font-size: 3.75rem;
    }
}

.footer-text {
    margin-bottom: 2rem;
    font-size: 1.25rem;
    font-weight: 300;
    margin-top: 0;

}

.footer-link-container {
    display: flex;
    align-items: center;
}

.footer-link {
    color: rgba(43, 40, 74, 1);
    /*255,255,255,1 in dark mode*/
    text-decoration: none;
    transition: all .2s ease-in-out;
    font-size: calc(1.3rem + .6vw);
    position: relative;
    display: inline-block;
}

@media (min-width: 1200px) {
    .footer-link {
        font-size: 1.75rem;
    }
}

.footer-link:hover {
    color: rgba(98, 87, 255, 1);
}

.footer-link::after {
    content: "";
    display: block;
    position: absolute;
    height: 1px;
    top: 100%;
    left: .05rem;
    right: .05rem;
    background: currentColor;
    transform-origin: 100% 50%;
    transform: scaleX(0);
    transition: transform .6s cubic-bezier(1, 0, 0, 1);
}

.footer-link:hover::after {
    transform: scaleX(1);
    transition-duration: .9s;
    transition-timing-function: cubic-bezier(.19, 1, .22, 1);
    transform-origin: 0 50%;
}

.footer-link>i {
    vertical-align: middle;
    line-height: 1;
    pointer-events: none;
    display: inline-block;
    transition: all .25s;
}

.footer-link:hover>i {
    transform: rotate(-45deg);
}

@media (min-width: 768px) {
    footer .footer-col:nth-child(2) {
        flex: 0 0 auto;
        width: 41.666667%;
        margin-right: auto;
    }
}

.footer-social-links {
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: space-between;
}

.footer-social-link-item {
    text-align: right;
    margin-bottom: 1rem;
}

.footer-social-link {
    color: rgba(43, 40, 74, 1);
    /*255,255,255,1 in dark mode*/
    text-decoration: none;
    transition: all .2s ease-in-out;
    position: relative;
    display: inline-block;
}

.footer-social-link:hover {
    color: rgba(98, 87, 255, 1);
}

.footer-social-link::after {
    content: "";
    display: block;
    position: absolute;
    height: 1px;
    top: 100%;
    left: .05em;
    right: .05em;
    background: currentColor;
    transform-origin: 100% 50%;
    transform: scaleX(0);
    transition: transform .6s cubic-bezier(1, 0, 0, 1);

}

.footer-social-link:hover::after {
    transform: scaleX(1);
    transition-duration: .9s;
    transition-timing-function: cubic-bezier(.19, 1, .22, 1);
    transform-origin: 0 50%;
}

.footer-copyright-text {
    color: rgba(43, 40, 74, 0.75);
    margin-bottom: 0;
    font-size: .875rem;
    margin-top: 0;
}

@media (min-width: 768px) {
    .footer-copyright-text {
        text-align: right;
    }
}

.footer-copyright-text>span {
    display: block;
}
