@font-face {
	font-family: "Sanacyjka";
	src: url('https://orletaplonsk.pl/assets/fonts/sanacyjka.ttf');
	font-weight: normal;
	font-style: normal;
}

:root {
    --primary-color: #6c7041;
    --primary-color-rgb: 108, 112, 65;
    --primary-dark-color: #363822;
    --primary-dark-color-rgb: 54, 56, 34;
    --primary-light-color: #b2b683;
    --primary-light-color-rgb: 178, 182, 131;

    --secondary-color: #373823;
    --background-color: #f0f0f0;
    --accent-color: #ffbc1f;
    --link-color: #77e;
    --text-color: #222;
    --highlight-color: #a3a34d;
    --success-color: #3c5c15;
    --danger-color: #841e08;
    --warning-color: #bea607;

    --info-color: #1a6673;
    --info-color-rgb: 26, 102, 115;
    --info-dark-color: #103e47;
    --info-dark-color-rgb: 16, 62, 71;
    --info-light-color: #618991;
    --info-light-color-rgb: 97, 137, 145;

    --muted-color: #bbb;

    --scheme-1-color: #705c41;
    --scheme-1-color-rgb: 112, 92, 65;
    --scheme-2-color: #6c7041;
    --scheme-2-color-rgb: 108, 112, 65;
    --scheme-3-color: #557041;
    --scheme-3-color-rgb: 85, 112, 65;
    --scheme-4-color: #415570;
    --scheme-4-color-rgb: 65, 85, 112;
    --scheme-5-color: #5c4170;
    --scheme-5-color-rgb: 92, 65, 112;

    --pastel-1: #ef9a9a;
    --pastel-2: #90caf9;
    --pastel-3: #81c784;
    --pastel-4: #fff59d;
    --pastel-5: #c9a1d0;
    --pastel-6: #bdbdbd;
    --pastel-7: #b08968;
    --pastel-8: #80cbc4;
    --pastel-9: #9fa8da;

    /* Zima - chłodne przejścia */
    --month-01-bg: linear-gradient(135deg, rgba(173, 216, 230, 0.2), rgba(176, 224, 230, 0.6));
    --month-02-bg: linear-gradient(135deg, rgba(230, 230, 250, 0.3), rgba(208, 208, 215, 1));;
    --month-12-bg: linear-gradient(135deg, rgba(176, 196, 222, 0.2), rgba(173, 216, 230, 0.7));

    /* Wiosna - życie się budzi */
    --month-03-bg: linear-gradient(135deg, rgba(176, 196, 222, 0.2), rgba(173, 216, 230, 0.6));
    --month-04-bg: linear-gradient(135deg, rgba(152, 251, 152, 0.3), rgba(124, 252, 0, 0.3));
    --month-05-bg: linear-gradient(135deg, rgba(173, 256, 150, 0.2), rgba(105, 256, 105, 0.5));

    /* Lato - intensywność słońca */
    --month-06-bg: linear-gradient(135deg, rgba(143, 88, 43, 0.2), rgba(152, 51, 52, 0.4));
    --month-07-bg: linear-gradient(135deg, rgba(255, 165, 0, 0.2), rgba(255, 140, 0, 0.4));
    --month-08-bg: linear-gradient(135deg, rgba(255, 140, 0, 0.2), rgba(255, 69, 0, 0.3));

    /* Jesień - przygasanie */
    --month-09-bg: linear-gradient(135deg, rgba(210, 180, 140, 0.2), rgba(222, 184, 135, 0.4));
    --month-10-bg: linear-gradient(135deg, rgba(205, 92, 92, 0.2), rgba(178, 34, 34, 0.3));
    --month-11-bg: linear-gradient(135deg, rgba(169, 169, 169, 0.2), rgba(128, 128, 128, 0.3));
  
    --card-fg: #0b1320;
    --card-shadow: 0 4px 16px rgba(0,0,0,.12);
    --card-shadow-hover: 0 8px 32px rgba(0,0,0,.18);

    --transition-duration: 0.3s;
}

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: var(--background-color);
    font-family: 'Montserrat', sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

