/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    color: #ffffff;
    margin: 0;
    overflow: hidden; /* Prevent scrolling */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Video Background */
#video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure the video covers the entire screen */
    z-index: -1; /* Place it behind the content */
}

.container {
    text-align: center;
    background-color: rgba(42, 42, 42, 0.8); /* Semi-transparent background */
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    z-index: 1; /* Place it above the video */
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.agent-display {
    margin: 2rem 0;
}

#agent-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 5px solid #ff4655;
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

#agent-name {
    font-size: 1.5rem;
    margin-top: 1rem;
    color: #ff4655;
}

#randomize-button {
    background-color: #ff4655;
    color: #ffffff;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#randomize-button:hover {
    background-color: #e03a4a;
}

.credit {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #888;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}
