@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Lobster&display=swap');

body {
    width: 100%;
    height: 100vh; /* Full screen height */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: black;
    background-size: cover;
    position: relative;
    overflow: hidden; /* Prevents scroll */
    margin: 0;
}

img {
    width: 300px; /* Maintain aspect ratio */
}

h1 {
    color: white;
    font-family: "Bebas Neue", serif;
}

#name {
    color: aqua;
    font-size: 2.5rem; /* Corrected */
    text-align: center;
}

#va {
    color: aqua;
    font-size: 2.5rem;
    text-align: center;
}

#voice {
    width: 200px;
    height: 200px;
    display: none;
}

#btn {
    width: 80%; /* Responsive width */
    max-width: 500px; /* Optional: set a max width */
    background: linear-gradient(to right, rgb(195, 46, 148), rgb(74, 74, 207), rgb(120, 30, 45));
    padding: 10px;
    justify-content: center;
    align-items: center;
    display: flex;
    gap: 10px;
    font-size: 1.5rem; /* Responsive font size */
    border-radius: 20px;
    color: white;
    box-shadow: 2px 2px 10px rgb(195, 46, 148), 2px 2px 10px rgb(49, 69, 221);
    border: none;
    transition: all 0.5s;
    cursor: pointer;
    text-align: center;
}

/* Center everything using absolute positioning */
#container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

/* Button hover effect */
#btn:hover {
    box-shadow: 2px 2px 20px rgb(195, 46, 148), 2px 2px 20px rgb(49, 69, 221);
    letter-spacing: 2px;
}

/* Media Queries */

/* For mobile devices with screen width up to 768px */
@media (max-width: 768px) {
    #name, #va {
        font-size: 2rem; /* Adjust font size for mobile */
    }

    #btn {
        font-size: 1.2rem;
        padding: 10px;
        width: 70%; /* Slightly narrower on mobile */
    }

    img {
        width: 250px; /* Adjust image size */
    }
}

/* For very small screens, like under 480px */
@media (max-width: 480px) {
    #name, #va {
        font-size: 1.5rem; /* Smaller text size for smaller screens */
    }

    #btn {
        font-size: 1rem;
        padding: 8px;
        width: 60%; /* Further narrow button */
    }

    img {
        width: 200px; /* Adjust image size */
    }
}