main {
    display: grid;
    min-height: 100vh;
    grid-template-rows: max-content auto;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}
main > .main-carousel {
    min-height: 100dvh;
    width: 100%;
    max-width: 100vw;
}

.temporary-filler {
    height: 200vh;
}

.navbar-dark {
    min-height: 5rem;
    background-color: rgba(var(--primary-dark-color-rgb), 0.9);
    transition: all var(--transition-duration) ease;
}
.navbar-dark.scrolled {
    min-height: 4rem;
    background-color: rgba(var(--primary-color-rgb), 0.9);
}
.navbar-brand-img {
    height: 60px;
    width: auto;
    transition: all calc(var(--transition-duration) * 2) linear;
}
.navbar-brand-img:hover {
    transform: scale(1.125);
}
.navbar-brand-img.scrolled {
    height: 40px;
    width: auto;
}

.nav-link, footer ul li a {
    position: relative;
    color: var(--primary-light-color);
    padding-bottom: 2px;
    transition: all var(--transition-duration) ease;
}
.nav-link:hover {
    color: rgba(240,240,240, 0.75);
}
footer ul li a:hover {
    color: rgba(240,240,240, 0.75);
}
.navbar-dark.scrolled .nav-link, .navbar-dark.scrolled .navbar-brand-img {
    color: #fff;
}

.nav-link::after, footer ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background-color: rgba(240,240,240, 0.75);
    transform: scaleX(0);
    transform-origin: left center;
    opacity: 0;
    transition:
        transform var(--transition-duration) ease,
        opacity var(--transition-duration) ease;
}
.nav-link:hover::after, footer ul li a:hover::after {
    transform: scaleX(1);
    opacity: 1;
}
/* Podkreślenie aktywnego linku w menu (sekcja w widoku) */
.nav-link.active {
    color: #fff;
}
.navbar-dark.scrolled .nav-link.active {
    color: #fff;
}
.nav-link.active::after {
    transform: scaleX(1);
    opacity: 1;
}

.navbar-nav {
    align-items: center;
}

.nav-separator {
    width: 2px;
    height: 1rem;
    background-color: rgba(240,240,240, 0.75);
    align-self: center;
    margin: 0.25rem 0.25rem 0 0.25rem;
}

.nav-item .nav-separator {
    display: block;
}

.nav-link.icon-link {
    color: var(--primary-light-color);
    transform: scale(1);
    transition: all var(--transition-duration) ease;
    border: none;
}
.nav-link.icon-link::after {
    display: none;
}
.nav-link.icon-link:hover {
    transform: scale(1.25);
    color: rgba(240,240,240, 1);
}

