html{
    font-size: 14px;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

:root{
    --primary-font-family: "Poppins", "Neue Helvetica", "Helvetica", "Arial", sans-serif;
    --primary-color: #000;
    --secondary-color: #fff;
    --size-s: 1rem;
    --size-m: calc(var(--size-s) * 1.618);
    --size-l: calc(var(--size-m) * 1.618);
    --size-xl: calc(var(--size-l) * 1.618);
    --size-xxl: calc(var(--size-l) * 1.618);

    --basicfontweight: 400;
    --smallfontsize: calc(var(--basicfontsize) * .875);
    --basicletterspacing: -.01rem;
}

    @media screen and (min-width: 992px) {
        :root{
            --size-xl: calc(var(--size-l) * 1.618);
            --size-xxl: calc(var(--size-xl) * 1.618);
        }
    }

*, *::before, *::after {
    box-sizing: border-box!important;
    margin: 0;
    padding: 0;
}

body{
    background-color: var(--secondary-color);
    color: var(--primary-color);
    line-height: 1;
    -webkit-font-smoothing: antialiased; /* For Chrome and Safari*/
    -moz-osx-font-smoothing: grayscale; /* For Firefox on Mac*/
    min-height: 100svh;
    display: flex;
    flex-direction: column;

    font-family: var(--primary-font-family);
    font-weight: var(--basicfontweight);
    letter-spacing: var(--basicletterspacing);
}

main{
    flex: 1; /* Allow main to grow and fill the available size and put Footer on Bottom*/
}

img, video{
    display: block;
    width: 100%;
    height: auto;
}

/* Remove thin video outline on iOS devides*/
@supports (-webkit-touch-callout: none) {
  video {
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    mask-image: -webkit-radial-gradient(white, black);
  }
}

ul, li{
    list-style: none;
}

a{
    color: blue;
    text-decoration: none;
}

a:hover{
    text-decoration: underline;
}

h1, h2, h3, h4, h5, h6{
    all: unset;
    font-weight: 400;
}

p{line-height: 1.2;}

/* Header*/

#header{
    display: flex;
    justify-content: space-between;
    z-index: 1000;
    padding: var(--size-m);
    padding-top: var(--size-s);
    padding-bottom: none;
    background-color: var(--secondary-color);
    /* background-color: rgba(255,255,255,.5);
    backdrop-filter: blur(50px); */
    flex-wrap: wrap;
    column-gap: var(--size-s);
    row-gap: calc(var(--size-s) / 1.618);
}



#header a{
    text-decoration: none;
    color: var(--primary-color);
}

#header a:hover{
    text-decoration: underline;
}

.site-nav{
    display: flex;
    flex-direction: row;
    gap: calc(var(--size-s) * 1.618 * 1.618);
}

.site-nav ul{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: var(--size-s);
    row-gap: calc(var(--size-s) / 1.618);
}

.site-nav a:hover{
    text-decoration: underline;
}

.site-nav li.active{
    text-decoration: underline;
}

.site-title{
    white-space: nowrap;
}

