/*
Theme Name: Antoni
Author: Diggi.tize GmbH
Author URI: https://diggitize.com
Version: 2.0
Template: antoni
*/

/* =Theme customization starts here
-------------------------------------------------------------- */

@import url('./fonts.css');

body {
    /*font-family: 'Helvetica Neue LT Pro', sans-serif;*/
    font-family: "antoni-web", "Helvetica Neue", Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
}

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

body.no-overscroll {
    overscroll-behavior: none;
}

* {
    outline: none !important;
}

a,
a:hover,
b {
    color: #000;
}

a:hover {
    text-decoration: underline !important;
}

/*
a {
    text-decoration: none;
    border-bottom: 1px solid #4a4a4a;
}

a:hover {
    border-bottom: none;
}
*/

h1, h2, h3, h4, h5, h6, b, i, strong {
    hyphens: auto;
}

#mouseCursor {
    visibility: hidden;
}

.case-image {
    min-height: 210px !important;
}

video.playable {
    cursor: url(img/cursor-play.cur), pointer;
    cursor: url(img/cursor-play.svg) 27 27, pointer;
}

/*------------------------------------------------------------------
# Cookie Consent
-------------------------------------------------------------------**/

.cookie-consent-overlay {
    position: fixed;
    height: 100%;
    width: 100%;
    z-index: 10000;
}

