@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

::-moz-selection {
    background: var(--accent-color-50);
}
::selection {
    background: var(--accent-color-50);
}

:root {

    
    font-family: 'Montserrat', 'Roboto', sans-serif;
    --background-color: rgba(255, 255, 255, 1);
    --text-color-primary: rgba(0, 0, 0, 1);
    --text-color-secondary: rgba(64, 64, 64, 1);
    --text-color-project-nav: var(--background-color);
    --accent-color: rgba(76, 101, 169, 1);
    --accent-color-25: rgba(76, 101, 169, 0.25);
    --accent-color-50: rgba(76, 101, 169, 0.50);
    --accent-color-75: rgba(76, 101, 169, 0.75);
    --body-color: rgb(11, 11, 11);
    --submenu-color: rgba(204, 204, 204, 1);
    --submenu-hover-color: var(--accent-color-25);
    --header-background-color: rgba(255,255,255,0.6);
    --border-radius: 3px;

    -webkit-text-size-adjust: none;

    --project-color-bg: #f2f2f2;
    --summary-icon-color: var(--text-color-secondary);


    --project-color-miele: rgba(140,0,20,1);
    --project-color-ikea: rgba(140,0,20,1);
    --project-color-evee: rgba(140,0,20,1);
    --project-color-ei: rgba(140,0,20,1);

    --external-link-color: rgb(58, 74, 112);;

}

.dark {
    --background-color: rgba(45,45,45,1);

    --text-color-primary: rgba(255, 255, 255, 1);
    --text-color-secondary: rgba(219, 219, 219, 1);
    --text-color-project-nav: var(--background-color);

    --accent-color: rgba(76, 101, 169, 1);
    --accent-color-25: rgba(76, 101, 169, 0.25);
    --accent-color-50: rgba(76, 101, 169, 0.50);
    --accent-color-75: rgba(76, 101, 169, 0.75);

    --body-color: rgb(11, 11, 11);

    --submenu-color: rgba(64, 64, 64, 1);
    --submenu-hover-color: var(--accent-color-50);
    --header-background-color: rgba(45,45,45,0.6);

    --project-color-bg: #393939;
    --summary-icon-color: var(--text-color-primary);

    --project-color-miele: rgb(112, 15, 30);
    --project-color-ikea: rgba(140,0,20,1);
    --project-color-evee: rgba(140,0,20,1);
    --project-color-ei: rgba(140,0,20,1);

    --external-link-color: rgb(135, 155, 200);;
}



html {
    scroll-behavior: smooth;
    width: 100%;
    height: 100%;
}

body {
    background-color: var(--body-color);
    color: var(--text-color-primary);

    /* padding: 0.5rem; */
    height: auto !important;
    width: 100%;


    overflow-x: hidden;
}

#main {
    background-color: var(--background-color);
    border-radius: 1rem;
    overflow: hidden;
    -webkit-border-radius: 1rem;
    -moz-border-radius: 1rem;
    -ms-border-radius: 1rem;
    -o-border-radius: 1rem;
}


header {
    background-color: rgba(255,255,255,0.8);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);  

}






a {
    text-decoration: none;
    color: var(--text-color-primary);
}


