:root {
    --font-heading: "DM Serif Display", serif;
    --font-body: "Saira Condensed", Arial, sans-serif;
}

@layer base {

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        font-family: var(--font-heading);
    }

    p, li {
        font-family: var(--font-body);
    }
}

@layer utilities {
    .text-shadow {
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    }
}

/* Custom gradient pulse animation */
.pulse-gradient {
    background: linear-gradient(90deg, #b2b4ff, #84affa, #64d3be);
    background-size: 200% 200%;
    animation: pulseGradient 4s ease-in-out infinite;
    opacity: 0.4;
    filter: blur(10px);
}

@keyframes pulseGradient {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.hireme-cursor {
    cursor: url('/src/assets/HIRE\ ME.svg') 10 10, auto;
}

/* Ticker container */
.ticker {
    width: 100%;
    overflow: hidden;
    background: black;
    color: white;
    padding: 0.75rem 0;
    white-space: nowrap;
    position: relative;
}

/* Moving track */
.ticker__track {
    display: inline-block;
    white-space: nowrap;
    animation: tickerScroll 18s linear infinite;
}

/* Text styling */
.ticker__track span {
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    font-family: var(--font-heading);
}

/* Animation */
@keyframes tickerScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.ticker-link {
    color: #D1B3FF;
    text-decoration: none;
    font-weight: 700;
}

.ticker-link:hover {
    text-decoration: underline;
}

.carousel-container {
    scroll-snap-type: x mandatory;
    overflow-x: auto;
    display: flex;
    scroll-behavior: smooth;
}

/* Hide scrollbar (Chrome, Safari, Edge) */
.carousel-container::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar (Firefox) */
.carousel-container {
    scrollbar-width: none;
}

.carousel-slide {
    scroll-snap-align: center;
    flex: 0 0 100%;
}

@keyframes soft-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

.icon-bounce-loop {
    animation: soft-bounce 2.2s ease-in-out infinite;
}

.form-frame {
    position: relative;
    /* Required for pseudo-element alignment */
    display: flex;
    /* Flexbox layout */
    flex-wrap: nowrap;
    /* Prevent wrapping */
    justify-content: center;
    width: 100%;
    min-height: 20vh;
    /* Adjust for content */
    gap: 20px;
}

#mc_embed_shell {
    display: flex;
    justify-content: center;
    /* Center the form horizontally */
    width: 100%;
    min-height: 100vh;
    /* Full viewport height for centering */
}

.mc-field-group {
    margin-bottom: 20px;
    /* Adds space below each field */
}

.datefield {
    margin-top: 10px;
    /* Adds some space above the date fields */
}

.input-group ul {
    margin-top: 10px;
    /* Adds spacing above the list of radio buttons */
}

.asterisk {
    margin-right: 10px;
    /* Adds 10px of space between the asterisk and the input */
}

.mc-field-group input[type="text"] {
    border: 1px solid black;
    box-sizing: border-box;
    /* Ensure padding and border are included in element's dimensions */
    padding: 5px;
    /* Optional: Add padding inside the input box for a better look */
    border-radius: 4px;
    /* Optional: Add a slight rounding to the corners */
}

.mc-field-group input[type="email"] {
    border: 1px solid black;
    box-sizing: border-box;
    /* Ensure padding and border are included in element's dimensions */
    padding: 5px;
    /* Optional: Add padding inside the input box for a better look */
    border-radius: 4px;
    /* Optional: Add a slight rounding to the corners */
}

.button {
    text-decoration: none;
    border: 2px solid black;
    position: relative;
    width: 80%;
    text-align: center;
    align-items: center;
    justify-content: center;
    margin: 40px;
    padding: 15px 40px;
    /* Adds space inside the button for a longer rectangle look */
    background-color: white;
    /* White background */
    color: black;
    /* Text color */
}

.fs-field {
    display: flex;
    flex-direction: column;
    row-gap: 0.375rem;
}

.fs-label {
    color: var(--color-text-default);
    display: block;
    /* font-family: var(--font-family-display); */
    font-size: md;
    font-weight: regular;
    line-height: 3rem;
    display: block;
    font-family: var(--font-body);
}

.fs-input,
.fs-select {
    appearance: none;
    border-radius: 0.375rem;
    border-width: 0;
    box-shadow: var(--color-border-default) 0 0 0 1px inset;
    color: var(--color-primary);
    font-size: 0.875rem;
    height: 2rem;
    line-height: 1.25rem;
    outline: none;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.fs-select {
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}