.cookie-consent-overlay .backdrop {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.cookie-consent-overlay .cookie-banner {
    background-color: black;
    color: white;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: auto;
    padding: 20px 24px 24px;
}

.cookie-consent-overlay .cookie-banner__content {
    display: flex;
    flex-direction: column;
}

.cookie-consent-overlay .cookie-banner__content-description {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding-right: 24px;
}

.cookie-consent-overlay .cookie-banner__content-description h2 {
    margin: 0;
    font-size: 24px;
}

.cookie-consent-overlay .cookie-banner__content-description__text {
    margin-top: 18px;
    font-size: 16px;
}

.cookie-consent-overlay .cookie-banner__content-description__consents {
    display: flex;
    flex-wrap: wrap;
}

.cookie-consent-overlay .cookie-banner__content-actions {
    flex: 1 1 auto;
    margin-top: 24px;
}

.cookie-consent-overlay .cookie-banner__content-actions {
    padding-left: 0px;
}

.cookie-consent-overlay .cookie-banner__content-actions_top {
    display: flex;
    margin-bottom: 12px;
}

.cookie-consent-overlay .cookie-banner__content-actions_top button:first-child {
    margin-right: 12px;
}

.cookie-consent-overlay .cookie-banner__content-actions_footer {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    font-size: 12px;
    align-items: center;
    justify-content: center;
}

.cookie-consent-overlay .cookie-banner__content-actions_footer a {
    color: white;
    text-decoration: underline;
}

.cookie-consent-overlay .vertical-divider {
    margin-left: 8px;
    font-size: 18px;
    margin-right: 8px;
}

.cookie-consent-overlay .cookie-consent-button {
    cursor: pointer;
    border: 1px solid white;
    width: 100%;
    font-size: 13px;
    background-color: black;
    text-align: center;
    color: white;
    padding: 14px 12px;
}

.cookie-consent-overlay .cookie-consent-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.cookie-consent-overlay .control {
    display: block;
    position: relative;
    padding-left: 40px;
    margin-bottom: 5px;
    margin-right: 48px;
    padding-top: 4px;
    cursor: pointer;
    font-size: 14px;
}

.cookie-consent-overlay .control input {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

.cookie-consent-overlay .control_indicator {
    position: absolute;
    top: 2px;
    left: 0;
    height: 21px;
    width: 20px;
    border: 1px solid #ffffff;
    border-radius: 0;
}

.cookie-consent-overlay .control:hover input ~ .control_indicator,
.cookie-consent-overlay .control input:focus ~ .control_indicator {
    background: black;
    border: 1px solid white;
}

.cookie-consent-overlay .control input:checked ~ .control_indicator {
    background: #000000;
}

.cookie-consent-overlay .control:hover input:not([disabled]):checked ~ .control_indicator,
.cookie-consent-overlay .control input:checked:focus ~ .control_indicator {
    background: black;
    border: 1px solid white;
}

.cookie-consent-overlay .control input:disabled ~ .control_indicator {
    background: #e6e6e6;
    opacity: 0.6;
    pointer-events: none;
}

.cookie-consent-overlay .control_indicator:after {
    box-sizing: unset;
    content: '';
    position: absolute;
    display: none;
}

.cookie-consent-overlay .control input:checked ~ .control_indicator:after {
    display: block;
}

.cookie-consent-overlay .control-checkbox .control_indicator:after {
    left: 5px;
    top: 0;
    width: 7px;
    height: 14px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.cookie-consent-overlay .control-checkbox {
    margin-top: 12px;
}

.cookie-consent-overlay .control-checkbox input:disabled ~ .control_indicator:after {
    border-color: #7b7b7b;
}

.cookie-consent-overlay.overlay--hidden {
    display: none;
}

@media (min-width: 780px) {
    .cookie-consent-overlay .cookie-banner__content {
        flex-direction: row;
    }

    .cookie-consent-overlay .cookie-banner__content-actions {
        padding-left: 24px;
        margin-top: 0;
    }

    .cookie-consent-overlay .control-checkbox {
        margin-top: 24px;
    }

    .cookie-consent-overlay .cookie-banner {
        padding: 24px 48px 32px;
    }
}

@media (min-width: 1215px) {
    .cookie-consent-overlay .cookie-banner {
        padding: 48px 96px;
    }

    .cookie-consent-overlay .cookie-banner__content-description h2 {
        font-size: 30px;
    }

    .cookie-consent-overlay .cookie-banner__content-description__text {
        font-size: 18px;
    }

    .cookie-consent-overlay .cookie-banner__content-actions_footer {
        font-size: 14px;
    }

    .cookie-consent-overlay .vertical-divider {
        font-size: 20px;
    }

    .cookie-consent-overlay .button {
        font-size: 15px;
    }

    .cookie-consent-overlay .control {
        font-size: 16px;
    }
}

/*------------------------------------------------------------------
# Site Header
-------------------------------------------------------------------**/

.header-wrapper {
    display: flex;
}

.site-header {
    background-color: transparent !important;
    height: 100px !important;
    margin-bottom: 0 !important;
}

.sticky_header {
    position: fixed !important;
}

.site-branding {
    left: -5px;
    top: -9px;
}

.site-logo {
    width: 96px;
}

#mobile-nav .container,
#mobile-nav .menu-wrapper {
    height: 100%;
}

#mobile-nav .hamburger-init {
    width: 34px;
    height: 24px;
    position: absolute;
    top: -10px;
    right: 0;
    cursor: pointer;
}

#mobile-nav .bar {
    position: absolute;
    height: 3px;
    width: 100%;
    background: #fff;
    transition: all .3s;
}

#mobile-nav .bar.middle-bar {
    top: 50%;
    margin-top: -2px;
}

#mobile-nav .bar.bottom-bar {
    bottom: 0;
}

#mobile-nav .hamburger-init.active {
    z-index: 2;
    animation: rotateHamburger .5s linear 0s forwards;
}

[data-nav-color="light"] #mobile-nav .hamburger-init .bar {
    background: #fff;
}

[data-nav-color="dark"] #mobile-nav .hamburger-init .bar {
    background: #000;
}

#mobile-nav .hamburger-init.active .bar.top-bar {
    transform: translateY(8px) rotate(45deg);
}

#mobile-nav .hamburger-init.active .bar.middle-bar {
    width: 0;
}

#mobile-nav .hamburger-init.active .bar.bottom-bar {
    transform: translateY(-12.5px) rotate(-45deg);
}

#mobile-nav .menu-wrapper {
    background: rgba(155, 155, 144, .8);
    transition: all .3s;
    transform: scale(0);
    border-radius: 50%;
}

