:root {
    --soft-pink: #ffe4e9;
    --rose-red: #FF007F;
    --mauve: #E0B0FF;
    --crimson: #D6006E;
    --warm-peach: #FFDAB9;
    --champagne: #F7E7CE;
    --card-bg: #fff5f8;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-transform: capitalize;
    font-family: "Playwrite GB S";
}

body {
    background-color: var(--soft-pink);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    max-width: 500px;
    width: 100%;
    text-align: center;
    border: solid rgb(255, 0, 212);
}

.main-header {
    font-size: 2.5rem;
    color: var(--crimson);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.sub-header {
    font-family: "Dancing Script", cursive;
    font-size: 1.5rem;
    color: var(--rose-red);
    margin-bottom: 20px;
}

.main-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;

}

.input-container-text {
    font-size: 1rem;
    font-weight: 500;
    color: var(--crimson);
    margin-bottom: 8px;
   
}

.input-container-input {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255, 0, 127, 0.3);
    border-radius: 10px;
    background-color: #ffffff;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.05);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s;
}

.input-container-input:focus {
    border-color: var(--rose-red);
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.1);
}

.submit-button {
    background-color: var(--rose-red);
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 4px 12px rgba(255, 0, 127, 0.3);
}

.submit-button:hover {
    background-color: var(--crimson);
    transform: scale(1.05);
}

.submit-button:active {
    background-color: var(--crimson);
    transform: scale(0.98);
}

.credit{
    color: var(--crimson);
    font-weight: bold;
    font-size: 1.1rem;
}

/*vibrate text*/
@keyframes smoothVibrate {
    0% {
        transform: translate(0);
    }

    10% {
        transform: translate(-5px, 5px);
    }

    20% {
        transform: translate(5px, -5px);
    }

    30% {
        transform: translate(-10px, 10px);
    }

    40% {
        transform: translate(10px, -10px);
    }

    50% {
        transform: translate(-15px, 15px);
    }

    60% {
        transform: translate(15px, -15px);
    }

    70% {
        transform: translate(-10px, 10px);
    }

    80% {
        transform: translate(10px, -10px);
    }

    90% {
        transform: translate(-5px, 5px);
    }

    100% {
        transform: translate(0);
    }
}

.vibrate {
    animation: smoothVibrate 1s ease infinite;
}
