@font-face {
    font-family: 'Matcha Mint';
    src: url("./Matcha\ Mint.ttf");
}

body {
    text-align: center;
    font-family: 'Matcha Mint', sans-serif;
    background: linear-gradient(#a2d2ff, #EFB0C9);
    color: #ffffff;
}

h1, h2, h3, h4, p {
    text-shadow: 0 0 1px black;
}

#bff-img {
    width: 150px;
    border-radius: 50%;
    border: 6px solid #EFB0C9;
    margin-bottom: 10px;
}

#bday-age {
    background: #EFB0C9;
    padding: 5px 10px;
    border-radius: 5px;
    margin: 5px 0 10px 0;
}

#bday-date {
    margin: 0;
    background: #EFB0C9;
    padding: 5px 10px;
    border-radius: 5px;
}

#header {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gift-section {
    margin-top: 50px;
}

.gift-title {
    margin-bottom: 10px;
}

.gift-hint {
    margin-top: 0;
}

.gift-img {
    margin: 20px auto;
    max-width: 400px;
    height: 400px;
    border: 6px solid white;
    border-radius: 10px;
    background-image: url("images/gift-cover.jpg");
    background-size: cover;
    background-position: center;
}

#gift-img-happy:hover {
    background-image: url("images/happy.gif");
}

#gift-img-relaxed:hover {
    background-image: url("images/relaxed.gif");
}

#gift-img-movie:hover {
    background-image: url("images/movie.gif");
}

#gift-img-right:hover {
    background-image: url("images/right.gif");
}

#gift-img-birthday:hover {
    background-image: url("images/birthday.gif");
}

#footer {
    font-style: italic;
    max-width: 400px;
    margin: 40px auto 20px;
}

a {
    color: white;
}

#seconds {
    display: inline-block; /* Obligatoriu pentru ca transformările (scale) să funcționeze */
    transition: color 0.2s;
}

/* Clasa care se aplică la fiecare secundă */
.bday-tick {
    animation: neonPop 0.4s ease-out;
}

@keyframes neonPop {
    0% {
        transform: scale(1);
        text-shadow: 0 0 0px transparent;
    }
    20% {
        transform: scale(1.08); /* Se mărește subtil */
        color: #fff;            /* Devine alb strălucitor */
        /* Efect de neon roz/auriu de zi de naștere */
        text-shadow: 0 0 10px #fff, 0 0 20px #ff6b81, 0 0 30px #ffbc00; 
    }
    100% {
        transform: scale(1);
        text-shadow: 0 0 1px black; /* Revine la umbra ta inițială */
    }
}
