/* Oliver Simpson CSS styles for oliversimpson.design */
/* Oliver Simpson CSS styles for oliversimpson.design */
/* Oliver Simpson CSS styles for oliversimpson.design */

html {
    box-sizing: border-box;
    scroll-snap-type: y mandatory;
    scrollbar-width: none; /* Hides the scrollbar */
}
*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    margin: 0;
    padding: 0;
    cursor: default;
    background-repeat: repeat;
    background-color: #fff;
    color: #fff;
    font-family: "Helvetica Neue", Helvetica, Arial;
    display: flex;
    justify-content: center;
}

body.dark {
    background-color: #333 !important;
}

#background {
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: 0;
    display: none;
}

#wrapper {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: baseline;
    transition: all 0.5s;
}

#wrapper.wrapper-closed {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 1rem 0;
}

.bg-img_cover {
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Do not repeat the image */
    background-size: cover; /* Resize the background image to cover the entire container */
}

.fillParent {
    width: 100%;
    -webkit-background-size: cover !important;
    -moz-background-size: cover !important;
    -o-background-size: cover !important;
    background-size: cover !important;
}

section h2,
section h3,
section p {
    font-family:
        "mic-32-new-rounded-web-1", "mic-32-new-rounded-web-2", sans-serif;
    font-style: normal;
    color: #222;
}

section p {
    font-weight: 300;
    font-size: 1em;
    line-height: 1.3em;
    margin: 2em 0;
}

section h2 {
    font-weight: 400;
    font-size: 3em;
    margin: 0;
}

section h2 span {
    padding: 0.5rem 1rem;
}

section.project {
    position: relative;
    overflow: hidden;
    height: 100vh;
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    transition: all 0.5s;
    scroll-snap-align: start;
    opacity: 1;
}

section.project .project-inner,
section.project .project-inner.expand,
section.project .project-inner .visuals,
section.project .project-inner .visuals .project-video,
section.project.project-closed .project-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}

section.project .project-inner {
    position: relative;
    padding: 4em;
    width: 100%;
    height: 100%;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    transition: 0.3s;
}

section.project .project-inner.expand {
    width: 100%;
    height: 100%;
    background-color: #222;
}

section.project .project-inner p {
    max-width: 65em;
}

section.project .project-inner p a {
    color: #eee;
    background-color: #222;
    text-decoration: none;
    padding: 0.02em 0.2em;
}

section.project .project-inner p a:hover {
    background-color: rgb(244, 67, 54) !important;
    color: #eee !important;
}

section.project .project-inner.expand h2,
section.project .project-inner.expand p {
    display: none;
}

section.project .project-inner .visuals {
    transition: 0.4s;
    align-items: flex-start;
    position: relative;
}

section.project.visible .project-inner .visuals {
    opacity: 1;
}

section.project .project-inner .visuals .project-video {
    -webkit-background-size: cover !important;
    -moz-background-size: cover !important;
    -o-background-size: cover !important;
    background-size: cover !important;
}

section.project .project-inner .visuals .project-video {
    position: relative;
    overflow: overlay;
}

section.project .project-inner .visuals .project-video.flex-order {
    order: 0;
}

section.project .project-inner .visuals .project-images.flex-order {
    order: 1;
}

section.project .project-inner .visuals .project-video:has(img) {
    height: auto !important;
}

section.project .project-inner .visuals .project-video,
section.project .project-inner .visuals .project-images {
    background-color: #000;
}

section.project .project-inner .visuals .project-images,
section.project .project-inner .visuals .project-images img {
    width: calc(100vw / 2.5);
    background-color: transparent;
}

section.project .project-inner .visuals .project-images.carousel {
    border-top: 1em solid transparent;
    transition: border 0.1s;
    box-sizing: content-box;
    background-color: rgb(244, 67, 54);
}

section.project .project-inner .visuals .project-images.carousel:hover {
    border-top: 0em solid transparent;
    cursor: url(../icons/next_double_chevron_64.png), auto;
}

section.project .project-inner .visuals .project-images.carousel.onClick {
    cursor: url(../icons/next_double_chevron_64_white.png), auto;
}

section.project .project-inner .visuals .project-images.carousel ul li {
    position: absolute;
    height: 100%;
}

