/** @format */

/*===================== Document: general typography and background =====================*/

@import url('https://fonts.googleapis.com/css2?family=Kaushan+Script&display=swap');
:root {
    --squiglyBg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='30' viewBox='0 0 1000 120'%3E%3Cg fill='none' stroke='%2334d5f7' stroke-width='6.4' stroke-opacity='0.33'%3E%3Cpath d='M-500 75c0 0 125-30 250-30S0 75 0 75s125 30 250 30s250-30 250-30s125-30 250-30s250 30 250 30s125 30 250 30s250-30 250-30'/%3E%3Cpath d='M-500 45c0 0 125-30 250-30S0 45 0 45s125 30 250 30s250-30 250-30s125-30 250-30s250 30 250 30s125 30 250 30s250-30 250-30'/%3E%3Cpath d='M-500 105c0 0 125-30 250-30S0 105 0 105s125 30 250 30s250-30 250-30s125-30 250-30s250 30 250 30s125 30 250 30s250-30 250-30'/%3E%3Cpath d='M-500 15c0 0 125-30 250-30S0 15 0 15s125 30 250 30s250-30 250-30s125-30 250-30s250 30 250 30s125 30 250 30s250-30 250-30'/%3E%3Cpath d='M-500-15c0 0 125-30 250-30S0-15 0-15s125 30 250 30s250-30 250-30s125-30 250-30s250 30 250 30s125 30 250 30s250-30 250-30'/%3E%3Cpath d='M-500 135c0 0 125-30 250-30S0 135 0 135s125 30 250 30s250-30 250-30s125-30 250-30s250 30 250 30s125 30 250 30s250-30 250-30'/%3E%3C/g%3E%3C/svg%3E");
    --babylon-blue: rgb(58, 184, 244);
    --textgrey: rgb(94, 91, 91);
    --bgGray: #e0e0e0;
    --shad-grid-out: 12px 12px 24px 0 rgba(0, 0, 0, 0.2), -12px -12px 24px 0 rgba(255, 255, 255, 0.3);
    --shad-grid-inset: inset 6px 6px 10px 0 rgba(0, 0, 0, 0.2), inset -6px -6px 10px 0 rgba(255, 255, 255, 0.5);
    --shad-pic-inset: inset -6px -6px 10px 0 rgba(0, 0, 0, 0.671), inset 6px 6px 10px 0 rgba(255, 255, 255, 0.5);
}

/* language radio-buttons NL -EN */
#language-nl,
#language-eng {
    display: none;
}
.opacityZero {
    opacity: 1;
    animation: switchBackground 1s cubic-bezier(0.58, 0.01, 0.48, 1.2);
}

/* makes sure modal is hidden before load (alpine.js) */

[x-cloak] {
    display: none !important;
}

#language-nl:checked ~ main :lang(en),
#language-nl:checked ~ nav :lang(en),
#language-nl:checked ~ main .skill-div > ul.lang-en,
#language-nl:checked ~ nav .menu li a.lang-en {
    display: none;
}
#language-eng:checked ~ main :lang(nl),
#language-eng:checked ~ nav :lang(nl),
#language-eng:checked ~ main .skill-div > ul.lang-nl,
#language-eng:checked ~ nav .menu li a.lang-nl {
    display: none;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #37b6ea69 #d9d5d50a;
}

*::-webkit-scrollbar {
    width: 6px;
}

*::-webkit-scrollbar-track {
    background: #d9d5d50a;
}

*::-webkit-scrollbar-thumb {
    background-color: #37b6ea69;
    border-radius: 10px;
}
.hidden {
    display: none;
}
body {
    background: var(--bgGray);
    padding: 1rem;
    color: var(--babylon-blue);
    font-size: 1.2em;
    font-family: 'Roboto', sans-serif;
    min-width: 300px;
    background-color: #9bb1b3;
    background-image: var(--squiglyBg);
}
/* no scrolling when menu is open on mobile */
/* body.freeze {
    max-height: 100vw;
    overflow: hidden;
} */
nav {
    background: var(--bgGray);
    margin: 0;
    padding: 0;
}
.wrapper {
    padding: 0;
    margin: 15px 0;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    position: relative;
    top: 4.1em; /* navigation is position absolute on mobile and tablet */
}
footer {
    background: var(--bgGray);
    display: block;
    position: relative;
    clear: both;
    position: relative;
    top: 4.1em; /* navigation is position absolute on mobile and tablet */

    -webkit-box-shadow: var(--shad-grid-inset);
    box-shadow: var(--shad-grid-inset);
}
footer::after {
    content: '';
    display: block;
    height: 2.5em;
}
h1 {
    font-size: 1.5em;
}
h2 {
    font-size: 1em;
}
h3 {
    font-size: 0.8em;
}
p {
    font-size: 0.8em;
}
a:visited,
a:link {
    color: var(--textgrey);
    outline: none;
    text-decoration-color: var(--babylon-blue);
    text-decoration-skip: edges;
}
a:hover {
    color: rgb(147, 142, 142);
    outline: none;
}
a:active,
a:focus {
    color: rgb(252, 248, 248);

    background: transparent;
}
span i {
    display: none;
}
[tabindex]:focus {
    color: #979494;
}

/*================================== Navigation ===================================*/

/********** Basic layout **********/
nav {
    position: absolute;
    border-top: 2px solid var(--babylon-blue);
    border-bottom: 2px solid var(--babylon-blue);
    border-left: 1px solid var(--babylon-blue);
    border-right: 1px solid var(--babylon-blue);
    border-radius: 40px;

    -webkit-box-shadow: 6px 6px 10px 0 rgba(0, 0, 0, 0.2), -6px -6px 10px 0 rgba(255, 255, 255, 0.2);
    box-shadow: 6px 6px 10px 0 rgba(0, 0, 0, 0.2), -6px -6px 10px 0 rgba(255, 255, 255, 0.2);
}
nav a:link,
nav a:visited {
    color: var(--textgrey);
    text-decoration: none;
    outline: none;
}
nav a:hover {
    color: var(--babylon-blue);
    outline: none;
}
nav a:active,
nav a:focus {
    color: white;
    outline: none;
}
.menu,
.submenu {
    list-style-type: none;
}
.logo {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 1.8em;
    font-weight: 1000;
    letter-spacing: 0.05em;
    color: var(--babylon-blue);
    display: flex;
    text-transform: uppercase;
    padding-left: 0.6em;
    position: relative;
    align-items: center;
    height: 2.25em;
    text-shadow: 1px 1px 1px white, 1px 1px 2px white, 2px 3px 5px rgba(0, 0, 0, 0.712), -1px -1px 1px white,
        -1px -1px 2px white;
}

.item a:hover,
.item a:hover::after {
    color: var(--babylon-blue);
}

/* Mobile menu */

nav {
    position: absolute;
    z-index: 100;
    margin-right: 0.8em;
    min-width: 14em;
    right: 0;
    left: 0;
    margin-left: 0.8em;
}
.menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    border-radius: 40px;
    overflow: hidden;
    max-height: 3.95em;
    transition: max-height 0.5s cubic-bezier(0.58, 0.01, 0.48, 1.2);
}

nav.active .menu {
    max-height: 40em;
    transition: max-height 0.7s cubic-bezier(0.41, -0.17, 1, 0.5);
}
.menu li a,
.item > label {
    display: block;
    padding: 0.8em 0.3em;
    font-size: 1.4em;
    font-weight: bold;
    height: 2.9em;
    text-shadow: -1px -1px 1px rgba(3, 3, 3, 0.918), 1px 1px 1px rgba(253, 252, 252, 0.966);
    font-family: 'Roboto', sans-serif;
    color: rgb(134, 133, 133);
    cursor: pointer;
}
.item:hover,
.item label:hover {
    color: var(--babylon-blue);
}
.menu li.subitem a:active,
.item:active {
    color: white;
}
.has-submenu > label {
    color: var(--babylon-blue);
}
.has-submenu > label:hover {
    color: white;
}
.menu li.subitem a {
    padding: 0.5em;
    font-size: 1em;
    height: 2em;
    color: var(--babylon-blue);
}

/* toggle layout */
.toggle-list {
    display: flex;
    position: relative;
    right: 1.2em;
    padding: 0;
    border-radius: 10px;
    background: var(--bgGray);
    border: 1px solid rgba(185, 188, 189, 0.33);
    -webkit-tap-highlight-color: transparent;
    -webkit-box-shadow: 1px 1px 2px 0 rgba(0, 0, 0, 0.2), -1px -1px 2px 0 rgba(255, 255, 255, 0.3),
        1px 1px 24px 10px rgba(95, 94, 94, 0.062);
    box-shadow: 1px 1px 2px 0 rgba(0, 0, 0, 0.2), -1px -1px 2px 0 rgba(255, 255, 255, 0.3),
        1px 1px 24px 10px rgba(95, 94, 94, 0.062);
}

.toggle-list:focus {
    color: var(--babylon-blue);
}

#language-eng:checked ~ nav label[for='language-eng'],
#language-nl:checked ~ nav label[for='language-nl'] {
    font-weight: bold;
    color: var(--babylon-blue);
    text-shadow: 0px 1px rgba(5, 0, 0, 0.623);
}

.lang-links-nav {
    display: flex;
    justify-content: center;
    align-items: center;
}

