/* Basic styles for the super cool website */
html, body {
    height: 100%;
}

body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    color: white;
    overflow: hidden; /* Hide scrollbars for the animated background */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative; /* For positioning content relative to body */
}

#threejs-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Place behind other content */
}

.content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 40px 60px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    max-width: 800px;
    margin: 20px; /* Add some margin for smaller screens */
    box-sizing: border-box; /* Include padding in width calculation */
}

h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.9);
}

p {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 30px;
}

.content button {
    display: inline-block;
    padding: 15px 30px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    margin: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.content button:hover {
    background-color: rgba(0, 0, 0, 0.7);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .content {
        padding: 30px 40px;
        max-width: 90%;
    }

    h1 {
        font-size: 2.5em;
    }

    p {
        font-size: 1em;
    }

    .button {
        padding: 12px 25px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .content {
        padding: 20px 25px;
    }

    h1 {
        font-size: 2em;
    }

    p {
        font-size: 0.9em;
    }

    .button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .content {
        padding: 20px 25px;
    }

    h1 {
        font-size: 2em;
    }

    p {
        font-size: 0.9em;
    }

    .button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}