.icons-row {
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.carousel-image {
    height: 100vh;
    object-fit: cover;
    filter: contrast(1.2) brightness(0.75) saturate(0.5) blur(1px);
}

.main-logo-container {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    z-index: 30;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.main-logo {
    width: 100%;
}
.main-logo img {
    height: clamp(6rem, 15vw, 10rem);
    filter: drop-shadow(2px 2px 10px rgba(0, 0, 0, 0.5));
}

.main-logo, .main-description {
    text-align: center;
}

.main-description {
    position: static !important;
    font-family: "Oswald", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: italic;
    bottom: auto;
    right: auto;
    background: rgba(0, 0, 0, 0);
    color: #eee;
    padding: 0.5rem 1rem;
    font-size: clamp(1rem, 4vw, 1.5rem);
    border-radius: 4px;
    text-shadow: 3px 3px 3px rgba(0, 0, 0, 0.65);
    z-index: auto;
}
.main-description .polish-white {
    color: #e9e8e7;
}
.main-description .polish-red {
    color: #d4213d;
    font-size: 125%;
}

.carousel-caption {
    text-align: center;
    left: 15%;
    bottom: 5%;
    /* max-width: 40%; */
    /* background-color: rgba(0, 0, 0, 0.1); */
    padding: 1rem;
    border-radius: 8px;
    /* box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); */
    /* backdrop-filter: blur(4px); */
}

.carousel-caption h3 {
    font-family: 'Black Ops One', system-ui;
    font-weight: 400;
    font-style: normal;
    text-align: center;
    font-size: 2.25rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.carousel-caption p {
    font-family: 'Montserrat', sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    text-align: center;
    font-size: 1.25rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.btn-primary {
    position: relative;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all var(--transition-duration) ease;
    z-index: 30;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: var(--primary-dark-color);
    border-color: var(--primary-dark-color);
}

.btn-cta {
    min-width: 7.5rem;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 600;
    transition: all var(--transition-duration) ease;
}
.btn-cta:hover {
    transform: scale(1.25);
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

footer {
    background-color: var(--primary-color);
    padding: 1.5rem 0 0 0;
}

footer img {
    width: 80%;
    height: auto;
}

footer h2 {
    font-family: 'Montserrat', sans-serif;
    color: var(--background-color);
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

footer p {
    font-family: 'Montserrat', sans-serif;
    color: var(--background-color);
    font-weight: 400;
    font-size: .875rem;
}

footer p.text-small {
    font-size: .75rem;
    color: var(--muted-color);
    line-height: .875rem;
    margin-bottom: .5rem;
    text-indent: .5rem;
}

footer ul.footer-nav, footer ul.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}
footer ul.footer-nav {
    text-align: left;
}
footer ul.footer-contact {
    text-align: right;
}

footer ul.footer-nav li {
    margin-bottom: .5rem;
}
footer ul.footer-contact li {
    margin-bottom: .75rem;
}

footer ul.footer-nav li a, footer ul.footer-contact li a {
    text-decoration: none;
}
footer ul.footer-nav li a:hover {
    margin: .5rem;
}

footer ul.footer-contact li i {
    margin: 0.375rem;
    font-size: 1.125rem;
    vertical-align: middle;
    color: var(--primary-light-color);
}

footer .footer-bottom {
    background-color: var(--primary-dark-color);
    font-size: .75rem;
    color: var(--muted-color);
    line-height: .875rem;
    padding: .5rem 0;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: .25rem;
}

footer .footer-bottom a {
    color: var(--link-color);
    text-decoration: none;
    opacity: .75;
    transition: all var(--transition-duration) ease;
}
footer .footer-bottom a:hover {
    color: var(--background-color);
    opacity: 1;
}

footer .footer-bottom img {
    height: .875rem;
    width: auto;
}

.indent { text-indent: .75rem; }

section {
    padding-top: 5rem;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

section:nth-of-type(1) { background: linear-gradient(to bottom, rgba(var(--scheme-1-color-rgb), 0.25), rgba(var(--scheme-2-color-rgb), 0.25)); }
section:nth-of-type(2) { background: linear-gradient(to bottom, rgba(var(--scheme-2-color-rgb), 0.25), rgba(var(--scheme-3-color-rgb), 0.25)); }
section:nth-of-type(3) { background: linear-gradient(to bottom, rgba(var(--scheme-3-color-rgb), 0.25), rgba(var(--scheme-4-color-rgb), 0.25)); }
section:nth-of-type(4) { background: linear-gradient(to bottom, rgba(var(--scheme-4-color-rgb), 0.25), rgba(var(--scheme-5-color-rgb), 0.25)); }
section:nth-of-type(5) { background: linear-gradient(to bottom, rgba(var(--scheme-5-color-rgb), 0.25), rgba(var(--primary-color-rgb), .5)); }

section h3 {
    font-family: 'Black Ops One', system-ui;
    font-weight: 400;
    font-style: normal;
    text-align: center;
    font-size: 4rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-align: center;
}

section h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-style: normal;
    text-align: center;
    font-size: 1.75rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-align: center;
}


section .top {
    flex: 0 0 auto;
}

section .bottom {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    /* flex: 0 0 auto; */
    padding-bottom: 2rem;
    gap: 1rem;
}

.panel {
    padding: 1rem;
    border-radius: .75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.5rem;
}

.contact-icon a {
    color: var(--background-color) !important;
    text-decoration: none !important;
    transition: all var(--transition-duration) ease;
}
.contact-icon a:hover {
    color: var(--primary-light-color) !important;
    text-decoration: none !important;
}


.contact-info h5 {
    font-weight: 600;
}

.contact-info a {
    font-weight: 500;
    text-decoration: none;
    color: var(--primary-color);
    transition: all var(--transition-duration) ease;
}
.contact-info a:hover {
    color: var(--primary-dark-color);
}

input[type="email"], input[type="text"], textarea {
    border-radius: 0.5rem;
    padding: 0.75rem;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    min-height: 44px;
}

section .top p {
    margin-bottom: 0;
    text-align: center;
}

#scheduleSection .row.container.bottom > * {
    padding-right: 0;
    padding-left: 0;
}


section .join-container .step .step-content a {
    color: var(--info-color);
    text-decoration: none !important;
    border-bottom: 1px solid var(--info-color);
    transition: all var(--transition-duration) ease;
}
section .join-container .step .step-content a:hover {
    color: var(--info-light-color);
    border-color: var(--info-light-color);
    border-bottom: 1px solid transparent;
}
section .join-container .step .step-content .step-number {
    background-color: var(--primary-color);
    border-radius: 50%;
    width: 1.5rem;
    height: 1.5rem;
    text-align: center;
    color: var(--background-color);
}
section .join-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 00;
    position: relative;
}
section .join-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50px;
    width: 4px;
    background-color: var(--primary-color);
}
section .join-container .step {
    display: flex;
    position: relative;
    min-height: 120px;
    border-radius: 0.5rem;
    box-shadow: 0 2px 6px rgba(0,0,0,.1);
    overflow: hidden;
}
section .join-container .step .step-icon {
    background-color: var(--primary-color);
    color: var(--background-color);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    min-width: 100px;
}
section .join-container .step .step-content {
    padding: 1.5rem;
    flex: 1;
}
section .join-container .step .step-content h5 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 0;
    color: var(--primary-dark-color);
    display: flex;
    align-items: center;
    gap: .5rem;
}


.activities .lead {
    opacity: .9;
    margin-bottom: 1rem;
}

.activities .cards {
    display: grid; 
    grid-template-columns: auto auto auto; 
    grid-template-rows: auto auto auto; 
    gap: .5rem .5rem;
    grid-template-areas: 
    ". . ."
    ". . ."
    ". . ."; 
    justify-content: center; 
    justify-items: center; 
}

.activities .cards::-webkit-scrollbar {
    height: 8px;
}
.activities .cards::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,.2);
    border-radius: 4px;
}

