.creepster-regular {
    font-family: "Creepster", system-ui;
    font-weight: 400;
    font-style: normal;
}

html {
    display: flex;
    justify-content: center;
}

body {
    font-family: "Creepster", system-ui;
    min-height: 100dvh;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin: 0;
    padding: 0;
    background-color: black;
    background-image: url('/assets/halloweenify-bg-vertical.webp');
    background-position: center;
    background-size: cover;
}

#halloweenify-logo {
    margin: -30px 0 -40px 0;
    z-index: 1;
}

#halloweenify-preview {
    position: relative;
}

#halloweenify-preview video {
    max-width: 250px;
    max-height: 250px;
    background-color: black;
    border-radius: 12px;
    box-shadow: 0 0 10px 5px #fd9504;
}

#halloweenify-preview #preview-circle {
    position: absolute;
    left: calc(50% - 60px);
    top: calc(50% - 70px);
    border-color: #fd9504;
    border-style: dashed;
    border-width: 3px;
    border-radius: 50%;
    width: 120px;
    height: 140px;
    margin-bottom: 15px;
}

#halloweenify-choose-monster {
    font-family: 'Creepster';
    width: auto;
    font-size: 18px;
    color: #fd9504;
    text-align: center;
    background-color: #5C3482;
    padding: 10px 15px;
    border-radius: 12px;
    margin: 20px 0 0 0;
}

#halloweenify-monsters {
    list-style: none;
    padding: 10px 10px;
    margin: 5px 0 0 0;
    box-sizing: border-box;
    font-size: 32px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 10px;
    row-gap: 20px;
    justify-content: center;
}

#halloweenify-monsters>li {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    aspect-ratio: 1;
    border-style: solid;
    border-width: 2px;
    border-color: black;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 0 10px 5px #fd9504;
    background-color: black;
    box-sizing: border-box;
}

#halloweenify-monsters>li.selected {
    border-color: #fd9504;
    background-color: #fd9504;
}

#halloweenify-selected-monster {
    font-family: 'Creepster';
    width: auto;
    font-size: 18px;
    color: black;
    text-align: center;
    padding: 0 0 10px 0;
    border-radius: 12px;
    margin: 10px 0 0 0;
}

#halloweenify-stop {
    font-size: 32px;
    width: 60px;
    height: 60px;
    background-color: #fd9504;
    border: none;
    padding: 5px 0;
    color: #fd9504;
    position: fixed;
    left: 20px;
    bottom: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#halloweenify-change {
    font-size: 32px;
    width: 60px;
    height: 60px;
    background-color: #fd9504;
    border: none;
    padding: 5px 0;
    color: #fd9504;
    position: fixed;
    right: 20px;
    bottom: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#halloweenify-send {
    font-family: Creepster;
    font-size: 24px;
    width: 150px;
    background-color: #fd9504;
    border-radius: 4px;
    border: none;
    padding: 5px 0;
    color: black;
    display: flex;
    justify-content: center;
    align-items: center;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    color: black;
    font-weight: bold;
    font-family: 'Creepster';
    font-size: 24px;
    background: #5C3482;
    padding: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

footer a {
    color: inherit;
    text-decoration: none;
    padding: 0 5px;
}

footer img {
    padding: 0 10px;
}

footer span:nth-child(1) {
    display: flex;
    justify-content: center;
    align-items: center;
}

footer span:nth-child(1) > a {
    display: flex;
    justify-content: center;
    align-items: center;
}

@media screen and (max-height: 800px) {
    #halloweenify-send {
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 768px) {
    footer {
        flex-direction: column;
        font-size: 16px;
        padding: 5px 0;
    }
    footer span img {
        width: 30px;
        height: 30px;
    }
}