@font-face {
    font-family: 'Lufga';
    src: url('./font_manager/lufga-webfont/LufgaBlack.woff') format('woff');
    font-weight: 900;
    /* Black */
    font-style: normal;
}

@font-face {
    font-family: 'Lufga';
    src: url('./font_manager/lufga-webfont/LufgaExtraBold.woff') format('woff');
    font-weight: 800;
    /* Extra Bold */
    font-style: normal;
}

@font-face {
    font-family: 'Lufga';
    src: url('./font_manager/lufga-webfont/LufgaBold.woff') format('woff');
    font-weight: 700;
    /* Bold */
    font-style: normal;
}

@font-face {
    font-family: 'Lufga';
    src: url('./font_manager/lufga-webfont/LufgaSemiBold.woff') format('woff');
    font-weight: 600;
    /* Semi Bold */
    font-style: normal;
}

@font-face {
    font-family: 'Lufga';
    src: url('./font_manager/lufga-webfont/LufgaMedium.woff') format('woff');
    font-weight: 300;
    /* Semi Bold */
    font-style: normal;
}

@font-face {
    font-family: 'Lufga';
    src: url('./font_manager/lufga-webfont/LufgaRegular.woff') format('woff');
    font-weight: 200;
    /* Semi Bold */
    font-style: normal;
}


/* Global colors and font family */
:root {
    --primary-color: indianred;
    --hover-color: rgb(154, 30, 30);
    --link-color: #0A2941;
    --link-hover-border-color: rgb(202, 163, 163);
    --box-shadow-color-light: #D1D9E6;
    --box-shadow-color-dark: #ffffff;
    --linear-gradient-start: #e2e8ec;
    --linear-gradient-end: #ffffff;
    --border-color: rgb(209, 209, 209);
    --font-family: 'IBM Plex Sans', sans-serif;
    --font-family-helvetica: 'Lufga';
}

body {
    font-family: var(--font-family);
    margin: 5rem auto 0 auto;
}

#scrollToTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    box-shadow: 5px 5px 15px var(--color-shadow-light), -5px -5px 15px var(--color-shadow-dark);
    background: linear-gradient(200deg, #e2e8ec, #ffffff);
    color: black;
    border: none;
    padding: 12px 16px;
    border-radius: 50%;
    font-size: 23px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    display: none;
    z-index: 1000;
    transition: opacity 0.3s ease;
    height: 58px;
}

#scrollToTopBtn:hover {
    background: linear-gradient(to right, #6f86ff, #b372ce 49%, #ff7586);
    color: white;
}



.casestudy-wrapper {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 2rem;
    box-shadow: 1px 1px 5px var(--color-shadow-light), -1px -1px 5px var(--color-shadow-dark);
    background: linear-gradient(145deg, #f8fcff, #ffffff);
}

.togathr-header {
    /* background-image: url(./images/project-images/togathr_bg.png);
    background-size: cover; */
    background-color: #e2cdff;
    /* background: linear-gradient(to right, rgba(0, 219, 138, 1) 0%, rgba(255, 255, 255, 0.3) 36%, rgba(153, 153, 153, 1) 100%); */
}

.store-spy-header {
    background-color: #d4d5fda7;
}

.safemilo-header {
    background: linear-gradient(to right, #1B2D40 0%, #4A3439 100%);
}

.header-wrapper {
    display: flex;
    flex-flow: row;
    align-items: center;
    max-width: 1000px;
    margin: auto;
    padding: 2rem 0;
    gap: 3rem;
}

.auto-scroll-wrapper {
    display: flex;
    gap: 20px;
    overflow: hidden;
    height: 500px;
    /* adjust height as needed */
}

.auto-scroll-column {
    display: flex;
    flex-direction: column;
    animation: scrollUp 20s linear infinite;
}

.auto-scroll-column.auto-scroll-down {
    display: flex;
    flex-direction: column;
    animation: scrollDown 20s linear infinite;
}

.auto-scroll-column:hover {
    animation-play-state: paused;
    /* optional: pause on hover */
}

.bounce-container {
    margin-bottom: 20px;
}

.bounce-image {
    width: 100%;
    /* or a fixed width like 200px */
    display: block;
}

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

    100% {
        transform: translateY(-100%);
    }
}

@keyframes scrollDown {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(0%);
    }
}