.lang-links-nav label {
    color: var(--textgrey);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 1.8rem;
    width: 2rem;
    /* padding: 0.6rem; */
    cursor: pointer;
}

.lang-links-nav label:active {
    color: var(--babylon-blue);
}
.lang-links-nav label:hover {
    color: white;
}

.lang-links-nav label:first-child {
    border-right: 1px solid var(--babylon-blue);
}
.toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    order: 1;
    cursor: pointer;
    border-radius: 9px;
    padding-bottom: 2px;
    /* box-shadow: inset -1px -1px 2px rgba(255, 255, 255, 0.699), inset 0.5px 0.5px 1px rgba(88, 88, 88, 0.507); */
}
path {
    fill: rgb(134, 133, 133);
}
.toggle:hover path {
    fill: var(--babylon-blue);
}
.toggle:active path,
.toggle:focus path {
    outline: none;
    fill: rgb(118, 205, 245);
}
.item.button {
    order: 2;
    padding: 0;
    border-bottom: none;
    border-top: none;
    border-top: 5px double var(--babylon-blue);
}
.active .item.button {
    border-top: 5px double var(--babylon-blue); /*divider line*/
}
.item {
    order: 3;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    overflow: hidden;
    border-bottom: 1px solid var(--babylon-blue);
    box-shadow: 1px 1px 5px 0 white, -1px -1px 2px 0 rgba(7, 7, 7, 0.568),
        inset 10px 10px 20px rgba(255, 250, 250, 0.589);
}
/* Submenu up from mobile screens */
#submenu-contact {
    height: 0;
    width: 0;
    opacity: 0;
}
.menu .has-submenu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: max-height 0.5s cubic-bezier(0.58, 0.01, 0.48, 1.2);
}
.submenu.active {
    max-height: 11em;
    transition: max-height 0.5s cubic-bezier(0.58, 0.01, 0.48, 1.2);
}
.submenu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    background: rgba(197, 197, 197, 0.349);
    box-shadow: -1px 0px 4px black;
    transition: max-height 0.5s cubic-bezier(0.58, 0.01, 0.48, 1.2);
}
.menu .has-submenu a:focus {
    outline: none;
    box-shadow: none;
}
.has-submenu li a {
    color: var(--babylon-blue);
}
.has-submenu li a:hover,
.has-submenu li a:focus {
    color: white;
}
.menu .has-submenu li a:active {
    color: rgb(134, 133, 133);
}
[title*='linkedin'] > a:hover span {
    background: var(--babylon-blue);
    box-shadow: none;
}
.linkedin {
    background: white;
    padding: 1px 3px;
    border-radius: 3px;
}

.pdf-modal {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    background-color: #9bb1b3ba;
    background-image: var(--squiglyBg);
    opacity: 0;
    z-index: -10;
    transition: opacity 0.1s ease-in;
}

.pdf-modal .modal-wrapper {
    position: relative;
    opacity: 0;
    transform: translateZ(0); /* geen idee waarom, maar transform nodig, anders pseudo van model-input niet zichtbaar */
    pointer-events: none;
    display: grid;
    border-radius: 40px;
    width: clamp(200px, 90%, 500px);
    overflow: hidden;
    border-top: 2px solid var(--babylon-blue);
    border-bottom: 3px solid var(--babylon-blue);
    border-left: 1px solid var(--babylon-blue);
    border-right: 1px solid var(--babylon-blue);
    border-radius: 40px;
    background: var(--bgGray);
    box-shadow: -1px 0px 10px #434444, 5px 5px 25px 7px #babbbb;
}

.modal-buttons-div {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-right: 2rem;
    margin-bottom: 1rem;
}

.menu .pdf-modal .modal-button {
    text-shadow: none;
    justify-self: end;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 3rem;
    background: var(--babylon-blue);
    font-size: min(4.5vw, 1em);
    padding: 0.5rem;
    border: 2px solid var(--babylon-blue);
    border-radius: 10px;
    text-shadow: none;
    box-shadow: -1px 0px 5px #f5f9f9, 0px 0px 3px 0px #737575, inset -1px -1px 0px #a9eaf9, inset -1px -1px 3px white,
        inset 1px 1px 0px #015366, inset 1px 1px 3px #777575;
    box-shadow: none;
    transition: all 0.1s ease-out;
    -webkit-tap-highlight-color: transparent;
}

.menu .pdf-modal .modal-button.cancel {
    color: gray;
    background: transparent;
}
.menu .pdf-modal .modal-button.confirm {
    color: white;
}

.menu .pdf-modal .modal-button:hover {
    background: white;
    color: var(--babylon-blue);
}

.pdf-modal .modal-button.confirm:hover {
    color: var(--babylon-blue);
}

.menu .pdf-modal .modal-button:active {
    background: white;
    color: gray;
}

.pdf-modal .modal-input {
    height: 6rem;
    margin: 1rem 0;
    position: relative;
    color: var(--babylon-blue);
}

input[data-role='tracker']:checked ~ .modal-input::after {
    transform: translateY(3rem);
}

.pdf-modal .modal-input::after {
    content: '';
    width: 50%;
    top: 0;
    left: 2rem;
    height: 2rem;
    border-radius: 20px;
    background: white;
    box-shadow: var(--shad-grid-inset);
    outline: 1px solid var(--babylon-blue);
    position: absolute;
    display: block;
    pointer-events: none;
    transform: translateY(0%);
    transition: transform 0.15s ease-out;
    margin: 0.5rem 0;
    z-index: -1;
}

.pdf-modal .close-modal-button {
    width: 20px;
    height: 20px;
    border-radius: 5px;
    background: white;
    border: 2px solid var(--babylon-blue);
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 2px;
    cursor: pointer;
    font-size: 0.9rem;
    box-shadow: 1px 1px 1px rgba(87, 85, 85, 0.92), -1px -1px 1px rgba(253, 252, 252, 0.966);
}

.pdf-modal .close-modal-button:hover {
    color: var(--textgrey);
    box-shadow: -1px -1px 1px rgba(253, 252, 252, 0.966);
    transition: all 0.1s ease-out;
}
.pdf-modal .close-modal-button:active {
    color: white;
    background: var(--babylon-blue);
}

.pdf-modal .modal-title {
    border-bottom: 1px solid var(--babylon-blue);
    border-radius: 40px 40px 0 0;
    background: white;
    display: flex;
    justify-content: space-between;
    padding: 1rem 2rem;
    width: 100%;
    height: 3rem;
    font-size: min(4.5vw, 1em);
    font-weight: normal;
    color: var(--textgrey);
    pointer-events: none;
}

.pdf-modal input {
    position: absolute;
    opacity: 0;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}
.pdf-modal .modal-input label {
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 3rem;
    font-size: min(4.5vw, 1em);
    width: 50%;
    border-radius: 20px;
    padding: 0.2rem 0.75rem;
    margin-left: 2rem;
    transition: all 0.1s ease-in-out;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.pdf-modal .modal-input label:active {
    color: white;
}

.pdf-modal .download::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid var(--textgrey);
    background: var(--babylon-blue);
}
.pdf-modal.active {
    opacity: 1;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: all;
    z-index: 10;
    transition: opacity 0.25s ease-in;
}
.pdf-modal.active .modal-wrapper {
    opacity: 1;
    pointer-events: all;
}
.pdf-modal.active .modal-title {
    pointer-events: all;
}

/*********navigation responsive*********/

