/* styles.css */

body {
    font-family: 'Arial', sans-serif;
    background-color: #0d0d0d;
    color: #e6e6e6;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    text-align: center;
    overflow: hidden;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/layout2.gif') center/cover no-repeat;
    opacity: 0.5; /* Adjust opacity as needed */
    z-index: -2;
}

header {
    margin-bottom: 10px; /* Reduced margin */
    position: relative;
    z-index: 1;
}

.logo {
    width: 80px; /* Reduced size */
    height: 80px; /* Reduced size */
    border-radius: 50%;
}

h1 {
    font-size: 2em; /* Reduced font size */
    color: #33ff33;
    text-shadow: 0 0 10px #33ff33, 0 0 20px #33ff33, 0 0 30px #33ff33;
}

.instructions {
    margin-bottom: 10px; /* Reduced margin */
    font-size: 1em; /* Reduced font size */
    border: 2px solid #33ff33;
    border-radius: 15px;
    padding: 15px; /* Reduced padding */
    position: relative;
    z-index: 1;
    animation: borderGlow 2s infinite;
}

.button-container {
    margin-bottom: 10px; /* Reduced margin */
    position: relative;
    z-index: 1;
}

button {
    padding: 10px 20px;
    font-size: 1em; /* Reduced font size */
    color: #0d0d0d;
    background-color: #33ff33;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

button:hover {
    transform: scale(1.1);
}

.ip-info-container, .processing-container, .injection-status {
    margin-top: 10px; /* Reduced margin */
    padding: 20px;
    border-radius: 50%;
    border: 2px solid #33ff33;
    animation: borderGlow 2s infinite;
    position: relative;
    z-index: 1;
    max-height: 200px; /* Set maximum height */
    overflow-y: auto; /* Add vertical scroll if needed */
}

@keyframes borderGlow {
    0% {
        border-color: #33ff33;
        box-shadow: 0 0 10px #33ff33;
    }
    50% {
        border-color: #ff33ff;
        box-shadow: 0 0 20px #ff33ff;
    }
    100% {
        border-color: #33ff33;
        box-shadow: 0 0 10px #33ff33;
    }
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(270deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #8b00ff);
    background-size: 1400% 1400%;
    animation: rainbow 10s ease infinite, move 15s linear infinite;
    opacity: 0.7;
    z-index: 0;
}

.circle:nth-child(1) {
    width: 150px;
    height: 150px;
    top: 10%;
    left: 5%;
}

.circle:nth-child(2) {
    width: 100px;
    height: 100px;
    top: 50%;
    right: 10%;
}

.circle:nth-child(3) {
    width: 200px;
    height: 200px;
    bottom: 20%;
    left: 20%;
}

.circle:nth-child(4) {
    width: 80px;
    height: 80px;
    top: 30%;
    right: 30%;
}

@keyframes rainbow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes move {
    0% { transform: translate(0, 0); }
    50% { transform: translate(20px, 20px); }
    100% { transform: translate(0, 0); }
}
