/*
    Theme Name: Immersive Art Theme
    Requires PHP: 8.2.23
    License: GNU General Public License v2+
    License URI: http://www.gnu.org/licenses/gpl-2.0.html
    Text Domain: immersiveart
    Author: Gergana Soyanova and Bogomil Borisov
    Version: 1.0.0
*/

* {
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

:root {
    --dark-blue: #39009A;
}

body {
    margin: 0px;
    margin-top: 90px;
}

header {
    height: 90px;
    width: 100%;
    z-index: 999;
    transition: top 200ms ease, opacity 200ms ease, transform 200ms ease;
    will-change: top;
    background-color: #f0f0f2;
    position: fixed;
    top: 0;
}

body.events-hide-header header {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-100%);
}

.header-fixed {
    box-shadow: 1px 1px 15px 0px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 1px 1px 15px 0px rgba(0, 0, 0, 0.2);
}

h1,
h2,
h3,
h4 {
    color: #000000;
    margin: 0px;
}

a {
    text-decoration: none;
    color: #000000;
    font-weight: 500;
    font-size: 14px;
}

p {
    color: #000000;
    font-weight: 500;
    font-size: 14px;
}

button {
    font-family: 'Montserrat', sans-serif;
}

.light-gray {
    background: #f0f0f2;
}

.logo-and-title {
    display: flex;
    gap: 10px;
    align-items: center;
}

.site-title-wrapper {
    max-width: 100px;
}

.site-title {
    font-size: 20px;
    font-weight: 700;
}

.header-content {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.neomorphic-button {
    box-shadow: -4px -4px 5px #FFF, 3px 3px 5px #D2D2D2;
    border: 1px solid #e8e8e8;
    cursor: pointer;
}

.immersiveart-logo {
    height: 60px;
    width: 60px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-logo {
    width: 40px;
    height: auto;
}

.custom-logo-link {
    display: flex;
}

#primary-menu-list {
    list-style: none;
    display: flex;
    gap: 20px;
}

.menu-item {
    display: flex;
    border-radius: 50px;
}

.primary-menu-link {
    padding: 10px 25px;
}

#primary-menu-list li a {
    width: 100%;
    width: -webkit-fill-available;
}

.hamburger-wrapper {
    display: none;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50% !important;
    justify-content: center;
    align-items: center;
}

.modal-backdrop {
    display: none;
    position: fixed;
    z-index: 999;
    top: 90px;
    bottom: 0;
    left: 0;
    right: 0;
    transition: 0.3s;
    opacity: 0;
}

#hamburger {
    cursor: pointer;
}

.bar {
    display: block;
    height: 3px;
    width: 20px;
    height: 3px;
    margin: 3px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--dark-blue);
}

#three-banner-canvas {
    height: 87vh;
}

