@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');

body {
    overflow: hidden;
    margin: 0;
    padding: 0;
    background: #111111;
    color: white;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    backdrop-filter: blur(16px);
    display: flex;
    height: 100vh;
    width: 100vw;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-family: 'Outfit', sans-serif;
    gap: 1em;
}

h1 {
    color: white;
    font-size: 3em;
    margin: 0.2em 0;
}

a {
    color: #dadada;
    text-decoration: none;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5em;
}

input {
    font-size: 1em;
    border: none;
    border-radius: 5px;
    outline: none;
    max-width: 80vw;
    font-family: 'Outfit', sans-serif;
}

button {
    font-size: 1em;
    border: none;
    border-radius: 5px;
    padding: 0.5em 1em;
    cursor: pointer;
    background-color: #E31B23;
    color: white;
    transition: background-color 0.3s ease;
    font-family: 'Outfit', sans-serif;
}

button:hover {
    background-color: #C1121F;
}

@media (max-width: 600px) {
    body {
        height: auto;
        width: 90vw;
        padding: 1em;
        gap: 0.5em;
    }

    h1 {
        font-size: 2em;
    }

    ul {
        flex-direction: column;
        gap: 0.5em;
        align-items: flex-start;
    }

    p {
        font-size: 0.9em;
    }

    input, button {
        font-size: 0.95em;
        max-width: 100vw;
    }

    #outputSection {
        font-size: 0.9em;
        padding: 10px;
    }

    div[style*="flex-direction: row"] {
        flex-direction: column !important;
        gap: 0.5em !important;
        width: 100%;
    }

    img#previewImg {
        max-width: 100%;
        height: auto;
    }
}

@media (min-width: 2000px) {
    body {
        font-size: 1.5em;
        gap: 2em;
    }
    h1 {
        font-size: 4em;
    }
    input, button {
        font-size: 1.2em;
    }
    #outputSection {
        font-size: 1.2em;
        padding: 24px;
    }
}