img {
    object-fit: cover;
    object-position: center;

    user-drag: none;  
    -webkit-user-drag: none;
    -moz-user-drag: none;
    -ms-user-drag: none;

    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

p {
    line-height: 1.5em;
    margin-block: .5em;
}


a.in_text_link {
    color: var(--external-link-color);
}
a.in_text_link:hover {
    opacity: .5;
}



.midpiece {
    display: none;
    pointer-events: none;
}
.cornerpieceL,
.cornerpieceR {
    position: fixed;
    z-index: 9999;
    aspect-ratio: 1/1;
    width: 1rem;
    pointer-events: none;

    display: none;

}
.cornerpieceL {
    top: 0;
    right: 0;


}
.cornerpieceR {
    top: 0;
    left: 0;
    transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    -moz-transform: scaleX(-1);
    -ms-transform: scaleX(-1);
    -o-transform: scaleX(-1);
}





.logo {
    display: inline-block;
    height: 2rem;
    aspect-ratio: 1 / 1;

    overflow: hidden;

    background-image: url(../images/logo_black.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;

    position: absolute;
    right: 3rem;
    top: 3rem;
}

.dark .logo {
    background-image: url(../images/logo_white.png);
}

/* ######################## */
/* #                      # */
/* #    Darkmode toggle   # */
/* #                      # */
/* ######################## */
    .switch {
        position: relative;
        display: inline-block;
        width: 60px;
        height: 34px;
        overflow: hidden;
    }
    
    .switch input { 
        opacity: 0;
        width: 0;
        height: 0;
    }
    
    .slider {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: linear-gradient(#0071BC 0%, white 115%);
        border: 1px solid var(--text-color-primary);
    }

    /* to be added to the element with also .slider class after the page loaded */
    .transitions {
        -webkit-transition: 0.4s;
        transition: 0.4s;
    }
    
    .slider:before {
        position: absolute;
        content: "";
        height: 25px;
        width: 25px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: inherit;
        transition: inherit;
        z-index: 999;
    }

    .slider.loading, .slider:before.loading {
        -webkit-transition: inherit;
        transition: inherit;
    }
    
    input:checked + .slider {
        background-image: linear-gradient(#0071BC 0%, black 115%);
    }
    
    input:focus + .slider {
        box-shadow: 0 0 1px var(--accent-color);
    }
    
    input:checked + .slider:before {
        transform: translateX(26px);
        -moz-transform: translateX(26px);
        -ms-transform: translateX(26px);
        -o-transform: translateX(26px);
        -webkit-transform: translateX(26px);
        background-color: white;

    }
    
    .slider.round {
        border-radius: 34px;
    }
    
    .slider.round:before {
        border-radius: 50%;
    }

    .day {
        position: absolute;
        top: 10px;
        right: 8px;
        transform: scale(1.1);
        pointer-events: none;
        -webkit-transform: scale(1.1);
        -moz-transform: scale(1.1);
        -ms-transform: scale(1.1);
        -o-transform: scale(1.1);
}
    .night {
        position: absolute;
        top: 10px;
        left: 8px;
        pointer-events: none;

        transform: scale(0);
        -webkit-transform: scale(0);
        -moz-transform: scale(0);
        -ms-transform: scale(0);
        -o-transform: scale(0);
}

    .dark .day {
        transform: scale(0);
        -webkit-transform: scale(0);
        -moz-transform: scale(0);
        -ms-transform: scale(0);
        -o-transform: scale(0);
}
    .dark .night {
        transform: scale(1.1);
        -webkit-transform: scale(1.1);
        -moz-transform: scale(1.1);
        -ms-transform: scale(1.1);
        -o-transform: scale(1.1);
}

    .switch, .slider, .night, .day {
        display: none;
    }
    

/* ######################## */
/* #                      # */
/* #    Page content      # */
/* #                      # */
/* ######################## */
    .content {
        width: inherit;
        height: inherit;

        position: relative;;
    }
    .content_section {
        width: inherit;
        height: inherit;

        margin-inline: min(1.5rem,10%);
    }
    .content_section:not(.get_in_contact_section, .quote_section){
        margin-block: 3rem;
    }
    .content_section.spread {
        margin: 0px;
        /* width: calc(100vw - 2rem); */
        aspect-ratio: 1 / 1;
    }
    .content_section.quote_section {
        background-color: var(--project-color-bg);
        width: 100vw;
        padding: 5rem;
        position: relative;
        margin-inline: 0px;
    }


    .page_title {
        font-size: 2rem;
        font-weight: 400;
        padding-bottom: 1em;
        font-family: 'Lato';
        color: var(--text-color-secondary);
    }
    .page_title:not(#app) {
        text-transform: uppercase;
    }
    .page_sub_title {
        font-size: 1.4rem;
        font-weight: 400;
        padding-bottom: 0.5em;
        opacity: .5;
        font-family: 'Lato';
        width: 100%;
        text-align: center;
    }
    .page_sub_title.summary_subtitle {
        font-size: 1.2rem;
        font-weight: 300;
        padding-bottom: 1em;
    }


/* ######################## */
/* #                      # */
/* #      Home page       # */
/* #                      # */
/* ######################## */

    .go_back_up, .go_back_home {
        padding: 1rem;
        border-radius: 12px;
        background-color: var(--body-color);
        position: fixed;
        bottom: 2rem;
        right: 2rem;
        pointer-events: none;
        color: white;
        z-index: 2000;

        transform: translate(5rem, 0);
        -webkit-transform: translate(5rem, 0);
        -moz-transform: translate(5rem, 0);
        -ms-transform: translate(5rem, 0);
        -o-transform: translate(5rem, 0);

        transition: transform 300ms ease-in;
        -webkit-transition: transform 300ms ease-in;
        -moz-transition: transform 300ms ease-in;
        -ms-transition: transform 300ms ease-in;
        -o-transition: transform 300ms ease-in;
}
    .go_back_up.shown, .go_back_home {
        float: right;
        pointer-events: auto;
        cursor: pointer;
        
        transform: translate(0, 0);
        -webkit-transform: translate(0, 0);
        -moz-transform: translate(0, 0);
        -ms-transform: translate(0, 0);
        -o-transform: translate(0, 0);
}

    .go_back_home{
        top: 1.3rem;
        left: 1.3rem;
        bottom: unset;
        right: unset;

        border-radius: 50px;
        width: 45px;
        height: 45px;

        background-color: var(--header-background-color);

        display: flex;
        
    }
    .go_back_home i {
        position: absolute;
        top: 14px;
    }

    .CTAs {
        display: none;
    }

    .rick_img {

        width: 80vw;
        aspect-ratio: 1 / 1;
        display: block;
        margin-inline: auto;
        margin-block: 2rem;
        position: relative;
        border-radius: 100%;
        filter: saturate(1.2);


        /* mask-image: url('/images/blob-3.svg');
        -webkit-mask-image: url('/images/blob-3.svg'); */

        /* pointer-events: none; */

        box-shadow: 4px 5px 60px -30px rgba(1, 35, 62, 0.76);
        -webkit-box-shadow: 4px 5px 60px -30px rgba(2, 36, 61, 0.76);
        -moz-box-shadow: 4px 5px 60px -1830pxpx rgba(2, 36, 61, 0.76);

         transform: scale(0.9);

    } 


    .devider {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        font-size: .8rem;
        opacity: .6;
    }
    .devider::before,
    .devider::after {
        content: "";
        flex: 1;
        height: 1px;
        background: var(--text-color-primary);
    }
    .devider::before {
        margin-right: 1em;
    }
    .devider::after {   
        margin-left: 1em;
    }
    .scroll_indicator_container {
        display: none;
    }







    .project_display_container > * {
        flex-shrink: 0;
        flex-grow: 1;
        width: 80%;
    }


    /* project display */
    .project_display {
        position: relative;
        margin: 2rem auto;
    }

    .project_display_card {
        position: relative;
        border-radius: 1rem;
        overflow: hidden;
        aspect-ratio: 1 / 1.6;
        /* margin-inline: min(2rem,10%); */
        box-shadow: rgba(9, 30, 66, 0.25) 0px 4px 8px -2px, rgba(9, 30, 66, 0.08) 0px 0px 0px 1px;
        -webkit-border-radius: 1rem;
        -moz-border-radius: 1rem;
        -ms-border-radius: 1rem;
        -o-border-radius: 1rem;

        /* margin: 40px; */
}
    .dark .project_display_card {
        box-shadow: rgba(9, 30, 66, 0.25) 0px 4px 8px -2px, rgba(9, 30, 66, 0.08) 0px 0px 0px 1px;
    }

    .project_display_card > img {
        height: 100%;
        width: 100%;
        position: absolute;
        object-fit: cover;
        object-position: center;
        transition: transform 250ms ease-out;
        -webkit-transition: transform 250ms ease-out;
        -moz-transition: transform 250ms ease-out;
        -ms-transition: transform 250ms ease-out;
        -o-transition: transform 250ms ease-out;
    }

    .project_display_info {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        width: 100%;
        height: 100%;
        opacity: 1;
        transition: opacity 200ms ease-out;
        -webkit-transition: opacity 200ms ease-out;
        -moz-transition: opacity 200ms ease-out;
        -ms-transition: opacity 200ms ease-out;
        -o-transition: opacity 200ms ease-out;
    }

    .project_display_info::after {
        position: absolute;
        content: "";
        width: 100%;
        height: calc(100% + 10px);
        bottom: 0;
        right: 0;
        background-color: var(--background-color);
        opacity: .1;
        transition: all 200ms ease-out;
        -webkit-transition: all 200ms ease-out;
        -moz-transition: all 200ms ease-out;
        -ms-transition: all 200ms ease-out;
        -o-transition: all 200ms ease-out;
    }

    .project_display_button {
        transform: translateY(+60px);
        -webkit-transform: translateY(+60px);
        -moz-transform: translateY(+60px);
        -ms-transform: translateY(+60px);
        -o-transform: translateY(+60px);

        transition: transform 200ms ease-out, opacity 200ms ease-out;
        -webkit-transition: transform 200ms ease-out, opacity 200ms ease-out;
        -moz-transition: transform 200ms ease-out, opacity 200ms ease-out;
        -ms-transition: transform 200ms ease-out, opacity 200ms ease-out;
        -o-transition: transform 200ms ease-out, opacity 200ms ease-out;
        
        pointer-events: none;
        opacity: 0;
}


    .project_display_title {
        width: 80%;
        text-align: center;
        font-size: 1.4rem;

        z-index: 1;
        opacity: 1;

        text-shadow: rgba(255, 255, 255, 0.3) 1px 1px;
        cursor: pointer;
    }
    .dark .project_display_title {
        text-shadow: rgba(255, 255, 255, 0) 1px 1px;
    }

    
    .project_display_button {
        width: fit-content;
        margin-top: 2rem;
        padding: 1em 2em;
        font-size: .8rem;
        border: 2px solid var(--text-color-primary);
        border-radius: var(--border-radius);
        z-index: 999;
        font-weight: 500;
        color: var(--text-color-primary);
    }
    .project_display_button:hover {
        background-color: var(--text-color-primary);
        color: var(--background-color);
        cursor: pointer;
    }

    .project_display_info {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .project_display_button {
        opacity: 1;
        border: none;
        background-color:rgb(51,51,54);
        width: 2rem;
        height: 2rem;
        position: absolute;
        right: 0;
        bottom: 0px;
        margin: 1rem;
        padding: 0;
        border-radius: 1rem;
        -webkit-border-radius: 1rem;
        -moz-border-radius: 1rem;
        -ms-border-radius: 1rem;
        -o-border-radius: 1rem;
    }
    .project_display_button::after {
        display: flex;
        justify-content: center;
        align-items: center;
        height: inherit;
        width: inherit;
        font: var(--fa-font-solid);
        content: '\f054';
        color: rgba(255, 255, 255, 0.85);

    }
    .project_display_button:hover {
        background-color: #37373a;
        color: rgba(255, 255, 255, 1);
    }

   




    /* interactivity on mobile*/

    .project_display_card {
        scale: 1.0;
        transition: scale 300ms ease;
    }



    .project_display .project_display_card::after {
        position: absolute;
        z-index: 999;
        left: 1rem;
        bottom: 1rem;
        font-size: 1rem;
        font-weight: 400;
    }

    .project_display:nth-of-type(1) .project_display_card::after {
        content: '1 / 5';
    }
    .project_display:nth-of-type(2) .project_display_card::after {
        content: '2 / 5';
    }
    .project_display:nth-of-type(3) .project_display_card::after {
        content: '3 / 5';
    }
    .project_display:nth-of-type(4) .project_display_card::after {
        content: '4 / 5';
    }
    .project_display:nth-of-type(5) .project_display_card::after {
        content: '5 / 5';
    }



    .in_view_on_mobile .project_display_card {
        scale: 1.2;
    }

    .in_view_on_mobile .project_display_card > img {
        transform: scale(1.05);
        -webkit-transform: scale(1.05);
        -moz-transform: scale(1.05);
        -ms-transform: scale(1.05);
        -o-transform: scale(1.05);

        cursor: pointer;
        pointer-events: all;
    }

    .in_view_on_mobile .project_display_info::after {
        cursor: pointer;
        opacity: .5;

    }
    .in_view_on_mobile .project_display_info {
        opacity: 1;
    }
    .in_view_on_mobile .project_display_info .project_display_title, 
    .in_view_on_mobile .project_display_info .project_display_button {
        transform: translateY(0px);
        -webkit-transform: translateY(0px);
        -moz-transform: translateY(0px);
        -ms-transform: translateY(0px);
        -o-transform: translateY(0px);

        pointer-events: auto;
        opacity: 1;
    }












    /* here add interactivity for mobile project display */









/* ######################## */
/* #                      # */
/* #    Contact page      # */
/* #                      # */
/* ######################## */

    .contact_form {
        width: 100%;
        padding-inline: 20px;
    }



    .contact_form,
    .contact_me {

        position: relative;
        max-width: 600px;
        border-radius: 15px;
    
        margin-left: auto;
        margin-right: auto;
    }


    .contact_me_section {
        display: flex;
        flex-direction: column;
    }

    .socials {
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
        padding: 3rem 0;
        justify-content: center;
    }


    .social_button {
        position: relative;
        flex-basis: 6rem;
        aspect-ratio: 1/1;
        background: linear-gradient(55deg, rgb(230, 230, 230), var(--accent-color-75));
        border-radius: var(--border-radius);

        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;

        transition: all 150ms ease;
        -webkit-transition: all 150ms ease;
        -moz-transition: all 150ms ease;
        -ms-transition: all 150ms ease;
        -o-transition: all 150ms ease;
}
    body.dark .social_button {
        background: linear-gradient(55deg, transparent, var(--accent-color-75));
    }

    .social_button:hover {
        transform: scale(1.1);
        -webkit-transform: scale(1.1);
        -moz-transform: scale(1.1);
        -ms-transform: scale(1.1);
        -o-transform: scale(1.1);

        cursor: pointer;
}
    .social_button:hover i {
        transform: scale(.9);
        -webkit-transform: scale(.9);
        -moz-transform: scale(.9);
        -ms-transform: scale(.9);
        -o-transform: scale(.9);
}
    .social_button i {
        color: white;
        font-size: 2rem;
        pointer-events: none;
    }
    .social_button a {
        color: white;
        font-size: .8rem;
        position: absolute;
        opacity: 0;
    }    
    .social_button:hover a {
        opacity: 1;
        z-index: 1;
        transform: translateY(1rem);
        -webkit-transform: translateY(1rem);
        -moz-transform: translateY(1rem);
        -ms-transform: translateY(1rem);
        -o-transform: translateY(1rem);
}
    .social_button:hover i {
        z-index: 1;
        transform: translateY(-.6rem);
        -webkit-transform: translateY(-.6rem);
        -moz-transform: translateY(-.6rem);
        -ms-transform: translateY(-.6rem);
        -o-transform: translateY(-.6rem);
}

    .social_button::after {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;

        border-radius: var(--border-radius);
    }
    .social_button:hover::after {
        background-color: var(--body-color);
        opacity: .3;
        cursor: pointer;
    } 



    /* ######################## */
    /* #     Contact form     # */
    /* ######################## */

    .contact_form_section {
    
        --form-text-color-dark: hsl(0, 0%, 99%);
        --form-text-color-light: hsl(0, 0%, 36%);

        --form-color-dark: #444444;
        --form-color-light: #eeeeee;
        
        padding-block: 1rem;
    }

    .contact_form_section p {
        padding-bottom: 1rem;
    }
    
    form {
        z-index: 10;
        overflow: hidden;
        position: relative;
    
        display: flex;
        flex-direction: column;
        gap: 1rem;
        flex-wrap: wrap;

        padding-bottom: 5px;
    }
    
    .form_title {
        color: var(--text-color-secondary);
        font-weight: 500;
        font-size: 1rem;
        line-height: 1;
    }
    
    .input-container {
        position: relative;
    }

    .input {
        width: 100%;
        outline: none;
        background: none;
        background-color: var(--form-color-light);
        border: 3px var(--form-color-light) solid;
        padding: 0.6rem 1.2rem;
        color: var(--form-text-color-light);
        font-weight: 400;
        border-radius: 10px;
        transition: 0.3s;
        -webkit-transition: 0.3s;
        -moz-transition: 0.3s;
        -ms-transition: 0.3s;
        -o-transition: 0.3s;
        font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    }
    .dark .input {
        color: var(--form-text-color-dark);
        background-color: var(--form-color-dark);
        border: 3px var(--form-color-dark) solid;
    }

    .input::placeholder {
        color: var(--form-text-color-light);
        opacity: .5;
    }
    .dark .input::placeholder {
        color: var(--form-text-color-dark);
        opacity: .5;
    }

    .input:focus-visible {
        border: 3px #ccc solid;
    }
    .dark .input:focus-visible {
        border: 3px var(--form-text-color-light) solid;
    }
    
    
    textarea.input {
        padding: 0.8rem 1.2rem;
        min-height: 200px;
        border-radius: 10px;
        resize: none;
        overflow-y: auto;
    }
    

    .btn {
        padding: 0.6em 1.3em;
        background-color: transparent;
        color: var(--text-color-secondary);
        border: 2px solid var(--text-color-secondary);
        font-size: 1rem;
        font-weight: 400;
        line-height: 1;
        border-radius: 25px;
        outline: none;
        cursor: pointer;
        transition: 0.3s;
        -webkit-transition: 0.3s;
        -moz-transition: 0.3s;
        -ms-transition: 0.3s;
        -o-transition: 0.3s;
        margin: 0;
        align-self: center;
        width: min(50%, 15rem);
    }

    #form_btn {
        margin-inline: auto;
        background-color:rgba(255, 255, 255, 0.714);
    }
    #form_btn:hover {
        color: var(--text-color-primary);
        background-color: rgba(255, 255, 255, 1);
    }
    
    .btn:hover {
        background-color: var(--text-color-secondary);
        color: var(--background-color);
    }
    .btn.disable {
        pointer-events: none;
        opacity: 0.3;
    }


    .input-container label, 
    .input-container span  {
        display: none;
    }

    .input-container input::before {
        content: '';
    }




/* ######################## */
/* #                      # */
/* #      Thanks page     # */
/* #                      # */
/* ######################## */

    .thanks_section {
        position: absolute;
        width: min(80%, 450px);
        left: 50%;
        top: 50%;
        padding: 2rem;
        background-color: var(--accent-color-25);
        border-radius: var(--border-radius);
        text-align: center;

        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        justify-content: center;
        
        transform: translate(-50%, -50%);
        -webkit-transform: translate(-50%, -50%);
        -moz-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        -o-transform: translate(-50%, -50%);
}
    .thanks_title {
        font-size: 1.5rem;
        font-weight: 500;
    }
    .back_home_link {
        text-decoration: underline;
        opacity: .7;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .thanks_section img {
        margin-right: 1ch;
        height: 2rem;
        aspect-ratio: 1 / 1;
    }





/* ######################## */
/* #                      # */
/* # For multiple  pages  # */
/* #                      # */
/* ######################## */

    .get_in_contact_section {
        position: relative;
        width: 100%;
        height: fit-content;
        padding-bottom: 0px;
        margin-inline: 0px;
        background-image: url(../images/contact_me.jpg);
        background-repeat: no-repeat;
        background-position: bottom;
        background-size: cover;
        
        filter: saturate(.5);
        -webkit-filter: saturate(.5);
    }
    .get_in_contact_container::after {
        content: "";
        position: absolute;
        left:0;
        right: 0;
        bottom: 0;
        top: 0;
        background-color: var(--body-color);
        opacity: .4;
        z-index: 1;
    }
    .get_in_contact_container::before {
        content: "";
        position: absolute;
        left:0;
        top: -2rem;
        height: 0.5rem;
        width: 100%;
        background-color: var(--background-color);
        z-index: 99;
        border-radius: 0 0 0.5rem 0.5rem ;
        -webkit-border-radius: 0 0 0.5rem 0.5rem ;
        -moz-border-radius: 0 0 0.5rem 0.5rem ;
        -ms-border-radius: 0 0 0.5rem 0.5rem ;
        -o-border-radius: 0 0 0.5rem 0.5rem ;
}

    .get_in_contact_container {
        width: 100%;
        height: fit-content; 
        padding-bottom: 20px;

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);

        position: relative;
    }
    .get_in_contact_container > * {
        z-index: 999;
        color: white;
    }
    .get_in_contact_section h2 {
        margin-top: 2rem;
        margin-bottom: 1.5rem;
        font-weight: 700;
        font-size: 2rem;
    }
    .get_in_contact_section p {
        max-width: min(55ch, 80%);
        text-align: center;
        margin-inline: auto;
    }

    .get_in_contact_section a {
        padding: 0.6em 1.3em;
        background-color: transparent;
        border: 2px solid white;
        font-size: 1rem;
        font-weight: 400;
        line-height: 1;
        border-radius: 25px;
        cursor: pointer;
        margin-block: 2rem;
        transition: 0.3s;
        -webkit-transition: 0.3s;
        -moz-transition: 0.3s;
        -ms-transition: 0.3s;
        -o-transition: 0.3s;
}
    .get_in_contact_section a:hover {
        background-color: var(--background-color);
        color: var(--text-color-primary);
        border: 2px solid var(--background-color);

        transform: scale(1.1);
        -webkit-transform: scale(1.1);
        -moz-transform: scale(1.1);
        -ms-transform: scale(1.1);
        -o-transform: scale(1.1);
}

    .get_in_contact_container::before {
        content: "";
        position: absolute;
        left:0;
        top: -2rem;
        height: 2rem;
        width: 100%;
        background-color: var(--background-color);
        z-index: 99;
        border-radius: 0 0 1rem 1rem ;
        -webkit-border-radius: 0 0 1rem 1rem ;
        -moz-border-radius: 0 0 1rem 1rem ;
        -ms-border-radius: 0 0 1rem 1rem ;
        -o-border-radius: 0 0 1rem 1rem ;
}

/* ######################## */
/* #                      # */
/* #      about page      # */
/* #                      # */
/* ######################## */



    .quote {
        text-align: center;
        opacity: .7;
        max-width: 50ch;
        width: 100%;
    }
    .quote.main::after {
        content: '\f10e'; /* correct */
        position: absolute;
        bottom: 1.5rem;
        font-size: 10rem;
        font-family: "Font Awesome 6 Free"; /* important */
        opacity: .07;
    }
   

    .quote.main {
        margin-top: 2rem;
        margin-inline: auto;
        line-height: 1.6;
    }
    .quote.sub {
        font-size: .8rem;
        opacity: 0.5;
        width: 100%;
        margin-inline: auto;
    }



    .swiper {
        overflow: scroll;
        scrollbar-width: 20px;
        padding-block: 10px;
    }

    .swiper::-webkit-scrollbar {
        -webkit-appearance: none;
        width: 7px;
      }
    .swiper::-webkit-scrollbar-thumb {
        
        background-color: var(--project-color-bg);

        border-radius: 100px;
        -webkit-border-radius: 100px;
        -moz-border-radius: 100px;
        -ms-border-radius: 100px;
        -o-border-radius: 100px;
    }




    .swiper-wrapper div {
        width: 100%;
    }

    .swiper_container img,
    .swiper_container .description_container {
        width: 100%;

        border-radius: 5px ;
        -webkit-border-radius: 5px ;
        -moz-border-radius: 5px ;
        -ms-border-radius: 5px ;
        -o-border-radius: 5px ;
    }

    .swiper-wrapper img {
        aspect-ratio: 2/1;
        object-fit: cover;

    }

    .swiper-wrapper {
        width: calc(100% * 5);
        display: flex;
        gap: 20px;
    }

    .description_container {
        margin-top: 1.2rem;
        color: var(--text-color-secondary);
    }

    .description_container p > span {
        font-weight: 600;
        line-height: 2;
    }




/* ######################## */
/* #                      # */
/* #     project page     # */
/* #                      # */
/* ######################## */

    .content_section.spread.large {
        /*display: flex;
        justify-content: center;
        align-items: center;
        */--margin: 1rem;
        left: var(--margin);
        top: var(--margin);
        width: calc(100% - 2 * var(--margin));
        aspect-ratio: 1/0.6;
        min-height: unset;
        overflow: hidden;
        margin: 0;
        position: relative;

        border-radius: 1rem;
        -webkit-border-radius: 1rem;
        -moz-border-radius: 1rem;
        -ms-border-radius: 1rem;
        -o-border-radius: 1rem;
}
    .content_section.spread.large img {

        height: 100%;
        width: 100%;
        
        object-fit: cover;
        object-position: center;
        overflow: hidden;
        
    }
    
  



    
    .content_section.project_page_section {
        position: relative;

        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    .content_section, .container_spread {
        font-size: 0.95rem;
        text-align: start;
    }
    .container_spread {
        text-align: center;
    }
    
    .container_a, 
    .container_b {

        display: flex;
        flex-direction: column;
        justify-content: center;

        position: relative;
    }
    .container_a {
        align-items: center;
    }
    .container_b {
        align-items: flex-start;
    }
    

    .container_spread {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .container_spread > * {
        flex-basis: 80%;
        position: relative;
    }
    .spread_img {
        width: 100%;
        border-radius: 5px;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        -ms-border-radius: 5px;
        -o-border-radius: 5px;
    }

    .container_spread .spead_multipleImages {
        display: flex;
        gap: 0rem;
        flex-wrap: nowrap;
        overflow-x: scroll;
        padding-top: 2rem;
        padding-bottom: 2rem;
        width: 100vw;
    }
    .container_spread .spead_multipleImages > img:first-of-type{
        padding-left: 1rem;
    }
    .container_spread .spead_multipleImages > img:last-of-type{
        padding-right: 1rem;
    }
  
    .spead_multipleImages::-webkit-scrollbar {
        -webkit-appearance: none;
        width: 7px;
      }
    .spead_multipleImages::-webkit-scrollbar-thumb {
        
        background-color: var(--project-color-bg);

        border-radius: 100px;
        -webkit-border-radius: 100px;
        -moz-border-radius: 100px;
        -ms-border-radius: 100px;
        -o-border-radius: 100px;
    }

    /* .foldout {
        height: 1rem;
        overflow: hidden;
    }
    .foldout.foldedOut {
        height: unset;
        transition: all 250 ease-in-out;
        -webkit-transition: all 250 ease-in-out;
        -moz-transition: all 250 ease-in-out;
        -ms-transition: all 250 ease-in-out;
        -o-transition: all 250 ease-in-out;
    }
    .foldout::before {
        content: 'Show more';
        text-align: center;
        width: 100%;
        display: block;
        font-size: 0.9rem;
        height: 1rem;
        font-style: italic;
    }
    .foldout.foldedOut::before {
        height: 2rem;
    }
    .foldout:hover {
        cursor: pointer;
    }
    .foldout.foldedOut::before {
        content: 'Show less';
    } */
   





    .project_page_image {
        object-fit: contain;
        object-position: center;
        /*height: 40vh;*/
        width: 100%;
        position: relative;
        /* max-height: 40vh; */

        aspect-ratio: 1/1;

        user-select: none;
        -moz-user-select: none;
        -webkit-user-select: none;
        -ms-user-select: none;

        user-drag: none;
        -webkit-user-drag: none;
        -moz-user-drag: none;
        -ms-user-drag: none;

        border-radius: 5px;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        -ms-border-radius: 5px;
        -o-border-radius: 5px;
    }


    .project_page_image {
        display: none;
    }
    .project_page_image.show {
        display: inline-block;
    }

    .chevron-project {
        z-index: 10;
        position: absolute;
        aspect-ratio: 1 / 1;
        opacity: .7;
        padding-block: 0.6em;
        padding-inline: 0.8em;

        border-radius: 50%;
        -webkit-border-radius: 50%;
        -moz-border-radius: 50%;
        -ms-border-radius: 50%;
        -o-border-radius: 50%;

        background-color: #f2f2f295;

}
    .chevron-project:hover {
        cursor: pointer;
        pointer-events: auto;
        opacity: 1;
    }
    .chevron-project:active, .chevron-project:hover {
        background-color: #f2f2f2;
    }
    .chevron-project.fa-chevron-left {
        left: 0;
    }
    .chevron-project.fa-chevron-right {
        right: 0;
    }
    .chevron-project::selection {
        background-color: transparent;
    }



    .btn.try_out {
        width: fit-content;
        margin-block: 1rem;
    }




    .thumbnails {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
        
        margin-block: 1rem;
        width: 100%;

        z-index: 0;
    }
    .thumbnails > div {
        overflow: hidden;
        position: relative;
        border-radius: var(--border-radius);
        -webkit-border-radius: var(--border-radius);
        -moz-border-radius: var(--border-radius);
        -ms-border-radius: var(--border-radius);
        -o-border-radius: var(--border-radius);
}

    .thumbnails > div:not(.in_display) {
        filter: brightness(50%);
        -webkit-filter: brightness(50%);

        opacity: .5;

}    
    .thumbnails div.in_display {
        opacity: 1;
    } 

    .dark .thumbnails > div:not(.in_display) {
        opacity: 0.3;
        filter: none;
    }    
    .dark .thumbnails div.in_display {
        opacity: 1;
    }     


    .thumbnails > div:hover {
        cursor: pointer;
    } 
    .thumbnails img {
        position: relative;
        pointer-events: none;
        border-radius: var(--border-radius);

        width: 3rem;
        aspect-ratio: 4 / 4;
    }


    .container_a img,
    .container_a video {
        z-index: 10;
    }
   

    .youtube_vid {
        aspect-ratio: 16 / 9;
    }
    .project_page_image.youtube_vid {
        width: 100%;
    }
    .container_spread .youtube_vid {
        width: 90%;
        border-radius: var(--border-radius);
    }
    .small_note.youtube_subtext {
        width: 90%;
    }


    .paragraph_list > p {
        margin-block: 0.25rem;
    }

    body.dark .invert_on_dark {
        filter: invert(100%);
        -webkit-filter: invert(100%);
    }

    .small_note {
        font-size: 0.75rem;
        font-style: italic;
        text-align: center;
    }


    .wide {
        text-align: center;
    }

    .video_full_width {
        width: 100%;
    }
    .img_full_width {
        max-width: min(70%,1100px);
    }
    .video_full_width, .img_full_width {
        border-radius: 10px;
        box-shadow: 0 11px 34px 0 rgb(0 0 0 / 20%);
    }


    
    /* summary section */

    .content_section.summary_section {
        background-color: var(--project-color-bg);
        box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px, rgba(17, 17, 26, 0.05) 0px 8px 32px;        }

    .content_section.project_page_section.summary_section {
        border-radius: 0.5rem;
        -webkit-border-radius: 0.5rem;
        -moz-border-radius: 0.5rem;
        -ms-border-radius: 0.5rem;
        -o-border-radius: 0.5rem;
        
        margin-top: 2rem;
        padding-inline: 1rem;
        padding-block: 2rem;
    }
    .summary_section h2 {
        font-size: 2.1rem;
        text-align: center;
        width: 100%;
    }
    .content_section.project_page_section.summary_section > * {
        margin-block: 0;
    }

    .summary_section .highlights {
        display: flex;
        width: 100%;
        flex-direction: row;
        gap: 0.5rem;
        margin-block: 1rem;

        flex-wrap: wrap;
    }
    
    .highlights .highlight {
        display: flex;
        flex-direction: column;
        gap: 1rem;

        text-align: center;
        line-height: 1.2;
        
        flex-grow: 1;
        width: 33%;

    }

    .highlights .highlight i{
        font-size: 2.3rem;
        pointer-events: none;
        text-align: center;

        display: flex;
        justify-content: center;
        align-items: center;

        color: var(--summary-icon-color);

        flex-grow: 0;
        flex-shrink: 0;
        margin-inline: auto;

    }

    .highlights .highlight .multiple {
        display: flex;
        margin-inline: auto;
    }
   
    .highlights .highlight span{
        font-size: .8rem;
        max-width: 7rem;
        margin-inline: auto;
    } 
    .summary_section .keywords {
        font-weight: 300;
    }  
    .summary_section .keywords .intro {
        font-weight: 600;
        margin-right: 1ch;
    }  


    .summary_section .summary_text {
        font-size: 0.85rem;
    }
    .summary_section .highlights {
        font-size: 1.1rem;
    }
    .summary_section .keywords { 
        font-size: 0.9rem;
        -webkit-user-select: none; /* Safari */
        -ms-user-select: none; /* IE 10 and IE 11 */
        user-select: none; /* Standard syntax */
    }

    .summary_section .keywords .word {
        padding-inline: 1em;
        padding-block:  0.5em;
        line-height: 3em;
        background-color: var(--background-color);

        border-radius: 0.5em;
        -webkit-border-radius: 0.5em;
        -moz-border-radius: 0.5em;
        -ms-border-radius: 0.5em;
        -o-border-radius: 0.5em;

        margin-right: 0.4em;
        white-space: nowrap;

        font-size: 0.70rem;
    }
    .summary_section .keywords .intro {
        line-height: 2em;
    }



    .summary_section .container_a:not(.no_radial)::before {
        content: '';
        width: 100%;
        height: 100%;
        position: absolute;
        inset: 0;
    }

    .summary_section .container_a::before  {
        background: 
            radial-gradient(
                circle at center, 
                rgba(0, 0, 0, 0.1) 0,
                transparent 60%, 
                transparent 100%);
    }

    .dark .summary_section .container_a::before {
        background: 
            radial-gradient(
                circle at center, 
                rgba(255, 255, 255,.15) 0,
                transparent 60%, 
                transparent 100%);
    }


    .appStoreLabel {
        font-size: 0.6rem;
        background-color: rgb(29, 29, 29);
        padding: 0.5em 1em;
        border-radius: 100px;
        -webkit-border-radius: 100px;
        -moz-border-radius: 100px;
        -ms-border-radius: 100px;
        -o-border-radius: 100px;
        color: white;
        border: 0.75px solid white;
        position: absolute;
        right:  -6px; bottom: -20px;
    }




    /* project specifics */

    .dark #BackgroundBlob {
        opacity: 0.2;
    }
    .dark #Ground #_Path_ {
        opacity: 0.5;
    }

    .quotesWrapper {
        overflow: visible !important;
    }
    .quotesWrapper > * {
        width: 60%;
    }

    p.quote.main {
        font-size: 1.4rem;
    }
    p.quote.sub {
        font-size: 1rem;
    }

    .small_note.serviceBlueprintNote {
        margin-top: 0.5rem;
    } 
    .btn.revealFindings, .dark.btn.revealFindings  {
        text-align: center;
        background-color: rgba(45,45,45,1);
        color: white;
        border: 2px solid white;
        font-size: 0.9rem;

        margin-top: 0.5rem;
        width: auto;

    }
    .btn.revealFindings:hover, .dark .btn.revealFindings:hover{
        text-align: center;
        background-color: white;
        color: rgba(45,45,45,1);
        border: 2px solid rgba(45,45,45,1);

    } 



    .ServiceBlueprintFindingContainer {
        width: 100%;
        height: 100%;
        position: absolute; 
        pointer-events: none;
    }
    .ServiceBlueprintFindingContainer.visible {
        cursor: pointer;
    }
    .ServiceBlueprintFinding {
        opacity: 0%;
        width: 20%;
        transition: opacity 200ms ease-in-out;
        -webkit-transition: opacity 200ms ease-in-out;
        -moz-transition: opacity 200ms ease-in-out;
        -ms-transition: opacity 200ms ease-in-out;
        -o-transition: opacity 200ms ease-in-out;
    }
    .visible .ServiceBlueprintFinding {
        opacity: 100%;
    }


    .serviceBlueprintProposedNote {
        max-width: 80%; 
        text-align: center; 
        margin-top: 1rem;
    }

    .CoCreationOutcome {
        width: 50%; 
        flex-grow: 1;
    }

    .ikeaQuote {
        max-width: 90%; 
        margin-inline: auto;
    }
    





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




    /* ######################## */
    /* #                      # */
    /* #  Mobile card display # */
    /* #                      # */
    /* ######################## */


    .project_display_container {
        padding-bottom: 1rem;

        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: nowrap;
        gap: 1rem;
        padding: 1rem;

    } 

    #project_display {
        overflow-x: scroll;
        scroll-snap-type: x mandatory;
    }

    #project_display::-webkit-scrollbar {
        -webkit-appearance: none;
        width: 7px;
      }

    .project_display_card {
        scroll-snap-align: center;
    }

    .project_display_card:first-of-type{
        margin-left: 1rem;

    }
    .project_display_card:last-of-type{
        margin-right: 1rem;

    }
      
    #project_display::-webkit-scrollbar-thumb {
        
        background-color: transparent;

        border-radius: 100px;
        -webkit-border-radius: 100px;
        -moz-border-radius: 100px;
        -ms-border-radius: 100px;
        -o-border-radius: 100px;
    } 



    
    /* ######################## */
    /* #                      # */
    /* #  Mobile navigation   # */
    /* #                      # */
    /* ######################## */


    /* project pages */

    header {
        height: 4rem;
        display: flex;
        align-items: center;
        background-color: unset;
        position: fixed;
        bottom: 0;
        z-index: 999;
        width: 100%;
        backdrop-filter: none;
    }

    header ul {
        padding: 1rem;
        display: flex;
        gap: 2rem;
        justify-content: center;
        align-items: center;
        background-color: rgba(255, 255, 255, 0.8);

        margin-inline: auto;
        width: fit-content;
        margin-bottom: 1rem;
        border-radius: 100px;

        position: fixed;
        height: 4rem;
        width: calc(100vw - 2rem);
        margin-left: 1rem;
        margin-bottom: 2rem
    }  

    .nav_item:first-of-type, .nav_item:has(.switch) {
        display: none;
    }  
    
    .nav_item.projectTitle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 2rem;
        font-size: 1.rem;
        width: 100%;
        padding-inline: 1rem;
    }

    .nav_item.projectTitle i {
        font-size: 1rem;
    }
    .nav_item.projectTitle:hover a {
        cursor: pointer;

    }



    



    /* home */

    header.home, .home .hamburger {
        transition: transform 250ms ease-in;
        -webkit-transition: transform 250ms ease-in;
        -moz-transition: transform 250ms ease-in;
        -ms-transition: transform 250ms ease-in;
        -o-transition: transform 250ms ease-in;
}


    header.home {
        height: 4rem;
        width: 4rem;
        position: fixed;
        left: 1.5rem;
        top: 1.5rem;
        background-color: var(--background-color);
        z-index: 1000;
        overflow: hidden;
        backdrop-filter: blur(1px);
        -webkit-backdrop-filter: blur(1px);
        border-radius: 1rem;
        -webkit-border-radius: 1rem;
        -moz-border-radius: 1rem;
        -ms-border-radius: 1rem;
        -o-border-radius: 1rem;
        opacity: 0.8;
    }


    header.home.transitions {
        transition:                         height 250ms ease-out .5s,                        width 250ms ease-out .5s,                        left 250ms ease-out .5s,                        top 250ms ease-out .5s,                        border-radius 250ms ease-out .5s,                        overflow 250ms ease-out .5s, background-color 500ms ease-out 0.5s, backdrop-filter 500ms ease-out 0.5s, opacity 500ms ease-out 0.5s;
        -webkit-transition:                         height 250ms ease-out .5s,                        width 250ms ease-out .5s,                        left 250ms ease-out .5s,                        top 250ms ease-out .5s,                        border-radius 250ms ease-out .5s,                        overflow 250ms ease-out .5s, background-color 500ms ease-out 0.5s, backdrop-filter 500ms ease-out 0.5s, opacity 500ms ease-out 0.5s;
        -moz-transition:                         height 250ms ease-out .5s,                        width 250ms ease-out .5s,                        left 250ms ease-out .5s,                        top 250ms ease-out .5s,                        border-radius 250ms ease-out .5s,                        overflow 250ms ease-out .5s, background-color 500ms ease-out 0.5s, backdrop-filter 500ms ease-out 0.5s, opacity 500ms ease-out 0.5s;
        -ms-transition:                         height 250ms ease-out .5s,                        width 250ms ease-out .5s,                        left 250ms ease-out .5s,                        top 250ms ease-out .5s,                        border-radius 250ms ease-out .5s,                        overflow 250ms ease-out .5s, background-color 500ms ease-out 0.5s, backdrop-filter 500ms ease-out 0.5s, opacity 500ms ease-out 0.5s;
        -o-transition:                         height 250ms ease-out .5s,                        width 250ms ease-out .5s,                        left 250ms ease-out .5s,                        top 250ms ease-out .5s,                        border-radius 250ms ease-out .5s,                        overflow 250ms ease-out .5s, background-color 500ms ease-out 0.5s, backdrop-filter 500ms ease-out 0.5s, opacity 500ms ease-out 0.5s;
}
    
    header.home .bar1, 
    header.home .bar2,
    header.home .bar3{
        transition: none;
        -webkit-transition: none;
        -moz-transition: none;
        -ms-transition: none;
        -o-transition: none;
    }

    .home .hamburger {
        cursor: pointer;
        position: fixed;
        top: 2.5rem;
        left: 2.5rem;
        z-index: 1001;
        
    }
    .home .bar1, .home .bar2, .home .bar3 {
        width: 2rem;
        height: 4px;
        border-radius: 2px;
        background-color: var(--text-color-primary);
        margin: 6px 0;

        transition: opacity 0.3s, width 0.3s, transform 0.3s;
        -webkit-transition: opacity 0.3s, width 0.3s, transform 0.3s;
        -moz-transition: opacity 0.3s, width 0.3s, transform 0.3s;
        -ms-transition: opacity 0.3s, width 0.3s, transform 0.3s;
        -o-transition: opacity 0.3s, width 0.3s, transform 0.3s;
}
    .home .bar1{
        width: 2rem;
    }
    .home .bar2{
        width: 1.5rem;
    }
    .home .bar3{
        width: 1.7rem;
    }
    .home .change .bar1 {
        width: 2rem;
        transform: rotate(-45deg) translate(-7px, 6px);
        -webkit-transform: rotate(-45deg) translate(-7px, 6px);
        -moz-transform: rotate(-45deg) translate(-7px, 6px);
        -ms-transform: rotate(-45deg) translate(-7px, 6px);
        -o-transform: rotate(-45deg) translate(-7px, 6px);
}
    .home .change .bar2 {
        width: 2rem;
        opacity: 0;
    }
    .home .change .bar3 {
        width: 2rem;
        transform: rotate(45deg) translate(-8px, -8px);
        -webkit-transform: rotate(45deg) translate(-8px, -8px);
        -moz-transform: rotate(45deg) translate(-8px, -8px);
        -ms-transform: rotate(45deg) translate(-8px, -8px);
        -o-transform: rotate(45deg) translate(-8px, -8px);
}




    header.home {
        transition: all 0.3s ease;
    }
    header.home.headerMobileOpen {
        opacity: 1;
        height: 100%;
        width: 70%;
        left: 0;
        top: 0;
        background-color: rgba(255,255,255,0.9);
        backdrop-filter: none;

        border-radius: 0;

        overflow: auto;
    }

    .home .main > .content, .home .main > .logo{
        transition: filter 0.3s ease;
    }
    .home .main:has(.headerMobileOpen) > .content,
    .home .main:not(.headerMobileOpen)  > .logo {
        filter: blur(2px); 
    }
    .home .main:not(:has(.headerMobileOpen))  > .content,
    .home .main:not(:has(.headerMobileOpen))  > .logo {
        filter: blur(0px); 
    }


    .home .headerMobileOpen .nav_item:hover {
        transform: translateX(20px);
        transition-delay: 0;
    }
    .home .headerMobileOpen .nav_item::before {
        content: '';
        width: 2px;
        height: 2px;
        background-color: var(--text-color-primary);
        position: absolute;
        top: 50%;
        transform: translate(-20px, -50%);
        border-radius: 199px;
        transition: opacity 300ms ease, width 300ms ease, height 300ms ease;

        transition-delay: 500ms;
        opacity: 0
    }
    .home.headerMobileOpen .nav_item:hover::before {
        opacity: 1;
        width: 8px;
        height: 8px;
    }


   


    .home .nav_item {
        position: relative;
        left: -50vw;
        opacity: 0%;
        transition: all ease-in-out 250ms;
        -webkit-transition: all ease-in-out 250ms;
        -moz-transition: all ease-in-out 250ms;
        -ms-transition: all ease-in-out 250ms;
        -o-transition: all ease-in-out 250ms;
    }
    .home .nav_item > a {
        text-transform: uppercase;
    }
    .home .nav_item.open {
        left: 0;
        opacity: 100%;
    }
    .home .nav_item:first-of-type{
        display: none;
    }
    .home .nav_item:nth-of-type(6),
    .home .nav_item.open:nth-of-type(1) {
        transition-delay: 0s;
    }
    .home .nav_item:nth-of-type(5),
    .home .nav_item.open:nth-of-type(2) {
        transition-delay: .1s;
    }
    .home .nav_item:nth-of-type(4),
    .home .nav_item.open:nth-of-type(3) {
        transition-delay: .2s;
    }
    .home .nav_item:nth-of-type(3),
    .home .nav_item.open:nth-of-type(4) {
        transition-delay: .3s;
    }
    .home .nav_item:nth-of-type(2),
    .home .nav_item.open:nth-of-type(5) {
        transition-delay: .4s;
    }
    .home .nav_item:nth-of-type(1),
    .home .nav_item.open:nth-of-type(6) {
        transition-delay: .5s;
    }

    .home .nav_item.projectTitle > a {
        display: none;
    }

    .home .change.submenu_open .bar1 {
        width: 60%;
        transform: rotate(-45deg) translate(-5px, 1px);
        -webkit-transform: rotate(-45deg) translate(-5px, 1px);
        -moz-transform: rotate(-45deg) translate(-5px, 1px);
        -ms-transform: rotate(-45deg) translate(-5px, 1px);
        -o-transform: rotate(-45deg) translate(-5px, 1px);
    }
    .home .change.submenu_open .bar2 {
        opacity: 100%;
    }
    .home .change.submenu_open .bar3 {
        width: 60%;
        transform: rotate(45deg) translate(-5px, -1px);
        -webkit-transform: rotate(45deg) translate(-5px, -1px);
        -moz-transform: rotate(45deg) translate(-5px, -1px);
        -ms-transform: rotate(45deg) translate(-5px, -1px);
        -o-transform: rotate(45deg) translate(-5px, -1px);
    }

    .home #navbar {
        width: calc(100vw - 2rem);
        height: calc(100vh - 2rem);
        padding-left: 80px;
        padding-top: 120px;
        font-size: 1.5rem;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 4rem;

        transition: all ease-in-out 250ms;
        -webkit-transition: all ease-in-out 250ms;
        -moz-transition: all ease-in-out 250ms;
        -ms-transition: all ease-in-out 250ms;
        -o-transition: all ease-in-out 250ms;
    }
    .home #projects {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 3rem;
    } 

    .home .moveLeft {
        opacity: 0%;

        transform: translateX(-50vw);
        -webkit-transform: translateX(-50vw);
        -moz-transform: translateX(-50vw);
        -ms-transform: translateX(-50vw);
        -o-transform: translateX(-50vw);
    }

    /* .home #submenu {
        width: calc(100vw - 2rem);
        height: calc(100vh - 2rem);
        padding-inline: 80px;
        padding-top: calc(120px + 1rem); 
        font-size: 1.5rem; 

        position: fixed;
            left: 1rem;
            top: 0;

        pointer-events: none;
        overflow-x: hidden;

        z-index: 9999;
    }  */
   
    /* .home #submenu a {
        position: relative;
        opacity: 0%;
        pointer-events: none;
        left: 50vw;

        line-height: 1.4;

        transition: all ease-in-out 250ms;
        -webkit-transition: all ease-in-out 250ms;
        -moz-transition: all ease-in-out 250ms;
        -ms-transition: all ease-in-out 250ms;
        -o-transition: all ease-in-out 250ms;

}
    .home #submenu a.activeMobile {
        opacity: 100%;
        pointer-events: auto;
        left: 0px;
        transition-delay: 0.1s;
        z-index: 1000;

    }
    .home #submenu a.activeMobile.current_sub {
        opacity: .6;
    } */

    .home .freeze {
        overflow: hidden;
    } */

    /* ################################## */
    /* # End of mobile navigation  Home # */
    /* ################################## */



    
    








    .content_section:first-of-type {
        margin-top: 6rem;
    }
    .content_section.spread {
        margin-top: 0px;
    }
    .content_section.large {
        min-height: 40vh;
    }


    .project_page_section > .container_a {
        order: 1;
    }

    .modal {
        display: none;
    }
    

    .scaleOnMobile {
        scale: 1.5;
        padding-top: 6rem;
}


}    