.glass {
    position: absolute;
    width: 992px;
    height: 500px;
    background-image: linear-gradient(120deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 34px;
    box-shadow: 1px 1px 20px 0px rgba(0, 0, 0, 0.12);
    -webkit-box-shadow: 1px 1px 20px 0px rgba(0, 0, 0, 0.12);
    top: 35%;
    left: 50%;
    transform: translate(-50%, -34%);
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

.immersive-art-banner h1 {
    font-size: 44px;
    width: 80%;
    text-align: center;
}

.immersive-art-banner h2 {
    font-weight: 500;
    margin-top: 50px;
}

.banner-btn {
    margin-top: 100px;
    display: inline-flex;
    border-radius: 50px !important;
    background-color: var(--dark-blue);
    box-shadow: -12px 12px 26px 6px rgb(0 0 0 / .12);
    -webkit-box-shadow: -12px 12px 26px 6px rgb(0 0 0 / .12);
    transition: all 0.3s ease-in-out;
}

.banner-btn a {
    padding: 18px 35px;
    color: #fff;
    transition: all 0.3s 
ease-in-out;
    font-weight: 500;
    font-size: 20px;
}

/* From Uiverse.io by doniaskima */ 
.btn-17,
.btn-17 *,
.btn-17 :after,
.btn-17 :before,
.btn-17:after,
.btn-17:before {
  border: none !important;
  /* box-sizing: border-box; */
}

.btn-17 {
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: button;
  background-color: #39009A;
  background-image: none;
  color: #FFFFFF;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  margin: 0;
  -webkit-mask-image: -webkit-radial-gradient(#000, #fff);
  padding: 0;
  text-transform: uppercase;
  border: none !important;
    border-radius: 99rem;
  padding: 18px 35px;
  z-index: 0;
}

.immersive-art-banner .btn-17 {
    margin-top: 100px;
}

.event-link {
    margin-top: auto;
    /* padding: 10px 25px; */
}

.btn-17:disabled {
  cursor: default;
}

.btn-17:-moz-focusring {
  outline: auto;
}

.btn-17 svg {
  display: block;
  vertical-align: middle;
}

.btn-17 [hidden] {
  display: none;
}

.btn-17,
.btn-17 .text-container {
  overflow: hidden;
  position: relative;
}

.btn-17 .text-container {
  display: block;
  mix-blend-mode: normal;
}

.btn-17 .text {
  display: block;
  position: relative;
  color: #fff;
  transition: color 0.2s ease;
}

.btn-17:hover .text {
  -webkit-animation: move-up-alternate 0.3s forwards;
  animation: move-up-alternate 0.3s forwards;
  color: #39009A;
}


@-webkit-keyframes move-up-alternate {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(80%);
  }

  51% {
    transform: translateY(-80%);
  }

  to {
    transform: translateY(0);
  }
}

@keyframes move-up-alternate {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(80%);
  }

  51% {
    transform: translateY(-80%);
  }

  to {
    transform: translateY(0);
  }
}

.btn-17:after,
.btn-17:before {
  --skew: 0.2;
  background: #fff;
  content: "";
  display: block;
  height: 55px;
  left: calc(-50% - 50% * var(--skew));
  pointer-events: none;
  position: absolute;
  top: -104%;
  transform: skew(calc(150deg * var(--skew))) translateY(var(--progress, 0));
  transition: transform 0.2s ease;
  width: 150px;
}

.btn-17:after {
  --progress: 0%;
  left: calc(50% + 50% * var(--skew));
  top: 102%;
  z-index: -1;
}

.btn-17:hover:before {
  --progress: 100%;
}

.btn-17:hover:after {
  --progress: -101%;
}


.neomorphic-title-wrapper {
    display: flex;
    align-items: flex-end;
    position: relative;
}

.neomorphic-title {
    font: 900 114px montserrat, sans-serif;
    line-height: 85px;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    text-transform: uppercase;
}

.neomorphic-title__gray {
    background-color: #D2D2D2;
    color: transparent;
    text-shadow: 4px 4px 5px rgba(255, 255, 255, 0.7);
}

.neomorphic-title__orange {
    background-color: #00000040;
    color: transparent;
    text-shadow: 3px 3px 6px #F48200, 3px 3px 2px #ffffff79;
}

.neomorphic-border {
    box-shadow: -5px -5px 5px 0px #FFFFFF inset, 5px 5px 5px 0px #CDCDCD inset;
    width: 100%;
    height: 23px;
    flex: 1;
    border-radius: 50px;
}

.neomorphic-border__left {
    margin-right: 50px;
}

.neomorphic-border__right {
    margin-left: 50px;
}

.neomorphic-border__orange {
    box-shadow: -5px -5px 5px 0px var(--events-shadow-light) inset, 5px 5px 5px 0px #00000026 inset;
    background-color: var(--events-border-bg);
    transition: box-shadow 300ms ease, background-color 300ms ease;
}

.neomorphic-content-wrapper {
    display: flex;
    margin-top: 50px;
    position: relative;
    justify-content: space-between;
}

.neomorphic-content-border-left {
    margin-right: 50px;
    position: relative;
}

.neomorphic-content-border-right {
    margin-left: 50px;
    position: relative;
}

.neomorphic-content-border::before {
    content: '';
    box-shadow: inset 2px 2px 4px #b8b9be, inset -2px -2px 2px #fff;
    width: 15px;
    height: 100%;
    border-radius: 50px;
    position: absolute;
}

.neomorphic-content__gray .neomorphic-content-border::before {
    content: '';
    box-shadow: -5px -5px 5px 0px #FFFFFF inset, 5px 5px 5px 0px #CDCDCD inset;
    width: 23px;
    height: 100%;
    border-radius: 50px;
    position: absolute;
}

.neomorphic-content__orange .neomorphic-content-border::before {
    content: '';
    box-shadow: -5px -5px 5px 0px var(--events-shadow-light) inset, 5px 5px 5px 0px #00000026 inset;
    width: 23px;
    height: 100%;
    border-radius: 50px;
    position: absolute;
    transition: box-shadow 300ms ease;
}

.neomorphic-content__orange .neomorphic-content-border-right::before {
    content: '';
    box-shadow: -5px -5px 5px 0px var(--events-shadow-light) inset, 5px 5px 5px 0px #00000026 inset;
    width: 23px;
    height: 100%;
    border-radius: 50px;
    position: absolute;
    right: 1px;
    transition: box-shadow 300ms ease;
}

.about-us__content {
    box-shadow: -20px -20px 50px 0px #FFFFFF inset, 10px 10px 15px 0px #CDCDCD inset;
    padding: 30px 40px;
    border-radius: 26px;
}

.about-us__description {
    box-shadow: -20px -20px 20px 0px #FFFFFF, 15px 15px 20px 0px #D2D2D2;
    border-radius: 24px;
    padding: 30px 35px;
}

.about-us__description p {
    margin: 0px;
    text-align: center;
}

.about-us__gallery {
    display: grid;
    grid-template-areas: "l s";
    gap: 100px;
    margin-top: 50px;
    max-height: 400px;
    overflow: hidden;
}

.about-us__gallery-item--large {
    grid-area: l;
}

.about-us__gallery-item--large img{
    max-width: unset !important;
    width: 100% !important;
    height: auto !important;
    max-height: 400px;
}

.about-us__gallery-item--small {
    grid-area: s;
    align-items: center;
    width: 100%;
    aspect-ratio: 1 / 1;
}

.about-us__gallery-item--small img {
    max-width: unset !important;
    width: 100% !important;
    height: auto !important;
    max-height: 400px;
}

.about-us__gallery-item {
    overflow: hidden;
    border-radius: 26px;
    display: flex;
    justify-content: center;
}

.about-us__immersive {
    margin-top: 50px;
    box-shadow: -20px -20px 20px 0px #FFFFFF, 15px 15px 20px 0px #D2D2D2;
    border-radius: 24px;
    padding: 30px 35px;
}

.about-us__immersive h3 {
    text-align: center;
}

.about-us__items {
    display: grid;
    gap: 50px;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    margin-top: 50px;
}

.about-us__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 25px;
}

