@import url("https://fonts.googleapis.com/css2?family=Wix+Madefor+Display:wght@400..800&family=Wix+Madefor+Text:ital,wght@0,400..800;1,400..800&display=swap");
* {
    box-sizing: border-box;
    margin: 0;
    text-decoration: none;
    list-style: none;
}
html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}
html,
body {
    height: 100%;
    background-color: #ebc0ac0c;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Wix Madefor Display", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
}
p,
li,
a,
span {
    font-family: "Wix Madefor Display", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
}
p {
    margin-bottom: 1rem;
}
.boldest {
    font-weight: 800;
}
.sr-only {
    clip: rect(0, 0, 0, 0);
    border-width: 0;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.3s;
    opacity: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 100;
}
.overlay.active {
    width: 100%;
    height: 100%;
    opacity: 1;
}
.mobile-nav-toggle {
    display: none;
}
.navbar-container {
    width: 100%;
    z-index: 2;
    position: relative;
}
.navigation-retour {
    position: fixed;
    bottom: 3rem;
    right: 5rem;
    width: 5rem;
    height: auto;
    cursor: pointer;
    z-index: 100;
    text-decoration: none;
    --navigation-display: none;
}
.navigation-retour:hover {
    --navigation-display: block;
}
.navigation-retour img {
    width: 100%;
    height: auto;
    border-color: var(--quaternary-color);
    border-width: 1px;
    border-style: dashed;
    border-radius: 12px;
}
.navigation-retour p {
    display: var(--navigation-display);
    font-size: 1.4rem;
    text-align: center;
    color: var(--primary-color);
    position: relative;
    top: 1.5rem;
    width: 115px;
    left: -3rem;
    text-decoration: none;
    transition: all 0.5s;
}
/**
* Variables
*/
:root {
    --primary-color: #c45825;
    --secondary-color: #f8f9fa;
    --tertiary-color: #833b19;
    --tertiary-color-trans: #833b1985;
    --quaternary-color: #52240f;
    --light: 300;
    --regular: 400;
    --medium: 500;
    --bold: 700;
    --extra-bold: 800;
    --font-primary: "Poppins", sans-serif;
    --font-secondary: "Open Sans", sans-serif;
}

/**
* NAVBAR
*/
.navbar-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 35px 20px;
}
.navbar-content li {
    margin-bottom: 0;
}
.navbar-content li a {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: var(--bold);
}
.navbar-content li a:hover {
    color: var(--tertiary-color);
}
.navbar-pattern {
    background-color: var(--primary-color);
    background-image: url("../images/patterns/bg-pattern-3942e7c314e72cd04d48b4891ba0a93e.webp");
    min-height: 64px;
}

/**
* Buttons
*/
.btn-gssig {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
}
.btn-gssig:hover {
    background-color: var(--tertiary-color);
    border-color: var(--tertiary-color);
    color: #ffffff;
}
.btn-gssig-outline {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}
.btn-gssig-outline:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
}

/**
* Gallery
*/
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
.gallery-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.gallery-tile {
    border: 0;
    padding: 0;
    background: transparent;
    border-radius: 12px;
    overflow: hidden;
    display: block;
}
.gallery-thumb {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.gallery-tile:hover .gallery-thumb {
    transform: scale(1.02);
}
.gallery-caption h5 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}
.gallery-caption p {
    font-size: 1.3rem;
    color: #555;
}
.gallery-modal .modal-dialog {
    max-width: 95vw;
}
.gallery-modal .modal-content {
    height: 90vh;
}
.gallery-modal .modal-content {
    border-radius: 1.2rem;
}
.gallery-modal-body {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    min-height: 80vh;
}
.gallery-modal-media-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery-modal-media {
    max-width: 100%;
    max-height: 85vh;
    width: auto;
    height: auto;
    display: block;
}
.gallery-modal-nav {
    border: 0;
    background: transparent;
    color: var(--primary-color);
    font-size: 4rem;
    line-height: 1;
    padding: 0 0.5rem;
    cursor: pointer;
}
.gallery-modal-nav:hover {
    color: var(--tertiary-color);
}
@media only screen and (max-width: 768px) {
    .gallery-modal .modal-content {
        height: 85vh;
    }
    .gallery-modal-body {
        min-height: 70vh;
    }
    .gallery-modal-nav {
        font-size: 3.2rem;
    }
}