#mobile-nav .menu-wrapper.visible {
    transform: scale(1);
    border-radius: 0;
    position: absolute;
    top: 180px;
    right: 0;
    text-transform: lowercase;
    font-weight: bold;
    font-size: xx-large;
}

#mobile-nav .menu {
    position: absolute;
    max-width: 400px;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

#mobile-nav .menu-wrapper li {
    opacity: 0;
    cursor: pointer;
    transition: all .3s;
    list-style-type: none;
    margin-bottom: 10px;
    display: flex;
    justify-content: end;
}

#mobile-nav .menu.menu-active li:nth-child(1) {
    animation: moveItems .25s linear 0s forwards;
}

#mobile-nav .menu.menu-active li:nth-child(2) {
    animation: moveItems .25s linear .125s forwards;
}

#mobile-nav .menu.menu-active li:nth-child(3) {
    animation: moveItems .25s linear .25s forwards;
}

#mobile-nav .menu.menu-active li:nth-child(4) {
    animation: moveItems .25s linear .375s forwards;
}

#mobile-nav .menu.menu-active li:nth-child(5) {
    animation: moveItems .25s linear .5s forwards;
}

#mobile-nav .menu-item-has-children {
    position: relative;
}

#mobile-nav .menu-item-has-children::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: transparent;
    border: 1px solid transparent;
    border-right-color: #fff;
    border-bottom-color: #fff;
    top: 22px;
    right: 110px;
    transform: rotate(45deg);
    transition: all .3s;
}

#mobile-nav .menu-item-has-children.sub-menu-active::after {
    transform: rotate(224deg);
}

#mobile-nav .menu-item-has-children > .menu {
    display: none;
    position: static;
    transform: initial;
}

/* Animations */

@keyframes rotateHamburger {
    0% {
        transform: rotate(0);
    }
    100% {
        transform: rotate(180deg);
    }
}

@keyframes moveItems {
    0% {
        transform: translateY(-20px);
        opacity: 0;
    }
    30% {
        transform: translateY(-15px);
        opacity: .2;
    }
    50% {
        transform: translateY(-10px);
        opacity: .3;
    }
    80% {
        transform: translateY(-5px);
        opacity: .4;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes showClickGuide {
    0% {
        opacity: 0;
        transform: scale(.5);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

#main-nav {
    display: flex;
    justify-content: flex-end;
    position: relative;
    top: -12px;
    right: -25px;
    text-transform: lowercase;
    width: 100%;
    float: left;
    z-index: 999;
    margin-left: 150px;
}

#main-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

#main-menu .menu-item {
    font-size: 15px;
    letter-spacing: 0.025em;
    line-height: 1.8;
    text-transform: lowercase;
    display: inline-block;
    margin-right: 18px;
}

#masthead.dark .menu-item a {
    color: #000 !important;
}

#masthead.light .menu-item a {
    color: #fff !important;
}

#primary-menu .menu-item a {
    padding: 0;
    margin-right: 18px;
    font-weight: normal;
}

#primary-menu .menu-item a:hover {
    text-decoration: none !important;
}

#primary-menu .menu-item a::after,
.fs-project .fs-button span::after,
.elementor-widget-antoni_slideshow .overlay-toggle::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #fff;
    transition: width 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

#masthead.dark .menu-item a::after {
    background: #000;
}

#masthead.light .menu-item a::after {
    background: #fff;
}

#primary-menu .menu-item a:hover::after,
#primary-menu .menu-item a[aria-current="page"]::after,
.fs-project:hover .fs-button span::after,
.elementor-widget-antoni_slideshow .overlay-toggle:hover::after {
    width: 100%;
}

/** MOBILE MENU **/

.site-header.fullscreen_menu {
    height: 50px !important;
}

.site-header.fullscreen_menu::before {
    background: #fff;
}

.menu-toggle:not(.is-active) {
    top: -8px;
}