.about-us__item-title-wrapper {
    height: 40px;
    display: flex;
    align-items: center;
}

.about-us__item h4,
.about-us__item p {
    text-align: center;
    margin: 0px;
}

.about-us__item-img-wrapper {
    height: 100px;
    width: 100px;
    padding: 5px;
    border-radius: 17px;
    box-shadow: -4px -4px 5px #FFF, 3px 3px 5px #D2D2D2;
    border: 1px solid #e8e8e8;
}

.about-us__item-img-inner {
    height: 100%;
    width: 100%;
    padding: 20px;
    border-radius: 12px;
    background: #F0F0F3;
    box-shadow: inset -5px -5px 4px #FFFFFF, inset 5px 5px 10px #CDCDCD;
}

.background-events {
    background-color: #F48200;
    transition: background-color 300ms ease;
}

.events {
    --events-shadow-light: #FF9C2B;
    --events-border-start: rgba(255, 156, 43, 0.3);
    --events-border-end: rgba(255, 156, 43, 0.8);
    --events-thumb-shadow: 2px 2px 2px 0px #00000026, -2px -2px 2px 0px #FF9C2B;
    --events-border-bg: #F48200;
}

.events-slider {
    overflow: hidden;
    width: 100%;
}

.swiper-wrapper {
    display: flex;
}

