:root {
    --accent-color: #6134bd;
    --lighter-accent-color: #d1bbffae;
    --bg-color: #0b1215;
    --bg-color-2: #070a0d;
    --header-color: #181D23;
    --primary-font-color: #d6d6d6;
    --secondary-font-color: #B0B0B0;
    --tertiary-font-color: #8A8F99;
    --gradient-color: linear-gradient(to right, #ad94e8, #9b81d7 , #916ade, #7f51db);
    --button-color: #202225;
    --button-hover-color:#303335;
    --button-font-color: #D1D3D5;
    --repeating-grid-color: #cfcdcd0b;
    --card-color: #21212180;

    /* shadow color */
    --sd-highlight: #00000080;
    --sd-darken: #8b87871d;

    scroll-behavior: smooth;
}

*,
*::before,
*::after {
    /* Global settings */
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    font-optical-sizing: auto;
    box-sizing: border-box;
}

h1 {
    font-size: 2.5em;
    /* font-size: clamp(2em, 2vw + 1em, 3em); */
    color: var(--primary-font-color);
}

h1 .hightlight-text {
    font-family: "MuseoModerno", sans-serif;
    background-image: linear-gradient(to right,#f8cdda, #a17fe0, #5d26c1, #0869d7); 
    background-position: left;
    background-size: 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: font-animation 8s infinite forwards alternate;
}

@keyframes font-animation {
    0% {
        background-position: left;
    }
    100% {
        background-position: right;
    }
}

h2 {
    font-size: 1.75em;
    /* font-size: clamp(1.5em, 1.5vw + 0.5em, 2em); */
    color: var(--secondary-font-color);
}

p {
    margin-top: 2em;
    max-width: 600px;
    padding: 10px 0 20px 0;
    color: var(--tertiary-font-color);
    font-size: 1em;
    /* font-size: clamp(0.75em, 0.9vw + 0.1em, 1.5em); */
}

body {
    background-color: var(--bg-color);
    color: var(--primary-font-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
}

section {
    min-height: 100svh;
    width: 100svw;
    background-image: repeating-linear-gradient(to right, transparent 0 49px, var(--repeating-grid-color) 49px 50px),
    repeating-linear-gradient(to bottom, transparent 0 49px, var(--repeating-grid-color) 49px 50px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.section-wrapper {
    display: flex;
    width: 85svw;
}

section:nth-child(odd){
    background-color: var(--bg-color-2);
}

section:nth-child(even){
    background-color: var(--bg-color);
}

.section-title {
    font-family: "MuseoModerno", sans-serif;
    font-weight: bold;
}

.section-title:not(.section-title:has(span.logo-title))::after {
    --w: 60%;
    content: '';
    display: block;
    width: var(--w);
    margin-top: -3%;
    margin-left: calc((100% - var(--w))/2);
    height: 4px;
    border-radius: 2in;
    background-color: var(--tertiary-font-color);
}

section:not(.main-section) {
    height: 100vmin;
    scroll-margin-top: 10vmin;
}

.highlight-wrapper {
    background-color: #f0f8ff; /* Light blue */
    padding: 10px;
    border-left: 4px solid #007bff; /* Accent color */
    margin-bottom: 10px;
    border-radius: 5px;
}

.highlight-wrapper > p {
    font-weight: bold;
    font-size: 1.1em;
    color: #333;
}

/* Day 2 - Additional animation on scroll reveal */
section, .section-title{
    animation: CSSscrollReveal ease-in-out both;
    animation-timeline: view();
    animation-range: entry 20% cover 30%;
}

@keyframes CSSscrollReveal {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}