@import url('https://fonts.googleapis.com/css2?family=Literata:wght@300;400&family=Montserrat:wght@500;900&display=swap');

*,
*::before,
*::after {
    box-sizing: border-box;
    position: relative;
}

html {
    font-size: 12px;
    font-family: sans-serif;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -ms-overflow-style: scrollbar;
    -webkit-tap-highlight-color: transparent;
}

body {
    margin: 0;
    font-family: 'Literata', Georgia, 'Times New Roman', Times, serif;
    font-weight: 400;
    color: #1a1e23;
    text-align: left;
}

@-ms-viewport {
    width: device-width;
}

#logo-sm,
#logo {
    width: 7rem;
    margin: -0.3rem;
    padding: 0;
    -webkit-transition: opacity 300ms, filter 400ms;
    -moz-transition: opacity 300ms, filter 400ms;
    transition: opacity 300ms, filter 400ms;
}

#logo-sm a {
    position: fixed;
    z-index: 2;
    width: 8rem;
    mix-blend-mode: luminosity;
}

#logo-sm a span {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 1.25rem;
    font-weight: 900;
    display: inline-block;
    position: absolute;
    width: 12rem;
    margin: .9rem 0 .5rem 1rem;
    color: #42bb9800;

    -webkit-transition: color 600ms;
    -moz-transition: color 600ms;
    transition: color 600ms;
}

#logo:hover,
#logo.active {
    filter: drop-shadow(0.0625rem 0.0625rem 0.0625rem rgba(0, 0, 0, 0.26));
}

#sidebar-logo #logo {
    width: 100%;
    margin: 1rem auto;
}

/* -------------------------------- 

Structure start

 -------------------------------- */

#background {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: center url(../img/Cover_IMG_L1080.jpg);
    background-size: cover;
}

#side-margin {
    display: none;
}

#side-margin {
    position: fixed;
    z-index: 1;
    top: 3.125rem;
    right: 0rem;
    bottom: 3.125rem;
    width: 3.125rem;
    border-radius: 0.5rem 0 0 0.5rem;
    box-shadow: 0 0.125rem 0.25rem 0 rgba(0, 0, 0, 0.08), 0 0.25rem 0.5rem -0.125rem rgba(0, 0, 0, .14);
}

#content-wrapper {
    position: fixed;
    overflow-x: hidden;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100vw;
    height: 100vh;
}


section {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
    padding: 2rem 1rem;
    background-color: transparent;
    background-image: none;
    -webkit-transition: background-color 600ms, color 300ms;
    -moz-transition: background-color 600ms, color 300ms;
    transition: background-color 600ms, color 300ms;
}

section.screen {
    min-height: 100vh;
    min-height: 100dvh;
}

section#header {
    padding-bottom: 4.5rem;
}

section#header .container {
    display: flex;
    flex-flow: column;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: space-between;
}

section#header .title,
section#header .subtitle {
    opacity: 100%;
    -webkit-transition: opacity 600ms;
    -moz-transition: opacity 600ms;
    transition: opacity 600ms;
}

section#header .subtitle {
    text-align: left;
}

#content-wrapper.portfolio #header .title,
#content-wrapper.process #header .title,
#content-wrapper.intro #header .title,
#content-wrapper.contact #header .title,
#content-wrapper.portfolio #header .subtitle,
#content-wrapper.process #header .subtitle,
#content-wrapper.intro #header .subtitle,
#content-wrapper.contact #header .subtitle {
    opacity: 0%;
}

#content-wrapper.header section {
    background-color: transparent;
    color: #FFF;
}

#content-wrapper.intro section {
    background-color: #1A1E23;
    color: #FFF;
}

#content-wrapper.portfolio section {
    background-color: #1A1E23;
    color: #FFF;
}

#content-wrapper.process section {
    background-color: #587F7A;
    color: #FFF;
}

#content-wrapper.contact section {
    background-color: transparent;
    color: #FFF;
}

section#contact {
    padding: 2rem;
}

section#contact h1,
section#contact a h1 {
    margin-bottom: 0.625rem;
    display: i;
}


.container {
    display: block;
    width: 100%;
}

.container.middle .row {
    align-items: center;
    min-height: 100%;
}