.activities .card {
    scroll-snap-align: center;
    flex: 0 0 clamp(120px, 28vw, 160px);
    aspect-ratio: 4 / 5;
    border-radius: 16px;
    background: var(--card-bg, #f4f6f8);
    color: var(--card-fg);
    box-shadow: var(--card-shadow);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    transform: translateZ(0);
    transition: transform .25s ease, box-shadow .25s ease;
    position: relative;
    isolation: isolate;
    max-width: 20rem;
    max-height: 16rem;
}
.activities .card .icon {
    font-size: clamp(28px, 4vw, 40px);
    width: 3rem; 
    height: 3rem;
    display: grid; 
    place-items: center;
    border-radius: 10px;
    margin-bottom: .75rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,.375);
}
.activities .card h4 {
    font: 400 clamp(1.05rem, 1.3vw, 1.25rem)/1.2 "Oswald", system-ui, sans-serif;
    margin: .25rem 0 .35rem;
    letter-spacing: .2px;
}
.activities .card p {
    font-size: .96rem;
    line-height: 1.35;
    opacity: .95;
    text-align: center;
}


.modern-carousel {
    height: 100vh;
    overflow: hidden;
    position: relative;
    background-color: #000;
    width: 100%;
    max-width: 100vw;
}

.mc-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(100vh);
    max-width: 100vw;
    overflow: hidden;
}
.mc-slide.mc-active {
    opacity: 1;
    transform: translateY(0);
}
.mc-slide .mc-slide-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 120%;
    background-size: cover;
    background-position: center;
    filter: brightness(.7);
    transform: scale(1.1);
    z-index: 1;
}
.mc-slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--background-color);
    max-width: 900px;
    padding: 0 50px;
}
.mc-slide-title {
    font-family: 'Black Ops One', system-ui;
    font-size: clamp(2.25rem, 8vw, 5.5rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.05;
    margin-bottom: 2rem;
    text-transform: uppercase;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
    white-space: normal;
    word-break: normal;
}

.typewriter-wrapper {
    font-family: 'Black Ops One', system-ui;
    font-size: clamp(2.25rem, 8vw, 5.5rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.05;
    margin-bottom: 2rem;
    text-transform: uppercase;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: normal;
    word-break: normal;
    display: inline-block;
}

.typewriter-wrapper span {
    display: inline-block;
    background: inherit;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.typewriter-wrapper i {
    font-size: 4.5rem;
    margin-bottom: 0.5rem;
    display: inline-block;
}
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.mc-slide-subtitle {
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 300;
    letter-spacing: 0.05em;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.mc-slide-description {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.7;
    max-width: 600px;
    margin: 0 auto;
}

.mc-slide-content-title i {
    font-size: 4.5rem;
    margin-bottom: 0.5rem;
}

.mc-slide,
.mc-slide .mc-slide-bg,
.mc-slide .mc-slide-content {
    will-change: transform, opacity;
}

.mc-navigation {
    position: absolute;
    right: 2.5rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 101;
}

.mc-nav-item {
    width: .75rem;
    height: .75rem;
    border: 2px solid rgba(255,255,255,.5);
    border-radius: 50%;
    margin: 1rem 0;
    cursor: pointer;
    transition: all var(--transition-duration) ease;
    position: relative;
}
.mc-nav-item.active {
    background-color: #fff;
    border-color: #fff;
    transform: scale(2);
}
.mc-nav-item:hover {
    border-color: #fff;
    transform: scale(1.25);
}

.mc-progress-bar {
    position: fixed;
    right: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
    z-index: 101;
    transform-origin: left;
    transform: scale(0);
}

.mc-slide-counter {
    position: absolute;
    bottom: 2.5rem;
    right: 2.5rem;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 300;
    z-index: 101;
}

.mc-counter-progress {
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    margin-top: 0.5rem;
    border-radius: 1px;
    overflow: hidden;
}

.mc-counter-progress::after {
    content: '';
    display: block;
    width: var(--progress, 0%);
    height: 100%;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
    border-radius: 1px;
    transition: width 50ms linear;
}

.row > .gallery {
    padding: 0 2px !important;
}

.gallery .image-container {
    overflow: hidden;
    position: relative;
    border-radius: 4px;
    margin: 0 4px 4px 0;
    cursor: pointer;
}
.gallery .image-container.shadow-right {
    box-shadow: 10px 0 10px rgba(0,0,0,0.1);
}
.gallery .image-container.shadow-right-bottom {
    box-shadow: 10px 10px 10px rgba(0,0,0,0.1);
}
.gallery .image-container.shadow-bottom {
    box-shadow: 0 10px 10px rgba(0,0,0,0.1);
}
.gallery img {
    vertical-align: middle;
    filter: grayscale(0.375) blur(1.15px);
    transform: scale(1);
    transition: all var(--transition-duration) ease;
    max-width: 100%;
    height: auto;
}
.gallery img:hover {
    animation: gallery-hover 30s ease;
    filter: grayscale(0) blur(0);
}
@keyframes gallery-hover {
    0% { transform: scale(1); }
    16.67% { transform: scale(1.05); }
    83.33% { transform: scale(1.25); }
    100% { transform: scale(1); }
}

#aboutSection .image-viewer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1111;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-duration) ease, visibility var(--transition-duration) ease;
}
#aboutSection .image-viewer.active {
    opacity: 1;
    visibility: visible;
}
#aboutSection .image-viewer img {
    width: 85%;
    height: 85%;
    object-fit: contain;
    margin: 2.5rem;
}
#aboutSection .image-viewer .image-viewer-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
#aboutSection .image-viewer .image-viewer-content .close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 1112;
    color: #ddd !important;
    background-color: transparent;
    border: none;
    border-radius: 0 0 0 8px;
    padding: 1rem 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    transition: background-color var(--transition-duration) ease;
}
#aboutSection .image-viewer .image-viewer-content .close:hover {
    color: #fff !important;
}

