/* Global things */
:root {
    --text-color: #131315;
    --background-color: #f5f5f5;
    --red: #DD4048;
    --purple: #8761D2;
    --green: #56B269;
    --blue: #3896FA;
    --pink: #F198D8;
    --yellow: #F6DD79;
    --black: #131315;
    --burger: rgba(245, 245, 245, 0.9);

}

[data-theme="dark"] {
    --text-color: #f5f5f5;
    --background-color: #131315;
    --burger: rgba(19, 19, 21, 0.9);
}

html,
body,
.main {
    height: 100%;
}

h1,
h2,
p {
    transition: all 0.3s ease;
}

h1,
h2 {
    font-family: "chaloops", sans-serif;
    font-weight: 700;
    color: var(--text-color);
}

a {
    color: var(--text-color);
    text-decoration: none;
}

body {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    min-height: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
    background-color: var(--background-color);
    transition: all 0.3s ease;
}

.theme-switch {
    display: inline-block;
    height: 34px;
    position: relative;
    width: 60px;
}

.theme-switch input {
    display: none;
}

.slider {
    background-color: var(--background-color);
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: .3s;
}

.slider:before {
    background-color: var(--yellow);
    bottom: 4px;
    content: "";
    height: 26px;
    left: 4px;
    position: absolute;
    transition: .4s;
    width: 26px;
}

input:checked+.slider {
    background-color: var(--background-color);
}

input:checked+.slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.chaloops-regular {
    font-family: "chaloops", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.chaloops-medium {
    font-family: "chaloops", sans-serif;
    font-weight: 600;
    font-style: normal;
}

.chaloops-bold {
    font-family: "chaloops", sans-serif;
    font-weight: 700;
    font-style: normal;
}

/* --- Hamburger styles --- */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1002;
    position: relative;
    margin-left: auto;
    margin-right: 10%;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 4px;
    margin: 4px 0;
    background: var(--black);
    border-radius: 2px;
    transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
    width: 40px;
    transform: translateY(11px) rotate(45deg);
    background: var(--text-color);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    width: 40px;
    transform: translateY(-11px) rotate(-45deg);
    background: var(--text-color);
}

/* --- Mobile menu overlay --- */
.mobile-menu {
    display: none;
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--burger);
    z-index: 1001;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s;
    /* Prevent scrolling of background when open */
    overflow-y: auto;
}

.mobile-menu ul {
    /* Center the menu vertically and horizontally */
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
    justify-content: center;
    width: 100vw;
    min-height: 100vh;
    padding: 0;
    margin: 0;
}

.mobile-menu ul li {
    font-size: 1.5em;
    width: 100vw;
    text-align: center;
}

.mobile-menu ul li a {
    display: inline-block;
    color: var(--text-color);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 8px;
    transition: background 0.2s;
}

.mobile-menu ul li a.active,
.mobile-menu ul li a:hover {
    background: #F6DD79;
    color: var(--black);
}

.mobile-menu .switch {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto;
}

.mobile-menu .theme-switch {
    /* Remove any margin-left overrides */
    margin-left: 0 !important;
}

.mobile-menu.show {
    display: flex;
}

.mobile-menu-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.mobile-menu-backdrop.show {
    display: block;
}

header,
footer {
    width: 100%;
    background-color: #F6DD79;
    padding: 20px;
    height: 100px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

header .logo {
    height: 125%;
}

header .logo img {
    height: 100%;
    width: auto;
}

header .nav-div {
    width: 50%;
}

header .nav-div nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 20px;
    margin-right: 50px;
    float: right;
    /* justify-content: space-evenly; */
}

header .nav-div nav ul li {
    font-size: 1.5em;
}

header .nav-div nav ul li a:hover {
    color: #F6DD79;
    background-color: black;
    padding: 10px;
    border-radius: 10px;
}

header .nav-div nav ul li a {
    padding: 10px;
    text-decoration: none;
    color: black;
    border-radius: 2px;
    transition: all 0.3s ease;
}

