@font-face {
    font-family: 'OnsiteCondensed';
    src: url('../font/OnsiteCondensed-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}
body {
    background-image: url('../img/home.webp');
    background-size: cover; 
    background-repeat: no-repeat;
    background-attachment: fixed; 
    background-position: top left;
    margin: 0;
    padding: 0;
    font-family: 'OnsiteCondensed', sans-serif;
    text-transform: uppercase;
    height: 100svh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 320px;
}
.with-margin {
    margin-bottom: 2rem;
}
.centered {
    display: flex;
    flex-direction: column;
    align-items: center;
}
h1, h2, p, a {
    font-size: 12px;
    line-height: 15px;
    font-weight: 300;
    padding: 0;
    margin: 0;
}
ul {
    padding: 0;
    margin: 0;
    list-style: none;
    line-height: 15px;
}
li {
    padding: 0;
    margin: 0;
}
a {
    text-decoration: none;
    color: black;
    cursor: pointer;
}
.signature {
    width: 260px;
    margin-bottom: .5rem;
}


@media (max-width: 1600px) {
    main {
        width: 280px;
    }
    .signature {
        width: 230px;
    }
}

@media (max-width: 540px) {
    body {
        background-image: url('../img/dfds-bg-mobile.webp');
        background-size: cover;
        background-position: top center;
        display: flex;
        align-items: end;
    }
    main {
        width: 100%;
        height: 30svh;
        justify-content: space-between;
    }
    ul {
        margin-bottom: .75rem;
    }
    .with-margin {
        margin-bottom: 0;
    }
    .signature {
        margin-top: 1rem;
    }
}