.togathr_logo {
    max-width: 200px;
}


.bounce-container {
    display: inline-block;
}

.bounce-image {
    /* max-width: 500px; */
    animation: bounce 2s ease-in-out infinite;
    /* padding-left: 3rem; */
    margin: auto;
}

.store-spy-img img {
    max-width: 700px;
}

#storespy-wrapper .togathr h2 {
    font-size: clamp(1.5rem, 5vw, 2.4rem);
}

/* 
#storespy-wrapper .top-nav,
#togathr .top-nav,
#irctc-wrapper .top-nav {
    padding: 1rem 2rem;
} */

@keyframes bounce {

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

    50% {
        transform: translateY(-10px);
    }
}

a {
    text-decoration: none;
}

h3 {
    font-size: clamp(0.9rem, 5vw, 1.2rem);
    margin: 0.4rem 0;
    font-weight: 500;
}

/* .storespy h2 {
    padding-left: 2rem;
    font-size: 2rem;
} */

.comp-ana-title {
    margin: 0;
}

.nav-bar ul {
    display: flex;
    flex-wrap: wrap;
    margin: 1.5rem 0 1rem 0;
    justify-content: right;
}

.nav-bar ul li {
    list-style: none;
    border-right: 2px solid var(--border-color);
    padding: 0 1.2rem;
}

.nav-bar ul li:first-of-type {
    padding-left: 0;
}

.nav-bar ul li:last-of-type {
    border-right: unset;
}

/* .nav-bar ul li a {
    font-weight: 400;
    color: var(--hover-color);
}

.nav-bar ul li a:hover {
    font-weight: 600;
    color: var(--hover-color);
} */

div.nav-bar {
    position: sticky;
    top: 0;
    padding: 5px;
    z-index: 1000;
}

.back-btn,
.close-btn,
.woman-img {
    box-shadow: 5px 5px 15px var(--box-shadow-color-light), -5px -5px 15px var(--box-shadow-color-dark);
    background: linear-gradient(145deg, var(--linear-gradient-start), var(--linear-gradient-end));
}



.hero-content.togathr div {
    display: flex;
    gap: 1rem;
}



.back-btn,
.close-btn {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    margin-left: 3rem;
}

.close-btn {
    position: absolute;
    right: 1rem;
    top: 1rem;
}

.back-btn a,
.close-btn a {
    font-size: 1.5rem;
    text-align: center;
    display: block;
    color: black;
    padding: 7px;
}

.top-nav {
    display: flex;
    align-items: center;
    /* justify-content: right; */
    gap: 0;
}

#safemilo .top-nav ul {
    gap: 0;
}

.safemilo-div p {
    color: white;
    text-align: center;
}

.safemilo-header .header-wrapper,
.togathr-header .header-wrapper {
    display: flex;
    flex-flow: column;
    gap: 0;
}

.safemilo-header .header-wrapper .bounce-image,
.togathr-header img {
    max-width: 500px;
}


.safemilo-header .project-desc-btn,
.togathr-header .project-desc-btn {
    margin-top: 2rem;
    gap: 1rem;
}

.overview-details {
    display: flex;
    gap: 1rem;
    flex-flow: row wrap;
    margin: 1.3rem 0;
}

.overview-details div {
    background-color: #FFF0E5;
    border-radius: 20px;
    padding: 1.5rem;

    display: flex;
    flex-flow: column;
    /* justify-content: center; */
    flex-basis: 25%;
    flex-grow: 1;
}

.togathr-cs-wrapper .overview-details div {
    background-color: #00ffa22e;
}

.overview-details h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
}

.intro-wrapper .overview-details p {
    font-size: 0.9rem;
}

.overview-details .constraints ul li {
    list-style: none;
}

.safemilo-casestudy-wrapper div h2 {
    color: #F26622;
}