.row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    gap: 1rem;
}


/* -------------------------------- 

Structure end

 -------------------------------- */

/* -------------------------------- 

Text styles Start

 -------------------------------- */

::-moz-selection {
    background: #1a1e23;
    color: #42BB98;
}

::selection {
    background: #1a1e23;
    color: #42BB98;
}

.text-left {
    text-align: left !important;
}

.text-right {
    text-align: right !important;
}

.text-center {
    text-align: center !important;
}

h1.vspace {
    margin-top: 2.625rem;
}

ol,
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

a,
p {
    font-size: 1.25rem;
    font-weight: 400;
    margin: 0 0 1.25rem;
}

a {
    color: #42bb98;
    text-decoration: none;
    -webkit-transition: color 300ms;
    -moz-transition: color 300ms;
    transition: color 300ms;
}

a:hover {
    color: #DD4448;
    cursor: grab;
}

a:active {
    color: #DD4448;
    cursor: grabbing;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    color: inherit;
    text-transform: uppercase;
}

h1 {
    font-size: 2.625rem;
    font-weight: 900;
    margin: 0 0 2.625rem 0;
}

h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 1.5rem 0;
}

h3 {
    font-size: 1.25rem;
    margin: 0 0 1.25rem 0;
}

h4 {
    font-size: 1.063rem;
    margin: 1.063rem 0;
}

h5 {
    font-size: 1.063rem;
    margin-bottom: 0.5625rem;
}

img {
    vertical-align: middle;
    border-style: none;
}

.img-fluid {
    width: 100%;
    height: auto;
    padding: 0;
}

.img-fluid.padded {
    margin: 0 0 2rem 0;
}

svg:not(:root) {
    overflow: hidden;
}

label {
    display: inline-block;
    margin-bottom: .5rem;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 1.188rem;
}

button {
    display: block;
    border: none;
    border-radius: 2rem;
    width: 33%;
    height: auto;
    margin: 0 auto;
    padding: 1rem;
    background-color: #42BB98;
    box-shadow: 0 0 0.25rem 0 rgba(0, 0, 0, 0.22), 0 0 0.25rem -0.25rem rgba(0, 0, 0, .34);
    font-family: 'Literata', Georgia, 'Times New Roman', Times, serif;
    font-size: 1.25rem;
    color: #FFF;
    font-weight: 300;
}

