/* Reset some default browser styling */
body, h1, h3, p {
    margin: 10px;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background-color: #222;
    color: #fff;
    padding: 0;
    overflow: hidden;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* Particle background animation */
.particle-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: moveParticles 20s infinite linear;
}

@keyframes moveParticles {
    0% { transform: translate(0, 0); }
    100% { transform: translate(800px, 600px); }
}

/* Common container styles */
.container {
    width: auto;
    max-width: 600px;
    background-color: rgb(0, 0, 0);
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 0, 255, 0.8);
}

/* Common input styles */
input, textarea {
    padding: 12px;
    border-radius: 12px;
    border: 2px solid #1a0dad;
    background-color: #000;
    color: #fff;
    font-size: 16px;
    transition: border-color 0.5s ease, box-shadow 0.5s ease;
}

input:focus, textarea:focus {
    border-color: rgb(26, 13, 173);
}

textarea {
    width: 100%;
    resize: both;
    min-height: 70px;
    min-width: 200px;
    margin-bottom: 20px;
}

/* Common button styles */
button {
    padding: 12px 30px;
    background-color: rgb(0, 0, 0);
    border: 2px solid #1a0dad;
    color: #fff;
    font-size: 18px;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s;
    margin: 10px 0;
}

button:hover {
    background-color: rgb(0, 0, 0);
    border: 2px solid #a0a;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.8);
}

button:active {
    background-color: rgb(0, 0, 0);
    transform: translateY(5px);
    border: 2px solid #a0a;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.8);
}

.navr1 {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1;
}

.navr2 {
    position: absolute;
    top: 80px;
    right: 20px;
    z-index: 1;
}