/* Tablet menu */
@media all and (min-width: 740px) {
    .logo {
        flex: 1.66;
        padding: 0;
        padding-left: 0.6em;
        top: 0;
        align-self: center;
    }
    #contactbutton {
        order: 1;
        flex: 2;
    }
    .toggle-list {
        flex: 0;
        order: 2;
        top: 0;
    }
    .toggle {
        text-align: right;
        top: 0;
    }
    .menu .item:nth-child(2) {
        border-top: 5px double var(--babylon-blue);
    }
    .menu.active .item:nth-child(2) {
        border-top: 5px double var(--babylon-blue);
    }
    /* Button up from tablet screen */

    .menu li.button a {
        padding: 10px 15px;
        margin: 5px 0;
        border-radius: 5px;
    }
    .menu li.subitem a {
        padding: 0.5em;
        font-size: 1.2em;
    }
    #contactbutton {
        width: auto;
        display: flex;
        justify-content: flex-start;
        padding: 0;
        text-align: right;
        border: none;
        box-shadow: none;
        height: 4em;
        align-self: center;
        margin-left: 4rem;
    }
    #contactbutton > a {
        background: transparent;
        border-top: 1px solid var(--babylon-blue);
        border-bottom: 2px solid var(--babylon-blue);
        border-left: 2px solid var(--babylon-blue);
        border-right: 1px solid var(--babylon-blue);
        font-weight: bold;
        height: auto;
        position: relative;

        -webkit-box-shadow: inset -2px -2px 2px 0 rgba(0, 0, 0, 0.356), inset 2px 2px 4px 0 rgb(255, 255, 255);
        box-shadow: inset -2px -2px 2px 0 rgba(0, 0, 0, 0.356), inset 2px 2px 4px 0 rgb(255, 255, 255);
        text-shadow: -1px -1px 1px rgba(253, 252, 252, 0.966), 1px 1px 1px rgba(3, 3, 3, 0.918);
    }
    #contactbutton > a:hover {
        background: var(--babylon-blue);
        color: white;
        font-weight: bold;

        text-shadow: -1px -1px 1px rgba(253, 252, 252, 0.966), 1px 1px 1px rgba(3, 3, 3, 0.918);
    }
    #contactbutton > a:active {
        bottom: 1px;
        left: 1px;
        text-shadow: 1px 1px 0 var(--babylon-blue), -1px -1px 1px var(--babylon-blue);
    }
}
/* Desktop menu */
@media all and (min-width: 950px) {
    nav {
        position: relative;
        width: 900px;
        height: 3.4em;
        margin-left: auto;
        margin-right: auto;
    }
    .wrapper,
    footer {
        top: 0;
    }
    .item {
        overflow: visible;
    }
    /************deleting lines from mobile menus******************/

    .menu .item:nth-child(2) {
        border-top: none;
    }
    .menu.active .item:nth-child(2) {
        border-top: none;
    }
    .menu .item {
        display: flex;
        height: 3em;
        top: -0.5em;
        padding-left: 0;
        padding-right: 0;
        margin-left: 1em;
        border: none;
        box-shadow: none;
        width: 15%;
    }
    nav .menu .item a,
    .item label {
        font-size: 1.3em;
        float: left;
        height: auto;
        padding: 0;
        margin: 0;
    }

    .menu .item > a::before,
    .menu .item > label::before {
        content: '';
        position: relative;
        background: none repeat scroll 0 0 var(--babylon-blue);
        display: block;
        height: 4px;
        width: 0;
        top: 1.87em;
        left: -1%; /* correctie voor box-shadow van expandable ul, zie border nav */
        z-index: 10;

        -webkit-transition: width 0.5s ease-in;
        -o-transition: width 0.5s ease-in;
        transition: width 0.5s ease-in;
    }
    .menu .item a:hover::before,
    .menu .item label:hover::before {
        width: 101%;
    }
    .menu .item.has-submenu a:active::before,
    .menu .item.has-submenu label:active::before,
    .menu .item.has-submenu label:focus::before,
    .menu .item.has-submenu a:focus::before {
        width: 101%;
    }
    .menu.active .item:nth-child(2) {
        border-top: none;
    }
    #contactbutton {
        display: flex;
        flex: 0;
        padding-right: 0.6em;
        left: 0;
        bottom: 0;
        position: relative;
    }
    #contactbutton > a {
        padding: 0.35em 0.9em 0.5em 0.7em;
        font-size: 1.2em;
        height: 2em;
        top: 0.13em;
        border-top-right-radius: 25px;
        border-bottom-right-radius: 25px;
        border-top-left-radius: 5px;
        border-bottom-left-radius: 5px;
    }
    #contactbutton a::before {
        display: none;
    }
    .menu {
        display: flex;
        flex-wrap: nowrap;
        background: none;
        overflow: visible;
    }
    .logo {
        flex: 1;
        order: 0;
        top: -0.23em;
    }
    .item {
        order: 1;
        position: relative;
        display: block;
        width: auto;
        max-height: 100%;
        padding: 1.2em 0.5em 0.8em 0.5em;
    }
    .toggle-list {
        display: none;
    }
    .submenu {
        display: flex;
        flex-direction: column;
        position: absolute;
        left: 0;
        top: 3.14em;
        background: rgba(105, 103, 103, 0.863);
        width: 100%;
        max-height: 0;
        z-index: 100;
        overflow: hidden;
        box-shadow: -1px 0px 4px black;
        transition: max-height 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
    }
    #submenu-contact:checked + .has-submenu > .submenu {
        max-height: 50vh;
    }
    .submenu li {
        border-top: 1px solid var(--babylon-blue);
        height: 100%;
        height: 4em;
        display: flex;
        align-items: center;
        width: 100%;
        justify-content: center;
    }
    .submenu li a {
        font-size: 1em;
    }
    .menu li.button a {
        height: 2em;
        bottom: 1em;
    }
    .menu .has-submenu li a:hover {
        /*correction V font*/
        color: white;
        outline: none;
    }
    .menu .has-submenu {
        overflow: visible;
        outline: none;
    }
    .has-submenu li a:hover,
    .has-submenu li a:focus {
        color: var(--babylon-blue);
    }
    .menu .has-submenu li a:active {
        color: rgb(134, 133, 133);
    }
    .menu .has-submenu a:focus {
        box-shadow: none;
    }
}

/*===================== Resume: grid area setup 2 col x 4 row =====================*/

.resume {
    background-color: transparent;
    display: grid;
    justify-content: center;
    width: 900px;
    height: 100%;
    z-index: 2;
    border-radius: 40px;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 0.5fr 0.5fr 0.75fr;
    grid-gap: 15px;
    grid-template-areas:
        'name  photo'
        'work  about'
        'work  skills'
        'education  languages';
}
hr {
    color: white;
    height: 4px;
    margin-top: 3px;
    border-radius: 40px;
    background: linear-gradient(to right, var(--babylon-blue) 10%, skyblue 70%, #f7f3f380);
    transition: All 1.5s ease-in;
}
.grid-area {
    padding: 1em 1em 1em 1em;
    border: 2px solid rgb(247, 249, 250);
    border-radius: 40px;
    background: inherit;
    background-color: var(--bgGray);
    position: relative;
    z-index: auto; /* necessary for svg-tracker stacking context */
    box-sizing: border-box;
    height: 100%;
    transition: background-color 1s ease-in;
}
.grid-area::after {
    content: '';
    position: absolute;
    top: 0px;
    right: 0px;
    left: 0px;
    bottom: 0px;
    z-index: -1;
    border-radius: 40px;
    opacity: 1;
    -webkit-box-shadow: var(--shad-grid-out);
    box-shadow: var(--shad-grid-out);
}

.grid-title {
    font-weight: normal;
    font-size: 1em;
}

/************ 7 grids ************/
#name {
    grid-area: name;
}
#photo {
    grid-area: photo;
}
#about-nl,
#about-en {
    grid-area: about;
}
#work {
    grid-area: work;
    max-height: 797px;
}
#skills {
    grid-area: skills;
}
#education-nl,
#education-en {
    grid-area: education;
}
#languages-nl,
#languages-en {
    grid-area: languages;
}

/*====================================== Grids: layout ======================================*/

/************** Grid 1: name (introduction) **************/

#name {
    max-height: 525.2px;
}
.name-box {
    max-height: 415.4px;
    margin: 1em auto;
    overflow-y: scroll;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
    padding-top: 0.2em;
    border: 2px solid var(--babylon-blue);
    border-radius: 15px 15px 40px 40px;
    height: 85%;

    -webkit-box-shadow: var(--shad-grid-inset);
    box-shadow: var(--shad-grid-inset);
}
.name-box::-webkit-scrollbar {
    display: none;
}
.name-box p {
    color: var(--textgrey);
    font-family: Roboto, sans-serif;
    font-size: 16px;
    font-weight: normal;
    text-align: left;
    hyphens: auto;
    justify-content: center;
    padding: 1em 1em 0 1em;
    line-height: 18px;
}
.name-box p span {
    font-weight: bold;
    color: var(--babylon-blue);
}
#hrvatska-nl,
#oldtimer-nl,
#hrvatska-en,
#oldtimer-en {
    color: var(--textgrey);
    font-family: 'Kaushan Script', cursive;
    font-weight: normal;
    text-decoration: underline;
    letter-spacing: 1px;
    text-decoration-color: var(--babylon-blue);
    cursor: pointer;
}
#meet-up-en,
#meet-up-nl {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
#meet-up-en p,
#meet-up-nl p {
    letter-spacing: 1px;
    flex-wrap: wrap;
    gap: 0.3rem;
}
#meet-up-en div,
#meet-up-nl div {
    height: 18px;
    transform-style: preserve-3d;
    perspective: 200px;
}
#meet-up-en div,
#meet-up-en p,
#meet-up-nl div,
#meet-up-nl p {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Kaushan Script', cursive;
    color: var(--textgrey);
    font-size: 18px;
    font-weight: bold;
    text-shadow: 2px 2px 6px rgb(245, 242, 242);
}
.name-box .meet-up-sentence > span {
    display: inline-block;
    color: var(--textgrey);
}
#hello-nl,
#hello-en {
    font-family: 'Kaushan Script', cursive;
    color: var(--babylon-blue);
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 2px;
    text-decoration: underline;
    text-shadow: 2px 2px 6px rgb(245, 242, 242);
}
.name-box [data-letter]:not([data-letter='!']) {
    font-family: 'Kaushan Script', cursive;
    color: rgb(122, 121, 121);
}

.name-box .coffees,
.name-box [data-letter] {
    font-weight: normal;
    font-size: 18px;
    width: 11px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0px 3px 0px 0px;
    letter-spacing: 0px;
}

.name-box [data-letter='!'] {
    padding-left: 3px;
}
.name-box .coffees:last-child,
#hello span {
    font-size: 18px;
    font-family: 'Kaushan Script', cursive;
    color: var(--babylon-blue);
    font-weight: bold;
    padding: 0px 1px 0px 4px;
    text-decoration: none;
}
.name-box .coffees {
    color: rgba(110, 109, 109, 0.185);
    position: relative;
    opacity: 0;
    transform: translateZ(0);
    transition: transform 1.5s cubic-bezier(0.215, 0.61, 0.355, 1), opacity 5s, color 5s;
    background: none;
    text-shadow: none;
}

