html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Montserrat', sans-serif;
    overflow: hidden;
}

body {
   background: url('12.png') no-repeat center center/cover;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.overlay {
    position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 15, 30, 0.4);
  z-index: 1;
  pointer-events: none;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.container {
   position: relative;
  z-index: 3;
  height: calc(100% - 80px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* moves everything to the top */
  align-items: center;
  text-align: center;
  margin-top: 10px;
  animation: fadeIn 1s ease-in-out;
}

h1 {
    font-family: 'Great Vibes', cursive;
    font-size: 3em;
    letter-spacing: 2px;
     color: #ffffff;
  text-shadow: 0 0 8px #0A3C66;
    margin: 20px 0;
}

p {
    font-size: 1.2rem;
    margin: 20px 0;
    max-width: 600px;
    opacity: 0.95;
}

.email-box {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 390px;
}

input[type="email"] {
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    border: none;
    width: 260px;
    font-size: 1rem;
}

button {
    padding: 0.8rem 1.5rem;
    background: #0A3C66;
    color: #000;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background: #24669c;
}

.footer {
    position: absolute;
    bottom: 100px;
    width: 100%;
    text-align: center;
    font-size: 0.85rem;
    color: #ccc;
}

.bottom-bar {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    padding: 10px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: #fff;
    z-index: 4;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.5);
}

.bottom-bar a {
    color: #0A3C66;
    margin: 0 10px;
    text-decoration: none;
}

.bottom-bar a:hover {
    text-decoration: underline;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 600px) {
    .bottom-bar {
        flex-direction: column;
        align-items: center;
        padding: 10px;
    }
    .bottom-bar a,
    .bottom-bar span {
        display: block;
        margin: 5px 0;
        text-align: center;
        max-width: 90%;
        word-wrap: break-word;
    }
}
