/* CSS Document */

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Arial', sans-serif;
    overflow: hidden;
}

.space-background {
    background: url('space_background.jpg') no-repeat center center fixed;
    background-size: cover;
    height: 100vh;
    position: relative;
    color: #fff;
    text-align: center;
}

.header h1, .header p {
    margin: 0;
    padding: 20px;
}

.floating-box {
    position: absolute;
    width: 200px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    transition: transform 0.5s;
}

.floating-box:hover {
    transform: scale(1.1);
    background-color: rgba(0, 0, 0, 0.8);
}

.title-container {
    position: relative;
    z-index: 2; /* Ensures it appears above the background overlay */
    margin: auto;
    max-width: 80%; /* Adjust based on your layout needs */
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent black */
    border-radius: 10px; /* Optional: adds rounded corners */
    padding: 20px; /* Spacing inside the container */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Optional: adds a subtle shadow for depth */
}
