* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #D6EBF2;
    margin: 0;
    /* Ensure no margins */
    padding: 0;
    /* Ensure no padding */
}

#home-page {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    /* Responsive width */
    max-width: 400px;
    /* Prevents it from growing too large on big screens */
    text-align: center;
}

#home-image {
    width: 85%;
    /* Decrease width to 75% of the original size */
    height: auto;
    /* Maintain aspect ratio */
    max-width: 600px;
    /* Optional: set a maximum width */
    display: block;
    /* Ensure the image behaves as a block element */
    margin: 0 auto 20px;
    /* Center the image and add some space below it */
    z-index: 1;
}

h1 {
    color: white;
    font-weight: 800;
    font-size: 48px;
    margin-bottom: 32px;
    white-space: nowrap;
    z-index: 1;
}

.home-buttons {
    display: flex;
    justify-content: center;
    gap: 96px;
    padding: 20px 20px;
    z-index: 1;
}

button {
    flex: 1;
    /* Equal flex properties for both buttons */
    min-width: 150px;
    /* Optional: Set a minimum width */
    background-color: rgba(247, 247, 247, 0.5);
    border: none;
    /* Remove border */
    color: #fff;
    /* White text */
    padding: 16px 80px;
    font-size: 24px;
    font-weight: 1000;
    border-radius: 5px;
    /* Optional: Rounded corners */
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    white-space: nowrap;
    /* Prevent text from wrapping */
}

#homeStartButton:hover {
    background-color: rgba(255, 255, 255, 0.7);
    /* Change background color on hover */
    transform: scale(1.05);
    /* Slightly enlarge the button */
}

#homeDisabledButton {
    cursor: not-allowed;
}

.bubbles {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    top: 0;
    left: 0;
}

.bubble {
    position: absolute;
    bottom: -100px;
    width: 40px;
    height: 40px;
    background: #f1f1f1;
    border-radius: 50%;
    opacity: 0.5;
    animation: rise 10s infinite ease-in;
}

.bubble:nth-child(1) {
    width: 40px;
    height: 40px;
    left: 10%;
    animation-duration: 8s;
}

.bubble:nth-child(2) {
    width: 20px;
    height: 20px;
    left: 20%;
    animation-duration: 5s;
    animation-delay: 1s;
}

.bubble:nth-child(3) {
    width: 50px;
    height: 50px;
    left: 35%;
    animation-duration: 7s;
    animation-delay: 2s;
}

.bubble:nth-child(4) {
    width: 80px;
    height: 80px;
    left: 50%;
    animation-duration: 11s;
    animation-delay: 0s;
}

.bubble:nth-child(5) {
    width: 35px;
    height: 35px;
    left: 55%;
    animation-duration: 6s;
    animation-delay: 1s;
}

.bubble:nth-child(6) {
    width: 45px;
    height: 45px;
    left: 65%;
    animation-duration: 8s;
    animation-delay: 3s;
}

.bubble:nth-child(7) {
    width: 90px;
    height: 90px;
    left: 70%;
    animation-duration: 12s;
    animation-delay: 2s;
}

.bubble:nth-child(8) {
    width: 25px;
    height: 25px;
    left: 80%;
    animation-duration: 6s;
    animation-delay: 2s;
}

.bubble:nth-child(9) {
    width: 15px;
    height: 15px;
    left: 70%;
    animation-duration: 5s;
    animation-delay: 1s;
}

.bubble:nth-child(10) {
    width: 90px;
    height: 90px;
    left: 25%;
    animation-duration: 10s;
    animation-delay: 4s;
}

@keyframes rise {
    0% {
        bottom: -100px;
        transform: translateX(0);
    }

    50% {
        transform: translate(100px);
    }

    100% {
        bottom: 1080px;
        transform: translateX(-200px);
    }
}

/* Mobile-friendly adjustments */
@media (max-width: 600px) {
    h1 {
        white-space: normal;
    }

    .home-buttons {
        flex-direction: column;
        /* Stack buttons vertically */
        gap: 20px;
        /* Smaller gap for mobile screens */
    }

    #homeStartButton,
    #homeDisabledButton {
        width: 100%;
        /* Full width on mobile */
    }
}