input,
textarea {
    margin: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

textarea {
    overflow: auto;
    resize: vertical;
}

span.red {
    color: #DD4448;
    text-decoration: none;
    -webkit-transition: color 300ms;
    -moz-transition: color 300ms;
    transition: color 300ms;
}

a:hover span.red {
    color: #42BB98;
}

/* -------------------------------- 

Text styles end

 -------------------------------- */

/* -------------------------------- 

Text animations start

 -------------------------------- */

.title,
.subtitle {
    width: 100%;
    text-align: left;
}

.title h1,
.title h1 span,
.title h2 {
    margin: 0;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    line-height: 1;
}

.title h1 span.one {
    display: inline-block;
    opacity: 0;

    animation-name: titlestay;
    animation-duration: 2.6s;
    animation-timing-function: ease-in-out;
    animation-delay: 2s;
    animation-fill-mode: forwards;

    -webkit-animation-name: titlestay;
    -webkit-animation-duration: 2.6s;
    -webkit-animation-timing-function: ease-in-out;
    -webkit-animation-delay: 2s;
    -webkit-transform-style: preserve-3d;
    -webkit-animation-fill-mode: forwards;
}

.title h1 span.two {
    display: inline-block;
    opacity: 0;

    animation-name: titlestay;
    animation-duration: 2.6s;
    animation-timing-function: ease-in-out;
    animation-delay: 2.4s;
    animation-fill-mode: forwards;

    -webkit-animation-name: titlestay;
    -webkit-animation-duration: 2.6s;
    -webkit-animation-timing-function: ease-in-out;
    -webkit-animation-delay: 2.4s;
    -webkit-transform-style: preserve-3d;
    -webkit-animation-fill-mode: forwards;
}

.title h1 span.three {
    display: inline-block;
    opacity: 0;

    animation-name: titlestay;
    animation-duration: 2.6s;
    animation-timing-function: ease-in-out;
    animation-delay: 3s;
    animation-fill-mode: forwards;

    -webkit-animation-name: titlestay;
    -webkit-animation-duration: 2.6s;
    -webkit-animation-timing-function: ease-in-out;
    -webkit-animation-delay: 3s;
    -webkit-transform-style: preserve-3d;
    -webkit-animation-fill-mode: forwards;
}

.subtitle h2.one {
    font-size: 1.1rem;
    font-weight: 300;
    margin: 0;
    padding-bottom: 0.4rem;
    opacity: 0;

    animation-name: titlestay;
    animation-duration: 2s;
    animation-timing-function: ease-in-out;
    animation-delay: 3.5s;
    animation-fill-mode: forwards;

    -webkit-animation-name: titlestay;
    -webkit-animation-duration: 2s;
    -webkit-animation-timing-function: ease-in-out;
    -webkit-animation-delay: 3.5s;
    -webkit-transform-style: preserve-3d;
    -webkit-animation-fill-mode: forwards;
}

.subtitle h2.two {
    font-size: 1.1rem;
    font-weight: 300;
    margin: 0;
    opacity: 0;

    animation-name: titlestay;
    animation-duration: 2s;
    animation-timing-function: ease-in-out;
    animation-delay: 3.8s;
    animation-fill-mode: forwards;

    -webkit-animation-name: titlestay;
    -webkit-animation-duration: 2s;
    -webkit-animation-timing-function: ease-in-out;
    -webkit-animation-delay: 3.8s;
    -webkit-transform-style: preserve-3d;
    -webkit-animation-fill-mode: forwards;
}



/* -------------------------------- 

Text animation end

 -------------------------------- */

/* -------------------------------- 

Panel start

 -------------------------------- */

.panel {
    width: 100%;
    padding: 1.2rem 0;
}

/* -------------------------------- 

Panel end

 -------------------------------- */

/* -------------------------------- 

Folio start

 -------------------------------- */

.thumb {
    width: 100%;
    border-radius: 0.5rem;
    overflow: hidden;
}

.thumb .thumb-over {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-color: #1a1e23;
    opacity: 1;
    transform: rotate(45deg) translateY(0%);

    -webkit-transition: opacity 300ms, transform 600ms;
    -moz-transition: opacity 300ms, transform 600ms;
    transition: opacity 300ms, transform 600ms;
    mix-blend-mode: color;
}

.thumb .thumb-text {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-content: end;
    justify-content: end;
    background-color: #1a1e230d;
    opacity: 0;
    text-align: center;
    color: #fff;

    -webkit-transition: opacity 300ms;
    -moz-transition: opacity 300ms;
    transition: opacity 300ms;
}

.thumb:hover .thumb-over,
.thumb.active .thumb-over {
    opacity: 1;
    transform: rotate(45deg) translateX(100%);
}

.thumb:hover .thumb-text,
.thumb.active .thumb-text {
    opacity: 1;
}

.thumb .thumb-text .thumb-text-wrapper,
.thumb .thumb-text .thumb-text-wrapper {
    width: 100%;
    padding: 0.5rem;
    background-color: #1A1E23CC;
}

.thumb .thumb-text .thumb-text-wrapper h5,
.thumb .thumb-text .thumb-text-wrapper h5 {
    margin: 0;
}

.thumb .thumb-text .thumb-text-wrapper p,
.thumb .thumb-text .thumb-text-wrapper p {
    font-size: 1rem;
    margin: 0.5rem 0 1rem 0;
}


.thumb .thumb-text .thumb-text-wrapper a,
.thumb .thumb-text .thumb-text-wrapper a {
    display: block;
    width: calc(100% + 1rem);
    margin: 0.5rem -0.5rem -0.5rem -0.5rem;
    padding: 0.5rem;
    font-size: 1rem;
    color: #fff;
    background: #42bb98;
}

/* -------------------------------- 

Folio end

 -------------------------------- */

/* -------------------------------- 

Process start

 -------------------------------- */

.img-span {
    display: flex;
    flex-wrap: wrap;
    margin-left: -1rem;
    margin-right: -1rem;
    padding: 4rem 2rem;
    background-color: #587F7A;
    text-align: center;
    color: #FFF;
    align-items: flex-start;
    justify-content: center;
    gap: 1rem;
}

.img-span.top {
    padding: 0;
}

.img-span.white {
    background-color: #E9EDEF;
    color: #1A1E23;
}

.img-span.mute {
    background-color: #FFF;
    color: #1A1E23;
}

.img-span.blank {
    background-color: #FFF;
    color: #1A1E23;
}

.img-span:before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 0;
    border-bottom: 2rem solid #FFF;
    border-left: 2rem solid #587F7A;
    transform: rotate(45deg) translateX(-1.4142rem);
    background-color: #587F7A;
    transform-origin: center center;
}