.site-header .toggle-line {
    height: 2px;
}

.site-header.menu-has-open .toggle-line {
    background: #000;
}

#masthead .menu-opened .site-branding {
    display: none;
}

.site-navigation.fullscreen .menu.main-menu > li.menu-item a {
    font-size: 12vw;
    font-weight: bold !important;
}

/****************/

@media only screen and (min-width: 992px) {
    .header-wrapper {
        max-width: calc(100% - 100px) !important;
    }
}

.page-header {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-header-wrap.wrapper-small {
    text-align: center;
    text-transform: lowercase;
    transform: unset;
    margin-bottom: 0;
    position: unset;
    max-width: 100%;
    display: flex;

    align-items: center;
    justify-content: center;
    z-index: 10;
}

.page-title h1.big-title {
    display: flex;
    position: relative;
    top: -80px;
    font-size: 14.0625vw !important;
    letter-spacing: -0.02em;
}

.header-bg-video,
.header-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

.site-header.light.sticked {
    background-color: transparent !important;
}

.page-header.culture {
    background: #fff !important;
    color: #000 !important;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
}

.page-header.culture .page-title h1 {
    color: #000 !important;
}

.page-header.culture .header-bg-video,
.page-header.culture .header-bg-image,
.page-header.culture #arrow-down {
    display: none;
}

/*------------------------------------------------------------------
# Main Content
-------------------------------------------------------------------**/

#post-3 .page-title h1.big-title,
#post-4146 .page-title h1.big-title {
    font-size: 7vw !important;
}

/* FIXME */

#page {
    overflow: hidden;
}

/*------------------------------------------------------------------
# Site Footer
-------------------------------------------------------------------**/

@media only screen and (max-width: 960px) {
    #footer .wrapper {
        flex-direction: column;
    }

    #footer .footer-widget {
        display: flex;
        flex-wrap: wrap;
    }
}

#footer {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%) !important;
    padding: 0;
}

.footer_brand {
    display: none !important;
}

#footer > .wrapper {
    display: flex;
    justify-content: space-between;
    color: #8a8a8a;
    margin-bottom: 0;
}

#footer > .wrapper a {
    color: #8a8a8a;
}

#footer > .wrapper:last-of-type {
    padding-bottom: 25px;
}

#footer > .wrapper > .footer-widget:first-of-type {
    flex: 1
}

#footer.fixed {
    position: fixed;
    bottom: 0;
    width: 100%;
}

#footer.black {
    background: #000 !important;
}

#footer.black > .wrapper {
    color: #fff;
}

#footer.black > .wrapper a {
    color: #fff;
}

#footer.white {
    background: #fff !important;
}

#footer.white > .wrapper {
    color: #000;
}

#footer.white > .wrapper a {
    color: #000;
}

#footer.culture {
    position: absolute;
    width: 100%;
}

@media only screen and (min-width: 992px) {
    #footer > .wrapper {
        max-width: calc(100% - 100px) !important;
    }
}

/*------------------------------------------------------------------
# Page Transitions
-------------------------------------------------------------------**/

.apt-bg {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #000;
    z-index: 99;
}