@media only screen and (min-width: 500px) {
    body {
        padding: 1rem;
    }

    



   /* base */
body:not(.home) {
  opacity: 0;
}

/* ENTRY animations */
body:not(.home).slide-in-right {
  animation: slideInRight 0.4s ease forwards;
}

body:not(.home).slide-in-left {
  animation: slideInLeft 0.4s ease forwards;
}

/* EXIT animations */
body:not(.home).slide-out-left {
  transform: translateX(-100%);
  opacity: 0;
  transition: all 0.4s ease;
}

body:not(.home).slide-out-right {
  transform: translateX(100%);
  opacity: 0;
  transition: all 0.4s ease;
}

/* keyframes */
@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}






    .midpiece, 
    .cornerpieceL,
    .cornerpieceR {
        z-index: 999;
        fill: var(--body-color);
    }
    .midpiece {
        display: block;
        height: 1rem;
        width: 100%;
        position: fixed;
        left: 0;
        top: 0;
    }
    .midpiece rect {
        height: inherit;
        width: inherit;
    }

    .cornerpieceL {
        right: 1rem;
        top: 1rem;
    
    }
    .cornerpieceR {
        left: 1rem;
        top: 1rem;
    }  



    /* width */
    ::-webkit-scrollbar {
        width: 2px;
    }
    /* Track */
    ::-webkit-scrollbar-track {
        box-shadow: none;
        border-radius: 50%;
    }
    /* Handle */
    ::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, .6); 
        border-radius: 2px;
    }
    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        pointer-events: none;
    }
    
    /* ######################## */
    /* #                      # */
    /* #  Desktop navigation  # */
    /* #                      # */
    /* ######################## */

        .logo {
            display: none;
        }

        header {
            position: fixed;
            left: 1rem;
            right: 1rem;
            top: 1rem;
            border-radius: var(--border-radius) var(--border-radius) 0 0;
            z-index: 100;
            margin-inline: auto;
            -webkit-border-radius: var(--border-radius) var(--border-radius) 0 0;
            -moz-border-radius: var(--border-radius) var(--border-radius) 0 0;
            -ms-border-radius: var(--border-radius) var(--border-radius) 0 0;
            -o-border-radius: var(--border-radius) var(--border-radius) 0 0;
}

        #navbar {
            width: 100%;
            max-width: 1400px;
            height: 50px;
            padding: 0px 5px;
            margin-inline: auto;
            display: flex;
            flex-direction: row;
            align-items: center;
            gap: 1.25rem;
            font-size: 1rem;
            opacity: 100%;

            transition: none;
            -webkit-transition: none;
            -moz-transition: none;
            -ms-transition: none;
            -o-transition: none;

            border-radius: var(--border-radius);

        }
        .nav_item {
            position: relative;
            -webkit-user-select: none; /* Safari */
            -ms-user-select: none; /* IE 10 and IE 11 */
            user-select: none; /* Standard syntax */

        }
        .nav_item > a {
            padding: 0.65rem ;
            display: flex;
            border-radius: 8px;
            -webkit-border-radius: 8px;
            -moz-border-radius: 8px;
            -ms-border-radius: 8px;
            -o-border-radius: 8px;
}
        .nav_item:not(:first-of-type, .projectTitle):hover > a,
        .nav_item:not(:first-of-type).current {
            background-color: #efefef88;
            border-radius: 8px;
            -webkit-border-radius: 8px;
            -moz-border-radius: 8px;
            -ms-border-radius: 8px;
            -o-border-radius: 8px;
        }
        .dark .nav_item:not(:first-of-type):hover > a,
        .dark .nav_item:not(:first-of-type).current {
            background-color: #424242;
            border-radius: 8px;
            -webkit-border-radius: 8px;
            -moz-border-radius: 8px;
            -ms-border-radius: 8px;
            -o-border-radius: 8px;
}

        body:not(.home) .nav_item:first-of-type {
            background-color: var(--project-color-bg);        
            border-radius: 100%;
            box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 8px, rgba(17, 17, 26, 0.05) 0px 8px 16px;

            opacity: 0;
            pointer-events: none;
        } 
        .nav_item:first-of-type:hover {
            scale: 100%;
        } 
        .nav_item:first-of-type i {
            padding-inline: 3px;
        }

        .home .nav_item:first-of-type {
            background-image: url(../images/logo_black.png);
            background-position: center;
            background-size: contain;
            background-repeat: no-repeat;
            
            height: 34px;
            aspect-ratio: 1 / 1;
            overflow: hidden;

        }
        .dark .nav_item:first-of-type {
            background-image: url(../images/logo_white.png);
        }
        
        /*  placing menu items in the center*/
        .nav_item:first-of-type {
            margin-right: auto;
            margin-left: 0.5rem;
            margin-top: 0.5rem;
        }
        .nav_item:last-of-type {
            margin-left: auto;
        }

        /* animation on hover */
        .nav_item:not(.projectTitle):hover {
            cursor: pointer;
        }
        .nav_item:not(:first-of-type, :last-of-type, :nth-of-type(2)) a:after {
            /* left: 1.25rem; */
            width: calc(100% - 1.25rem);
        }

        .nav_item.projectTitle {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 5px;
        }

        .nav_item.projectTitle i {
            font-size: 0.7rem;
        }
        .nav_item.projectTitle:hover a {
            cursor: pointer;
        }
        

        
        /*     submenu      */
        /* Submenu fold-out */

        #submenu {
            position: fixed;
            width: fit-content;
            top: calc(0.6rem + 50px);
            left: 50%;
            text-align: start;
            opacity: 0%;
            pointer-events: none;
            z-index: 999;
            transition: all 100ms ease-in;
            -webkit-transition: all 100ms ease-in;
            -moz-transition: all 100ms ease-in;
            -ms-transition: all 100ms ease-in;
            -o-transition: all 100ms ease-in;
            transform: translateY(-20px) translateX(-50%);
            -webkit-transform: translateY(-20px) translateX(-50%);
            -moz-transform: translateY(-20px) translateX(-50%);
            -ms-transform: translateY(-20px) translateX(-50%);
            -o-transform: translateY(-20px) translateX(-50%);
        }
        #submenu.active {
            opacity: 100%;
            pointer-events: auto;
            transform: translateY(0px) translateX(-50%);
            -webkit-transform: translateY(0px) translateX(-50%);
            -moz-transform: translateY(0px) translateX(-50%);
            -ms-transform: translateY(0px) translateX(-50%);
            -o-transform: translateY(0px) translateX(-50%);
        }

        #submenu{
            padding-top: 4px;
        }

        /* #navbar .nav_item a#projects_nav_link:hover,
        #navbar .nav_item#projects_nav:hover {
            cursor: default ;
        } */

        #submenu ul {
            display: flex;
            border-radius: 10px;
            -webkit-border-radius: 10px;
            -moz-border-radius: 10px;
            -ms-border-radius: 10px;
            -o-border-radius: 10px;
            overflow: hidden;
            box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;

        }
        #submenu ul > li {
            width: 150px;
            padding: 1rem;
            position: relative;
            align-self: stretch;
            background-color: var(--background-color);
            overflow: hidden;
        }
        #submenu ul > li:hover {
            background-color: rgb(240 240 240);
            cursor: pointer;
        }
        .dark #submenu ul > li:hover {
            background-color: rgb(53, 53, 53);
        }
        #submenu ul > li::before {
            content: "";
            display: block;
            width: 100%;
            aspect-ratio: 1/1;
            /* background-color: red; */
            position: relative;
            overflow: hidden;
            border-radius: 10px;
            -webkit-border-radius: 10px;
            -moz-border-radius: 10px;
            -ms-border-radius: 10px;
            -o-border-radius: 10px;
            margin-bottom: 1rem;
            background-size: cover;
            background-position: center;
            box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
            filter: brightness(85%);
            -webkit-filter: brightness(85%);
        }
        #submenu ul > li:hover::before {
            filter: brightness(100%);
            -webkit-filter: brightness(100%);   
        }

    
        #submenu ul > li.Evee::before{
            background-image: url(/images/display_cards/Card_2.jpg);
        }
        #submenu ul > li.IKEASleepGuide::before{
            background-image: url(/images/display_cards/Card_3.jpg);
        }
        #submenu ul > li.Booknotes::before{
            background-image: url(/images/display_cards/Card_6.jpg);
        }
        #submenu ul > li.FinancialDebt::before{
            background-image: url(/images/display_cards/Card_7.jpg);
        }
        #submenu ul > li.DynamicIsland::before{
            background-image: url(/images/display_cards/Card_8.jpg);
            background-position: top;
        }
        


        #submenu a {
            font-size: 0.7rem;
            display: block;
            line-height: 1.3;
            text-align: center;
            width: 70%;
            margin-inline: auto;
        }

        @media only screen and (min-width: 900px) {
            #submenu ul > li {
                width: 200px;
            }
            #submenu a {
                font-size: 0.8rem;
            }
        }




    /* ######################## */
    /* #                      # */
    /* #    Page content      # */
    /* #                      # */
    /* ######################## */

        .content {
            min-height: calc(100vh - 2rem);

            margin-inline: auto;
            position: relative;

            display: flex;
            flex-direction: column;
            align-items: center;

        }
        .content_section {
            margin-inline: min(2rem,10%);
        }
        .content_section.project_page_section,
        .content_section.me_section.large,
        .divider_section,
        .content_section.me_section.about_section,
        .content_section.skills_section,
        .content_section.short_explanation_section,
        .content_section.cv_section,
        .content_section.summary_section,
        .content_section.container_spread {
            max-width: calc(1100px);
        }
        .content_section.me_section.large img {
            order: 2;
        }
    


        .content_section:last-of-type:not(.get_in_contact_section, .project_display_container) {
            margin-bottom: 8rem;
        }
        .content_section:first-of-type {
            margin-top: calc(4rem + 50px);
        }
        .content_section.spread {
            margin-top: 50px;
        }

        .content_section.large {
            min-height: 60vh;
        }
        .content_section.medium {
            min-height: 15rem;
        }
        .content_section.small {
            min-height: 8rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        .content_section.spread {
            width: calc(100vw - 2rem);
            height: calc(100vh - 1rem - 50px);
        }


        .page_title {
            font-size: 2.5rem;
            padding-bottom: 1.2em;
        }
        .page_sub_title {
            font-size: 2rem;
            padding-bottom: .3em;
            text-align: start;
        }
        .page_sub_title.summary_subtitle {
            font-size: 1.3rem;
            padding-bottom: 1em;
            font-weight: 300;
        }



    /* ######################## */
    /* #                      # */
    /* #      Home page       # */
    /* #                      # */
    /* ######################## */

        section.content_section.devider_section {
            min-height: auto;
            width: min(80%, 1100px);

            margin-block: 1.5rem;
            
        } 

        .project_display_container {
            position: relative;
            width: 75vw;
            max-width: 1200px;
         
            justify-content: flex-start; 

            display: flex;
            flex-direction: row;
            justify-content: start;

            overflow: hidden;
            overflow-y: hidden;
            overflow-x: scroll;
            
            gap: 2%;

            -ms-overflow-style: none;  /* IE and Edge */
            scrollbar-width: none;  /* Firefox */
            padding-bottom: 4rem;

            scale: 1.05;

            padding-block: 10px;
            margin-block-start: 0px;
        }
        .project_display_container::-webkit-scrollbar {
             display: auto; 
        }
        .project_display {
            height: unset;
            width: 21%;
            margin: 0;
            display: inline-block;
            margin: 0;
            flex-grow: 0;
            flex-grow: 0;
            flex-shrink: 0;

            transition: scale 200ms  ease-in-out;
            -webkit-transition: scale 200ms  ease-in-out;
            -moz-transition: scale 200ms  ease-in-out;
            -ms-transition: scale 200ms  ease-in-out;
            -o-transition: scale 200ms  ease-in-out;
}

        .project_display_card {
            display: inline-block;
            margin: 0;
            width: 100%;
            height: 100%;
            border-radius: 1rem;
            -webkit-border-radius: 1rem;
            -moz-border-radius: 1rem;
            -ms-border-radius: 1rem;
            -o-border-radius: 1rem;
            transition: scale 150ms ease-in;
            -webkit-transition: scale 150ms ease-in;
            -moz-transition: scale 150ms ease-in;
            -ms-transition: scale 150ms ease-in;
            -o-transition: scale 150ms ease-in;
}

        .project_display_card:hover {
            cursor: pointer;
            scale: 1.0;
        }

        /* added interactivity for desktop*/
        .project_display_card > img {
            transform: scale(1);
            -webkit-transform: scale(1);
            -moz-transform: scale(1);
            -ms-transform: scale(1);
            -o-transform: scale(1);
}
        .project_display_card:hover > img {
            transform: scale(1.05);
            -webkit-transform: scale(1.05);
            -moz-transform: scale(1.05);
            -ms-transform: scale(1.05);
            -o-transform: scale(1.05);
}
        
        .project_display_info:hover::after {
            cursor: pointer;
        }
        .project_display_info:hover {
            opacity: 1;
        }
        

        .project_display_info .project_display_title, 
        .project_display_info .project_display_button {
            transform: translateY(0px);
            -webkit-transform: translateY(0px);
            -moz-transform: translateY(0px);
            -ms-transform: translateY(0px);
            -o-transform: translateY(0px);
            pointer-events: auto;
            opacity: 1;
        }

        .project_display_card .project_display_info a{
            opacity: 0;
            margin-bottom: 0;

            transition: margin-bottom .3 ease-in-out;
        }
        .project_display_card:hover .project_display_info a{
            opacity: 1;
            margin-bottom: 1rem;
        }

        
        



        
        .devider{
            max-width: 70%;
            margin-inline: auto;

            font-size: .85rem;

        }
        .content .me_section {
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: center;
            gap: min(8rem,10%);
        }

        .content .me_section > * {
            width: 50%;
        }
        .me_section .rick_img {
            max-width: 40%;
        }
        .content .me_section h1.page_title {
            padding-bottom: 1.5rem;
        }
        p.quote.main {
            font-size: 1.3rem;
            margin-top: 0;
        }
        p.quote.sub {
            font-size: 1rem;
            opacity: 0.5;
        }


        /* Hero CTA's */
        .CTAs {
            display: flex;
            gap: 2rem;
            margin-top: 2rem;
            justify-content: start;
            align-items: center;
        }
        .see_projects_button {
            display: inline-block;
            width: fit-content;
            padding: .8em 1.6em;
            font-size: 0.9rem;
            border-radius: var(--border-radius);
            border: 1px solid var(--text-color-secondary);
            color: var(--text-color-primary);
            background-color: var(--background-color);
            box-shadow: inset 0 0 0 0 var(--text-color-secondary);

            transition: all ease-out 200ms;
            -webkit-transition: all ease-out 200ms;
            -moz-transition: all ease-out 200ms;
            -ms-transition: all ease-out 200ms;
            -o-transition: all ease-out 200ms;
        }
        .see_projects_button:hover {
            color: var(--background-color);
            cursor: pointer;

            box-shadow: inset 12rem 0 0 0 var(--text-color-secondary);
        }



        .text_button {
            font-size: 1rem;
            padding: 1em 0;
            position: relative;
        }
        .text_button:hover {
            cursor: pointer;
        }
        .text_button:after {
            content: "";
            position: absolute;
            left: 1rem;
            bottom: .6rem;
            width: calc(100% - 2rem);
            height: 1px;
            background-color: var(--text-color-secondary);
            border-radius: 2px;
            transform-origin: center;

            transition: transform ease-out 250ms;
            -webkit-transition: transform ease-out 250ms;
            -moz-transition: transform ease-out 250ms;
            -ms-transition: transform ease-out 250ms;
            -o-transition: transform ease-out 250ms;

            transform: scaleX(0);
            -webkit-transform: scaleX(0);
            -moz-transform: scaleX(0);
            -ms-transform: scaleX(0);
            -o-transform: scaleX(0);
        }
        .text_button:hover::after {
            transform: scaleX(1);
            -webkit-transform: scaleX(1);
            -moz-transform: scaleX(1);
            -ms-transform: scaleX(1);
            -o-transform: scaleX(1);
        }

        /* scroll indicator */
        .scroll_indicator_container {
            position: relative;
            top: -2rem;
            display: block;
        }
        .scroll_indicator {
            position: absolute;
            right: 2rem;
            --scroll-indicator-width: 2rem;
            --scroll-wheel-width: 8px;
            width: var(--scroll-indicator-width);
            height: calc(1.5 * var(--scroll-indicator-width));
            border-radius: var(--scroll-indicator-width);
            border: 2px solid var(--text-color-primary)
        }
        .scroll_indicator:hover {
            cursor: pointer;
        }
        .scroll_indicator .arrow1,
        .scroll_indicator .arrow2 {
            width: var(--scroll-wheel-width);
            aspect-ratio: 1 / 1;
            border: 2px solid var(--text-color-primary);
            border-style: none solid solid none;
            position: absolute;
            left: calc(50% - .5 * var(--scroll-wheel-width));

            animation: scroll-down 1.2s ease-in-out infinite;
            -webkit-animation: scroll-down 1.2s ease-in-out infinite;

            transform: rotate(45deg);
            -webkit-transform: rotate(45deg);
            -moz-transform: rotate(45deg);
            -ms-transform: rotate(45deg);
            -o-transform: rotate(45deg);
}
        .scroll_indicator .arrow1 {
            top: 10%;
        }
        .scroll_indicator .arrow2 {
            top: 20%;
            animation-delay: 300ms;
        }






    /* ######################## */
    /* #                      # */
    /* #    Contact page      # */
    /* #                      # */
    /* ######################## */

        form {
            flex-direction: row;
        }
        .input-container {
            flex-basis: 100%;
        }
        .input-container:nth-of-type(2),
        .input-container:nth-of-type(3)
        {
            flex-basis: calc(50% - 0.5rem);
        }
        .input-container:nth-of-type(1){
            width: 50%;
        }


    /* ######################## */
    /* #                      # */
    /* #  For multiople pages # */
    /* #                      # */
    /* ######################## */

        .content_section.get_in_contact_section {
            padding-bottom: 0px;
            margin-inline: 0px;
        }
        

    /* ######################## */
    /* #                      # */
    /* #      about page      # */
    /* #                      # */
    /* ######################## */
        .me_section.about_section .rick_img {
            aspect-ratio: 1 / 1;
            object-position: center;
        }

        .short_explanation {
            display: flex;
            gap: 2rem;
        }
        .short_explanation > * {
            flex-basis: 50%;
        }






    /* ######################## */
    /* #                      # */
    /* #     project page     # */
    /* #                      # */
    /* ######################## */

        .content_section.project_page_section {
            flex-direction: row;
            margin-block: 0;
        }


        .content_section.spread.large {
            position: unset;
            margin-inline: min(2rem,10%);
            
            margin-top: 2.2rem;
            left: 0;
            position: relative;
            
            height: unset;
            aspect-ratio: 1/0.4;
            width: calc(100vw - 6rem);

            max-width: calc(1100px);
            overflow: hidden; 

            padding-inline: 2rem;
            padding-block: 2rem;

            padding: 0;
            

            border-radius: 2rem ;
            -webkit-border-radius: 2rem ;
            -moz-border-radius: 2rem ;
            -ms-border-radius: 2rem ;
            -o-border-radius: 2rem ;

        }
        .content_section.spread.large img { 
            height: 100%;
            width: 100%;

            
            object-fit: cover;
            object-position: top;
            overflow: hidden;

        }

        

       
        /* .content_section.spread.large::after {
            content: '';
            width: 100%;
            height: 2rem;
            background-color: var(--background-color);
            position: absolute;
            bottom: -2.5vh;

            border-radius: 30px 30px 0 0;
            -webkit-border-radius: 30px 30px 0 0;
            -moz-border-radius: 30px 30px 0 0;
            -ms-border-radius: 30px 30px 0 0;
            -o-border-radius: 30px 30px 0 0;
            transform: translateY(-50%);
            -webkit-transform: translateY(-50%);
            -moz-transform: translateY(-50%);
            -ms-transform: translateY(-50%);
            -o-transform: translateY(-50%);
} */

        .container_spread > p {
            max-width: 80%;
        }

        
        .content_section.project_page_section.summary_section {
            border-radius: 1rem;
            -webkit-border-radius: 1rem;
            -moz-border-radius: 1rem;
            -ms-border-radius: 1rem;
            -o-border-radius: 1rem;
            margin-top: 4rem;
            padding-inline: 2rem;
            padding-block: 2rem;
        }
        .summary_section h2 {
            text-align: start;
            width: 100%;
        }

        .summary_section .keywords .word {
            font-size: 0.9rem;
        }


        .container_a, 
        .container_b {
            margin-block: 4rem;
            flex-basis: 50%;
        }

        .project_page_section:nth-of-type(2n+1) > .container_a {
            order: 2;
        }

        
        .project_page_image {
            width: 90%;
        }
        .thumbnails {
            width: 90%;
        }

        
        


        .chevron-project.fa-chevron-left {
            left: 5%;
        }
        .chevron-project.fa-chevron-right {
            right: 5%;
        }


        .enable_zoom {
            transition: transform ease-in 100ms;
            -webkit-transition: transform ease-in 100ms;
            -moz-transition: transform ease-in 100ms;
            -ms-transition: transform ease-in 100ms;
            -o-transition: transform ease-in 100ms;
        }
        .enable_zoom:hover {
            transform: scale(1.05);
            -webkit-transform: scale(1.05);
            -moz-transform: scale(1.05);
            -ms-transform: scale(1.05);
            -o-transform: scale(1.05);
            transform-origin: center;
            cursor: pointer;
        }
        .enable_zoom.no_modal:hover {
            cursor: default;
        }  
        .thumbnails {
            justify-content: flex-start;
        }
        .thumbnails img {
            width: 4rem;
        }

        .spread_img {
            /* width: 75%; */
            max-height: 80vh;
            object-fit: contain;
        }

        .wide p.img_full_width {
            max-width: min(650px, 60%); 
            margin-inline: auto;
            text-align: start;

        }

        .wide p.full_width {
            max-width: 700px;
            margin-inline: auto;
        }

        .scale-1-1 {
            transform: scale(1.1);
            -webkit-transform: scale(1.1);
            -moz-transform: scale(1.1);
            -ms-transform: scale(1.1);
            -o-transform: scale(1.1);
        }.scale-1-2 {
            transform: scale(1.2);
            -webkit-transform: scale(1.2);
            -moz-transform: scale(1.2);
            -ms-transform: scale(1.2);
            -o-transform: scale(1.2);
        }.scale-1-3 {
            transform: scale(1.3);
            -webkit-transform: scale(1.3);
            -moz-transform: scale(1.3);
            -ms-transform: scale(1.3);
            -o-transform: scale(1.3);
        }.scale-1-4 {
            transform: scale(1.4);
            -webkit-transform: scale(1.4);
            -moz-transform: scale(1.4);
            -ms-transform: scale(1.4);
            -o-transform: scale(1.4);
        }.scale-1-5 {
            transform: scale(1.5);
            -webkit-transform: scale(1.5);
            -moz-transform: scale(1.5);
            -ms-transform: scale(1.5);
            -o-transform: scale(1.5);
        }.scale-1-6 {
            transform: scale(1.6);
            -webkit-transform: scale(1.6);
            -moz-transform: scale(1.6);
            -ms-transform: scale(1.6);
            -o-transform: scale(1.6);
        }.scale-1-7 {
            transform: scale(1.7);
            -webkit-transform: scale(1.7);
            -moz-transform: scale(1.7);
            -ms-transform: scale(1.7);
            -o-transform: scale(1.7);
        }               

        .img-zoom-container {
            position: relative;
        }
          
        .img-zoom-lens {
            position: absolute;
            /* border: 1px solid #d4d4d4; */
            /*setthesizeofthelens:; */
            width: 40px;
            height: 40px;
        }       
          
        .img-zoom-result {
            border: 1px solid #d4d4d4;
            /*set the size of the result div:*/
            width: 400px;
            height: 400px;
            pointer-events: none;
        }

        .video_full_width {
            width: 90vw;
            max-width: 1100px;
        }


        #serviceBlueprint,#serviceBlueprint2  {
            cursor: zoom-in;
        }
        #serviceBlueprint.zoomedIn, #serviceBlueprint2.zoomedIn {
            cursor: zoom-out;
        }

        
        
        
        
        
        
        

        
        
        
        /* summary section */


        .summary_section .highlights {
            display: flex;
            width: 100%;
            flex-direction: row;
            flex-wrap: wrap;
            justify-content: space-around;
            align-items: center;
            gap: .5rem;
            padding: 2rem 0rem;
        }


        .highlights .highlight {
            display: flex;
            flex-direction: column;
            justify-content: normal;
            align-items: center;
            gap: .6rem;


            max-width: 25%;
            text-align: center;
            line-height: 1rem;

            height: 100%;
        }





        .summary_img:hover {
            scale: 1;
        }
        .summary_img:hover {
            scale: 1.05;
        }


        .container_spread .spead_multipleImages {
            padding-top: 0;
            margin-top: -2rem;
            margin-bottom: 4rem;

        }
        .container_spread .spead_multipleImages {
            display: flex;
            gap: 0rem;
            flex-wrap: nowrap;
            overflow-x: scroll;
            padding-top: 2rem;
            padding-bottom: 2rem;
            width: 100%;
        }
        .container_spread .spead_multipleImages > img:first-of-type{
            padding-left: 0;
        }
        .container_spread .spead_multipleImages > img:last-of-type{
            padding-right: 0;
        }






        .modal {
            position: fixed;
            top: 50%;
            left: 50%;
            width: 90vw;
            border-radius: 10px;
            z-index: 10;
            height: 80vh;
            display: flex;
            align-items: center;
            justify-content: center;

            transition: 200ms ease-in-out;
            -webkit-transition: 200ms ease-in-out;
            -moz-transition: 200ms ease-in-out;
            -ms-transition: 200ms ease-in-out;
            -o-transition: 200ms ease-in-out;

            transform: translate(-50%, -50%) scale(0);
            -webkit-transform: translate(-50%, -50%) scale(0);
            -moz-transform: translate(-50%, -50%) scale(0);
            -ms-transform: translate(-50%, -50%) scale(0);
            -o-transform: translate(-50%, -50%) scale(0);
}

        .modal.active {
            transform: translate(-50%, -50%) scale(1);
            -webkit-transform: translate(-50%, -50%) scale(1);
            -moz-transform: translate(-50%, -50%) scale(1);
            -ms-transform: translate(-50%, -50%) scale(1);
            -o-transform: translate(-50%, -50%) scale(1);

            z-index: 1002;

}

        .modal-header {
            position: absolute;
            right: 0;
            top: 0;
            padding: 4px 6px;
            border-radius: 50%;


            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .modal-header .close-button {
            cursor: pointer;
            border: none;
            outline: none;
            background: none;
            font-size: 1rem;
            margin-left: auto;
            color: var(--text-color-primary);
            z-index: 999;
        }
        .close-button ion-icon {
            font-size: 32px;
        }

        .modal-body {
            display: flex;
            align-items: center;
            justify-content: center;

            position: absolute;
                left: 0;
                top: 0;
                right: 0;
                bottom: 0;
            pointer-events: none;
        }

        
        .modal-body i {
            position: relative;
            z-index: 1000;
            pointer-events: all;
            font-size: 1.5rem;
            width: 3rem;
            aspect-ratio: 1 / 1;
            border-radius: 1.5rem;

            display: flex;
            justify-content: center;
            align-items: center;

            background-color: rgba(204, 204, 204, 0.126);
            -webkit-border-radius: 1.5rem;
            -moz-border-radius: 1.5rem;
            -ms-border-radius: 1.5rem;
            -o-border-radius: 1.5rem;
        }

        i:hover {
            cursor: pointer;
            opacity: .6;
        }
        .modal-body i.fa-chevron-left{
            position: absolute;
            top: 50%;
            left: 0;
            transform: translateY(-50%);
            -webkit-transform: translateY(-50%);
            -moz-transform: translateY(-50%);
            -ms-transform: translateY(-50%);
            -o-transform: translateY(-50%);
        }
        .modal-body i.fa-chevron-right{
            position: absolute;
            top: 50%;
            right: 0;
            transform: translateY(-50%);
            -webkit-transform: translateY(-50%);
            -moz-transform: translateY(-50%);
            -ms-transform: translateY(-50%);
            -o-transform: translateY(-50%);        
        }

        #modal_img {
            max-width: 80%;
            max-height: 100%;
            border-radius: var(--border-radius);
        }
        #modal_img, .modal i {
            user-select: none;
            -moz-user-select: none;
            -webkit-user-select: none;
            -ms-user-select: none;

            user-drag: none;  
            -webkit-user-drag: none;
            -moz-user-drag: none;
            -ms-user-drag: none;

        }

        #overlay {
            position: fixed;
            opacity: 0;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(0, 0, 0, 0.7);
            pointer-events: none;
            z-index: 1001;

            transition: 200ms ease-in-out;
            -webkit-transition: 200ms ease-in-out;
            -moz-transition: 200ms ease-in-out;
            -ms-transition: 200ms ease-in-out;
            -o-transition: 200ms ease-in-out;
}

        #overlay.active {
            opacity: 1;
            pointer-events: all;
            backdrop-filter: blur(2px);
        } 

        #modal_button {
                aspect-ratio: 1 / 1;
                padding: 0.5em;
                width: 1rem;
                border: none;
                background-color: rgba(0, 0, 0, .3);
                color: white;
                z-index: 100;
                border-radius: 50%;

                position: relative;
                right: 0%;
                top: 0%;

                transition: transform ease 100ms;
                -webkit-transition: transform ease 100ms;
                -moz-transition: transform ease 100ms;
                -ms-transition: transform ease 100ms;
                -o-transition: transform ease 100ms;
        }
        #modal_button:hover {
            transform: scale(1.1);
            -webkit-transform: scale(1.1);
            -moz-transform: scale(1.1);
            -ms-transform: scale(1.1);
            -o-transform: scale(1.1);

            cursor: pointer;

        }



        /* project specifics */

        .quotesWrapper > * {
            width: 30%;
        }

        .small_note.serviceBlueprintNote {
            margin-top: 1rem;
        }  
        .btn.revealFindings, .dark.btn.revealFindings  {

            position: absolute;
            bottom: 4.5rem;
        } 


        
        .ServiceBlueprintFindingContainer {
            pointer-events: none;
        }


        #serviceBlueprint2 {
            width: auto;
        }
        
        .serviceBlueprintProposedNote {
            max-width: 80ch; 
            text-align: center; 
            margin-top: 1rem;
            margin-bottom: 4em;
        }

        .CoCreationOutcome {
            width: 40%; 
            flex-grow: 1;
        }
        
        .ikeaQuote {
            max-width: 60%; 
            margin-inline: auto;
        }

}





@keyframes scroll-down {
    0% {
      opacity: 0;
    }
    30% {
      opacity: 1;
    }
    60% {
      opacity: 1;
    }
    100% {
      top: 70%;
      opacity: 0;
    }
  }

@keyframes skillDescriptionR {
    0% {
        display: none;
        left: 50px;
        opacity: 0;
    }
    2% {
        display: block;
        left: 50px;
        opacity: 0;    
    }
    100% {
        display: block;
        opacity: 1; 
        left: 0px;
    }
}

@keyframes skillDescriptionL {
    0% {
        display: none;
        left: -50px;
        opacity: 0;
    }
    2% {
        display: block;
        left: -50px;
        opacity: 0;    
    }
    100% {
        display: block;
        opacity: 1; 
        left: 0px;
    }
}