/**
* Blog
*/
.blog-post {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    padding: 0 1.5rem;
}
.blog-post-content {
    font-size: 1.8rem;
    line-height: 1.7;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.blog-post-content p {
    margin-bottom: 1.6rem;
}
.blog-post-content ul,
.blog-post-content ol {
    margin-bottom: 1.6rem;
    padding-left: 2rem;
}
.blog-post img {
    max-width: 100%;
    height: auto;
}
.blog-image-grid {
    display: flex !important;
    flex-wrap: wrap;
    gap: 16px;
    margin: 2rem 0 3rem;
    align-items: stretch;
    max-width: 100%;
}
.blog-image-tile {
    border: 0;
    padding: 0;
    background: transparent;
    border-radius: 14px;
    overflow: hidden;
    height: 200px !important;
    display: block;
    flex: 0 0 calc(25% - 12px) !important;
    max-width: calc(25% - 12px);
    box-sizing: border-box;
}
.blog-image-grid > .blog-image-tile {
    display: block !important;
    flex: 0 0 calc(25% - 12px) !important;
    max-width: calc(25% - 12px) !important;
    height: 200px !important;
}
.blog-image-thumb {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    display: block;
}
@media (max-width: 991px) {
    .blog-image-tile,
    .blog-image-grid > .blog-image-tile {
        flex-basis: calc(50% - 8px) !important;
        max-width: calc(50% - 8px) !important;
    }
}
@media (max-width: 575px) {
    .blog-image-tile,
    .blog-image-grid > .blog-image-tile {
        flex-basis: 100% !important;
        max-width: 100% !important;
    }
}
.blog-format-help {
    font-size: 1.4rem;
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
    color: #666;
}

/**
* Calendar general
*/
.calendar-general-title {
    font-size: 2.6rem;
}
#calendar-general .fc .fc-toolbar-title {
    font-size: 2rem;
}
#calendar-general .fc .fc-event-title,
#calendar-general .fc .fc-event-time {
    font-size: 1.3rem;
}
.calendar-general-modal .modal-title {
    font-size: 2rem;
}
.calendar-general-modal .modal-body {
    font-size: 1.5rem;
    line-height: 1.6;
}
.calendar-general-description {
    font-size: 1.5rem;
    line-height: 1.6;
}
.calendar-general-page {
    max-width: 100%;
    overflow-x: hidden;
}
.calendar-general-page .card,
.calendar-general-page .card-body,
.calendar-general-page .form-row,
.calendar-general-page .calendar-general-wrapper {
    min-width: 0;
}
.calendar-general-wrapper {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}
#calendar-general,
#calendar-general .fc {
    max-width: 100%;
    width: 100%;
}
#calendar-general .fc-toolbar {
    flex-wrap: wrap;
    gap: 0.6rem;
}
#calendar-general .fc-toolbar-title {
    font-size: 1.9rem;
}
#calendar-general .fc-button {
    font-size: 1.3rem;
    padding: 0.4rem 0.7rem;
}
#calendar-general .fc-daygrid-event,
#calendar-general .fc-timegrid-event {
    font-size: 1.3rem;
    line-height: 1.2;
}
#calendar-general .fc-event-title,
#calendar-general .fc-event-time {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media (max-width: 1024px) {
    #calendar-general .fc-toolbar-title {
        font-size: 1.7rem;
    }
}
@media (max-width: 767px) {
    #calendar-general .fc-toolbar-chunk {
        display: flex;
        flex-wrap: wrap;
        gap: 0.6rem;
        justify-content: center;
        width: 100%;
    }
    #calendar-general .fc-toolbar-chunk:last-child {
        justify-content: center;
    }
    #calendar-general .fc-toolbar-title {
        font-size: 1.6rem;
    }
    #calendar-general .fc-button {
        font-size: 1.2rem;
        padding: 0.35rem 0.55rem;
    }
    #calendar-general .fc-daygrid-day-number {
        font-size: 1.1rem;
    }
    #calendar-general .fc-daygrid-event,
    #calendar-general .fc-timegrid-event {
        font-size: 1.2rem;
    }
}
@media (max-width: 479px) {
    #calendar-general .fc-toolbar {
        justify-content: center;
    }
    #calendar-general .fc-toolbar-chunk {
        width: 100%;
    }
    #calendar-general .fc-toolbar-title {
        font-size: 1.5rem;
    }
    #calendar-general .fc-button {
        font-size: 1.1rem;
        padding: 0.3rem 0.45rem;
    }
}
@media only screen and (min-width: 576px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media only screen and (min-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media only screen and (min-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/**
* Footer
*/
footer {
    background-color: var(--primary-color);
    background-image: url("../images/patterns/bg-pattern-3942e7c314e72cd04d48b4891ba0a93e.webp");
    color: var(--secondary-color);
    /* text-align: center; */
    min-height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 7.5rem;
    flex-direction: column;
}
footer p:first-child {
    margin-top: 1.5rem;
}
footer p a {
    color: #ffd700;
    font-weight: 700;
}
footer p a:hover {
    color: #d3d3d3;
    font-weight: 700;
}
label.required::after {
    content: "*";
    color: red;
    margin-left: 1rem;
}
@media only screen and (max-width: 992px) {
    .mobile-nav-toggle {
        aspect-ratio: 1;
        background-color: transparent;
        display: block;
        position: fixed;
        right: 4rem;
        top: 2rem;
        width: 2rem;
        z-index: 104;
        padding: 0;
        border-radius: 0;
        color: black;
        font-size: 3.5rem;
        border: 0;
    }
    .mobile-nav-toggle svg {
        display: none;
    }
    .mobile-nav-toggle svg.active {
        display: block;
    }
    .navbar-container {
        position: fixed;
        z-index: 103;
        inset: 0 0 0 30%;
        background-color: rgba(140, 179, 219, 0.3607843137);
        backdrop-filter: blur(1rem);
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        border-radius: 3rem 0 0 3rem;
        width: auto;
    }
    .navbar-container.active {
        transform: translateX(0);
    }
    .navbar-container .navbar-content {
        display: flex;
        flex-direction: column;
        width: 90%;
        height: 60%;
        margin: auto;
    }
    .navbar-content li a {
        color: black;
        margin-bottom: 2rem;
    }
}
/* Extra small devices (phones, 768px and down) */
@media only screen and (max-width: 768px) {
    footer p {
        text-align: center;
        margin: 1.5rem 0;
    }
}

/* Tiny devices (phones, 460px and down) */
@media only screen and (max-width: 460px) {
    .navbar-container.active {
        width: 80%;
        transform: translateX(-12%);
    }
}