.img-span.white:before {
    border-bottom: 2rem solid #FFF;
    border-left: 2rem solid #E9EDEF;
}

.img-span.mute:before {
    border-bottom: 2rem solid #587F7A;
    border-left: 2rem solid #FFF;
}

.img-span.blank:before {
    border-bottom: 2rem solid #1A1E23;
    border-left: 2rem solid #FFF;
}

.img-span.top:before {
    border: none;
}

.img-span .panel {
    width: 100%;
}

.img-span img {
    max-height: 25rem;
    object-fit: cover;
}

.img-span.full img {
    max-height: none;
}

.img-span .panel p {
    text-align: left;
    color: #FFF;
    margin: 0;
}

.img-span.white .panel p,
.img-span.mute .panel p,
.img-span.blank .panel p {
    color: #1A1E23;
}

#process .img-span img {
    object-fit: contain;
}

/* -------------------------------- 

Process end

 -------------------------------- */

/* -------------------------------- 

Modal Start

 -------------------------------- */

.modal {
    display: flex;
    justify-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    position: fixed;
    z-index: 0;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0;
    border-radius: 7px;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    visibility: hidden;
    background-color: #1a1e23f5;
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
    -webkit-transform-origin: center bottom;
    -moz-transform-origin: center bottom;
    -ms-transform-origin: center bottom;
    -o-transform-origin: center bottom;
    transform-origin: center bottom;
    -webkit-transition: -webkit-transform 0.4s, opacity 0.2s;
    -moz-transition: -moz-transform 0.4s, opacity 0.2s;
    transition: transform 0.4s, opacity 0.2s;
}

.modal.modal-open {
    visibility: visible;
    opacity: 1;
    z-index: 1000;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}

.portfolio-modal .modal-content {
    height: calc(100% - 2rem);
    margin: 1rem;
    border-radius: 0.5rem;
    background-color: #FFF;
    overflow: hidden;
    text-align: left;
    transform: translateX(0rem);
}

.portfolio-modal .modal-content .container {
    height: calc(100% - 4rem);
    margin-top: 4rem;
    padding: 0rem 1rem 1rem;
    overflow-x: hidden;
    overflow-y: auto;
}

.portfolio-modal .modal-content .highlights {
    margin-top: -1rem;
    margin-bottom: -2rem;
}

.portfolio-modal .modal-content .highlights h2,
.portfolio-modal .modal-content .highlights p {
    margin-bottom: 0.3rem;
}

.portfolio-modal .close-modal {
    position: fixed;
    z-index: 1050;
    top: 0rem;
    right: 0rem;
    left: 0rem;
    height: 4rem;
    padding: 0.5rem;
    background-color: #587F7A;
    border-radius: 0.5rem 0.5rem 0 0;
    cursor: pointer;
    box-shadow: 0 0.125rem 0.25rem 0 rgba(0, 0, 0, 0.08), 0 0.25rem 0.5rem -0.125rem rgba(0, 0, 0, .14);
}

.portfolio-modal .close-modal:hover .lr,
.portfolio-modal .close-modal:hover .lr .rl {
    background-color: #42BB98;
}

.portfolio-modal .close-modal .lr {
    z-index: 1051;
    width: 0.5rem;
    height: 3rem;
    margin: 0 1rem 0 auto;
    border-radius: .5rem;
    background-color: #FFF;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);

    -webkit-transition: background-color 0.3s;
    -moz-transition: background-color 0.3s;
    transition: background-color 0.3s;
}

