:root {
    --step--2: clamp(0.5628rem, 0.7402rem + -0.229vw, 0.6944rem);
    --step--1: clamp(0.7502rem, 0.8623rem + -0.1446vw, 0.8333rem);
    --step-0: 1rem;
    --step-1: clamp(1.2rem, 1.1537rem + 0.2313vw, 1.333rem);
    --step-2: clamp(1.44rem, 1.3228rem + 0.5859vw, 1.7769rem);
    --step-3: clamp(1.728rem, 1.5052rem + 1.1141vw, 2.3686rem);
    --step-4: clamp(2.0736rem, 1.6966rem + 1.8848vw, 3.1573rem);
    --step-5: clamp(2.4883rem, 1.8899rem + 2.992vw, 4.2087rem);
}

@font-face {
    font-display: fallback;
    font-family: "Lato";
    font-weight: 400;
    src: url("/fonts/Lato-Regular.ttf") format("ttf");
}

@font-face {
    font-display: fallback;
    font-family: "Lato";
    font-weight: 700;
    src: url("/fonts/Lato-Regular.ttf") format("ttf");
}

html {
    background-image: radial-gradient(
        circle at top left,
        /* 150deg, */ white 0%,
        white 50%,
        #ebe4fe 50%,
        #ebe4fe 75%,
        #d2b6f9 75%,
        #d2b6f9 100%
    );
    background-repeat: no-repeat;
    min-height: 100%;
    min-width: 100%;
    font-size: 100%;
    font-family: Lato, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
        sans-serif;
    line-height: 1.5;
    color: black;
}

body {
    display: flex;
    flex-direction: column;
}

.wrapper {
    padding: 0 5vw;
}

header {
    display: flex;
    /* flex-direction: column; */
    flex-direction: row;
    /* justify-content: space-between; */
    gap: 10vw;
    align-items: center;
    /* gap: 1rem; */
    margin: 0 0 1rem;
    padding: 2rem 0;
}

.header__name {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    font-size: 2rem;
    text-decoration: none;
}

nav {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    padding: 0 1rem;
}

h1 {
    line-height: 1;
    margin: 0 0 1rem;
    font-size: var(--step-5);
}

h2 {
    line-height: 1;
    margin: 0 0 1rem;
    font-size: var(--step-2);
}

h3 {
    line-height: 1;
    margin: 0 0 1rem;
    font-size: var(--step-1);
}

h4 {
    line-height: 1;
    margin: 0 0 1rem;
    font-size: var(--step-0);
}

ul {
    padding: 0 0 0 1.5rem;
    margin: 1rem 0;
    list-style: square;
}

li::marker {
    font-size: 1.5rem;
}

a,
a:visited {
    color: #764de8;
}
a {
    text-decoration: none;
    transition: 300ms all ease;
    position: relative;
    box-shadow: none;
}

a:hover {
    background-color: #764de8;
    box-shadow: 0 0 0 0.25em #764de8;
    color: white;
}

.hero {
    max-width: 50rem;
}

.hero__text {
    font-size: var(--step-1);
}

@media only screen and (max-width: 700px) {
    .invisible-on-mobile {
        border: 0;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }

    nav {
        overflow-y: auto;
    }
}
