html,
body {
    margin: 0;
    padding: 0;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    overflow: hidden;
}

body {
    background: #001;
    overflow: hidden;
}

.gift {
    position: relative;
    display: inline-block;
    z-index: 999;
}

.gift.uncommon {
    filter: drop-shadow(0 8px 20px rgba(255, 255, 255, 0.8));
}

.gift.common {
    filter: drop-shadow(0 8px 20px rgba(86, 255, 35, 0.8));
}

.gift.rare {
    filter: drop-shadow(0 8px 20px rgba(64, 162, 253, 0.8));
}

.gift.epic {
    filter: drop-shadow(0 8px 20px rgba(196, 6, 221, 0.8));
}

.gift.legendary {
    filter: drop-shadow(0 8px 20px rgb(255, 215, 0));
}

.gift_top {
    position: absolute;
    width: 550px;
    top: calc(30dvh - 522px/2);
    left: calc(50dvw - 550px/2);
    transition: transform 0.3s ease;
    z-index: 999;
}

.gift_bottom {
    position: absolute;
    width: 550px;
    top: calc(30dvh - 618px/2);
    left: calc(50dvw - 590px/2);
    transition: transform 0.3s ease;
    z-index: 990;
}

.gift.active .gift_top {
    transform: translateY(-180px);
}

.gift.active .gift_bottom {
    transform: translateY(180px);
}

.title {
    margin: 0;
    padding-top: 3rem;
    display: flex;
    width: 100%;
    text-align: center;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: rgb(195, 253, 255);
}

.secret-text {
    display: flex;
    justify-content: center;
    text-align: center;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    background-color: transparent;
    color: white;
    font-size: larger;
    font-weight: bold;
}

.secret-text.show {
    opacity: 1;
}

.text-error {
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    width: 100%;
    transition: opacity 0.5s ease;
    background-color: transparent;
    color: rgb(195, 253, 255);
    font-size: larger;
    font-weight: bold;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70%;
    background-color: transparent;
}

.card {
    background-image: url("images/bg.2c10a53201df.png");
    padding: 2rem;
    margin: 0;
    border: 2px solid white;
    border-radius: 1rem;
    margin: 0;
    box-shadow: 2px 2px 15px #131313;
}

.form {
    display: flex;
    margin: 0;
    gap: 1rem;
    flex-direction: column;
    width: 500px;
    background-color: transparent;

    input {
        font-size: large;
        width: 100%;

        border-radius: 5px;
        font-weight: bold;
        color: rgb(4, 92, 4);
    }

    input::placeholder {
        font-weight: bold;
        opacity: 0.6;
        color: rgb(4, 92, 4);
    }
}

.button {
    all: unset;
    color: white !important;
    font-weight: bold;
    padding: 4px 0 0 0;
    margin: 0;
    background-color: rgb(4, 92, 4);
    border-radius: 5px;
    text-align: center;
    justify-content: center;

}

.background-container {
    background-image: url("images/bg1.9759129ff7c0.jpg");
    background-color: transparent;
    height: 100%;
}

.button-back {
    all: unset;
    color: white !important;
    font-weight: bold;
    padding: 2px 8px;
    margin: 0;
    background-color: rgb(158, 9, 9);
    border: 2px solid white;
    border-radius: 5px;
    text-align: center;
    justify-content: center;
    margin-left: 1rem;
}

.button-back:hover {
    cursor: pointer;
}

.flake {
    position: absolute;
    top: -10px;
    color: white;
    font-size: 1em;
    user-select: none;
    pointer-events: none;
    animation-name: fall;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@keyframes fall {
    0% {
        transform: translateY(0) translateX(0);
    }

    100% {
        transform: translateY(100vh) translateX(50px);
    }
}