header .nav-div nav ul li a.active {
    text-decoration: underline;
}

footer {
    margin-top: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    box-sizing: border-box;
    height: fit-content;
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.footer-info ul {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-social ul {
    display: flex;
    flex-direction: row;
    gap: 15px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-social ul li {
    max-width: 50px;
}

.footer-social ul li a img {
    width: 100%;
    height: auto;
    max-width: 100%;
}

.footer-social ul li a svg {
    stroke-width: 2px;
    width: 100%;
    height: auto;
    max-width: 100%;
    transition: all 0.3s ease;
}

.footer-social ul li a svg:hover {
    stroke-width: 3px;
    transform: scale(1.1);
}

footer .logo {
    max-width: 150px;
    display: flex;
    margin: auto 0;
}

footer .logo img {
    height: 100%;
    width: auto;
    max-width: 100%;
    display: block;
}

.main {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

/* Global things */
/* Home page */

.hero-div {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: center; */
    text-align: center;
    padding: 50px 20px;
    height: 100%;
    min-height: calc(838px*0.9);
}

.hero-div h1 {
    margin-top: 150px;
    color: var(--text-color);
    font-size: 4em;
    line-height: 1.2;
    max-width: 1220px;
    transition: color 0.3s ease;
}

.hero-div h1 span {
    font-size: 2em;
    line-height: 1.8;
}

.section-info {
    display: flex;
    flex-direction: column;
    gap: 100px;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
}

.section-info-div {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.section-info-div div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 600px;
}

.section-info h2 {
    color: var(--text-color);
    font-size: 3.5em;
    margin-bottom: 20px;
}

.section-info p {
    color: var(--text-color);
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 20px;
    background-color: var(--background-color);
}

.section-info div.info-image {
    max-width: 400px;
}

.section-info div img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.section-video {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    height: 100%;
    min-height: calc(838px*1.2);
}

.section-video p {
    max-width: 700px;
    line-height: 1.6;
    text-align: center;
    color: var(--text-color);
    background-color: var(--background-color);
}

section h1 {
    color: var(--text-color);
    font-family: "chaloops", sans-serif;
    font-weight: 700;
    font-size: 3.5em;
    margin-bottom: 50px;
    width: 100%;
    text-align: center;
}

.video-container {
    display: flex;
    background: var(--section-color);
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: 838px;
}

.video-container video {
    width: 100%;
    max-width: 80vw;
    border: var(--green) 6px solid;
}

.section-sparks {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    padding: 50px 20px;
    height: 100%;
    min-height: calc(838px*0.75);
    width: 100%;
}

.section-sparks button svg {
    max-width: 100%;
    height: 100%;
}

.list {
    display: flex;
    gap: 8px;
    padding: 16px;
    max-width: 1600px;
    margin: 0 auto;

    list-style: none;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;

    -ms-overflow-style: none;
}

.list::-webkit-scrollbar {
    display: none;
}

.item {
    flex-shrink: 0;
    width: 80%;
    min-height: 400px;
    max-height: 600px;
    background-color: transparent;
    scroll-snap-align: center;
    cursor: pointer;
}

.content {
    display: block;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
    min-width: 400px;
    max-width: 1200px;
}

.content .gallery-image {
    position: absolute;
    width: auto;
    height: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

.content .gallery-image img {
    width: 100%;
    max-height: 100%;
    border-radius: 10px;
}

.content .gallery-text {
    height: 100%;
    width: 100%;
    position: absolute;
    color: var(--text-color);
    border-radius: 10px;
    display: flex;
}

.content .gallery-text div {
    margin-left: 50%;
    height: 100%;
    width: 100%;
    border-radius: 0 10px 10px 0;
    padding: 0 10px;
}

.content .gallery-text.purple div {
    background: var(--purple)
}

.content .gallery-text.yellow div {
    background: var(--yellow);
}

.content .gallery-text.blue div {
    background: var(--blue);
}

.content .gallery-text h2 {
    font-size: 3em;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 30px;
}

.content .gallery-text p {
    font-size: 1.2em;
    line-height: 1.5;
    margin-bottom: 20px;
}

.list-wrapper {
    position: relative;
}

.list-wrapper .button {
    position: absolute;
    top: 50%;

    font-size: 1.5em;

    border: none;
    background-color: var(--green);
    border-radius: 50%;

    width: 3rem;
    height: 3rem;

    transform: translateY(-50%);
    cursor: pointer;
}

.list-wrapper .button--previous {
    left: 1.5rem;
}

.list-wrapper .button--next {
    right: 1.5rem;
}

/* Carousel dots styles */
.carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    margin-bottom: 8px;
    z-index: 2;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    outline: none;
    cursor: pointer;
    transition: background 0.2s;
    padding: 0;
}

.carousel-dot.active {
    background: var(--purple);
}

.carousel-dot.active:nth-child(2) {
    background: var(--yellow);
}

.carousel-dot.active:nth-child(3) {
    background: var(--blue);
}

.section-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    height: 100%;
    min-height: 838px;
    position: relative;
}

.team-circle-layout {
    position: relative;
    width: 750px;
    height: 750px;
    margin: 0 auto;
}

.team-center {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 280px;
    height: 280px;
    background: var(--purple);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.team-center span {
    color: #fff;
    font-size: 3em;
    font-family: "chaloops", sans-serif;
    text-align: center;
    font-weight: 700;
    line-height: 1.1;
}

.team-member {
    position: absolute;
    width: 225px;
    height: 225px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
    border: 5px solid var(--purple);
    overflow: hidden;
    z-index: 1;
    background-color: rgba(255, 255, 255, 0);
    transition: all 0.3s ease;
}

.team-member .rel-div {
    position: relative;
    width: 100%;
    height: 100%;
}

.team-member .rel-div .rel-img-div {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;

}

.team-member .rel-div .rel-img-div img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 50%;
    position: static;
    /* filter: grayscale(100%); */
}

.team-member .rel-div div {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100%;
    height: 100%;
    width: 100%;
    background-color: rgba(245, 245, 245, 0);
    transition: all 0.3s ease;
}

.team-member p {
    font-weight: 600;
    color: rgba(0, 0, 0, 0);
    font-size: 1.4em;
    text-align: center;
    width: 100%;
    transition: all 0.3s ease;
}

.team-member span {
    font-weight: 400;
    font-size: 0.8em;
    text-align: center;
    transition: all 0.3s ease;
}

.team-member:hover .rel-div div {
    background-color: rgba(245, 245, 245, 0.8);
}

.team-member:hover p {
    color: var(--text-color);
}

/* Top */
.member-top {
    left: 50%;
    top: 0;
    transform: translate(-50%, 0);
    border-color: var(--green);
}

/* Left */
.member-left {
    left: 5%;
    top: 40%;
    transform: translate(0, -50%);
    border-color: var(--pink);
}

/* Right */
.member-right {
    right: 5%;
    top: 40%;
    transform: translate(0, -50%);
    border-color: var(--blue);
}

/* Bottom Left */
.member-bottom-left {
    left: 15%;
    bottom: 8%;
    transform: translate(0, 0);
    border-color: var(--purple);
}

/* Bottom Right */
.member-bottom-right {
    right: 15%;
    bottom: 8%;
    transform: translate(0, 0);
    border-color: var(--red);
}

.section-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 20px;
    height: 100%;
    min-height: calc(838px*0.8);
}

.contact-container {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: flex-start;

    gap: 100px;
    width: 100%;
    max-width: 1200px;
    border: var(--green) 4px solid;
    border-radius: 10px;
    padding: 30px;
    background-color: var(--background-color);
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
    height: 100%;

}

.info-input {
    padding: 5px;
    width: 100%;
    border: var(--green) 2px solid;
    border-radius: 5px;
}

.contact-button {
    width: 25%;
    font-size: 1.2em;
    background-color: var(--green);
    color: var(--black) !important;
    border: none;
    border-radius: 5px;
    padding: 5px;
    cursor: pointer;
    -webkit-text-fill-color: var(--black) !important; /* Fix iOS blue text */
    appearance: none;
}

#mobile-button {
    display: none;
}

.message-input {
    width: 100%;
    border: var(--green) 2px solid;
    border-radius: 5px;
    height: 100%;
    min-height: 350px;
    max-height: 500px;
    padding: 10px;
    display: flex;
    align-items: flex-start;
}

.message-input textarea,
.contact-info input {
    font-size: 1.2em;
    background: transparent;
    width: 100%;
    height: 100%;
    color: var(--text-color);
    border: none;
}

.message-input textarea {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    resize: none;
    width: 100%;
    height: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.message-input textarea::placeholder,
.contact-info input::placeholder {
    color: var(--text-color);
    opacity: 0.7;
}

.message-input textarea:focus,
.contact-info input:focus {
    outline: none;
}

/* Home page */
/* Sparks page */

section.sparks-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 50px;
}

.sparks-container p {
    max-width: 700px;
    text-align: center;
    font-size: 1.6em;
    color: var(--text-color);
}

section.sparks {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    height: 100%;
    gap: 250px;
}

section.sparks:last-child {
    margin-bottom: 300px;
}

div.sparks {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    width: 100%;
    max-width: 1200px;
    gap: 50px;
}

div.sparks .sparks-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

div.sparks .sparks-image img {
    width: 100%;
    height: auto;
}

.border {
    border: 4px solid;
}

div.sparks .sparks-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    height: 100%;
    width: 100%;
    max-width: 600px;
    color: var(--text-color);
    text-align: left;
}