section.project .project-inner.expand .visuals .project-video {
    width: calc(100vw / 1.5);
    height: calc(100vw / 2.666);
}

section.project .project-inner .visuals i.fa-expand,
section.project .project-inner .visuals i.fa-compress {
    position: relative;
    padding: 0.666em;
    margin-right: 0.666em;
    max-height: 2.3em;
}

/*override styles for buttons*/
section.project .project-inner.expand .visuals i.fa-expand,
section.project .project-inner .visuals i.fa-compress {
    display: none;
}

section.project .project-inner.expand .visuals i.fa-compress {
    display: block;
}

section.project.project-closed {
    width: 20%;
    padding: 0;
    margin: 1rem;
    background-image: none !important;
    background-color: #fff;
    overflow: visible;
    transition: all 0.3s;
}

section.project.project-closed .project-inner {
    padding: 0;
    flex-direction: column;
    background-color: #fff;
    transition: all 0.3s;
}

section.project.project-closed .project-inner .menu-item-img {
    height: calc(100vw / 6);
    width: 100%;
}

section.project#moon.project-closed .project-inner .menu-item-img {
    background-image: url("../images/moon/moon_2b.jpg");
}

section.project#cfcf.project-closed .project-inner .menu-item-img {
    background-image: url("../images/CFCF/main.jpg");
}

section.project#eco.project-closed .project-inner .menu-item-img {
    background-image: url("../images/eco/eco_4f.jpg");
}

section.project#pinpeat.project-closed .project-inner .menu-item-img {
    background-image: url("../images/pinpeat/pinpeat-960.jpg");
}

section.project#array.project-closed .project-inner .menu-item-img {
    background-image: url("../images/array/2.jpg");
}

section.project#chroma.project-closed .project-inner .menu-item-img {
    background-image: url("../images/chroma/chroma.jpg");
}

section.project#vj.project-closed .project-inner .menu-item-img {
    background-image: url("../images/ollygram/5b.jpg");
}

section.project#grid.project-closed .project-inner .menu-item-img {
    background-image: url("../images/grid/grid_2.png");
}

section.project.project-closed .project-inner:hover {
    background-color: rgb(244, 67, 54);
}

section.project.project-closed .project-inner .visuals .project-images,
section.project .project-inner.expand .visuals .project-images,
section.project.project-closed .project-inner p span.more {
    display: none;
}

section.project.project-closed .project-inner.expand {
    height: auto;
}

section.project.project-closed .project-inner h2,
section.project.project-closed .project-inner p {
    text-align: center;
}

section.project.project-closed .project-inner p {
    font-size: 1.2em !important;
    padding: 0 1em;
}

section.project.project-closed .project-inner h2 {
    font-size: 3em !important;
    padding: 1.5em 0 0;
}

section.project.project-closed .project-inner:hover h2,
section.project.project-closed .project-inner:hover p,
section.project.project-closed.hover .project-inner h2,
section.project.project-closed.hover .project-inner p {
    color: #eee !important;
}

section.project.project-closed .project-inner p a {
    background-color: transparent;
    pointer-events: none;
    color: #222;
    padding: 0;
}

section.project.project-closed .project-inner:hover p a,
section.project.project-closed.hover .project-inner p a {
    color: #eee !important;
}

section.project.project-closed .project-inner .visuals i {
    display: none !important;
}

section.project.project-closed .project-inner.expand h2,
section.project.project-closed .project-inner.expand p {
    display: block;
}

section.project .project-inner.expand .visuals,
section.project.project-closed .project-inner .visuals {
    opacity: 1;
    position: relative;
}

section.project.project-closed .project-inner .visuals .project-video {
    display: none;
}

section#oliver.project.project-closed .project-inner br.extra-space {
    display: none;
}

section#contact.project.project-closed div.project-inner p.pad-on-menu {
    padding-bottom: 2rem;
}

/* Oliver and Contact */
/* Oliver and Contact */
/* Oliver and Contact */
/* Oliver and Contact */
/* Oliver and Contact */
/* Oliver and Contact */

section#oliver,
section#oliver-placeholder {
    height: 100vh;
}

section#oliver {
    position: absolute;
    top: 0;
    left: 0;
}

section#oliver.menu {
    position: relative;
}