.name-box .coffees.active {
    color: var(--babylon-blue);
    font-weight: bold;
    opacity: 1;
    text-shadow: 2px 2px 6px rgb(245, 242, 242);
    transition: transform 1s cubic-bezier(1, -0.71, 0.29, 1.67), opacity 0.1s;
    transition-delay: calc(var(--i) * 0.5s);
    transform: translate(3px, 1px);
}

.coffees::after {
    content: attr(data-char);
    display: block;
    position: relative;
    transform: none;
}
.coffees.active::after {
    /* animation: letters 2s cubic-bezier(1, -0.71, 0.29, 1.67); */
    animation: letters 1.2s cubic-bezier(0, 0.77, 0, 1.71);
    animation: letters 0.8s ease-out;
    animation-delay: calc(var(--i) * 0.5s);
}

/************** Grid 2: picture ***************/
#photo {
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 525.2px;
    z-index: -1;
}
.photo-box {
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 85%;
    border: 2px solid var(--babylon-blue);
    position: relative;
    top: 0.7em;
    border-radius: 40px;

    -webkit-box-shadow: var(--shad-grid-inset);
    box-shadow: var(--shad-grid-inset);
}
.circle {
    height: 12em;
    width: 12em;
    border-radius: 50%;
    position: relative;
    margin: 1em;
    overflow: hidden;
    z-index: -1;
    border: 1px solid var(--babylon-blue);
    background: var(--babylon-blue);
    -webkit-box-shadow: -5px -5px 9px #f8f8f8, -3px -3px 2px #ffffff, 3px 3px 5px rgba(85, 86, 87, 0.781),
        5px 5px 15px rgba(0, 3, 8, 0.705);
    box-shadow: -5px -5px 9px #f8f8f8, -3px -3px 2px #ffffff, 3px 3px 5px rgba(85, 86, 87, 0.781),
        5px 5px 15px rgba(0, 3, 8, 0.705);
}
.circle::after {
    content: '';
    background: url('../media/images/bubble.png') no-repeat;
    display: block;
    background-size: cover;
    width: 16.2em;
    height: 16.2em;
    top: -2.4em;
    left: -1.98em;
    position: absolute;
    z-index: 100;
    opacity: 0.25;

    -webkit-filter: blur(70px);
    filter: blur(70px);

    -webkit-transition: opacity 1s ease-in, -webkit-filter 2s ease-out;
    transition: opacity 1s ease-in, -webkit-filter 2s ease-out;
    -o-transition: opacity 1s ease-in, filter 2s ease-out;
    transition: opacity 1s ease-in, filter 2s ease-out;
    transition: opacity 1s ease-in, filter 2s ease-out, -webkit-filter 2s ease-out;
}
#photo:hover .circle::after,
#photo.active .circle::after {
    content: '';
    background: url('../media/images/bubble.png') no-repeat;
    display: block;
    background-size: cover;
    width: 16.2em;
    height: 16.2em;
    top: -2.4em;
    left: -1.98em;
    position: absolute;
    z-index: 100;
    opacity: 1;

    filter: blur(0px);
    -webkit-filter: blur(0px);

    -webkit-transition: opacity 1s ease-in, -webkit-filter 1.5s ease-in-out;
    transition: opacity 1s ease-in, -webkit-filter 1.5s ease-in-out;
    -o-transition: opacity 1s ease-in, filter 1.5s ease-in-out;
    transition: opacity 1s ease-in, filter 1.5s ease-in-out;
    transition: opacity 1s ease-in, filter 1.5s ease-in-out, -webkit-filter 1.5s ease-in-out;
}
#profile-picture {
    width: 11.9em;
    height: 11.9em;
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    border-radius: 50%;
    border: 1px solid var(--babylon-blue);
    z-index: 1;
    opacity: 1;
    transform: rotate3d(0, 1, 0, 0deg);
    transition: All 0.5s cubic-bezier(0.445, 0.05, 0.55, 0.95);
    -webkit-box-shadow: var(--shad-pic-inset);
    box-shadow: var(--shad-pic-inset);
}
#bus,
#croatia {
    width: 11.9em;
    height: 11.9em;
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    border-radius: 50%;
    border: 1px solid var(--babylon-blue);
    -webkit-box-shadow: var(--shad-pic-inset);
    box-shadow: var(--shad-pic-inset);
    transition: All 1s cubic-bezier(0.445, 0.05, 0.55, 0.95);
}

/************** Grid 3: about **************/
.about-box {
    text-align: center;
    margin: 1em auto;
    padding: 1em 0em 1em 0em;
    background: rgba(253, 250, 250, 0.03);
    border: 2px solid var(--babylon-blue);
    border-radius: 15px 15px 40px 40px;

    -webkit-box-shadow: var(--shad-grid-inset);
    box-shadow: var(--shad-grid-inset);
}
.about-title {
    color: var(--babylon-blue);
    font-weight: 800;
    text-shadow: 0px 1px rgba(255, 255, 255, 0.945);
}
.about-text {
    color: grey;
    font-weight: 400;

    -webkit-transition: color 3s ease-in;
    -o-transition: color 3s ease-in;
    transition: color 3s ease-in;
}
#about-nl:hover .about-text,
#about-en:hover .about-text {
    color: rgb(44, 44, 44);

    -webkit-transition: color 3s ease-in;
    -o-transition: color 3s ease-in;
    transition: color 3s ease-in;
}

/************** Grid 4: work experience timeline **************/

/************** General **************/

.work-box {
    text-align: center;
    overflow-y: scroll;
    height: auto;
    max-height: 700px;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}
.work-box::-webkit-scrollbar {
    display: none;
}

/************** Timeline **************/
.timeline {
    margin: 1em 0 0 0;
    padding: 2.5em 0em 2em 1.5em;
    list-style-type: none;
    text-align: right;
    margin-left: 4.3em;
    border-radius: 0.5em 5px 5px 0.5em;
    border-left: 0.25em solid var(--babylon-blue);
    border-right: 1px solid var(--babylon-blue);
    border-top: 1px solid var(--babylon-blue);
    border-bottom: 2px solid var(--babylon-blue);
    background-color: rgba(255, 255, 255, 0.233);
    -webkit-box-shadow: inset -6px -6px 10px 0 rgba(0, 0, 0, 0.2), inset 6px 6px 10px 0 rgba(255, 255, 255, 0.5),
        inset 1px 0px 2px 0px rgba(77, 76, 76, 0.74);
    box-shadow: inset -6px -6px 10px 0 rgba(0, 0, 0, 0.2), inset 6px 6px 10px 0 rgba(255, 255, 255, 0.5),
        inset 1px 0px 2px 0px rgba(77, 76, 76, 0.74);

    -webkit-transition: background-color 1.5s ease-in-out, -webkit-box-shadow 1.5s ease-in-out;
    transition: background-color 1.5s ease-in-out, -webkit-box-shadow 1.5s ease-in-out;
    -o-transition: box-shadow 1.5s ease-in-out, background-color 1.5s ease-in-out;
    transition: box-shadow 1.5s ease-in-out, background-color 1.5s ease-in-out;
    transition: box-shadow 1.5s ease-in-out, background-color 1.5s ease-in-out, -webkit-box-shadow 1.5s ease-in-out;
}
#work:hover .timeline {
    background-color: var(--bgGray);
    -webkit-box-shadow: var(--shad-grid-inset);
    box-shadow: var(--shad-grid-inset);

    -webkit-transition: background-color 1.5s ease-in-out, -webkit-box-shadow 1.5s ease-in-out margin-left 1s ease-in;
    transition: background-color 1.5s ease-in-out, -webkit-box-shadow 1.5s ease-in-out margin-left 1s ease-in;
    -o-transition: box-shadow 1.5s ease-in-out, background-color 1.5s ease-in-out margin-left 1s ease-in;
    transition: box-shadow 1.5s ease-in-out, background-color 1.5s ease-in-out margin-left 1s ease-in;
    transition: box-shadow 1.5s ease-in-out, background-color 1.5s ease-in-out,
        -webkit-box-shadow 1.5s ease-in-out margin-left 1s ease-in;
}
.event {
    width: 100%;
    vertical-align: middle;
    box-sizing: border-box;
    position: relative;
    padding-right: 1em;
}
.timeline .event::before,
.timeline .event::after {
    position: absolute;
    display: block;
    top: 1em;
}
.timeline .event::before {
    left: -10em;
    top: 1em;
    color: var(--babylon-blue);
    content: attr(data-date);
    text-align: center;
    font-weight: 600;
    font-size: 0.9em;
    min-width: 9em;
    z-index: 10;
    text-shadow: 0px 1px rgb(246, 246, 247);

    -webkit-transition: left 0.7s linear 0.3s, top 0.5s linear;
    -o-transition: left 0.7s linear 0.3s, top 0.5s linear;
    transition: left 0.7s linear 0.3s, top 0.5s linear;
}
.timeline .event::after {
    content: '';
    left: -2.2em;
    top: 0.8em;
    -webkit-transform: rotate3d(0, 0, 0, 0deg);
    transform: rotate3d(0, 0, 0, 0deg);
    background-color: #f0efef;
    border-radius: 50%;
    height: 0.75em;
    width: 0.75em;
    border: 4px solid var(--babylon-blue);
    box-shadow: inset 2px 2px 0px 0 rgba(253, 252, 252, 0.808), inset -1px -1px 1px 0 rgba(14, 13, 13, 0.377),
        -1px 0px 2px 0px rgba(253, 253, 253, 0.692), 1px 0px 2px 0px rgba(160, 158, 158, 0.61);

    -webkit-transition: left 0.4s ease-out 0.5s, top 0.5s linear, height 0.4s linear 0.6s, width 0.4s linear 0.3s,
        border-radius 0.5s linear 0.5s, border 0.4s linear 0.4s, background-color 1.5s ease-in-out,
        -webkit-transform 0.5s linear 0.5s, -webkit-box-shadow 1.5s ease-in-out;
    transition: left 0.4s ease-out 0.5s, top 0.5s linear, height 0.4s linear 0.6s, width 0.4s linear 0.3s,
        border-radius 0.5s linear 0.5s, border 0.4s linear 0.4s, background-color 1.5s ease-in-out,
        -webkit-transform 0.5s linear 0.5s, -webkit-box-shadow 1.5s ease-in-out;
    -o-transition: left 0.4s ease-out 0.5s, top 0.5s linear, transform 0.5s linear 0.5s, height 0.4s linear 0.6s,
        width 0.4s linear 0.3s, border-radius 0.5s linear 0.5s, border 0.4s linear 0.4s, box-shadow 1.5s ease-in-out,
        background-color 1.5s ease-in-out;
    transition: left 0.4s ease-out 0.5s, top 0.5s linear, transform 0.5s linear 0.5s, height 0.4s linear 0.6s,
        width 0.4s linear 0.3s, border-radius 0.5s linear 0.5s, border 0.4s linear 0.4s, box-shadow 1.5s ease-in-out,
        background-color 1.5s ease-in-out;
    transition: left 0.4s ease-out 0.5s, top 0.5s linear, transform 0.5s linear 0.5s, height 0.4s linear 0.6s,
        width 0.4s linear 0.3s, border-radius 0.5s linear 0.5s, border 0.4s linear 0.4s, box-shadow 1.5s ease-in-out,
        background-color 1.5s ease-in-out, -webkit-transform 0.5s linear 0.5s, -webkit-box-shadow 1.5s ease-in-out;
}
#work:hover .timeline .event::after {
    -webkit-box-shadow: inset 2px 2px 3px 0 rgba(0, 0, 0, 0.397), inset -2px -2px 3px 0 rgba(255, 255, 255, 0.555),
        1px 1px 3px 0px rgb(114, 113, 113), -2px 0px 2px 0px rgba(248, 247, 247, 0.719);
    box-shadow: inset 2px 2px 3px 0 rgba(0, 0, 0, 0.397), inset -2px -2px 3px 0 rgba(255, 255, 255, 0.555),
        1px 1px 3px 0px rgb(114, 113, 113), -2px 0px 2px 0px rgba(248, 247, 247, 0.719);
}
.timeline .event .job-detail,
.timeline .event .job-discription {
    display: block;
}