.apt-curtain {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.apt-curtain.visible .bar {
    transform: scale(1, 1) translate3d(0, 0, 0);
    transform-origin: 0 0;
}

.apt-curtain .bar {
    position: absolute;
    width: 20.2vw;
    background: #000;
    top: 0;
    bottom: 0;
    transform: scale(0, 1) translate3d(0, 0, 0);
    transform-origin: 100% 100%;
    transition: transform 0.5s ease-in-out;
}

.apt-curtain .bar:nth-of-type(1) {
    left: 0;
    transition-delay: 0.05s;
}

.apt-curtain .bar:nth-of-type(2) {
    left: 20vw;
    transition-delay: 0.1s;
}

.apt-curtain .bar:nth-of-type(3) {
    left: 40vw;
    transition-delay: 0.15s;
}

.apt-curtain .bar:nth-of-type(4) {
    left: 60vw;
    transition-delay: 0.2s;
}

.apt-curtain .bar:nth-of-type(5) {
    left: 80vw;
    transition-delay: 0.25s;
}

/*------------------------------------------------------------------
### Fullscreen Slideshow
-------------------------------------------------------------------**/

@media only screen and (max-width: 960px) {
    .antoni-project-video[data-thumbnail="/wp-content/uploads/2023/03/Weltfrauentag_Stage_16-9.jpg"],
    .antoni-project-video[data-thumbnail="https://antoni.de/wp-content/uploads/2023/03/Weltfrauentag_Stage_16-9.jpg"] {
        object-fit: unset !important;
    }
}

/*.fs-project-image {
    width: calc(100vw - 88px) !important;
}*/

.fs-project-dets {
    pointer-events: all;
    width: calc((100% - 88px) / 100 * 74.61937);
    left: 12.5%;
    top: 58vh;
}

.fs-title,
.fs-tit-line,
.fs-tit-char {
    overflow: visible !important;
}

.project-head {
    width: 70%;
}

@media only screen and (min-width: 961px) {
    .project-title h1.big-title {
        line-height: 1 !important;
        letter-spacing: -0.04em;
        position: relative;
        top: -25px;
    }
}

.fs-project-dets[data-outline="true"] {
    -webkit-text-stroke: 2px #000;
}

.fs-meta > span {
    width: 200px;
    height: 200px;
}

.fs-title {
    font-size: 11vw;
    line-height: 1.0;
    letter-spacing: -0.04em;
    margin: 0 !important;
}

.fs-button {
    top: unset;
    right: unset;
    bottom: 25%;
    left: 0;
}

.fs-button span {
    color: #fff !important;
    font-size: 1.5vw;
    font-weight: normal;
}

.fs-button span::after {
    margin-top: 8px;
}

@media only screen and (max-width: 960px) {
    .fs-button span {
        font-size: 4vw;
    }
}

/*------------------------------------------------------------------
# Project Page
-------------------------------------------------------------------**/

@keyframes slideInFromTop {
    0% {
        transform: translateY(-40vh);
    }
    100% {
        transform: translateY(0);
    }
}

#arrow-down {
    animation: .6s ease-out 0s 1 slideInFromTop;
    cursor: pointer;
    position: absolute;
    right: 44px;
    bottom: 44px;
    z-index: 1000;
}

.project-page-header.style_2 {
    margin-bottom: 0;
}

.project-page-header.style_2 .project-featured-image {
    margin-bottom: 0;
}

.project-page-header[data-outline="true"] {
    -webkit-text-stroke: 2px #000;
}


.project-cat,
.project-metas {
    display: none !important;
}

.project-page,
article.page {
    background-color: #fff;
}

.project-title {
    overflow: visible !important;
}

.project-page .project-title h1 {
    font-size: 11vw;
}

.project-page .page-content h1,
.project-page .page-content h2,
.project-page .page-content h3,
.project-page .page-content h4,
.project-page .page-content h5,
.project-page .page-content h6,
.project-page .page-content p {
    color: #000 !important;
}

article.page .entry-content h1,
article.page .entry-content h2,
article.page .entry-content h3,
article.page .entry-content h4,
article.page .entry-content h5,
article.page .entry-content h6,
article.page .entry-content p {
    color: #000 !important;
}

.next-project-section::after {
    background-color: #000 !important;
    height: calc(100% + 76px);
}

.next-project-section a {
    display: flex;
    align-items: center;
    height: 100vh;
}

.next-project-video {
    object-fit: cover;
    width: 100%;
    height: calc(100% + 76px);
}

/*------------------------------------------------------------------
## Showcase Carousel
-------------------------------------------------------------------**/

.cas-project {
    margin-right: 0;
}

.cas-progress {
    display: block;
    position: fixed;
    bottom: 17.5%;
    width: 25%;
    height: 1px;
    background: rgba(25, 27, 29, .2);
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
}
