

/* Reset CSS*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    /*font: inherit;*/
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

#portfolio {
    width: 100%;
    height: 100vh;
    /*margin: auto;*/
    display: block;
}

/* Import fonts */

:root {
    font-family: Inter, sans-serif;
    font-feature-settings: 'liga' 1, 'calt' 1, "zero" 1, "ss01" 1, "tnum" 1; /* fix for Chrome */
}
@supports (font-variation-settings: normal) {
    :root { font-family: InterVariable, sans-serif; }
}


/* Vars */

:root {

    /*  Colors  */
    --font-family: 'Inter', sans-serif;
    --accent:#5055F9;
    --dark: #1F2937;
    --mid-gray:#4C4E67;
    --indigo:#73849a;
    --white: #fff;
    --gray: #F2F2F7;
    --green:#34C759;

    --base:4px;
    --space-xs:calc(--base * 2);
    --space-s:calc(--base * 3);
    --space-m:calc(--base * 4);
    --space-l :calc(--base * 5);

    /*  Radius */
    --radius-8: 8px;
    --radius-12: 12px;
    --radius-16: 16px;
    --radius-100: 100px;

    --cursor-default: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='26' fill='none' viewBox='0 0 24 26'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M1.69 2.69a2.357 2.357 0 0 1 2.495-.54L21.47 8.632a2.357 2.357 0 0 1-.255 4.494l-7.271 1.818-1.818 7.27a2.357 2.357 0 0 1-4.494.256L1.15 5.185a2.357 2.357 0 0 1 .54-2.495Z' fill='%23fff'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M3.633 3.622A.786.786 0 0 0 2.62 4.633L9.103 21.92a.786.786 0 0 0 1.498-.086l2.047-8.185 8.185-2.046a.785.785 0 0 0 .086-1.498L3.633 3.622Z' fill='%23010101'/%3E%3C/svg%3E"), auto;

}
/*html {*/
/*    background: var(--dark);*/
/*}*/

/*body {*/
/*    background: var(--white);*/
/*    border-radius: 16px;*/
/*}*/

body {
    cursor: var(--cursor-default);
}

.green {
    color: var(--green);
}

.mid-gray {
    color: var(--mid-gray);
}
/* Utilities */


.visible-s
.visible-m{
    display: none !important;
}



/*  Typography */

body{
    font-family: "Inter", sans-serif !important;
    /*font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";*/
    font-optical-sizing: auto;
    font-weight: normal;
    font-size: 16px;
    color: var(--dark);
}

.small {
    font-size: 14px;
}

h1,h2,h3,.service {
    font-weight: 600;
    line-height: 100%;
    letter-spacing: -1px;
    font-feature-settings: "ss01" 1,"cv08" 1,"zero" 1;
}

h1 {
    font-size: 32px;
}

h2 {
    font-size: 24px;
}
h3 {
    font-size: 16px;
}

.large-heading {
    font-size: 72px;
}

.medium-heading {
    font-size: 32px;
    line-height: 44px;
    color: var(--mid-gray);
}

.normal {
    font-weight: 400;
}
.medium {
    font-weight: 700;
}

/*  Layout */

body {
    display: flex;
    flex-direction: column;
    align-content: center;
    flex-wrap: wrap;
    padding: 24px;
}

.m-10 {
    margin-bottom: 10px;
}
.m-12 {
    margin-bottom: 12px;
}
.m-16 {
    margin-bottom: 16px;
}
.m-20 {
    margin-bottom: 20px;
}
.m-24 {
    margin-bottom: 24px;
}

.font-400{
    font-weight: 400 !important;
}

.font-500{
    font-weight: 500 !important;
}
.font-600{
    font-weight: 600 !important;
}

.divider {
    border: 0;
    height: 1px;
    background: var(--gray);

}

button {
    font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
}

.button {
    display: flex;
    padding: 16px;
    border-radius: var(--radius-100);
    text-decoration: none;
    color: var(--dark);
    width: fit-content;
    transition: all 0.2s;
    gap: 8px;
}

.button-primary {
    background: var(--accent);
    color: var(--white);
}

.button-secondary {
    background-color: var(--gray);
}

.button-active{
    background: var(--dark);
    color: var(--white);
}

.button:hover {
    background: var(--gray);
    color: var(--dark);
}
.button-primary:hover{
    background:var(--dark);
    color: var(--white);
}

.button-secondary:hover{
    background:var(--dark);
    color: var(--white);
}

.top-navigation {
    display: flex;
    gap: 8px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1024px;
    margin-top: 48px;
}


.menu-mobile {
    display: none;
    justify-content: center;
    align-content: center;
}

.menu-mobile .button {
    padding: 11px 12px;
}
.home {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.menu {
    display: flex;
    gap: 12px;
}

.content {
    margin: 64px 0;
    display: flex;
    flex-direction: column;
    max-width: 1024px;
    gap: 64px;

}

.role-card {
    display: flex;
    align-items: center;
    font-size: 17px;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--gray);
}

.role-card:last-of-type {
    border-bottom: none;
}