.storespy-cs-wrapper div h2 {
    color: #004799
}

.storespy-cs-wrapper {
    display: flex;
    flex-flow: column;
    gap: 2rem;
}

.design-process-img {
    margin: 1.4rem 0;
}

.my-color-palette {
    margin: 1.5rem 0;
}

.safemilo.logo img {
    max-width: 600px;
    margin: 1.5rem 0;
}

.mascot img {
    max-width: 400px;
}

.brand-color-content {
    grid-column: 2;
}

div.brand-colors {
    grid-template-columns: 1fr 1fr;
}

.brand-colors .logo {
    grid-row: 1;
}

.brand-colors .logo img {
    max-width: 400px;
}

.ui-design-content-1 .typography img {
    max-width: 300px;
}

.ui-design-content-1.typo {
    gap: 0;
}

.sm-pro-proposal {
    display: flex;
    flex-flow: row;
    gap: 0.7rem;
    align-items: center;
    margin: 1rem 0;
}

.sm-pro-proposal a {
    color: #0A2941;
    font-weight: 500;
}

h4 {
    font-weight: 600;
}

.intro-wrapper img {
    max-width: 60%;
    height: auto;
}

.key-chall-title h3 {
    margin-top: 1rem;
}

.safemilo-casestudy-wrapper {
    display: flex;
    flex-flow: column;
    gap: 2rem;
}

.togathr span {
    font-weight: 600;
}

#ux-research-parent,
#ux-design-parent,
#ui-design-parent,
#usability-report-parent,
#mark-mat-parent,
#key-chall-parent {
    scroll-margin-top: 90px;
}

.ux-research-wrapper .content-1 {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.woman-img {
    border-radius: 50%;
    width: 100%;
    height: 100%;
}

.woman-img img {
    max-width: 100%;
    max-height: 100%;
    padding: 1rem;
    border-radius: 50%;
}


.website {
    padding: 1rem 0 0 0;
    display: flex;
    gap: 1rem;
}

.website a:hover,
.ux-research-wrapper a:hover,
.ux-design-wrapper a:hover,
.ui-design-wrapper a:hover {
    font-weight: 600;
}


.ux-research-title h2,
.ux-design-title h2,
.ui-design-title h2,
.usability-report-title h2,
.key-chall-title h2,
.mark-mat-title h2 {
    font-size: clamp(1rem, 5vw, 1.3rem);
    color: #5e11c9;
    border-bottom: 2px solid #d9dee2;
    margin-bottom: 2rem;
    font-weight: 500;
    font-family: 'Lufga';
}

.nav-bar ul li a {
    font-family: 'Lufga';
    font-size: 1rem;
}

.ux-research-wrapper>div:first-of-type {
    display: flex;
    flex-flow: column;
    gap: 2rem;
}

.ux-research-wrapper {
    display: flex;
    flex-flow: column;
    gap: 1rem;
}

.content-2 ul,
.content-3 ul {
    margin-left: 3rem;
}

.content-2 ul li a,
.content-3 ul li a,
.ux-design-wrapper a,
.ui-design-wrapper a,
.website a {
    color: var(--link-color);
    font-weight: 600;
    border-bottom: 1px solid var(--link-hover-border-color);
}

.persona-images {
    display: flex;
    flex-flow: column;
    gap: 3rem;
    align-items: center;
}

.ux-research-wrapper #popup-usrint {
    background: linear-gradient(145deg, #fafcfd, var(--linear-gradient-end));
    box-shadow: 5px 5px 15px #d9dde4, -5px -5px 15px var(--box-shadow-color-dark);
}

.compana-content img {
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
}

#ux-design-parent {
    margin-top: 2rem;
}


.infor-archi img {
    width: 100%;
}




.infor-archi,
.logo,
.uikit,
.typo-color-palette,
.high-fid,
/* .usability-report-img, */
.wireframe,
.mark-mat-img,
.survey-usrint-wrapper img,
.paper-wireframe {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 1s ease-out, transform 1s ease-out;

}

