/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #000;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

canvas {
    display: block;
}

.overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 1;
    padding: 20px;
    max-width: 90%;
}

.logo {
    width: 40%;
    max-width: 300px;
    height: auto;
    margin-bottom: 20px;
}

h1 {
    font-family: 'Comfortaa', sans-serif;
    font-weight: 300;
    font-size: 2rem; /* Adjusted for responsiveness */
    margin-bottom: 10px;
}

h3 {
    font-family: 'Comfortaa', sans-serif;
    font-weight: 300;
    font-size: 1.2rem;
    margin-top: 10px;
}

a {
    color: white;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Media Queries */
@media (max-width: 768px) {
    .overlay {
        
        display: flex;
        align-items: center;
        flex-direction: column;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        color: #fff;
        z-index: 1;
        padding: 20px;
        width: 100%;
        max-width: 1000%;
    
    
}
.logo {
    width: 100%;
    max-width: 1000%;
}

h1 {
    font-size: 1.8rem;
}

h3 {
    font-size: 1.5rem;
}
}

@media (max-width: 480px) {
   .overlay {
        display: flex;
        align-items: center;
        flex-direction: column;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        color: #fff;
        z-index: 1;
        padding: 20px;
        width: 100%;
        max-width: 1000%;
    }
    .logo {
        width: 100%;
        max-width: 1000%;
    }

    h1 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.3rem;
    }
}