section#oliver.project .project-inner {
    -webkit-background-size: cover !important;
    -moz-background-size: cover !important;
    -o-background-size: cover !important;
    background-size: cover !important;
}

section#oliver.project .project-inner {
    background: url("../images/moon/moon_4b.jpg");
    background-color: #222 !important;
}

section#oliver.project .project-inner {
    align-items: center;
    justify-content: center;
    text-align: center;
}

section#oliver.project .project-inner h2,
section#oliver.project .project-inner p {
    color: #eee;
}

section#oliver.project .project-inner h2 {
    font-size: 4em;
    color: #fff !important;
    margin: 0;
}

section#oliver.project .project-inner h2 #title0 {
    line-height: 1.6em;
}
section#oliver.project .project-inner h2 #title1 {
    background-color: #673ab7;
}
section#oliver.project .project-inner h2 #title2 {
    background-color: #3f51b5;
}
section#oliver.project .project-inner h2 #title3 {
    background-color: #2196f3;
}
section#oliver.project .project-inner h2 #title4 {
    background-color: #f44336;
}

section#oliver.project.project-closed .project-inner h2 #title1,
section#oliver.project.project-closed .project-inner h2 #title2,
section#oliver.project.project-closed .project-inner h2 #title3,
section#oliver.project.project-closed .project-inner h2 #title4 {
    text-align: center;
    display: flex;
    justify-content: center;
}
section#oliver.project.project-closed .project-inner h2 #title0 {
    line-height: 1em;
    font-size: 1em;
}

section#oliver.project .project-inner p,
section#contact.project .project-inner p {
    font-size: 1.4em;
    line-height: 1.4em;
    text-align: center;
    max-width: 40em;
}

section#oliver.project .project-inner p a {
    background-color: #fff;
    color: #222;
}

section#oliver.project.dark .project-inner p a:hover {
    color: #eee !important;
}

section#oliver.project.project-closed .project-inner h2 {
    padding-top: 1.25em;
}

section#contact.project .project-inner {
    display: flex;
    align-items: center;
    justify-content: center;
}

section#contact.project.project-closed .project-inner p {
    padding: 0;
    margin: 0;
}

section#contact.project.project-closed .project-inner h2 {
    padding-bottom: 2em;
}

section#contact.project .project-inner img {
    border-radius: 20em;
    transition: 0.3s;
    width: 20em;
    height: 20em;
}

section#contact.project.project-closed .project-inner img {
    width: inherit;
    height: auto;
    border-radius: 0;
}

.rotate180 {
    transform: rotate(180deg);
    /* Safari */
    -webkit-transform: rotate(180deg);
    /* Firefox */
    -moz-transform: rotate(180deg);
    /* IE */
    -ms-transform: rotate(180deg);
    /* Opera */
    -o-transform: rotate(180deg);
    /* Internet Explorer */
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
}

/* Dark */
/* Dark */
/* Dark */
/* Dark */
/* Dark */
/* Dark */

#wrapper.dark {
    background-color: #333;
}

section.project.dark .project-inner {
    background-color: #333;
}

section.project.dark .project-inner h2,
section.project.dark .project-inner p,
section.project.project-closed.dark .project-inner h2,
section.project.project-closed.dark .project-inner p {
    color: #fff !important;
}

section.project.dark .project-inner a {
    background-color: #eee;
    color: #222;
}

section.project.dark .project-inner:hover a,
section.project.dark.hover .project-inner a {
    color: #222 !important;
}

section.project.dark.project-closed .project-inner p a,
section.project.dark.project-closed .project-inner:hover p a,
section.project.dark.project-closed.hover .project-inner p a {
    color: #eee !important;
}

i {
    transition:
        background-color 0.1s,
        color 0.1s,
        margin 0.1s,
        opacity 0.3s;
    color: #222;
    background-color: #fff;
}

i:hover,
i:focus {
    color: #fff;
    background-color: rgb(244, 67, 54);
}

#menuIconBox,
#toggleBox {
    position: fixed;
    width: calc(100vw / 10);
    height: 100%;
    top: 0;
    right: 0;
    z-index: 10000;
    transition: opacity 0.3s;
}

.dayNight {
    padding: 1.4rem 0.5rem;
    background-color: white;
}

.dayNight.dark,
#down-button-box.dark {
    background-color: #333;
}

