
@font-face {
    font-family: "Neue Montreal";
    src: url("static/Neue Montreal/PPNeueMontreal-Semibold.otf") format("opentype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Editorial New";
    src: url("static/Editorial New/PPEditorialNew-Regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --color-black: #000000;
    --color-white: #FDFCDD;
    --color-primary: #EF5004;
    --color-seccondary: #F57B94;
    --color-accent: #164A9F;
    --color-background: var(--color-white);

}
body{
    background-color: var(--color-background);
}

.handwritten-wrapper {
    position: relative;
    display: inline-block;
}

.handwritten-underline {
    position: absolute;
    left: 0;
    bottom: -5px; /* Adjust to place directly under text */
    width: 100%;
    height: 15px;
    pointer-events: none; /* Allows user to click through the SVG if it's a link */
}


h1,
h2 {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

h1 {
    font-family: "Editorial New", serif;
    font-weight: 400;
    font-size: clamp(2.5rem, 7vw, 6rem);
    line-height: 1;
    margin-top: 10vh;
    margin-bottom: 10vh;
}

h2 {
    font-family: "Neue Montreal", sans-serif;
    font-weight: 600;
    font-size: clamp(1.25rem, 3vw, 2.25rem);
    line-height: 1.2;
    max-width: 90%;
    margin-top: 1.5rem;
    margin-bottom: 3rem;
}

@media (max-width: 600px) {
    h1 {
        margin-top: 20vh;
        font-size: clamp(2rem, 13vw, 3.25rem);
    }

    h2 {
        font-size: clamp(1rem, 6vw, 1rem);
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
}