#contactSection {
    padding: 2rem 0 3rem 0;
}

/* Container overrides for proper mobile width */
.container {
    width: 100%;
    max-width: 1200px;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

/* Row overrides for proper mobile width */
.row {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}


.about-text-preview {
    display: none;
    margin-bottom: 0;
}

#contactSection .bottom {
    flex-direction: row;
}

.lightbox {
	width: 100%;
}
.lightbox .content {
	position: relative;
	width: 90%;
	height: 40vh;
	margin: 5% auto;
	display: flex;
	align-items: center;
	justify-content: center;
}
.lightbox .content .container {
	width: 100%;
	height: 100%;
	position: relative;
}
.lightbox .content .slides .slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 0.5s ease-in-out;
	object-fit: contain;
}
.lightbox .content .slides .slide.active {
	opacity: 1;
	display: block;
    border-radius: 8px !important;
}
.lightbox .content .btn-nav {
	color: #eee;
	font-size: 2rem;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: transparent;
	border: none;
	padding: 0 0.125rem;
	cursor: pointer;
	border-radius: 0.2rem;
	user-select: none;
	transition: all 0.3s ease;
}
.lightbox .content .btn-nav:hover,
.lightbox .content .btn-nav:active {
	transform: translateY(-55%);
}
.lightbox .content .btn-prev {
	left: 1rem;
}
.lightbox .content .btn-next {
	right: 1rem;
}
.lightbox .content .counter {
	position: absolute;
	bottom: 20px;
	right: 50%;
	padding: 0.5rem 1rem;
	border-radius: 0.2rem;
	font-weight: 600;
	transform: translateX(50%);
	background-color: rgba(255, 255, 255, 0.8);
}


