@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #FFFFFF;
    font-family: Bebas Neue,Arial, sans-serif;
  letter-spacing:2px;
  
}

.card {
    background: #7B7EF4;
    padding: 3rem;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: min(90%, 500px);
    margin: 1rem;
}

.error {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    flex-wrap: wrap;
    justify-content: center;
}

.number {
    color: white;
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: bold;
}

.circle {
    width: clamp(30px, 10vw, 60px);
    height: clamp(30px, 10vw, 60px);
    background: white;
    border-radius: 50%;
    position: relative;
    animation: pulse 1s ease-in-out infinite alternate;
}

.circle::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 50%;
    background: black;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: look 2s ease-in-out infinite;
}

h1 {
    color: white;
    font-size: 1.5rem;
    margin-top: 0.5rem;
}

.button {
    background: rgb(139, 197, 63);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: bold;
    transition: transform 0.2s;
    text-align: center;
    display: inline-block;
}

.button:hover {
    transform: scale(1.05);
}

@keyframes look {
    0%, 100% {
        transform: translate(-50%, -50%);
    }
    25% {
        transform: translate(-70%, -50%);
    }
    75% {
        transform: translate(-30%, -50%);
    }
}

@keyframes pulse {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.1);
    }
}

@media (max-width: 400px) {
    .card {
        padding: 2rem;
    }
    
    h1 {
        font-size: 1.2rem;
    }
    
    .button {
        padding: 0.8rem 1.6rem;
    }
}