

/* https://github.com/picocss/pico/discussions/482 
 * For anyone in a similar position, I just wanted to share my custom.css content to override some of the default design and scale choices from PicoCSS. I think Picos default styling appeals to marketing UIs but not necessarily to application UIs. The elements tend to be way too large.
 * Anyway, the nice thing is that you can quickly change those default styles, so here is mine that is largely inspired by shadcn/ui, which I really like:
 * */

:root {
    --pico-font-family-sans-serif: Inter, system-ui, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, Helvetica, Arial, "Helvetica Neue", sans-serif, var(--pico-font-family-emoji);
    --pico-font-size: 87.5%;
    /* Original: 100% */
    --pico-line-height: 1.25;
    /* Original: 1.5 */
    --pico-form-element-spacing-vertical: 0.5rem;
    /* Original: 1rem */
    --pico-form-element-spacing-horizontal: 1.0rem;
    /* Original: 1.25rem */
    --pico-border-radius: 0.375rem;
    /* Original: 0.25rem */
}

@media (min-width: 576px) {
    :root {
        --pico-font-size: 87.5%;
        /* Original: 106.25% */
    }
}

@media (min-width: 768px) {
    :root {
        --pico-font-size: 87.5%;
        /* Original: 112.5% */
    }
}

@media (min-width: 1024px) {
    :root {
        --pico-font-size: 87.5%;
        /* Original: 118.75% */
    }
}

@media (min-width: 1280px) {
    :root {
        --pico-font-size: 87.5%;
        /* Original: 125% */
    }
}

@media (min-width: 1536px) {
    :root {
        --pico-font-size: 87.5%;
        /* Original: 131.25% */
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    --pico-font-weight: 600;
    /* Original: 700 */
}

article {
    border: 1px solid var(--pico-muted-border-color);
    /* Original doesn't have a border */
    border-radius: calc(var(--pico-border-radius) * 2);
    /* Original: var(--pico-border-radius) */
}

article>footer {
    border-radius: calc(var(--pico-border-radius) * 2);
    /* Original: var(--pico-border-radius) */
}

/*
 * ###########################################
 * ###########################################
 * ###########################################
 * ###########################################
 * ###########################################
 * MY CSS
 * ###########################################
 * ###########################################
 * ###########################################
 * ###########################################
 * ###########################################
 * */

@media (min-width: 1536px) {
  .container {
    max-width: 950px;
  }
}
@media (min-width: 1280px) {
  .container {
    max-width: 950px;
  }
}
@media (min-width: 1024px) {
  .container {
    max-width: 950px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 700px;
  }
}

body {
		background-attachment: scroll, fixed;
		background-color: #fff;
		/*background-image: url("images/overlay.png"), url("../../images/banner.jpg");*/
		background-image: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url("../images/background.jpg");
		background-position: top left, center center;
		background-repeat: repeat, no-repeat;
		background-size: auto, cover;
}

section, header.container, footer.container {
	padding-left: 1em;
	padding-right: 1em;
}

header.container {
	background: rgba(255,255,255,0.4);
	padding-top: 6em;
	padding-bottom: 0.5em;
	margin-bottom: 3em;
	border-radius: 6px;
}

section {
	padding-top: 1em;
	padding-bottom: 1em;
	background-color: #fff;
	border-radius: 6px;
	box-shadow: 0 2px 0 0 #e5e5e5;
}

footer.container {
	padding-top: 6em;
	padding-bottom: 3em;
}

header h1, header p, footer {
	text-align: center;
}

hgroup > :not(:first-child):last-child {
  --pico-color: var(--pico-muted-color);
  --pico-font-weight: unset;
  font-size: 1.5rem;
}