div.sparks .sparks-text *:not(.button) {
    width: 100%;
}

.sparks-text h2 {
    font-size: 3em;
    font-weight: 600;
    margin-bottom: 20px;

}

.sparks-text p {
    text-align: left;
    font-size: 1.2em;
    line-height: 1.5;
    margin-bottom: 20px;
}

.sparks-text .button {
    display: flex;
    width: 100%;
    height: auto;
    justify-content: left;
    align-items: center;
    border-radius: 10px;
}

.sparks-text button {
    max-width: 25%;
    font-size: 1.2em;
    border: none;
    background: transparent;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.green-bg button {
    background-color: var(--green);
}

.purple-bg button {
    background-color: var(--purple);
}

.yellow-bg button {
    background-color: var(--yellow);
}

.red-bg button {
    background-color: var(--red);
}

.red-border {
    border-color: var(--red) !important;
}

.green-border {
    border-color: var(--green) !important;
}

.yellow-border {
    border-color: var(--yellow) !important;
}

.purple-border {
    border-color: var(--purple) !important;
}

.blue-border {
    border-color: var(--blue) !important;
}

.pink-border {
    border-color: var(--pink) !important;
}

/* Sparks page */
/* Spark page */

.back-button {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-color);
    font-size: 3em;
    transition: all 0.3s ease;
    margin: 20px;
    margin-bottom: 0;
}