.portfolio-modal .close-modal .lr .rl {
    z-index: 1052;
    width: 0.5rem;
    height: 3rem;
    border-radius: .5rem;
    background-color: #FFF;
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);

    -webkit-transition: background-color 0.3s;
    -moz-transition: background-color 0.3s;
    transition: background-color 0.3s;
}

.portfolio-modal .modal-backdrop {
    display: none;
    opacity: 0;
}

/* -------------------------------- 

Modal end

 -------------------------------- */


/* -------------------------------- 

Vertical navigation start

-------------------------------- */


nav {
    position: fixed;
    z-index: 2;
    right: 35%;
    bottom: 0.5rem;
    left: 35%;
    width: auto;
    height: auto;
    margin: 0 auto;
    border-radius: 2rem;
    box-shadow: 0 0 0.25rem 0 rgba(0, 0, 0, 0.22), 0 0 0.25rem -0.25rem rgba(0, 0, 0, .34);
    background-color: #FFF;
}

nav a {
    display: block;
    position: relative;
    width: auto;
    height: 100%;
    margin: 0 auto;
    padding: 0.25rem;
    border: none;
    background: none;
    text-align: center;
}

nav a svg {
    fill: #1A1E23;
}

#sidebar-logo {
    width: 100%;
    margin: 0 auto;
    display: none;
}

#sidebar-logo a {
    width: 100%;
    height: 100%;
}

#sidebar-logo a svg {
    width: 85%;
    padding: 0;
}

#sidebar-wrapper {
    position: fixed;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    z-index: 1;
    bottom: 5rem;
    width: 16rem;
    height: 22rem;
    padding: 2rem 0;
    background-color: linear-gradient(rgb(66, 187, 152) 18%, rgb(66, 187, 152) 82%, rgb(255, 255, 255) 118%);
    text-align: center;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-transform: scale(0) translateX(-50%);
    -moz-transform: scale(0) translateX(-50%);
    -ms-transform: scale(0) translateX(-50%);
    -o-transform: scale(0) translateX(-50%);
    transform: scale(0) translateX(-50%);
    -webkit-transform-origin: center bottom;
    -moz-transform-origin: left bottom;
    -ms-transform-origin: left bottom;
    -o-transform-origin: left bottom;
    transform-origin: left bottom;
    -webkit-transition: -webkit-transform 0.2s;
    -moz-transition: -moz-transform 0.2s;
    transition: transform 0.2s;
    left: 50%;
    border-radius: 0.5rem;
    box-shadow: 0 0 0.25rem 0.25rem rgba(0, 0, 0, 0.22), 0 0.25rem -0.25rem rgba(0, 0, 0, .34);
}

#sidebar-wrapper.open {
    -webkit-transform: scale(1) translateX(-50%);
    -moz-transform: scale(1) translateX(-50%);
    -ms-transform: scale(1) translateX(-50%);
    -o-transform: scale(1) translateX(-50%);
    transform: scale(1) translateX(-50%);
    -webkit-overflow-scrolling: touch;
}

#sidebar-wrapper ul,
#sidebar-wrapper.open ul {
    width: 100%;
}

#sidebar-wrapper li {
    padding: 0;
}

#sidebar-wrapper a {
    display: block;
    margin: 0;
    padding: 1rem;
    border-bottom: 0.0625rem solid #ffffff47;
    color: #FFF;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1rem;
    text-transform: uppercase;
    mix-blend-mode: difference;
    -webkit-transition: color 0.4s, text-shadow 400ms, background-color 400ms;
    -moz-transition: color 0.4s, text-shadow 400ms, background-color 400ms;
    transition: color 0.4s, text-shadow 400ms, background-color 400ms;
}


#sidebar-wrapper #logo a {
    padding: 0;

}

#sidebar-wrapper #logo a:hover {
    padding: 0;
    background-color: transparent !important;
}

#sidebar-wrapper a:hover,
#sidebar-wrapper a.active {
    color: #1A1E23;
    text-shadow: 0.0625rem 0.0625rem 0.0625rem rgba(0, 0, 0, 0.26);
    background-color: #42BB98;
}


/* -------------------------------- 

Vertical navigation end

 -------------------------------- */

/* -------------------------------- 

Scaling start

-------------------------------- */