.infor-archi.visible,
.logo.visible,
.uikit.visible,
.typo-color-palette.visible,
.high-fid.visible,
/* .usability-report-img.visible, */
.wireframe.visible,
.mark-mat-img.visible,
.survey-usrint-wrapper.visible img,
.paper-wireframe.visible {
    opacity: 1;
    transform: scale(1);
}

/* .intro-wrapper, */
.wireframe,
.logo,
.uikit,
.infor-archi,
.high-fid,
.usability-report-img,
.paper-wireframe {
    display: flex;
    justify-content: center;
}

.intro-wrapper {
    align-items: center;
    padding-top: 1rem;
}

.intro-wrapper p {
    font-weight: 400;
    /* font-style: italic; */
    font-size: clamp(0.5rem, 5vw, 1.2rem);
    /* padding-bottom: 2rem; */
}


.uikit img,
.usability-report-img img,
.paper-wireframe img {
    max-width: 100%;
    padding: 2rem 0;
}

.wireframe img,
.high-fid img {
    padding: 2rem 0;
    width: 90%;
}


.paper-wireframe img {
    max-width: 90%;
}

.mark-mat-img>img:first-of-type {
    max-width: 50%;
    height: 30%;
}

.mark-mat-img>img:last-of-type {
    max-width: 48%;
}

.mark-mat-img {
    display: flex;
    flex-flow: row;
    gap: 1rem;
    padding: 2rem 0;
}

.div.ur3 img,
.storespy .typo-color-palette img {
    max-width: 100%;
}

.figma-link {
    margin: 1rem 0 0 0;
}

.figma-link a {
    font-weight: 600;
}

/* .ur-wrapper {
    margin: 0 10rem;
    display: flex;
    flex-flow: column;
    justify-content: center;
} */

.ux-design-content-1 {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 1.5rem;
}



.ui-design-content-1 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: center;
}

.ux-design-content,
.ui-design-content {
    display: flex;
    flex-flow: column;
    gap: 3rem;
}


.typo-color-palette {
    display: flex;
    gap: 3rem;
    align-items: start;
    padding: 2rem 0;
}


.typo-color-palette img {
    max-width: 45%;
}



.pro-proposal a {
    color: var(--link-color);
    font-size: 1.2rem;
    font-weight: 500;
}

.pro-proposal {
    padding-top: 1rem;
}

.pro-proposal .fa-solid {
    padding: 0 0.7rem;
}


.storespy .usr-int-wrapper li {
    padding-top: 0.5rem;
}


.survey-usrint-wrapper img {
    padding-top: 1rem;
}

.storespy .ur1 img,
.storespy .ur2 img {
    max-width: 50%;
}

.irctc-design-wrapper {
    display: flex;
    flex-flow: row;
    align-items: center;
}

.irctc-body h3 {
    color: #752818;
    font-weight: 500;
    font-family: 'Lufga';
    font-size: clamp(1rem, 5vw, 1.3rem);
}

.irctc-body {
    background-color: #ffffff;
    margin-top: 7rem;
}

.irctc-main {
    display: flex;
    flex-flow: column;
    gap: 3rem;
    max-width: 1000px;
    margin: auto;
}

.project-info-wrapper {
    display: flex;
    flex-flow: row wrap;
    gap: 5rem;
}

.research-findings .quote {
    background-color: #FFF7F6;
    color: #752818;
    font-weight: 500;
    max-width: 800px;
    padding: 2rem;
    margin: 2rem auto;
    border-radius: 20px;
}

.irctc-main span {
    font-weight: 600;
}

.findings-wrapper,
.keytakeaway-wrapper,
.wrapping-up {
    display: flex;
    flex-flow: column;
    gap: 1.5rem;
}

.findings-wrapper div,
.keytakeaway-wrapper div,
.wrapping-up div {
    display: flex;
    flex-flow: column;
    gap: 0.5rem;
}

.user-int-img,
.existing-brand-img {
    padding-top: 2rem;
}