.swiper-slide {
    height: auto;
}

.events-slide-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  overflow: hidden;
}

.event-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding-right: 10px;
}

.event-card__img a {
    display: block;
    width: 85%;
    margin: 0 auto;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 20px;
}

.event-card__img a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.event-card__content {
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    background: linear-gradient(289.43deg, rgba(255, 255, 255, 0.036) 10.55%, rgba(255, 255, 255, 0.096) 96.12%);
    box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.12);
    -webkit-box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.12);
    margin-top: -80px;
    padding: 40px 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.event-card__content::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 2px;
    border-radius: 20px;
    background: linear-gradient(153deg, var(--events-border-start) 0%, var(--events-border-end) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    transition: background 300ms ease;
}

.event-card__content h3,
.event-card__content p,
.event-card__content a {
    color: #fff !important;
    text-align: center;
}

.event-title {
    font-size: 18px !important;
}

.event-author {
    font-size: 12px;
    margin-top: 20px;
    margin-bottom: 0px;
}

.event-description {
    margin-top: 30px;
    margin-bottom: 0px;
}

.swiper{
    height: fit-content;
}

.swiper-slide {
    height: 100%;
    display: flex;
}

.events-slider-indicator {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0 auto;
    width: 200px;
}

.indicator-track {
    width: 100%;
    height: 16px;
    box-shadow: -5px -5px 5px 0px var(--events-shadow-light) inset, 5px 5px 5px 0px #00000026 inset;
    border-radius: 999px;
    position: relative;
    overflow: hidden;
    transition: box-shadow 300ms ease;
}

.indicator-thumb {
    height: 8px;
    border-radius: 999px;
    position: absolute;
    left: 0;
    top: 25%;
    box-shadow: var(--events-thumb-shadow);
    transition: box-shadow 300ms ease;
}

.events-pin{
  position: relative;
}

.events-sticky{
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  padding-top: 50px;
  box-sizing: border-box;
}

.events-slider{
  height: 100%;
  overflow: hidden;
  position: relative;
  padding-bottom: 40px;
  box-sizing: border-box;
}

.swiper-wrapper{
  display: flex;
  height: 100%;
  will-change: transform;
}


.event-date,
.event-time {
    font-weight: 700;
    margin:0px;
}

.event-meta {
    margin: 30px 0 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.event-location {
    font-size: 18px;
    font-weight: 700;
    margin: 0px;
}

.event-date,
.event-time {
    font-size: 18px;
}

.event-excerpt {
    flex-grow: 1;
}

.event-card__content a {
    margin-top: auto;
    background-color: var(--dark-blue);
    padding: 15px 21px;
    border-radius: 60px;
}

.neomorphic-text {
    height: 100px !important;
    width: auto;
}

.events .neomorphic-text {
    --events-title-fill: var(--events-title-color, #F48200);
    transition: opacity .3s ease;
    will-change: opacity;
}

.events .neomorphic-text .neomorphic-text__path {
    fill: var(--events-title-fill, #F48200);
    transition: fill var(--background-transition, .3s) ease;
}

.events .neomorphic-text.is-fading {
    opacity: 0;
}


.authors-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 80px;
    margin-left: 25px;
}

.authors-grid-wrapper {
    height: auto;
    transition: height 0.2s ease;
}

.expand-authors {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.expand-authors__toggle {
    border: none;
    padding: 0;
    background: transparent;
    cursor: pointer;
}

.expand-authors__toggle img {
    display: block;
    width: 28px;
    height: 28px;
    transform: rotate(0deg);
    transition: transform 0.2s ease;
}

#authors.authors-expanded .expand-authors__toggle img {
    transform: rotate(180deg);
}

.author-card {
    box-shadow: -6px -6px 8px #FFF, 5px 5px 8px #D2D2D2;
    border: 1px solid #e8e8e8;
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    padding: 18px;
    position: relative;
    --progress: 0%;
}

.author-card img {
    border-radius: 18px !important;
    object-fit: cover;
    width: 100% !important;
    height: 100% !important;
}
 
.author-card__inner {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 18px;
}

.author-card__inner::before,
.author-card__inner::after {
    background: #39009A;
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    pointer-events: none;
    transition: transform var(--background-transition, .3s) ease;
    z-index: 2;
}

.author-card__inner::before {
    left: 0;
    clip-path: polygon(0% 0%, 0% 100%, 105% 105%);
    transform: translateX(-100%);
}

.author-card__inner::after {
    left: 0;
    clip-path: polygon(0% 0%, 100% 0%, 100% 108%);
    transform: translateX(100%);
}

.author-card__inner:hover {
    --progress: 100%;
}

.author-card__inner:hover::before,
.author-card__inner:hover::after {
    transform: translateX(0);
}

.author-card__inner > * {
    position: relative;
    z-index: 1;
}

.author-card__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px;
    color: #FFFFFF;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity var(--background-transition, .3s) ease,
        transform var(--background-transition, .3s) ease;
    z-index: 3;
}

.author-card__inner:hover .author-card__overlay {
    opacity: 1;
    transform: translateY(0);
}

.author-card__name {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #FFFFFF;
}

.author-card__meta {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: #FFFFFF;
}

.author-card__desc {
    font-size: 12px;
    line-height: 1.4;
    margin: 0;
    margin-top: 20px;
    color: #FFFFFF;
}

#authors-title {
    margin-bottom: -24px;
}

