﻿html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}
@font-face {
    font-family: creqular;
    src: url(Cairo-Regular.ttf);
}

@font-face {
    font-family: cbold;
    src: url(Cairo-Bold.ttf);
}
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
    margin-bottom: 60px;
    font-family: creqular;
    background: linear-gradient(120deg, #f0c3961f, #ffe8d1, #fff4e6);
    background-size: 300% 300%;
    animation: bgMove 12s ease-in-out infinite;
}
@keyframes bgMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}
.fade-in {
    opacity: 0;
    animation: fadeIn 1.4s forwards;
}

#fireworksCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none; /* مهم حتى لا يمنع الضغط على الأزرار */
    z-index: 1; /* فوق الخلفية – تحت النص */
}

#resultSection {
    position: relative;
    z-index: 2; /* فوق الألعاب النارية */
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#userName {
    font-size: 2rem;
    font-weight: bold;
    color: #ff7b00; /* برتقالي جذاب */
}

.maininput {
    max-width: 400px;
    margin: 40px auto;
}

#greetingImage, greetingImage1 {
    max-width: 100%;
    height: auto;
}
.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}