/* min-width 420px, medium screens */
@media only screen and (min-width: 420px) {
    html {
        font-size: 14px;
    }

    nav {
        bottom: 1rem;
    }

    #sidebar-wrapper {
        bottom: 5rem;
    }

    section {
        padding: 2rem;
    }

    .img-span {
        margin-left: -2rem;
        margin-right: -2rem;
    }

    .portfolio-modal .modal-content .container {
        padding: 0rem 2rem 2rem;
    }

}

/* min-width 640px, medium screens */
@media only screen and (min-width: 640px) {
    html {
        font-size: 16px;
    }

    nav {
        bottom: 1rem;
    }

    #sidebar-wrapper {
        bottom: 6rem;
    }

    section {
        padding: 2rem;
    }

    .img-span {
        gap: 2rem;
        align-items: center;
        margin-left: -2rem;
        margin-right: -2rem;
    }

    .img-span .row {
        align-items: center;
        gap: 2rem;
    }

    .img-span .row.stretch {
        align-items: stretch;
        gap: 2rem;
    }


    .img-span .panel {
        flex-grow: 1;
        width: auto;
        min-width: 40%;
        max-width: calc(50% - 1rem);
        flex-basis: max-content;
        padding: 0;
        flex-shrink: 1;
    }

    section#contact h1,
    section#contact a h1 {
        margin-bottom: 1.3rem;
    }

    .row .thumb {
        flex-grow: 1;
        width: auto;
        min-width: 40%;
        flex-basis: min-content;
    }

    .thumb .thumb-text .thumb-text-wrapper p,
    .thumb .thumb-text .thumb-text-wrapper p {
        font-size: 0.9rem;
        margin: 0.2rem 0 0.5rem 0;
    }


    .thumb .thumb-text .thumb-text-wrapper a,
    .thumb .thumb-text .thumb-text-wrapper a {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
}

/* min-width 1024px, large screens */
@media only screen and (min-width: 1024px) {
    html {
        font-size: 18px;
    }
    body {
        font-weight: 300;
    }

    a, p {
    font-weight: 300;
}

    nav,
    #logo-sm {
        display: none;
    }

    section,
    section#contact {
        padding-left: 10.5rem;
    }

    section#header {
        padding: 1rem 0.5rem;
        align-items: stretch;
    }

    section#header .container {
        display: flex;
        flex-flow: column;
        flex-wrap: nowrap;
        justify-content: space-between;
        height: 100%;
        max-width: none;
    }
/* 
    #header .title, section#header .subtitle {
        padding-left: 25rem;
    } */
    section#header .title {
        writing-mode: vertical-rl;
        text-orientation: mixed;
    }

    /* #header .title h1 {
        width: 100%;
        transform: rotate(90deg) translate(100%, 0);
        transform-origin: right top;
    } */

    section#header .subtitle {
        text-align: right;
    }

    #sidebar-wrapper,
    #sidebar-wrapper.open {
        position: fixed;
        z-index: 1;
        overflow: auto;
        display: grid;
        grid-auto-rows: 28% auto;
        top: 1rem;
        left: 0.5rem;
        bottom: 1rem;
        border-radius: 0.5rem;
        margin: 0;
        padding: 1rem 0 0;
        width: auto;
        height: auto;
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        -o-transform: scale(1);
        transform: scale(1);
        -webkit-overflow-scrolling: touch;
    }

    #sidebar-wrapper #logo a,
    #sidebar-wrapper #logo a.active,
    #sidebar-wrapper #logo a:hover {
        background-color: transparent;
        text-align: center;
    }

    #sidebar-logo {
        display: block;
        width: 8rem;
    }

    #sidebar-logo #logo {
        margin: 0;
    }

    #sidebar-wrapper a {
        text-align: left;
        font-size: 0.8rem;
        font-weight: 300;
        line-height: 1rem;
        padding: 0.5rem 0.5rem 1.25rem 0.5rem;
        border-bottom: 0.0625rem solid #ffffff47;
    }

    .subtitle h2.one,
    .subtitle h2.two {
        font-size: 0.8rem;
        padding-bottom: 0.2rem;
    }

    #intro .container-full {
        margin-left: 0;
    }

    .container .row {
        max-width: 57rem;
        margin: 0 auto;
    }

    .container .row.fluid {
        max-width: none;
        margin: 0 -6rem 0 -6rem;
    }

    .thumb .thumb-text .thumb-text-wrapper p,
    .thumb .thumb-text .thumb-text-wrapper p {
        margin: 0.5rem 0 1rem 0;
    }


    .thumb .thumb-text .thumb-text-wrapper a,
    .thumb .thumb-text .thumb-text-wrapper a {
        padding: 0.666rem;
    }

    .img-span {
        width: 100%;
        margin-left: -10.5rem;
        margin-right: -2rem;
        padding: 4rem 2rem 4rem 10.5rem;
    }

    .img-span::before {
        left: calc(50% + 70px);
    }

    .modal {
        padding: 0 6rem;
    }

    .portfolio-modal .modal-content {
        transform: translateX(4rem);
    }

    .modal .img-span::before {
        left: 50%;
    }

    .portfolio-modal .modal-content {
        max-width: 57rem;
        /* margin: 1rem auto; */
        padding: 0rem;
    }

    .modal .img-span {
        display: flex;
        gap: 1rem;
        margin-left: -4rem;
        margin-right: -4rem;
        width: auto;
        padding: 4rem 4rem;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: stretch;
        align-content: stretch;
    }

    .modal .img-span.top {
        padding: 0;
    }

    .modal .img-span .panel {
        width: auto;
        max-width: none;
        flex-basis: 48%;
        align-self: stretch;
    }

    .modal .img-span .panel p {
        padding: 0;
    }
}