.reimagining-wrapper,
.logo-wrapper,
.color-palette {
    display: flex;
    flex-flow: row;
    gap: 3rem;
    align-items: center;
}

.reimagining-img img,
.color-palette-img img,
.logo-img img,
.typeface-img img {
    max-width: 450px;
}

.logo-img img,
.wireframe-wrapper img,
.components-wrapper img,
.highfed-wrapper img {
    padding-top: 1.4rem;
}

.typography-wrapper {
    background-color: #1E1F1F;
    padding: 0 1rem;

    display: flex;
    flex-flow: row;
    height: 55vh;
    align-items: center;

    border-radius: 20px;
}

.typography-wrapper h3,
.typography-wrapper p {
    color: #ffffff;
}


.type-section1 {
    display: flex;
    flex-flow: column;
    gap: 1rem;
}

.irctc_logo {
    max-width: 160px;
}

.togathr_compana {
    display: flex;
    flex-flow: column;
    align-items: center;
}

.togathr_compana img {
    padding: 2rem 0;
    max-width: 700px;
}

@media screen and (max-width: 1200px) {

    .project-info-wrapper,
    .reimagining-wrapper {
        flex-flow: column;
        gap: 0;
    }

    .reimagining-img img {
        padding-top: 1.5rem;
    }

    .irctc-main {
        padding: 0 2rem;
        gap: 2rem;
    }


    .irctc-design-wrapper {
        flex-flow: column;
        align-items: center;
    }


    .color-palette,
    .logo-wrapper {
        display: grid;
        grid-template-rows: repeat(2, 1fr);
        justify-items: center;
        gap: 0;
    }

    .train-img img {
        padding-top: 1rem;
    }

    .color-palette-img {
        grid-row: 2;
    }

    .typography-wrapper {

        flex-flow: column;
        height: 100vh;
        justify-content: center;
        gap: 2rem;
    }

    .nav-bar ul li {
        flex-basis: 100%;
        padding: 0;
        border: 0;
    }

    div.nav-bar {
        position: sticky;
        top: 0;
        padding: 3.5rem 0;
        z-index: 1000;
        opacity: 0.95;
    }

    .nav-bar ul {
        background: #ECF0F3;
    }

    /* body {
        margin: 7rem 1.5rem 1.5rem 1.5rem;
    } */

    main {
        margin: 2rem;
    }

    .wireframe,
    .logo,
    .uikit,
    .infor-archi,
    .high-fid,
    .usability-report-img,
    .paper-wireframe {
        flex-flow: column;
        align-items: center;
    }

    .ux-design-content-1,
    .ui-design-content-1 {
        display: flex;
        flex-flow: column;
        gap: 1.5rem;
    }

    .ui-design-content-1 img {
        max-width: 70%;
    }

    .wireframe img,
    .high-fid img {
        width: unset;
    }

    .header-wrapper {
        display: grid;
        grid-template-rows: repeat(2, 1fr);
        gap: 0;
        padding: 2rem;
    }


    .bounce-container {
        padding-top: 1rem;
        grid-row: 1;
    }

    .store-spy-img img {
        max-width: 200px;
    }


}


@media screen and (max-width: 700px) {
    .togathr_compana img {
        max-width: 400px;
    }

    .content-1 {
        flex-flow: column;
    }

    .intro-wrapper {
        flex-flow: column;
    }

    .intro-wrapper img {
        width: 80%;
        padding-bottom: 1rem;
    }

    .storespy .intro-wrapper {
        display: flex;
        flex-flow: column;

    }

    .safemilo.logo img {
        max-width: 400px;
    }

    .overview-details div {
        flex-basis: 100%;
        flex-grow: 1;
    }

    .safemilo-casestudy-wrapper .typography img {
        margin-top: 1.6rem;
    }

    .safemilo-casestudy-wrapper video {
        height: 30vh;
    }

    .project-top-nav {
        padding-left: 2rem;
    }

}

@media screen and (max-width: 600px) {
    .hero-content.togathr div {
        padding-top: 1rem;
        flex-flow: column;
    }

    .togathr_compana img {
        max-width: 300px;
    }
}