@font-face {
    font-family: 'Syne-ExtraBold';
    src:    url('../assets/fonts/Syne-ExtraBold.woff') format(woff),
            url('../assets/fonts/Syne-ExtraBold.woff2') format(woff2);
}
@font-face {
    font-family: 'Syne-Regular';
    src:    url('../assets/fonts/Syne-Regular.woff') format(woff),
            url('../assets/fonts/Syne-Regular.woff2') format(woff2);
}
@font-face {
    font-family: 'Syne-Bold';
    src:    url('../assets/fonts/Syne-Bold.woff') format(woff),
            url('../assets/fonts/Syne-Bold.woff2') format(woff2);
}

a, a:hover, a:visited, a:focus, a:active  {
    text-decoration: none;
    color: inherit;
    background:none;
    outline: 0;
    border-bottom:1px solid white;
}


main a,main a:hover,main a:visited,main a:focus,main a:active  {
    color: red;
    border-bottom:1px solid red;
}

::selection { background: red; }

body {
    font-family: sans-serif;
    font-family: 'Syne-Regular';
    font-variant-numeric: lining-nums;
    font-feature-settings: "tnum","salt", "dlig";
    font-size: 18px;
    background:white;
    color:black;
    line-height: 1.3em;
    overflow-x: hidden;
    text-align: center;
    max-height:100vh;
}

h1,h2 {
    font-family: 'Syne-Bold';
}

h1 {
    margin-bottom:40px;
}

h2:not(:first-child){
    margin-top:20px;
}

.wrapper {
    margin:auto;
    max-width:750px;
    min-width:30ch;
    position:absolute;
    top: 50%;
    left:50%;
    transform:translate(-50%,-50%);
}

.main {
    /* backdrop-filter:invert(100%); */
    color:white;
    background:black;
    border-radius:100px;
    overflow: hidden;
}

.main__content {
    padding:60px;
    box-sizing: border-box;
    /* height:100vh; */
}

svg {
    position: fixed;
    top:0;
    left:0;
    height:100vh;
    width:100vw;
    pointer-events: none;
    overflow: hidden;
}

p {
    max-width: 57ch;
}

img {
    max-width:100%;
}

.video-wrap {
    width:100%;
    object-fit: contain;
    display: block;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
}

.video-wrap iframe,
.video-wrap video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media screen and (min-width: 1024px) {
    body {
        font-size:24px;
    }
}
@media screen and (max-width: 1023px) {
    /* nav ul {
        justify-content: center;
    } */
    nav ul a,
    nav ul a:hover,
    nav ul a:visited,
    nav ul a:focus,
    nav ul a:active{
        border-bottom: 0;
    }
}