/* colors and fonts */
* {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
    /* outline: 2px solid lime; */
}

:root {
    /* colors */
    --white: #f4f5f6;
    --black: #312d2e;
    --light-green: #57af62;
    --mid-green: #3B8F5B;
    --dark-green: #16793c;
    --dark-purple: #772a83;
    --light-purple: #9970ac;
    --dark-grey: #424242;
    --light-grey: #757575;
    --superlight-grey: #E4E5E5;
    --alert_main: #fcefb4;
    --alert_border: #fae588;
    --red: #EF436A;

    /* fonts */
    --ff-sans: "Lexend", sans-serif;
    --ff-serif: "t26-carbon", serif;

    --fw-thin: 300;
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;

    --fs-xsmall: 1rem;
    --fs-ssmall: 1.25rem;
    --fs-small: 1.5rem;
    --fs-medium: 2rem;
    --fs-large: 3rem;
    --fs-title: 5rem;
}

/* making the header and footer always stick to the bottom of the screen */
body {
    min-height: 100vh;
    margin: 0;
    display: grid;
    grid-template-rows: auto 1fr auto;
    background-color: var(--black);
}

/* general styling */
main {
    padding-top: 3rem;
    padding-bottom: 10rem;
    width: 100%;
    gap: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: white;
    overflow-x: hidden;
}

.title {
    display: grid;
    text-align: center;
    justify-items: center;
    gap: .5rem;
}

h1 {
    font-family: var(--ff-sans);
    font-size: var(--fs-title);
    font-weight: var(--fw-regular);
}

h2 {
    font-family: var(--ff-sans);
    font-size: var(--fs-large);
    font-weight: var(--fw-semibold);
}

h3 {
    font-family: var(--ff-sans);
    font-size: var(--fs-medium);
    font-weight: var(--fw-medium);
}

h4 {
    font-family: var(--ff-sans);
    font-weight: var(--fw-medium);
    font-size: var(--fs-small);
}

footer li,
a,
span,
input,
header a,
span,
input  {
    font-family: var(--ff-sans);
    font-weight: var(--fw-thin);
    font-size: var(--fs-ssmall);
    text-wrap: balance;
}

p {
    font-family: var(--ff-sans);
    font-size: var(--fs-small);
    font-weight: var(--fw-regular);
    line-height: 1.4;
}

ul {
    list-style: none;
    margin-block: .5rem;
}

li {
    margin-block: .5rem;
}

main button {
    border-radius: 1rem;
    border: 3px solid transparent;
    border-radius: 1rem;
    box-sizing: border-box;

    font-family: var(--ff-sans);
    font-weight: var(--ff-medium);
    font-size: var(--fs-small);

    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

/* button colors */

a:hover,
button:hover {
    text-decoration: none;
    cursor: pointer;
}

.solid-bow:hover {
    border: 3px solid #0000;
    border-radius: 1rem;
    background:
        linear-gradient(var(--white), var(--white)) padding-box,
        conic-gradient(var(--dark-green)45deg, var(--dark-purple)45deg 225deg, var(--dark-green)225deg) border-box !important;
}

.solid-wob:hover {
    border: 3px solid #0000;
    border-radius: 1rem;
    background:
        linear-gradient(var(--black), var(--black)) padding-box,
        conic-gradient(var(--dark-green)45deg, var(--dark-purple)45deg 225deg, var(--dark-green)225deg) border-box;
}

.wob {
    color: var(--white);
    fill: var(--white);
    background: var(--black);
}

.bow {
    color: var(--black);
    fill: var(--black);
    background: var(--white);
}

@media screen and (max-width: 500px){
    h1{
        font-size: var(--fs-large);
    }
    h2 {
        font-size: var(--fs-medium);
    }
    h3{
        font-size: var(--fs-medium);
    }
    h4{
        font-size: var(--fs-small);
    }
    p, span, a, input {
        font-size: var(--fs-ssmall);
    }
    main button {
        font-size: var(--fs-ssmall);
    }
    main a {
        font-size: var(--fs-ssmall);
    }
    main{
        margin-top: 70px;
    }
}