@media (hover: hover) {
    .neomorphic-button:hover {
        box-shadow: inset 2px 2px 4px #b8b9be, inset -2px -2px 6px #fff;
    }
}

/* Extra large display*/
@media (max-width: 1200px) {
    .glass {
        width: 992px;
    }
}

/* Large display */
@media (max-width: 992px) {
    #primary-menu-list {
        position: fixed;
        left: -100%;
        top: 120px;
        gap: 0;
        flex-direction: column;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 0px;
        z-index: 9999;
    }

    .hamburger-wrapper {
        display: flex;
    }

    #primary-menu-list {
        position: fixed;
        left: -100%;
        top: 120px;
        gap: 0;
        flex-direction: column;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 0px;
        z-index: 9999;
    }

    #primary-menu-list.active {
        left: 0;
    }

    .menu-item {
        width: 90%;
        margin: 14px auto;
    }

    #hamburger.active .bar:nth-child(1) {
        transform: translateY(5px) rotate(45deg);
    }

    #hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    #hamburger.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .modal-backdrop.active {
        opacity: 1;
        display: block;
    }

    #three-banner-canvas {
        height: 400px;
    }

    .glass {
        width: 90vw;
        height: 300px;
    }

    .immersive-art-banner h1 {
        font-size: 24px;
        width: 90%;
    }

    .immersive-art-banner h2 {
        margin-top: 0px;
    }

    .banner-btn {
        margin-top: 50px;
    }

    .neomorphic-text {
        height: 80px !important;
    }
    .about-us__gallery {
        gap: 100px;
        grid-template-areas: "l s";
        max-height: 400px;
    }

    .about-us__items {
        grid-template-columns: 1fr 1fr;
    }

}

/* Medium display */
@media (max-width: 768px) {

    .neomorphic-text {
        height: 60px !important;
    }

    .neomorphic-content-border-left {
        display: none;
    }
    .neomorphic-border__right {
        display: none;
    }

    .about-us__items {
        grid-template-columns: 1fr;
    }

    .about-us__chatbot {
        height: 90px;
        width: 90px;
        position: sticky;
        bottom: 20px;
        margin-left: auto;
        margin-right: -27px;
    }

}

/* Small display */
@media (max-width: 576px) {
    .glass {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .immersive-art-banner h2 {
        font-size: 20px !important;
        margin-top: 20px;
    }

    .about-us__chatbot {
        height: 80px;
        width: 80px;
    }

    .about-us__content {
        padding: 25px 25px;
    }

    .about-us__immersive {
        padding: 25px 25px;
    }

    .about-us__item {
        gap: 20px;
    }
}