/************** Infos - Title - Detail **************/
.job-infos {
    padding: 0.6em 0 1em 0;
    text-align: left;
    position: relative;
}
.job-infos > h2 {
    font-family: 'Roboto', sans-serif;
    letter-spacing: 1.5px;
    font-size: 1.5em;
    font-weight: bold;
    cursor: pointer;
    color: rgb(134, 133, 133);
    text-shadow: -1px -1px 1px rgba(3, 3, 3, 0.918), 1px 1px 1px rgba(253, 252, 252, 0.966);
    margin: 0;
    border-bottom: 0px solid var(--babylon-blue);
    padding-bottom: 0.2em;

    -webkit-box-shadow: 0px 2px 0px var(--babylon-blue);
    box-shadow: 0px 2px 0px var(--babylon-blue);
}
.job-infos .job-title-span {
    font-weight: normal;
    font-size: 0.7em;
}
.job-title {
    cursor: context-menu;
}
.job-detail {
    border-bottom: 1px solid var(--babylon-blue);
    max-height: 0;
    overflow: hidden;

    -webkit-transition: max-height 0.7s ease-in;
    -o-transition: max-height 0.7s ease-in;
    transition: max-height 0.7s ease-in;
}
.event.active .job-detail {
    max-height: 28em;
    -webkit-transition: max-height 0.8s ease-in 0.2s;
    -o-transition: max-height 0.8s ease-in 0.2s;
    transition: max-height 0.8s ease-in 0.2s;
}
.event.active::after {
    background: var(--babylon-blue);
    box-shadow: inset 1px 1px 1px 0 rgb(154, 220, 247), inset -2px -2px 0px 0 rgba(20, 140, 187, 0.92),
        -1px 0px 2px 0px rgba(253, 253, 253, 0.692), 1px 0px 2px 0px rgba(160, 158, 158, 0.61);
}
.event.active::before {
    color: var(--textgrey);
}
.job-detail > h3 {
    font-family: 'Roboto', sans-serif;
    letter-spacing: 1.5px;
    color: grey;
    font-weight: 200;
    font-size: 1em;
    padding: 0.3em 0;
}
.job-discription-list {
    padding-left: 0.1em;
}
.job-discription-list > li {
    font-family: 'Roboto', sans-serif;
    color: var(--babylon-blue);
    font-size: 0.8em;
    margin-left: 1.1em;
    list-style-type: none;
}
.job-discription-list > li::before {
    content: '\1D516';
    position: relative;
    font-size: 0.4em;
    margin-left: -18px;
    padding-right: 12px;
    height: 10px;
    display: inline-block;
    top: -4px;
}
.job-discription-list > .company,
.job-discription-list > .employer-website {
    border-top: 1px dotted rgb(190, 189, 189);
}
.job-discription-list > .company {
    padding-top: 0.5rem;
}
.job-discription-list > .company,
.job-discription-list > .employer-website {
    margin-top: 0.5rem;
    margin-left: 0;
}
.job-discription-list > .company::before {
    display: none;
}
.job-discription-list > .employer-website {
    font-size: 0.8rem;
    padding-top: 0.2rem;
}
.job-discription-list > li:last-of-type {
    padding-bottom: 0.5em;
}

li .company {
    color: rgb(92, 92, 90);
}

/************** Grid 5: skills and certificates **************/

/************** General **************/

.skills-box {
    margin: 1em auto;
    background: rgba(253, 250, 250, 0.03);
}
.skills-tab {
    width: 100%;
    height: 1.8em;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-evenly;
    margin-bottom: 0.6em;
    border-radius: 40px;
    border-bottom: 1px solid var(--babylon-blue);

    z-index: 1;

    -webkit-box-shadow: 6px 6px 10px 0 rgba(0, 0, 0, 0.329), 6px 6px 10px 0 rgba(255, 255, 255, 0.938);
    box-shadow: 6px 6px 10px 0 rgba(0, 0, 0, 0.329), 6px 6px 10px 0 rgba(255, 255, 255, 0.938);
}
.skills-tab button {
    float: left;
    width: 33.333%;
    border: none;
    padding-bottom: 3px;
    background: transparent;
    cursor: pointer;
    color: var(--babylon-blue);
    font-size: 0.9em;
    border: 1px solid var(--babylon-blue);
    text-shadow: 0px 1px rgba(253, 250, 250, 0.979);
    outline: none;

    -webkit-transform-origin: left;
    -ms-transform-origin: left;
    transform-origin: left;

    -webkit-transition: -webkit-transform 1s;
    transition: -webkit-transform 1s;
    -o-transition: transform 1s;
    transition: transform 1s;
    transition: transform 1s, -webkit-transform 1s;
}
.skills-tab button:nth-child(1) {
    border-top-left-radius: 40px;
    border-bottom-left-radius: 40px;
}
.skills-tab button:nth-child(2) {
    border-radius: 0px;
}
.skills-tab button:nth-child(3) {
    border-top-right-radius: 40px;
    border-bottom-right-radius: 40px;
}
.skills-tab button.active {
    text-shadow: 0px 1px rgba(5, 0, 0, 0.623);
    transition: all 0s ease-out 0.1s;
}

.tab-tracker {
    left: 0;
    position: absolute;
    width: 33.333%;
    height: 100%;
    z-index: -1;
    background-color: var(--textgrey);
    transform: translate(calc(var(--i) * 100%));
    transition: transform 0.35s ease-out;
}

.tab-tracker-companion {
    left: 0;
    position: absolute;
    width: 33.333%;
    height: 3px;
    bottom: 0;
    z-index: -1;
    background-color: var(--babylon-blue);
    transform: translate(calc(var(--i) * 100%));
    transition: transform 0.25s ease-in 0.05s;
}