#menuIconBox .menuIcon,
#toggleBox {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

#toggleBox {
    left: 0;
    display: none;
}

#toggleBox.show {
    display: flex;
}

#toggleBox.hide {
    display: none;
}

#menuIconBox .menuIcon i {
    padding: 0.666em;
}

#down-button-box {
    z-index: 10000;
    position: fixed;
    bottom: 0;
    right: 0;
    width: 100%;
}

#down-button-box.large-screen {
    padding: 1.5rem;
}

#down-button-box .down-button {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#down-button-box .down-button i {
    border-radius: 2em;
    padding: 0.666em;
    transition:
        margin 0.3s,
        transform 0.2s !important;
}

/* media queries for responsive layout */
/* media queries for responsive layout */
/* media queries for responsive layout */
/* media queries for responsive layout */
/* media queries for responsive layout */
/* media queries for responsive layout */

@media screen and (min-width: 0px) and (max-width: 399px) {
    section#oliver.project .project-inner h2 {
        font-size: 2.5em !important;
        display: flex;
        flex-direction: column;
    }
    section#oliver.project .project-inner p,
    section#contact.project .project-inner p {
        font-size: 1.1em;
    }
    section h2 {
        font-size: 3em;
    }
    section p {
        font-size: 0.9em;
    }
    section.project.project-closed .project-inner p {
        font-size: 0.9em !important;
    }
    section.project .project-inner .visuals .project-video {
        width: calc(100vw / 1.2);
        height: calc(100vw / 2.13);
    }
    i.fa.fa-expand.fa-2x,
    i.fa-expand::before {
        display: none;
    }
    section.project .project-inner .visuals .project-images,
    section.project .project-inner .visuals .project-images img {
        width: calc(100vw / 1.2);
    }
    section.project .project-inner {
        padding: 2em;
    }
    section.project.project-closed {
        width: 100%;
    }
    section.project.project-closed .project-inner .menu-item-img {
        height: calc(100vw / 1.2);
    }
}

/* special one */
@media screen and (min-width: 400px) and (max-width: 530px) {
    section.project.project-closed {
        width: 100% !important;
    }
    section.project.project-closed .project-inner .menu-item-img {
        height: calc(100vw / 1.6) !important;
    }
}

@media screen and (min-width: 400px) and (max-width: 799px) {
    section#oliver.project .project-inner h2 {
        font-size: 3em !important;
        display: flex;
        flex-direction: column;
    }
    section#oliver.project .project-inner p,
    section#contact.project .project-inner p {
        font-size: 1.2em;
    }
    section h2 {
        font-size: 3.5em;
    }
    section p {
        font-size: 1em;
    }
    section.project.project-closed .project-inner p {
        font-size: 1em !important;
    }
    section.project .project-inner .visuals .project-video {
        width: calc(100vw / 1.3);
        height: calc(100vw / 2.3);
        margin-bottom: 1rem;
    }
    i.fa.fa-expand.fa-2x,
    i.fa-expand::before {
        display: none;
    }
    section.project .project-inner .visuals .project-images,
    section.project .project-inner .visuals .project-images img {
        width: calc(100vw / 1.3);
    }
    section.project .project-inner {
        padding: 2em;
    }
    section.project.project-closed {
        width: 44%;
    }
    section.project.project-closed .project-inner .menu-item-img {
        height: calc(100vw / 2.4);
    }
}

@media screen and (min-width: 800px) and (max-width: 1199px) {
    section#oliver.project .project-inner h2 {
        font-size: 3.5em !important;
        display: flex;
        flex-direction: column;
    }
    section#oliver.project .project-inner p,
    section#contact.project .project-inner p {
        font-size: 1.3em;
    }
    section h2 {
        font-size: 4em;
    }
    section p {
        font-size: 1.1em;
    }
    section.project.project-closed .project-inner p {
        font-size: 0.9em;
    }
    section.project .project-inner .visuals .project-video {
        width: calc(100vw / 3);
        height: calc(100vw / 5.333);
    }
    section.project.project-closed {
        width: 29%;
    }
    section.project.project-closed .project-inner .menu-item-img {
        height: calc(100vw / 3.8);
    }
    #down-button-box.small-screen {
        display: none !important;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1599px) {
    section h2 {
        font-size: 4.5em;
    }
    section p {
        font-size: 1.2em;
    }
    section.project.project-closed .project-inner p {
        font-size: 1em;
    }
    section.project .project-inner .visuals .project-video {
        width: calc(100vw / 3);
        height: calc(100vw / 5.333);
    }
    section.project.project-closed {
        width: 22%;
    }
    section.project.project-closed .project-inner .menu-item-img {
        height: calc(100vw / 5);
    }
    #down-button-box.small-screen {
        display: none !important;
    }
}

