*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html
{
    font-family: "Lexend", sans-serif;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;

    background-color: #dedede;
}

html, a
{
    color: #1D1D1D;
    text-decoration: none;
}

html, body
{
    height: 100vh;
    height: 100dvh;
    overscroll-behavior: none;
    overflow: hidden;
}

body
{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

footer
{
    padding-bottom: 50px;
}

footer .container
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.maintenance-notice
{
    cursor: default;
    font-size: 16px;
    flex-shrink: 0;
    opacity: 0.65;
    font-weight: 300;
    text-align: right;
}

footer ul
{
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.footer-logo img
{
    display: block;
    width: 120px;
    height: auto;
    filter: invert(1);
}

footer ul li
{
    list-style-type: none;
    margin-right: 30px;
}

footer ul li a
{
    display: flex;
    align-items: center;
    height: 20px;
}

footer ul li:last-child
{
    margin-right: 0;
}

h1
{
    font-weight: 600;
    text-align: left;
    font-size: 172px;
    letter-spacing: -9px;
    line-height: 138px;
}

h1:first-of-type
{
    margin-top: 100px;
}

#rotating-heading
{
    position: relative;
}

.rotating-word
{
    display: block;
}

.rotating-word-next
{
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transform: translateY(0.14em);
    pointer-events: none;
}

h1, p
{
    cursor: default;
}

p
{
    opacity: 0.65;
    font-weight: 300;
    text-align: center;
    max-width: 600px;
    margin-top: 3em;
    line-height: 1.2em;
}

main .container
{
    display: flex;
    flex-direction: column;
}

main .mobile-logo
{
    margin-top: 50px;
}

.mobile-logo img
{
    display: block;
    width: 120px;
    height: auto;
    filter: invert(1);
}

ul li img
{
    width: 20px;
}

footer a[aria-label="Enfyant on Instagram"] img
{
    filter: brightness(0);
}

.container
{
    width: 90%;
    margin: auto;
}

.mobile-only
{
    display: none;
}

@media (max-width: 768px)
{
    /* mobile layout */

    h1
    {
        font-size: 58px;
        letter-spacing: -2px;
        line-height: 46px;
    }

    .container
    {
        width: 80%;
    }

    .no-mobile
    {
        display: none;
    }

    .mobile-only
    {
        display: block;
    }

    footer .container
    {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .maintenance-notice
    {
        line-height: 1.2;
        text-align: left;
    }

}