.tab-indicator-box {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1em;
    width: 100%;
    height: 0.5em;
    bottom: 0.5em;
    border-radius: 10px;
    left: 50%;
    transform: translate(-50%, -50%);
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: white;
    height: 0.9rem;
    width: 0.9rem;
    background-color: #f0efef;
    border: 2px solid var(--babylon-blue);
    box-shadow: inset 2px 2px 3px 0 rgba(0, 0, 0, 0.397), inset -2px -2px 3px 0 rgba(255, 255, 255, 0.555),
        1px 1px 3px 0px rgba(130, 127, 127, 0.71), -2px 0px 2px 0px rgba(248, 247, 247, 0.719);
    transition: all 0.15s ease-out;
}

.indicator.active {
    box-shadow: inset 2px 2px 0px 0 rgba(253, 252, 252, 0.808), inset -1px -1px 1px 0 rgba(14, 13, 13, 0.377),
        -1px 0px 2px 0px rgba(253, 253, 253, 0.692), 1px 0px 2px 0px rgba(160, 158, 158, 0.61);
}

.panel-wrapper {
    z-index: 1;
    position: relative;
    display: flex;
    overflow: hidden;
    height: 14em;
    border-radius: 40px;
    border: 2px solid var(--babylon-blue);
    -webkit-box-shadow: var(--shad-grid-inset);
    box-shadow: var(--shad-grid-inset);
}
.skill-div {
    position: absolute;
    scroll-behavior: auto;
    height: 100%;
    width: 100%;
    flex-basis: 100%;
    opacity: 0;
    padding: 0.5em;
    transform: translateX(calc(var(--i) * 100%));
    transition: transform 0.3s ease-out 0.05s, opacity 0s ease-out 0.3s;
}

.skill-div.selected {
    opacity: 1;
    transition: transform 0.3s ease-out 0.05s, opacity 0s ease-out 0.1s;
}

.skill-div ul {
    transform-style: preserve-3d;
    perspective: 500px;
    perspective-origin: center;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    position: relative;
    justify-content: center;
    align-items: center;
}
#certificates ul {
    height: 80%;
}

#soft ul li,
.skills-box #certificates ul li {
    display: flex;
    flex: 1 1 75px;
    flex-wrap: nowrap;
    position: relative;
    list-style-type: none;
    font-size: 15px;
    font-weight: bold;
    color: #ebeff5;
    background: var(--babylon-blue);
    height: 2em;
    text-align: center;
    border-radius: 5px;
    margin: 0.5em;
    justify-content: center;
    align-items: center;
    transform: translateZ(0px);

    -webkit-box-shadow: inset -2px -2px 2px 0 rgba(0, 0, 0, 0.356), inset 2px 2px 4px 0 rgb(255, 255, 255);
    box-shadow: inset -2px -2px 2px 0 rgba(0, 0, 0, 0.356), inset 2px 2px 4px 0 rgb(255, 255, 255);
}

#soft ul li {
    transform: scale(0.9);
    box-shadow: var(--shad-grid-out);
    transition: transform 0.1s cubic-bezier(0, 1.34, 0.64, 1.91) calc(var(--i) * 0.05s + 0.35s);
}

.skills-box #soft.selected ul li {
    transform: scale(1);
}

.skills-box #certificates ul li {
    flex-basis: 29%;
}

#hard::-webkit-scrollbar {
    display: none;
}
#hard {
    display: block;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    display: grid;
    place-items: center;
}
#hard ul {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    grid-template-columns: repeat(3, 1fr);
}
#hard ul li {
    display: flex;
    position: relative;
    list-style-type: none;
    font-size: 15px;
    font-weight: bold;
    width: 4em;
    height: 4em;
    background-color: white;
    text-align: center;
    border-radius: 5px;
    margin: 0.5em;
    justify-content: center;
    align-items: center;
    -webkit-box-shadow: inset -2px -2px 7px #ffffffb0, inset 2px 2px 3px rgba(13, 14, 15, 0.582);
    box-shadow: inset -2px -2px 7px #ffffffb0, inset 2px 2px 3px rgba(13, 14, 15, 0.582);
}

.devicon {
    color: var(--babylon-blue);
    font-size: 44px;
    text-shadow: 1px 1px 1px #19191a, 1px 1px 2px #161717, 2px 3px 5px rgb(0 0 0 / 71%), -1px -1px 1px #01181a,
        -1px -1px 1px #f9f9f9;
}
.devicon.icon-w-lg {
    font-size: 54px;
}
#hard .ambition {
    display: none;
    color: var(--textgrey);
    -webkit-box-shadow: -2px -2px 3px #fffffffb, 2px 2px 3px rgba(13, 14, 15, 0.404);
    box-shadow: -2px -2px 3px #fffffffb, 2px 2px 3px rgba(13, 14, 15, 0.404);
}
#hard .fillers {
    color: white;
    background: var(--babylon-blue);
    position: relative;
    height: 2em;
    width: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    -webkit-box-shadow: none;
    box-shadow: none;
}
#hard .fillers:before {
    /* content: ''; */
    display: block;
    position: absolute;
    width: 19.2px;
    height: 14.4px;
    background: rgb(255, 255, 255);
    transform: rotate(-25deg) skewX(40deg);
    -webkit-box-shadow: inset 0px 0px 2px rgba(141, 140, 140, 0.582), inset 0px 0px 2px rgba(141, 140, 140, 0.582),
        inset 1px 0px 4px rgba(58, 58, 58, 0.212), inset -1px 0px 4px rgba(58, 58, 58, 0.219);
    box-shadow: inset 0px 0px 2px rgba(252, 250, 250, 0.582), inset 0px 0px 2px rgba(252, 252, 252, 0.582),
        inset 0px 1px 4px rgb(112, 111, 111), inset -1px 0px 1px rgba(112, 111, 111, 0.514);
}
#hard .fillers:after {
    /* content: ''; */
    display: block;
    position: absolute;
    width: 6px;
    height: 100%;
    background: white;
    /* border: 1px solid rgb(139, 138, 138); */
    -webkit-box-shadow: inset 0px 0px 1px rgb(247, 245, 245), inset 0px 0px 1px rgb(247, 244, 244),
        inset 1px 0px 2px rgba(59, 59, 59, 0.945), inset -1px 0px 4px rgba(153, 153, 153, 0.384);
    box-shadow: inset 0px 0px 1px rgb(247, 245, 245), inset 0px 0px 1px rgb(247, 244, 244),
        inset -1px 0px 0px rgba(128, 127, 127, 0.945), inset -1px 0px 4px rgba(153, 153, 153, 0.384);
}
.fill:first-child {
    padding-right: 20px;
}
.fill:last-child {
    padding-left: 20px;
}
.skills-box #certificates ul li a {
    color: var(--textgrey);
    text-decoration-color: var(--textgrey);
}
.skills-box #certificates ul li a:hover,
.skills-box #certificates ul li a:focus {
    color: white;
    text-decoration-color: white;
}
.skill-div .panel-title {
    height: 15%;
    font-weight: bold;
    text-align: center;
    color: var(--textgrey);
    display: flex;
    justify-content: center;
    align-items: flex-end;
}
.skill-div .panel-title span {
    font-weight: normal;
    text-decoration: underline;
    text-decoration-color: var(--babylon-blue);
    text-decoration-thickness: 1px;
}

/************** Grid 6: languages bar **************/

.language-box {
    height: 85%;
    margin: 1em auto;
    color: var(--babylon-blue);
    order: 1px solid var(--babylon-blue);
    border-radius: 15px 15px 40px 40px;
    margin: 2em auto;
}
.language-box ul {
    list-style-type: none;
}
.language-box li {
    margin: 0.9em 0;
    padding: 0 0.5em 0 0.5em;
}
.language-box li p {
    margin: 0.2em 0;
    color: var(--textgrey);
    font-size: 16px;
    padding-bottom: 0.2em;
    text-shadow: -1px -1px 1px rgba(255, 255, 255, 0.541), -1px 1px 1px rgba(0, 0, 0, 0.514);
}
.language-bar {
    background: rgba(255, 255, 255, 0.863);
    display: block;
    height: 5px;
    border: 0px solid var(--babylon-blue);
    border-radius: 10px;
    box-sizing: initial;
    -webkit-box-shadow: -2px -2px 2px 0 rgba(0, 0, 0, 0.61), 2px 2px 2px 0 rgba(255, 255, 255, 0.822);
    box-shadow: -2px -2px 2px 0 rgba(0, 0, 0, 0.61), 2px 2px 2px 0 rgba(255, 255, 255, 0.822);
}
.language-bar span {
    height: 5px;
    float: left;
    background: linear-gradient(to right, var(--babylon-blue) 30%, skyblue);
    box-sizing: initial;
    border-radius: 10px;
    width: 0%;
    transition: width 1.3s cubic-bezier(0.075, 0.82, 0.165, 1);
}
.language-bar span::after {
    content: '';
    height: 0px;
    width: 0px;
    top: 0px;
    left: 4px;
    float: right;
    background: rgba(58, 185, 244, 0.842);
    box-sizing: initial;
    color: rgba(58, 185, 244, 0.842);
    position: relative;
    border-radius: 0% 50% 50% 0%;
}
#languages-nl.active .language-bar span::after,
#languages-en.active .language-bar span::after,
#languages-nl:hover .language-bar span::after,
#languages-en:hover .language-bar span::after {
    height: 5px;
    width: 5px;
    -webkit-box-shadow: -3px 0px 5px 4px rgb(253, 253, 253), 3px 0px 5px 4px rgb(245, 246, 247);
    box-shadow: -2px 0px 1px 0px rgb(58, 185, 244), 3px 0px 5px 4px rgb(248, 248, 247);
}
#languages-nl.active #dutch-nl,
#languages-en.active #dutch-en,
#languages-nl:hover #dutch-nl,
#languages-en:hover #dutch-en {
    width: 93%;
    transition: width 2s ease-out;
}
#languages-nl.active #english-nl,
#languages-en.active #english-en,
#languages-nl:hover #english-nl,
#languages-en:hover #english-en {
    width: 81%;
    transition: width 2s ease-out;
    background: rgb(58, 185, 244);
}
#languages-nl.active #french-nl,
#languages-en.active #french-en,
#languages-nl:hover #french-nl,
#languages-en:hover #french-en {
    width: 70%;
    transition: width 2s ease-out;
    background: rgb(58, 185, 244);
}
#languages-nl.active #german-nl,
#languages-en.active #german-en,
#languages-nl:hover #german-nl,
#languages-en:hover #german-en {
    width: 56%;
    transition: width 2s ease-out;
    background: rgb(58, 185, 244);
}
#languages-nl.active #croatian-nl,
#languages-en.active #croatian-en,
#languages-nl:hover #croatian-nl,
#languages-en:hover #croatian-en {
    width: 21%;
    transition: width 2s ease-out;
    background: rgb(58, 185, 244);
}