.role {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.role-details {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: center;
}

.company-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F2F2F7;
    border-radius: 100px;
    width: 48px;
    height: 48px;
}


.services {
    display: flex;
    gap: 24px;
    flex-direction: column;
}

.service .company-logo{
    display: none;

}

.services svg {
    display: none;
    fill: var(--mid-gray);
}

.service {
    font-size: 36px;
    font-weight: 400;
    display: flex;
    flex-direction: row-reverse;
    gap: 12px;
    align-items: center;
    color: var(--mid-gray);
    padding: 24px 0;
    border-bottom: 1px solid var(--gray);
    justify-content: space-between;
}

.service:last-of-type {
    border-bottom: none;
}
.service-icon {
    color: var(--mid-gray);
    opacity: .6;
}
.footer p {
    font-size: 16px;
    display: flex;
    /*flex-direction: row-reverse;*/
    justify-content: space-between;
}

.footer a, .footer a:visited {
    color: var(--mid-gray);
    text-decoration: none;
}

.duration {
    color: var(--mid-gray);
    opacity: .6;
}

@media (width <= 520px){
    .content .button{
        width: auto;
        justify-content: center;
    }

    .role {
        gap: 4px;
    }

    .role-title {
        font-size: 14px;
    }

    .services {
        gap:0;
    }

    .service {
        font-size: 20px;
        flex-direction: row;
        justify-content: normal;
    }
}

@media (width <= 768px){


    .hidden-s,
    .hidden-m {
        display: none !important;
    }

    .visible-s,
    .visible-m {
        display: flex !important;
    }



    .content {
        margin: 32px 0;
        gap: 48px;
    }

    /*.large-heading {*/
    /*    font-size: 32px;*/
    /*}*/

    .medium-heading {
       font-size: 24px;
        line-height: 36px;
    }

    .project-list {
        grid-template-columns: 100% !important;
    }

    .project-list {
        gap: 32px !important;
    }

    .project-item {
        border-bottom: 1px solid var(--gray);
        padding-bottom: 24px;
        align-items: normal !important;
    }

    .project-item:last-of-type {
        border-bottom: none;
    }

    .footer p {
        text-align: center;
        flex-direction: column;
        gap: 24px;
    }

    .footer p span {
        /*display: block;*/
        margin-bottom: 12px;
    }

    .duration{
        font-size: 13px;
    }
}



@media (width <= 1024px){
    h2 {
        font-size: 20px;
    }

    .top-navigation {
        margin-top: 0;
    }
    .visible-m {
        display: flex !important;
    }


}


/*  Projects    */


.project-list {
    display: grid;
    gap: 128px 64px;
    flex-wrap: wrap;
    grid-column-start: 2;
    grid-template-columns: 50fr 50fr;
}

.project-item {
    display: flex;
    /*flex: 1 1 468px;*/
    /*max-width: 468px;*/
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
}

.badge {
    background-color: var(--gray);
    padding: 6px 10px;
    font-size: 14px;
    border-radius: var(--radius-100);

}

.project-item p {
    line-height: 28px;
    color: var(--mid-gray);
}

.project-name {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: space-between;
    width: 100%;
}

.project-name > div {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}
.project-info {

}



.project-item img{
    width: 100%;
}


.company-logo img {
    width: 24px;
}

.project-image{
    overflow: hidden;
    cursor: pointer;
    border-radius: var(--radius-8);
}

.project-image img {
    transition: all .2s;
}
.project-item:hover .project-image img {
    cursor: pointer;
    transform: scale(1.1);
}



/*  Modal   */


:modal {

}

dialog {
    width: 90%;
    max-width: 1772px;
    height: 90%;
    overflow: hidden;
    border: 0;
    border-radius: var(--radius-16);
    padding: 0;
}


.staticrypt-content {
    background: var(--white);
}

dialog::backdrop {
    background-color: var(--gray);
    opacity: 0.8;
    /*backdrop-filter: blur(8px);*/
}

.mobile-notice {
    padding: 24px 48px 24px 24px;
    background: #fff3d5;
    display: none;

}

.project-actions {
    position: absolute;
    right: 24px;
    top:24px;
    display: flex;
    flex-direction: row-reverse;

}

.project-actions .button {
    cursor: pointer;
    padding: 10px ;
    display: flex;
}


#time-display {
    display: flex;
    /*gap: 8px;*/
    /* align-content: center; */
    align-items: center;
    justify-content: center;
}
@keyframes blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}
.blink {
    animation: blink 1.5s infinite ease-in-out;
}
.ro-flag {
    background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"%3E%3Cg fill-rule="evenodd" stroke-width="1pt"%3E%3Cpath fill="%2300319c" d="M0 0h170.7v512H0z"/%3E%3Cpath fill="%23ffde00" d="M170.7 0h170.6v512H170.7z"/%3E%3Cpath fill="%23de2110" d="M341.3 0H512v512H341.3z"/%3E%3C/g%3E%3C/svg%3E');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: block;
    width: 16px;
    height: 16px;
    border-radius: 100%;
}