.back-button:hover {
    transform: scale(1.1);
}

.back-button svg {
    width: 1em;
    height: 1em;
    fill: var(--text-color);
}

.spark-header {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    max-width: 1000px;
    color: var(--text-color);
}

.spark-header p {
    max-width: 600px;
    width: 100%;
}

.spark-image {
    width: 100%;
    height: 250px;
    max-width: 500px;
    margin-bottom: 50px;
    background-image: url('../assets/images/closeup-jongen.jpg');
    background-position: center;
    background-size: cover;
    border: var(--green) 6px solid;
    border-radius: 10px;
}

.spark-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    height: 100%;
    width: 100%;
}

.spark-content h2 {
    font-family: "chaloops", sans-serif;
    font-size: 2em;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-color);
}

.spark-content p {
    font-size: 1.2em;
    line-height: 1.5;
    margin-bottom: 20px;
    color: var(--text-color);
    max-width: 700px;
}

.spark-content a {
    width: fit-content;
    text-decoration: none;
    font-size: 1.2em;
    background-color: var(--green);
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.spark-content ul {
    list-style: disc;
    padding: 0;
    margin: 0;
    color: var(--text-color);
}

.spark-content ul li {
    font-size: 1.2em;
    line-height: 1.5;
    margin-bottom: 10px;
    margin-left: 2%;
}

.spark-intro {
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 1.4em;
    margin-bottom: 50px;
    padding: 10px;
}

.step-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 1200px;
}