/* min-width 1440px, xlarge screens */
@media only screen and (min-width: 1440px) {

    html {
        font-size: 20px;
    }

    .modal .img-span.top {
        padding: 0;
    }

    .modal .img-span .panel {
        width: auto;
        max-width: none;
        flex-basis: 48%;
        align-self: stretch;
    }

    .modal .img-span .panel p {
        padding: 0;
    }

    .modal-content .panel h1,
    .modal-content .panel p {
        max-width: 45rem;
        margin-left: auto;
        margin-right: auto;
    }
}

/* min-width 1919px, xxlarge screens */
@media only screen and (min-width: 1919px) {
    html {
        font-size: 22px;
    }
}

/* -------------------------------- 

Scaling end

 -------------------------------- */


/* -------------------------------- 

Animation keyframes start

 -------------------------------- */

@keyframes titlestay {
    0% {
        opacity: 0;
    }

    34% {
        opacity: 1;
    }

    68% {
        opacity: 1;
    }

    100% {
        opacity: 1;
    }
}

@keyframes titleleave {
    0% {
        color: #42bb9800;
        -webkit-transform: translateX(-0.5rem);
        -moz-transform: translateX(-0.5rem);
        -ms-transform: translateX(-0.5rem);
        -o-transform: translateX(-0.5rem);
        transform: translateX(-0.5rem);
    }

    34% {
        color: #42bb98;
        -webkit-transform: translateX(0px);
        -moz-transform: translateX(0px);
        -ms-transform: translateX(0px);
        -o-transform: translateX(0px);
        transform: translateX(0px);
    }

    68% {
        opacity: #42bb98;
    }

    100% {
        color: #42bb9800;

    }
}

@keyframes logoslide {
    0% {
        -webkit-transform: translateY(-300px);
        -moz-transform: translateY(-300px);
        -ms-transform: translateY(-300px);
        -o-transform: translateY(-300px);
        transform: translateY(-300px);
    }

    100% {
        -webkit-transform: translateY(0px);
        -moz-transform: translateY(0px);
        -ms-transform: translateY(0px);
        -o-transform: translateY(0px);
        transform: translateY(0px);
    }
}

@keyframes logoslideup {
    0% {
        -webkit-transform: translateY(0px);
        -moz-transform: translateY(0px);
        -ms-transform: translateY(0px);
        -o-transform: translateY(0px);
        transform: translateY(0px);
    }

    100% {
        -webkit-transform: translateY(-300px);
        -moz-transform: translateY(-300px);
        -ms-transform: translateY(-300px);
        -o-transform: translateY(-300px);
        transform: translateY(-300px);
    }
}

/* -------------------------------- 

Animation keyframes end

 -------------------------------- */