body,
html {
    background: linear-gradient(to top, rgb(26 0 0 / 0.2), #fff0), #250000;
    min-height: 100vh;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Poppins", "Montserrat", Arial, sans-serif;
}
.layout-main {
    flex-grow: 1;
}
.small {
    width: 1;
    height: 1;
}
h2 {
    font-size: 30px;
    font-weight: 700;
}
.container {
    background: rgb(30 0 0 / 0.85);
    border-radius: 18px;
    box-shadow: 0 8px 32px 0 rgb(31 38 135 / 0.37);
    padding: 2.5rem 2rem 2rem 2rem;
    max-width: 420px;
    width: 100%;
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}
h1 {
    font-size: 5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.2rem;
    text-align: center;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px #0002;
}
.group {
    display: flex;
    line-height: 50px;
    align-items: center;
    position: relative;
    max-width: 900px;
    width: 100%;
    margin-bottom: 0.5rem;
}
.input {
    font-family: "Montserrat", sans-serif;
    width: 100%;
    min-width: 0;
    height: 45px;
    padding-left: 2.7rem;
    padding-right: 1rem;
    box-shadow: 0 0 0 1.5px #2b2c37, 0 0 25px -17px #000;
    border: 1.5px solid #2b2c37;
    border-radius: 12px;
    background: #18181f;
    outline: none;
    color: #e0e0e0;
    transition: all 0.25s cubic-bezier(0.19, 1, 0.22, 1);
    cursor: text;
    z-index: 0;
}
.input:focus {
    box-shadow: 0 0 0 2.5px #2f303d;
    border-color: #ff5252;
    background: #22222a;
}
.input::placeholder {
    color: #bdbecb;
    opacity: 0.7;
}
.input:hover {
    box-shadow: 0 0 0 2.5px #2f303d, 0 0 25px -15px #000;
}
.input:active {
    transform: scale(0.95);
}
.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    fill: #bdbecb;
    width: 1rem;
    height: 1rem;
    pointer-events: none;
    z-index: 1;
}
button {
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    min-width: 120px;
    box-shadow: 0 2px 8px #0001;
    transition: all 0.18s cubic-bezier(0.19, 1, 0.22, 1);
}
button:focus {
    outline: 2px solid #ff5252;
    outline-offset: 2px;
}
.thumbnail-preview {
    display: none;
    margin: 1.2rem 0 0.5rem 0;
    width: 320px;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 24px #0003;
    border: 2px solid #2b2c37;
    background: #18181f;
}
#downloadBtn {
    display: none;
    margin-top: 0.5rem;
}
/* Credits to LightAndy1 :D */
