/*
    Layout
*/

* {
    box-sizing: border-box;
}

html,
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    text-align: center;
}

.container {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}


/* https://www.bram.us/2020/05/06/100vh-in-safari-on-ios/ */

@supports (-webkit-touch-callout: none) {
    html,
    body {
        min-height: -webkit-fill-available;
    }
}

main {
    flex-grow: 1;
    display: flex;
}

.content {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

article,
.group {
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
}

.links {
    display: flex;
    flex-direction: row;
}

.links * {
    margin-left: 5px;
    margin-right: 5px;
}

footer {
    margin-top: 100px;
    padding-bottom: calc(1em + env(safe-area-inset-bottom));
}

#stars {
    /* height: 100vh;
    width: 100vw; */
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    background-color: black;
}


/*
    Font styling
*/

@font-face {
    font-family: 'Public Sans';
    font-display: swap;
    src: url("PublicSans-VariableFont_wght.ttf") format('truetype')
}

body {
    font-family: Public Sans, sans-serif;
    font-size: 18px;
    color: #fff
}


/*
    Element styling
*/

h1 {
    font-size: 3rem;
    margin-bottom: 2.5px;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
    margin-top: 2.5px;
    margin-bottom: 2.5px;
}

span {
    font-size: 1rem;
}

p {
    margin-top: 5px;
    font-size: 1rem;
}

aside {
    font-size: 1rem;
}


/* div {
    padding: 5%;
} */

.content {
    user-select: all;
}

.animate span {
    display: block;
    font-size: 3rem;
    font-weight: bold;
    animation-name: x4d3d3d3;
    animation-duration: 5s;
    animation-timing-function: linear;
    animation-direction: alternate;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
    transform-origin: center;
    padding: 9px;
}

.one span {
    animation-delay: -1s;
}

.two span {
    animation-delay: -2s;
}

.three span {
    animation-delay: -3s;
}

.four span {
    animation-delay: -4s;
}

.five span {
    animation-delay: -5s;
}

@keyframes x4d3d3d3 {
    0% {
        transform: scale(1) rotate(-12deg);
        /* -12 */
    }
    14.29% {
        transform: scale(1.25) rotate(12deg);
        /* +12 */
    }
    28.57% {
        transform: scale(1) rotate(-12deg);
        /* -12 */
    }
    42.86% {
        transform: scale(1.25) rotate(12deg);
        /* + */
    }
    57.14% {
        transform: scale(1) rotate(-12deg);
        /* + */
    }
    71.43% {
        transform: scale(1.25) rotate(12deg);
        /* + */
    }
    85.71% {
        transform: scale(1) rotate(-12deg);
        /* + */
    }
    100% {
        transform: scale(1.25) rotate(12deg);
        /* + */
    }
}