mark {
    --color1: var(--primary-color);
    --color2: var(--primary-color);
    --bg-height: 20%;

    all: unset;
    background-image: linear-gradient(var(--color1), var(--color2));
    background-position: 0 100%;
    background-repeat: no-repeat;
    background-size: 0 var(--bg-height);
    animation: highlight 800ms 1 ease-out;
    animation-fill-mode: forwards;
    animation-play-state: paused;
}
@keyframes highlight {
    to {
        background-size: 100% var(--bg-height);
    }
}

.mobile-accordion .row-collapse {
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.mobile-accordion .row-collapse [class*="col-"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.mobile-accordion {
    border-radius: .2rem;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    max-height: 100%;
}
.mobile-accordion .tab {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: flex-grow .5s ease-in-out;
}
.mobile-accordion .tab .inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 2rem;
}
.mobile-accordion .tab .inner .content {
    opacity: 0;
    color: var(--background-color);
    transition: opacity .8s;
}
.mobile-accordion .tab .inner .toggle {
    padding-right: 5rem;
    font-size: 5rem;
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
    color: #eee;
    display: block;
}
.mobile-accordion .tab .inner .toggle::after {
    display: inline-block;
    height: 3rem;
    width: 3rem;
    line-height: 3rem;
    text-align: center;
    content: '+';
}
.mobile-accordion .tab:nth-of-type(1) { background-color: var(--pastel-1); }
.mobile-accordion .tab:nth-of-type(2) { background-color: var(--pastel-2); }
.mobile-accordion .tab:nth-of-type(3) { background-color: var(--pastel-3); }
.mobile-accordion .tab:nth-of-type(4) { background-color: var(--pastel-4); }
.mobile-accordion .tab:nth-of-type(5) { background-color: var(--pastel-5); }
.mobile-accordion .tab:nth-of-type(6) { background-color: var(--pastel-6); }
.mobile-accordion .tab:nth-of-type(7) { background-color: var(--pastel-7); }
.mobile-accordion .tab:nth-of-type(8) { background-color: var(--pastel-8); }
.mobile-accordion .tab:nth-of-type(9) { background-color: var(--pastel-9); }
.mobile-accordion .tab.open {
    flex: 4 0 auto;
}
.mobile-accordion .tab.open .content {
    opacity: 1;
}
.mobile-accordion .tab.open .toggle::after { content: '-'; }

#returnHomeButton {
    display: block;
    z-index: 1005;
    font-size: 1.5rem;
    position: fixed;
    width: 4rem;
    height: 4rem;
    text-align: center;
    align-content: center;
    background-color: var(--primary-color);
    border-radius: 6rem 0 0 6rem;
    bottom: 3.5rem;
    right: 0;
    pointer-events: all;
    opacity: .925;
}
#returnHomeButton a {
    display: inline-block;
    color: var(--background-color);
    text-decoration: none;
    transform: rotate(90deg);
    transition: all var(--transition-duration);
}
#returnHomeButton a:hover, #returnHomeButton a:active {
    transform: scale(1.125) rotate(90deg) translateX(-2.5px);
    color: rgba(var(--background-color), .75);
}




