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

body {
    font-family: "Black Ops One", sans-serif;
    font-weight: 400;
    font-style: normal;
    background: #000;
    color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    background: #ddd;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    max-width: 520px;
    gap: 24px;
    width: 100%;
}

h1 {
    color: #ed1c24;
    font-size: 60px;
    margin-bottom: 24px;
}

.form-row {
    display: flex;
    gap: 8px;
}

input[type="text"] {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    background: #1a1a2e;
    color: #fff;
    outline: none;
}

/*
input[type="text"]:focus {
    outline-color: #6e0200;
}
*/


#share *,
#create {
    font-family: "Black Ops One", sans-serif;
    text-decoration: none;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bolder;
    background: #6e0200;
    color: #fff;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.1s ease-in-out;
}

#share *:hover,
#create:hover {
    background: #ed1c24;
}

#result {
    min-height: 210px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#result img {
    max-width: 100%;
}

#result .placeholder {
    color: #666;
    font-size: 30px;
}

#result .error {
    color: #6e0200;
    font-size: 14px;
}

#share {
    display: flex;
    justify-content: space-evenly;
}