/************** Grid 7: education **************/

.education-box {
    height: 85%;
    text-align: center;
    margin: 1em auto;
    padding: 2em;
    background: rgba(253, 250, 250, 0.03);
    border: 2px solid var(--babylon-blue);
    border-radius: 15px 15px 40px 40px;

    -webkit-box-shadow: var(--shad-grid-inset);
    box-shadow: var(--shad-grid-inset);
}
.education-box h2 {
    color: var(--babylon-blue);
    font-size: 1.5em;
    letter-spacing: 2px;
    padding-bottom: 0.3em;
    text-shadow: -2px -2px 1px rgba(253, 252, 252, 0.596), 1px 1px 1px rgba(0, 7, 10, 0.692);
}
.education-box h3 {
    color: var(--textgrey);
    font-size: 16px;
}
.education-box hr {
    border-top: 1px solid var(--babylon-blue);
    border-bottom: 1px solid rgba(58, 185, 244, 0);
    border-left: transparent;
    border-right: transparent;
    width: 30%;
    margin: 1em auto;
    height: 1px;
    background: transparent;

    -webkit-transition: border-top 1.5s ease-out, border-bottom 1.5s ease-in-out, width 2s ease-out;
    transition: border-top 1.5s ease-out, border-bottom 1.5s ease-in-out, width 2s ease-out;
    -o-transition: border-top 1.5s ease-out, border-bottom 1.5s ease-in-out, width 2s ease-out;
    transition: border-top 1.5s ease-out, border-bottom 1.5s ease-in-out, width 2s ease-out;
    transition: border-top 1.5s ease-out, border-bottom 1.5s ease-in-out, width 2s ease-out;
}
#education-nl:hover .education-box hr,
#education-en:hover .education-box hr {
    width: 70%;
    margin: 1em auto;
    height: 1px;
    border-top: 1px solid white;
    border-bottom: 1px solid rgb(171, 171, 172);
    border-left: transparent;
    border-right: transparent;

    -webkit-box-shadow: 0px 0px 10px 2px var(--babylon-blue);
    box-shadow: 0px 0px 10px 2px var(--babylon-blue);
    -webkit-transition: border-top 1s ease-in-out, border-bottom 1s ease-in-out, width 2s ease-in,
        -webkit-box-shadow 2.5s ease-out;
    transition: border-top 1s ease-in-out, border-bottom 1s ease-in-out, width 2s ease-in,
        -webkit-box-shadow 2.5s ease-out;
    -o-transition: box-shadow 2.5s ease-out, border-top 1s ease-in-out, border-bottom 1s ease-in-out, width 2s ease-in;
    transition: box-shadow 2.5s ease-out, border-top 1s ease-in-out, border-bottom 1s ease-in-out, width 2s ease-in;
    transition: box-shadow 2.5s ease-out, border-top 1s ease-in-out, border-bottom 1s ease-in-out, width 2s ease-in,
        -webkit-box-shadow 2.5s ease-out;
}

/*=================================== Footer ===================================*/

footer {
    max-width: 900px;
    height: 2em;
    border-top: 2px solid var(--babylon-blue);
    border-bottom: 3px solid var(--babylon-blue);
    border-left: 1px solid var(--babylon-blue);
    border-right: 1px solid var(--babylon-blue);
    border-radius: 40px;
    margin-left: auto; /* center when fullscreen */
    margin-right: auto;
}

@media only screen and (max-width: 900px) {
    footer {
        margin: 0;
    }
}
/*=================================== Responsive ===================================*/

@media only screen and (max-width: 810px) {
    .job-infos > h2 {
        font-size: 1.3em; /* fallback */
        font-size: 3.4vw;
    }
    .about-text:last-child {
        font-size: 0.61em;
        font-size: 1.7vw;
    }
    .skill-div ul li {
        font-size: 0.7em;
        font-weight: normal;
    }
}

@media only screen and (min-width: 740px) {
    .grid-area:hover svg > path {
        stroke-dasharray: var(--pathLen) 0;
        stroke-dashoffset: calc((var(--pathLen) - var(--halfW)) * 1px);
        animation: reveal 1s ease-out 0.5s forwards;
    }
}

@media only screen and (max-width: 740px) {
    /*********** Rescaling fonts and dimensions ***********/

    .name-box {
        max-height: 15em;
    }
    .name-box p {
        padding: 1em 1em 0em 1em;
    }
    .photo-box {
        position: initial;
        height: 100%;
        width: 100%;
    }
    .work-box {
        height: 530px;
    }
    .job-infos > h2 {
        font-size: 1.6em;
    }
    .job-detail > h3 {
        font-size: 1.2em;
    }
    .skill-div ul li {
        font-size: 0.8em;
        font-weight: bold;
    }
    #name {
        padding-bottom: 0;
    }
    .about-text:last-child {
        font-size: 0.8em;
    }

    /*********** Grid > Flex ***********/
    .resume {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        height: 100%;
        width: 100%;
    }

    /*********** skills-box ***********/
    .skill-div ul {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        justify-items: stretch;
        position: relative;
        align-items: center;
        padding: 0.5em;
    }
    .skill-div p {
        padding-left: 0.6em;
    }
    .skills-box #soft ul li {
        display: flex;
        font-size: 0.8em;
        font-weight: bold;
        justify-content: center;
        align-items: center;
        padding: 0.5em;
        list-style-type: none;
        min-height: 3em;
    }

    #hard ul {
        grid-template-columns: repeat(4, 1fr);
    }

    /*********** mobile scroll line ***********/
    section:not(#name) > hr {
        color: white;
        height: 4px;
        width: 0%;
        opacity: 0;
        margin-top: 3px;
        border-radius: 40px;
        transition: All 1s cubic-bezier(0.73, 0.2, 0.39, 1.02);
    }
    .active:not(#name) > hr {
        width: 100%;
        opacity: 1;
        transition: all 2s cubic-bezier(0.73, 0.2, 0.39, 1.02) 0.2s;
    }

    .grid-area.middle svg > path {
        animation: reveal 1s ease-out 0.5s forwards;
    }

    /*--------------------------*/

    /********** work: timeline reposition **********/
    .timeline .event::before {
        left: -11.4em;
    }
    .timeline .event::after {
        left: -4.7em;
    }
    .timeline {
        padding: 2em 0em 1.5em 4em;
        margin: 1em 0em 0em 3em;
        background-color: rgba(255, 255, 255, 0.233);

        -webkit-box-shadow: inset -6px -6px 10px 0 rgba(0, 0, 0, 0.2), inset 6px 6px 10px 0 rgba(255, 255, 255, 0.5),
            inset 1px 0px 2px 0px rgba(77, 76, 76, 0.74);
        box-shadow: inset -6px -6px 10px 0 rgba(0, 0, 0, 0.2), inset 6px 6px 10px 0 rgba(255, 255, 255, 0.5),
            inset 1px 0px 2px 0px rgba(77, 76, 76, 0.74);

        -webkit-transition: background-color 1.5s ease-in-out, margin-left 1s ease-in,
            -webkit-box-shadow 1.5s ease-in-out, -webkit-box-shadow 1.5s ease-in-out;
        transition: background-color 1.5s ease-in-out, margin-left 1s ease-in, -webkit-box-shadow 1.5s ease-in-out,
            -webkit-box-shadow 1.5s ease-in-out;
        -o-transition: box-shadow 1.5s ease-in-out, background-color 1.5s ease-in-out, box-shadow 1.5s ease-in-out,
            margin-left 1s ease-in;
        transition: box-shadow 1.5s ease-in-out, background-color 1.5s ease-in-out, box-shadow 1.5s ease-in-out,
            margin-left 1s ease-in;
        transition: box-shadow 1.5s ease-in-out, background-color 1.5s ease-in-out, box-shadow 1.5s ease-in-out,
            margin-left 1s ease-in, -webkit-box-shadow 2s ease-in-out, -webkit-box-shadow 2s ease-in-out;
    }
    .job-infos {
        left: -2.5em;
        padding-right: 0;
        width: 110%;
    }
    .job-discription-list:last-child {
        padding-bottom: 0.6em;
    }
}