.step-grid h2 {
    font-size: 1.6em;
}

.spark-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 800px;
}

/* Spark page */
/* Gallery page */

.section-gallerij {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    height: 100%;
    margin-bottom: 200px;
}

.gallery-info {
    max-width: 600px;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-color);
    font-size: 1.4em;
    line-height: 1.5;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    margin-bottom: 50px;
}

.thin-border {
    border: 3px solid;
}

.gallery-grid div {
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.section-gallerij button {
    font-size: 1.4em;
    background-color: var(--purple);
    border: none;
    border-radius: 5px;
    padding: 10px 30px;
    cursor: pointer;
    color: var(--text-color);
    transition: all 0.3s ease;
}

/* --- Responsive breakpoints --- */
@media (max-width: 1200px) {

    header .nav-div nav ul {
        display: none;
    }

    .hamburger {
        display: flex !important;
        /* Ensure hamburger is visible */
    }

    .nav-div {
        width: auto;
    }

    .hero-div h1 {
        font-size: 3.5em;
    }

    .hero-div h1 span {
        font-size: 1.5em;
    }

    .section-info {
        text-align: center;
    }

    .section-info-div {
        flex-direction: column;
        align-items: center;
    }

    .section-video {
        height: 100%;
        gap: 50px;
        min-height: 600px;
    }

    .section-video h1 {
        font-size: 2.5em;
        margin-bottom: 20px;
    }

    .video-container {
        min-height: 200px;
        max-height: 40vh;
    }

    .section-video h1 {
        margin-bottom: 0px;
    }

    .list {
        gap: 8px;
        padding: 16px;
        max-width: 80vw;
    }

    .item {
        width: 80%;
        height: 400px;
    }

    .content {
        height: 100%;
        min-width: 400px;

    }

    .content .gallery-image {
        height: 100%;
        max-height: 400px;
    }

    .content .gallery-image img {
        width: 100%;
        overflow-x: hidden;
        height: 100%;
        border-radius: 10px;
        object-fit: cover;
    }

    .content .gallery-text h2 {
        font-size: 2em;
    }

    .content .gallery-text p {
        font-size: 1em;
    }

    .contact-container {
        max-width: 80vw;
    }

    section.sparks {
        gap: 150px;
    }

    .spark-image {
        width: 100%;
        height: 30vh;
        max-width: 80vw;
    }

}

@media (max-width: 700px) {

    html,
    body {
        overflow-x: hidden !important;
        max-width: 100vw;
    }

    .main,
    .section-sparks,
    .gallery-image,
    .gallery-text,
    .shapes {
        max-width: 100vw !important;
        box-sizing: border-box;
    }

    header {
        padding: 30px 20px;
        height: 150px;
    }

    .hero-div {
        min-height: 40vh;
    }

    .hero-div h1 {
        font-size: 2em;
        line-height: 1.6;
    }

    .hero-div h1 span {
        font-size: 2em;
        line-height: 1;
    }

    .section-sparks {
        padding: 50px 0px;
        height: 100%;
        min-height: calc(838px*0.75);
        width: 100%;
    }

    .list {
        display: flex;
        gap: 150px;
        padding: 16px;
        margin: 0 auto;
        max-height: 800px;
        height: 800px;
    }

    .item {
        width: 80vw;
        min-height: 550px;
        max-height: 700px;
    }

    .content {
        display: block;
        align-items: center;
        justify-content: center;
        height: 100%;
        position: relative;
        max-width: 80vw;
        min-width: 10vw;
    }

    .content .gallery-image {
        position: absolute;
        width: 100%;
    }

    .content .gallery-image img {
        width: 100%;
        height: 100%;
        border-radius: 10px;
        object-position: center;
    }

    .content .gallery-text {
        /* margin-top: 40%; */
        display: flex;
        flex-direction: column;
        justify-content: baseline;
        height: 100%;
        /* max-height: 500px; */
        position: absolute;
        color: var(--text-color);
        background: linear-gradient(rgba(0, 0, 0, 0) 45%, var(--purple), var(--purple));
        border-radius: 10px;
    }

    .content .gallery-text div {
        margin-top: auto;
        height: auto;
        padding-top: 10px;
        display: flex;
        flex-direction: column;
        border-radius: 0 0 10px 10px;
        margin-left: 0;
        box-sizing: border-box;
    }

    .content .gallery-text div * {
        margin: 0 auto 0 0;
        padding: 0 10px;
        box-sizing: border-box;
        width: 100%;
    }

    .content .gallery-text h2 {
        font-size: 2.2em;
        font-weight: 600;
        margin-bottom: 30px;
        margin-top: auto;
    }

    .content .gallery-text p {
        font-size: 1em;
        line-height: 1.5;
        margin-bottom: 20px;
    }

    .list-wrapper {
        position: relative;
    }

    .list-wrapper .button {
        display: none;
    }

    .section-team {
        padding: 50px 20px;
        height: 100%;
        min-height: 838px;
    }

    .team-circle-layout {
        width: 80vw;
        height: 1400px;
    }

    .team-center {
        left: 50%;
        top: 38%;
        width: 280px;
        height: 280px;
        transform: translate(-50%, -50%);
        z-index: 2;
    }

    .team-center span {
        font-size: 3em;
    }

    .team-member {
        width: 225px;
        height: 225px;
    }

    /* Top */
    .member-top {
        left: 40%;
        top: 0;
    }

    /* Left */
    .member-left {
        left: 35%;
        top: 22%;
    }

    /* Right */
    .member-right {
        left: 0%;
        top: 55%;
    }

    /* Bottom Left */
    .member-bottom-left {
        left: 30%;
        top: 61%;
    }

    /* Bottom Right */
    .member-bottom-right {
        left: 0%;
        top: 75%;
    }

    .contact-container {
        flex-direction: column;
        justify-content: space-evenly;
        align-items: flex-start;
        gap: 100px;
        padding: 10px;
    }

    .contact-info {
        max-width: 75vw;
    }

    .contact-button {
        width: 25%;
        min-width: 50px;
    }

    #mobile-button {
        display: block;
    }

    #desktop-button {
        display: none;
    }

    .message-input {
        max-width: 75vw;
    }

    div.sparks {
        flex-direction: column;
    }

    div.sparks .sparks-image {
        order: 0 !important;
    }

    div.sparks .sparks-text {
        order: 1 !important;
    }

    .back-button {
        font-size: 2em;
        margin-bottom: 20px;
    }

    .spark-image {
        height: 200px;
        max-width: 80vw;
        margin-bottom: 50px;
    }

    .spark-content {
        padding: 50px 0px;
    }

    .spark-content h2 {
        font-size: 2em;
    }

    .spark-content p {
        max-width: 80vw;
    }

    .spark-intro {
        font-size: 1.2em;
    }

    .spark-info {
        max-width: 80vw;
        margin-left: 10px;
    }

    .carousel-dots {
        margin-top: 0;
        margin-bottom: 0;
        position: relative;
        top: -140px;
    }

    .spark-header {
        flex-direction: column;
    }

    .spark-header .spark-intro {
        max-width: 80vw;
    }
}