@import url('https://fonts.googleapis.com/css2?family=Gravitas+One&family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

:root {
    --tile-background: #f5dff08a;
    --tile-background-hover: #f5dff0;
    --tile-border: #ff849f;

    --link-tile-background: #221d218a;
    --link-tile-background-hover: #221d21;
    --link-tile-border: #000000;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    font-family: 'Nunito', sans-serif;
}

body {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

#content {
    max-width: 900px;
    width: 100%;
}

.tile {
    text-align: center;
    padding: 20px;
    margin: 40px;
}

.stylized-tile {
    background-color: var(--tile-background);
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--tile-border);
}

#background {
    background: url(res/background.png);
    background-size: cover;
    background-position: center;
    filter: blur(5px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
}

.link-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.link-tile {
    flex: 1 1 calc(25% - 40px);
    min-width: 300px;
    transition: background-color 0.3s ease;
    border-radius: 10px;
    padding: 20px;
    background-color: var(--link-tile-background);
    border: 2px solid var(--link-tile-border);

    &:hover {
        background-color: var(--link-tile-background-hover);
    }

    *>.link-logo {
        width: 100px;
        height: 100px;
        display: block;
        border-radius: 15px;
        margin: 0 auto 10px auto;
    }
}

a {
    text-decoration: none;
    color: var(--tile-border);
}

h1 {
    font-family: 'Gravitas One', cursive;
    font-size: 3em;
    margin: 0;
    color: var(--tile-border);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    background-image: linear-gradient(90deg,var(--tile-border) 0%, var(--tile-border) 40%, var(--link-tile-border) 60%, var(--link-tile-border) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: .01em rgba(0, 0, 0, 0.589);
}

h4 {
    margin: 0 20px;
    font-weight: 400;
    font-style: italic;
}

p {
    font-size: 1.2rem;
    font-weight: 500;
}

meow {
    font-size: 1.4rem;
    font-weight: 600;
}

@media (prefers-color-scheme: dark) {
    :root {
        --tile-background: #35161d8a;
        --tile-background-hover: #35161d8a;
        --tile-border: #ff849f;

        --link-tile-background: #1b1a1a8a;
        --link-tile-background-hover: #3a3a3a8a;
        --link-tile-border: #555555;
    }

    #background {
        filter: brightness(0.7) blur(5px);
    }

    h1{
        -webkit-text-stroke: 0.001em #ebbac4;
    }

    html, body {
        color: #f0dbe0;
    }
}