main {
    margin: 0;
}

html, body {
    background-color: transparent;
}

/* hacky solution to fix the background image as iOS likes to act up */
.fixed-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: no-repeat center center;
    background-size: cover;
    z-index: -1;
}

.page {
    margin: 0;
    gap: 1rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
    background-color: transparent;
}

#title-card {
    display: inline-block;
    height: 8rem;
    margin-top: 5rem;
    margin-left: 8%;
    margin-right: 8%;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    height: auto;
}

#title-card h1 {
    font-size: 5rem;
    word-break: break-word;
    text-align: left;
}

#link-card {
    font-size: 1.5rem;
    display: inline-block;
    height: 3rem;
    margin-left: 8%;
    margin-right: 8%;
    margin-bottom: 5rem;
    padding: 0.3rem 1rem;
    border-radius: 8px;
    word-break: break-word;
    height: auto;
}

#link-card a {
    font-size: 1.5rem;
}

#card-parent {
    align-self: center;
    margin-bottom: 4rem;
}

@media (max-width: 768px) {
    #title-card {
        margin-top: 1rem;
        margin-left: 1rem;
        margin-right: 1rem;
    }
    
    #title-card h1 {
        margin-top: 0;
        margin-bottom: .75rem;
        font-size: 4rem;
    }

    #link-card {
        margin-left: 1rem;
        margin-right: 1rem;
        margin-bottom: 1rem;
    }
}