@media screen and (min-width: 1600px) and (max-width: 1999px) {
    section#oliver h2 {
        font-size: 4em;
    }
    section h2 {
        font-size: 5em;
    }
    section p {
        font-size: 1.3em;
    }
    section.project.project-closed .project-inner p {
        font-size: 1.1em;
    }
    section.project .project-inner .visuals .project-video {
        width: calc(100vw / 4);
        height: calc(100vw / 7.111);
    }
    section.project.project-closed {
        width: 18%;
    }
    #down-button-box.small-screen {
        display: none !important;
    }
}

@media screen and (min-width: 2000px) {
    section h2 {
        font-size: 5em;
    }
    section p {
        font-size: 1.3em;
    }
    section.project.project-closed .project-inner p {
        font-size: 1.1em;
    }
    section.project .project-inner .visuals .project-video {
        width: calc(100vw / 5);
        height: calc(100vw / 8.888);
    }
    section.project.project-closed {
        width: 18%;
    }
    #down-button-box.small-screen {
        display: none !important;
    }
}

/* spacial MQ for all screens below 1600px */
@media screen and (min-width: 0px) and (max-width: 1599px) {
    #down-button-box {
        display: flex;
        justify-content: space-around;
        align-items: center;
    }
    #down-button-box .margin-0-2 {
        margin: 0 2rem;
    }
    .fa-2x {
        padding: 1.3rem;
    }
}

/* spacial MQ for all screens below 800px */
@media screen and (min-width: 0px) and (max-width: 799px) {
    .large-screen {
        display: none !important;
    }
    #wrapper {
        width: 100%;
    }
    #down-button-box.small-screen .child {
        scale: 0.8;
    }
    #down-button-box.small-screen .dayNight.child {
        padding: 1rem;
        width: 124px;
        display: flex;
        justify-content: center;
    }
    section#oliver,
    section#oliver-placeholder {
        min-height: 100vh;
    }
    section#oliver.project .project-inner {
        justify-content: flex-start;
        padding-top: 3rem;
    }
    section#contact.project {
        min-height: 50rem;
    }
    #wrapper.wrapper-closed section.project {
        min-height: auto;
    }
    #wrapper.wrapper-closed section#contact.project.project-closed {
        margin-bottom: 6rem;
    }
    section#oliver.project .project-inner br.extra-space {
        display: none;
    }
    section.project .project-inner .visuals {
        flex-wrap: nowrap;
    }
    section.project .project-inner .visuals > div {
        margin-right: 1rem;
    }
    section.project .project-inner .visuals .project-video.flex-order-2 {
        order: 2;
    }
    #media-switch {
        padding: 1rem 1.3rem;
        background-color: #eaf0fa;
        display: flex;
        align-items: center;
        z-index: 1000;
        border-radius: 5rem;
    }
    #media-switch .swap-icon-1,
    #media-switch .swap-icon-2 {
        width: 1.1rem;
        margin-left: 0.5rem;
    }
    #media-switch h3 {
        color: #333;
        font-size: 1.3rem;
    }
    #media-switch.dark {
        background-color: #666;
    }
    #media-switch.dark h3 {
        color: #fff;
    }
    #media-switch img.swap-icon-1 {
        display: none;
    }
    #media-switch.dark img.swap-icon-1 {
        display: block;
    }
    #media-switch.dark img.swap-icon-2 {
        display: none;
    }
    #down-button-box.small-screen .menuIcon.child i.fa.fa-bars.fa-2x {
        color: #fff;
        background-color: rgb(244, 67, 54);
    }
    #down-button-box.small-screen .menuIcon.child i.fa.fa-bars.fa-2x {
        padding: 1rem 1.2rem;
    }
    .dayNight.child {
        border-radius: unset;
    }
}