.event-section {
	--primary-alpha: rgba(var(--primary-color-rgb), 0.375);
	--border-radius: 1rem;
	--spacing: 0;
	position: relative;
    margin-top: 5rem;
}

.event-header {
	position: absolute;
	top: 0;
	left: 1rem;
	right: 1rem;
	transform: translateY(-4.5rem);
	background: linear-gradient(140deg,var(--primary-color),var(--primary-light-color));
	border-radius: var(--border-radius) var(--border-radius) 0 0;
	padding: 1rem;
	font: 800 1.75rem "Montserrat", sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.75rem;
	z-index: 1;
}

.event-container {
	--angle: 45deg;
    display: flex;
    flex-direction: column;
	background: linear-gradient(var(--angle), #f0eade, #e8ded1);
	padding: 2rem;
	margin: 0 1rem;
	gap: 1.5rem;
	border: 0.25rem solid var(--primary-light-color);
	border-radius: 0 0 var(--border-radius) var(--border-radius);
	position: relative;
}

.event-item {
	display: flex;
    flex-direction: row;
	padding: 0;
	border-radius: 1rem;
	box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.event-symbol {
	color: rgba(var(--scheme-4-color-rgb), 0.75);
	font-size: 2.5rem;
	display: flex;
	align-items: center;
	padding: var(--spacing) var(--spacing) var(--spacing) 1.25rem;
	border-radius: var(--border-radius) 0 0 var(--border-radius);
    margin-right: .5rem;
}

.event-date {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	position: relative;
	width: 8rem;
	border: 0.75rem solid var(--primary-alpha);
	background: #eee;
	border-radius: 2rem;
	padding: var(--spacing);
	flex-shrink: 0;
}

.event-date .day {
	font-size: 3rem;
	font-weight: 600;
	color: rgba(var(--scheme-4-color-rgb), 0.75);
	/* text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.25); */
}

.event-date .year {
	position: absolute;
	top: 0;
	font-size: 0.75rem;
	color: rgba(var(--scheme-5-color-rgb), 0.75);
}

.event-date .month {
	position: absolute;
	bottom: 0;
	font-size: 0.85rem;
	color: rgba(var(--scheme-3-color-rgb), 0.75);
}

.event-meeting-container {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    justify-content: start;
}

.event-icons,
.event-labels {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}
.event-icons {
	font-size: 1.5rem;
	gap: 0.5rem;
	justify-content: center;
	align-items: center;
}

.event-content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	margin-left: 0.5rem;
	justify-content: center;
	gap: 0;
	flex: 1;
	border-radius: 0 var(--border-radius) var(--border-radius) 0;
	padding: var(--spacing) 0.25rem;
}
.event-content > * {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 0.25rem;
}
.event-content > * > i {
	margin-right: 0.25rem;
}

.event-content .div1 h3 {
    font-family: 'Montserrat', sans-serif;
    text-shadow: none;
	font-size: inherit;
	margin: 0;
    text-align: left;
}
.event-content .div1 {
	font-size: 1.125rem;
}

.event-content .div2 {
	font-size: .875rem;
	font-style: italic;
}

.event-content .div3 {
	font-size: 1rem;
	color: var(--info-color);
}

.event-content a {
	color: var(--info-color);
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: all 0.5s;
}

.event-content a:hover {
	color: var(--link-color);
	border-bottom: 1px solid var(--link-color);
}

.event-container .row {
	justify-content: center;
}
