/* General Styles */
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.homepage {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: #23408D;
    color: #23408D;
    overflow: hidden;
}

.start-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 182px;
    width: 836px;
}

.btn {
    background-color: rgba(22, 44, 82, 0.41);
    border-style: solid;
    border-width: 3px;
    border-radius: 30px;
    width: 100%;
    height: 100%;
    text-align: center;
    color: white;
    font-size: 80px;
    font-weight: 800;
}

.game-component {
    background-color: black;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.header-container {
    position: relative;
    text-align: center;
    color: white;
}

.background-image {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5); /* Optional: to make text more readable */
}

.header .line {
    flex: 1;
    height: 2px;
    background-color: white;
}

.header .header-text {
    padding: 0 20px;
    font-size: 64px;
}

.button-container {
    position: absolute;
    bottom: 100px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
}

.button-row {
    display: flex;
    justify-content: center;
    gap: 75px;
}

.custom-button {
    height: 125px;
    width: 400px;
    padding: 10px 20px;
    font-size: 32px;
    color: white;
    background-color: rgba(0, 0, 0, 0.25);
    border: 3px solid white;
    cursor: pointer;
    border-radius: 30px;
    font-weight: 800;
}

.bg-green-500 {
    background-color: green;
}

.bg-red-500 {
    background-color: red;
}

.flares {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 400px;
    width: auto;
    z-index: 10;
}

.score {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: auto;
    width: auto;
    z-index: 20;
}

.scoreText {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: auto;
    width: auto;
    z-index: 20;
    font-size: 230px;
    color: white;
    font-weight: 750;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .btn {
        font-size: 60px;
    }

    .header .header-text {
        font-size: 48px;
    }

    .custom-button {
        height: 100px;
        width: 300px;
        font-size: 28px;
    }

    .scoreText {
        font-size: 180px;
    }
}

@media (max-width: 992px) {
    .btn {
        font-size: 48px;
    }

    .header .header-text {
        font-size: 40px;
    }

    .custom-button {
        height: 90px;
        width: 250px;
        font-size: 24px;
    }

    .scoreText {
        font-size: 150px;
    }
}

@media (max-width: 768px) {
    .btn {
        font-size: 40px;
    }

    .header .header-text {
        font-size: 32px;
    }

    .custom-button {
        height: 80px;
        width: 200px;
        font-size: 20px;
    }

    .scoreText {
        font-size: 120px;
    }
}

@media (max-width: 576px) {
    .btn {
        font-size: 32px;
    }

    .header .header-text {
        font-size: 24px;
    }

    .custom-button {
        height: 70px;
        width: 180px;
        font-size: 18px;
    }

    .scoreText {
        font-size: 100px;
    }
}
