/* customizable snowflake styling */
.loader button {
    width: 50%;
    height: 100px;
    position: fixed;
    left: 50%;
    top: 45%;
    transform: translateY(-50%);
    transform: translateX(-50%);
    background: center no-repeat #fff;
    z-index: 9999999999999999999999;
    font-size: 50px;
    outline: none;
    box-sizing: border-box;
    border: none;
    border-radius: .3em;
    text-transform: uppercase;
    box-shadow: 0 3px 6px rgba(0, 0, 0, .16), 0 3px 6px rgba(110, 80, 20, .4),
        inset 0 -2px 5px 1px rgba(139, 66, 8, 1),
        inset 0 -1px 1px 3px rgba(250, 227, 133, 1);
    background-image: linear-gradient(160deg, #a54e07, #b47e11, #fef1a2, #bc881b, #a54e07);
    border: 1px solid #a55d07;
    color: rgb(120, 50, 5);
    text-shadow: 0 2px 2px rgba(250, 227, 133, 1);
    cursor: pointer;
    transition: all .2s ease-in-out;
    background-size: 100% 100%;
    background-position: center;
}

.golden-btn:focus,
.golden-btn:hover {
    background-size: 150% 150%;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23),
        inset 0 -2px 5px 1px #b17d10,
        inset 0 -1px 1px 3px rgba(250, 227, 133, 1);
    border: 1px solid rgba(165, 93, 7, .6);
    color: rgba(120, 50, 5, .8);
}

.golden-btn:active {
    box-shadow: 0 3px 6px rgba(0, 0, 0, .16), 0 3px 6px rgba(110, 80, 20, .4),
        inset 0 -2px 5px 1px #b17d10,
        inset 0 -1px 1px 3px rgba(250, 227, 133, 1);
}

.loader {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 999;
    background: url(img/back.png) center no-repeat #000;
}

.song {
    display: none;
}

body {
    background-color: #FFDAB9;
}

img {
    width: 100%;
}

.balloon-border {
    position: fixed;
    top: 100%;
    opacity: 0.5;
    z-index: 99999999;
}

.area {
    text-align: center;
    font-size: 70px;
    color: #C4515C;
    letter-spacing: 1px;
    font-weight: 700;
    text-transform: uppercase;
    animation: spin 2s ease-out infinite;
    text-shadow: 0px 0px 5px #fff, 0px 0px 7px #fff;
}

#nae {
    text-transform: capitalize;
}

#confetti {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
}

@keyframes spin {
    0% {
        transform: rotateZ(0);
    }

    25% {
        transform: rotateZ(10deg);
    }

    50% {
        transform: rotateZ(0deg);
    }

    75% {
        transform: rotateZ(-10deg);
    }
}

.type-wrap {
    font-size: 25px;
    color: #C4515C;

}

.cake {
    transform: translateY(-50%);
    transform: translateX(-50%);
    left: 50%;
    position: absolute;
    padding-top: 250px;
}

.birthday-form {
    margin-top: 435px;
    position: relative;
    z-index: 999;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;

    flex-wrap: wrap;
}

.birthday-form input {
    width: 320px;
    max-width: 90%;

    padding: 14px 18px;

    border: none;
    border-radius: 14px;

    background: rgba(255, 255, 255, 0.9);

    font-size: 16px;
    outline: none;

    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.15);

    transition: 0.3s;
}

.birthday-form input:focus {
    transform: scale(1.03);
    box-shadow:
        0 0 20px rgba(255, 105, 180, 0.5);
}

.birthday-form button {
    padding: 14px 24px;

    border: none;
    border-radius: 14px;

    background: linear-gradient(45deg, #ff4e8a, #ff7eb3);

    color: white;
    font-size: 16px;
    font-weight: bold;

    cursor: pointer;

    box-shadow:
        0 4px 15px rgba(255, 78, 138, 0.4);

    transition: 0.3s;
}

.birthday-form button:hover {
    transform: translateY(-2px) scale(1.05);

    box-shadow:
        0 8px 25px rgba(255, 78, 138, 0.6);
}

.birthday-form button:active {
    transform: scale(0.96);
}

.arrow {
    position: absolute;
    width: 130px;
    left: 29%;
    top: -120px;
    transform: rotate(25deg);
}

/* На телефонах скрыть */
@media (max-width: 768px) {
    .arrow {
        display: none;
    }
}

.success-message {
    opacity: 0;
    transform: translateY(20px);

    transition: 0.5s;

    margin-top: 25px;

    text-align: center;

    font-size: 24px;
    font-weight: bold;

    color: #ff4e8a;

    text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}

.success-message.show {
    opacity: 1;
    transform: translateY(0);
}