@media only screen and (max-width: 580px) {
    .job-detail > h3 {
        font-size: 1.1em;
    }
    .job-infos > h2 {
        font-size: 1.5em;
    }
    .job-infos {
        width: 115%;
    }
}

@media only screen and (max-width: 550px) {
    .work-box {
        height: 560px;
    }
    .skill-div ul {
        display: flex;
    }
}

@media only screen and (max-width: 450px) {
    .job-detail > h3 {
        font-size: 0.9em;
    }
    .job-infos > h2 {
        font-size: 1.3em;
        letter-spacing: 1.4px;
    }
    .job-infos {
        width: 120%;
    }
    .education-box h2 {
        color: var(--babylon-blue);
        font-size: 1.34em;
    }
}

@media only screen and (max-width: 410px) {
    .work-box {
        height: 500px;
    }
    .education-box {
        padding: 2em 0.7em;
    }
    .job-infos > h2 {
        font-size: 1.2em;
    }
    .skill-div ul {
        display: flex;
    }
    .skills-box #soft ul li {
        height: auto;
        min-height: 2em;
        line-height: 90%;
    }
    #hard ul {
        grid-template-columns: repeat(3, 1fr);
        place-items: center;
    }
    .skills-box #hard ul li {
        line-height: 90%;
    }
    /* modal */

    .pdf-modal .modal-input {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 4rem;
        margin: 0.5rem 0;
    }

    .pdf-modal .modal-input label {
        margin-left: 0;
        height: 2rem;
    }

    .pdf-modal .modal-input::after {
        height: 1.5rem;
        margin: 0.25rem 0;
        left: 0;
        transform: translate(50%, 0);
    }
    input[data-role='tracker']:checked ~ .modal-input::after {
        transform: translate(50%, 2rem);
    }
    .modal-buttons-div {
        margin-right: 0;
        justify-content: center;
    }
    .menu .pdf-modal .modal-button {
        height: 2.2rem;
    }
}

@media only screen and (max-width: 396px) {
    .job-infos > h2 {
        font-size: 1em;
    }
    .job-detail > h3 {
        font-size: 0.8em;
    }
    .job-infos {
        width: 125%;
    }
    .resume {
        flex-wrap: nowrap;
    }
    .circle {
        height: 9em;
        width: 9em;
    }
    .circle::after {
        width: 12.15em;
        height: 12.15em;
        top: -1.8em;
        left: -1.485em;
    }
    #photo:hover .circle::after,
    #photo.active .circle::after {
        width: 12.15em;
        height: 12.15em;
        top: -1.8em;
        left: -1.485em;
    }
    #profile-picture,
    #bus,
    #croatia {
        height: 8.925em;
        width: 8.925em;
    }
}

@media only screen and (max-width: 370px) {
    .work-box {
        height: 530px;
    }
    .education-box h2 {
        font-size: 1.34em;
    }

    .job-infos > h2 {
        font-size: 1em;
    }

    .job-detail > h3 {
        font-size: 0.8em;
    }

    .job-infos {
        width: 135%;
    }
    .lang-links-nav {
        flex-direction: column;
        padding: 0 0.2rem;
    }

    .lang-links-nav label {
        font-size: 1rem;
    }
    .lang-links-nav label:first-child {
        border-right: none;
        border-bottom: 1px solid var(--babylon-blue);
    }
}

@media only screen and (max-width: 350px) {
    .lang-links-nav {
        display: none;
    }
}

/************** timeline transition ************/

#work .timeline.transition--shown {
    margin: 1em 0em 0em 0.5em;
    background-color: var(--bgGray);

    -webkit-transition: background-color 1.5s ease-in, margin-left 1s ease-in, -webkit-box-shadow 1.5s ease-in;
    transition: background-color 1.5s ease-in, margin-left 1s ease-in, -webkit-box-shadow 1.5s ease-in;
    -o-transition: box-shadow 1.5s ease-in, background-color 1.5s ease-in, margin-left 1s ease-in;
    transition: box-shadow 1.5s ease-in, background-color 1.5s ease-in, margin-left 1s ease-in;
    transition: box-shadow 1.5s ease-in, background-color 1.5s ease-in, margin-left 1s ease-in,
        -webkit-box-shadow 1.5s ease-in;
}
#timeline .event.transition--shown::after {
    left: -4.07em;
    top: -1.05em;
    height: 1.2em;
    -webkit-transform: rotate3d(0, 1, 0, 180deg);
    transform: rotate3d(0, 1, 0, 180deg);
    width: 3em;
    border: 1px solid var(--babylon-blue);
    border-radius: 5px;

    -webkit-transition: background-color 1.5s ease-in, left 0.4s ease-in 0.1s, top 0.5s linear 0.5s, height 0.4s linear,
        width 0.4s linear 0.3s, border-radius 0.5s linear, border 0.4s linear 0.2s, -webkit-box-shadow 1.5s ease-in,
        -webkit-transform 0.5s linear;
    transition: background-color 1.5s ease-in, left 0.4s ease-in 0.1s, top 0.5s linear 0.5s, height 0.4s linear,
        width 0.4s linear 0.3s, border-radius 0.5s linear, border 0.4s linear 0.2s, -webkit-box-shadow 1.5s ease-in,
        -webkit-transform 0.5s linear;
    -o-transition: box-shadow 1.5s ease-in, background-color 1.5s ease-in, left 0.4s ease-in 0.1s, top 0.5s linear 0.5s,
        transform 0.5s linear, height 0.4s linear, width 0.4s linear 0.3s, border-radius 0.5s linear,
        border 0.4s linear 0.2s;
    transition: box-shadow 1.5s ease-in, background-color 1.5s ease-in, left 0.4s ease-in 0.1s, top 0.5s linear 0.5s,
        transform 0.5s linear, height 0.4s linear, width 0.4s linear 0.3s, border-radius 0.5s linear,
        border 0.4s linear 0.2s;
    transition: box-shadow 1.5s ease-in, background-color 1.5s ease-in, left 0.4s ease-in 0.1s, top 0.5s linear 0.5s,
        transform 0.5s linear, height 0.4s linear, width 0.4s linear 0.3s, border-radius 0.5s linear,
        border 0.4s linear 0.2s, -webkit-box-shadow 1.5s ease-in, -webkit-transform 0.5s linear;
}
#timeline .event.transition--shown::before {
    left: -7.3em;
    top: -1em;
    z-index: 10;

    -webkit-transition: left 0.7s linear 0s, top 0.5s linear 0.5s;
    -o-transition: left 0.7s linear 0s, top 0.5s linear 0.5s;
    transition: left 0.7s linear 0s, top 0.5s linear 0.5s;
}

/************** svg-tracker border around grid-areas ************/

.svg-tracker {
    top: 0;
    left: 0;
    position: absolute;
    opacity: 1;
    overflow: visible;
    z-index: -1;
}

.svg-tracker > path {
    fill: transparent;
    stroke-width: 0;
    transition: all 1s;
    animation: conceal 1s ease-out 0s forwards;
}

/* h> ********************************** <<animations>> ********************************** */
@-webkit-keyframes letters {
    0% {
        color: var(--babylon-blue);
        background: rgba(135, 207, 235);
        box-shadow: 0 0 15px 10px skyblue;
    }
    25% {
        box-shadow: 0 0 3px 2px skyblue;
        width: 60px;
        border-radius: 50px;
        transform: scale(15) translateZ(100px) translateX(-30px) translateY(-100px) skew(-10deg);
    }
    90%,
    100% {
        color: var(--babylon-blue);
        perspective-origin: right;
        background: none;
    }
}
@keyframes letters {
    0% {
        color: var(--babylon-blue);
        background: rgba(135, 207, 235);
        box-shadow: 0 0 15px 10px skyblue;
    }
    25% {
        box-shadow: 0 0 3px 2px skyblue;
        width: 60px;
        border-radius: 50px;
        transform: scale(15) translateZ(100px) translateX(-30px) translateY(-100px) skew(-10deg);
    }
    90%,
    100% {
        color: var(--babylon-blue);
        perspective-origin: right;
        background: none;
    }
}

@keyframes switchBackground {
    0% {
        transform: scale(0.2);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes reveal {
    0% {
        stroke-width: 3;
        stroke-dasharray: 0 var(--pathLen);
        stroke-dashoffset: calc((var(--halfLen) - var(--halfW)) * 1px);
    }
    50% {
        stroke: white;
    }
    100% {
        stroke-width: 3;
        stroke-dasharray: var(--pathLen) 0;
        stroke-dashoffset: calc((var(--pathLen) - var(--halfW)) * 1px);
    }
}

@keyframes conceal {
    0% {
        stroke-width: 3;
        stroke-dasharray: var(--pathLen) 0;
        stroke-dashoffset: calc((var(--pathLen) - var(--halfW)) * 1px);
    }
    99% {
        stroke-width: 3;
        stroke: white;
        stroke-dasharray: 0 var(--pathLen);
        stroke-dashoffset: calc((var(--halfLen) - var(--halfW)) * 1px);
    }
    100% {
        stroke-width: 0;
    }
}
