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

body {
    font-family: 'Overpass Mono', monospace;
    background-image: url('background.jpeg');
    background-size: cover;
    background-position: center;
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

nav {
    background-color: white;
    color: black;
    width: 100%;
    padding: 1em;
    display: flex;
    justify-content: center;
}

nav a {
    color: black;
    margin-right: 1em;
    text-decoration: none;
}

.nav-icon {
    width: 30px;
    height: 30px;
    margin-left: 1em;
}

.nav-right {
    display: flex;
    align-items: center;
    padding: 25px;
}

.content {
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

h1 {
    margin-bottom: 20px;
    text-align: center;
}

form {
    display: flex;
    flex-direction: column;
}

label {
    margin-bottom: 0.3em;
    text-align: left;
}

input {
    margin-bottom: 0.5em;
}

.flashes {
    list-style: none;
    padding: 0;
}

.flashes li {
    margin: 0.5em 0;
    padding: 0.5em;
    border: 1px solid;
}

.success {
    color: green;
}

.warning {
    color: orange;
}

.danger {
    color: red;
}

.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.auth-box {
    width: 70%;
    background: white;
    border: 5px solid black;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.tabs {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    border-bottom: 1px solid black;
}

.tab-button {
    background: none;
    border: none;
    font-size: 1em;
    cursor: pointer;
    padding: 10px;
    font-family: 'Overpass Mono', monospace;
    color: black;
    border-radius: 10px 10px 0 0;
}

.tab-button.active {
    font-weight: bolder;
    font-size: 1.2em;
    border-bottom: 1px solid white;
}

.tab-button:hover {
    background: none;
}

.tab-content {
    display: none;
}

button {
    font-family: 'Overpass Mono', monospace;
    background-color: white;
    color: black;
    border: 2px solid black;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
}

button:hover {
    background-color: #f0f0f0;
}

/* Dashboard Styles */
.dashboard {
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.play-button {
    width: 80%;
    height: 30%;
    aspect-ratio: 1;
    border-radius: 15px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: white;
    margin-bottom: 20px;
    border: 2px solid black;

}

.bottom-buttons {
    width: 80%;
    display: grid;
    gap: 10px;
    height: 50%;
    grid-template-rows: repeat(5, 1fr); /* Ensure 5 buttons of equal height */
}

.bottom-buttons button {
    width: 100%;
    border: none;
    border-radius: 15px;
    font-family: 'Overpass Mono', monospace;
    font-size: 0.9em;
    cursor: pointer;
    background-color: white;
    color: black;
    border: 2px solid black;
}

.text-button {
    display: flex;
    align-items: center;
    justify-content: center;
}

.bold-text {
    font-weight: bolder;
}

.icon-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

button:hover {
    background-color: #f0f0f0;
}

.small-text {
        font-size: 12px;
    }

/* Payment Page */
.payment-container {
    display: flex;
    justify-content: space-around;
    width: 80%;
    max-width: 900px;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    flex-direction: column; /* Stack columns vertically on mobile */
    align-items: center;
}

.plan {
    text-align: center;
    padding: 20px;
    width: 100%; /* Full width on mobile */
    margin-bottom: 20px; /* Add spacing between plans */
    border-radius: 10px;
    transition: all 0.3s ease;
}


/* Non-mobile */
@media (min-width: 769px) {
    .dashboard {
        flex-direction: row;
        align-items: center;
    }

    .play-button {
        margin-right: 20px;
        width: 30%;
    }

    .bottom-buttons {
        grid-template-rows: repeat(5, 1fr);
        grid-template-columns: none;
        width: 30%;
    }

    .auth-box {
        width: 40%;
    }

    /* Payment Page */
    .payment-container {
        display: flex;
        justify-content: space-around;
        width: 80%;
        max-width: 900px;
        background-color: #fff;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .plan {
        text-align: center;
        padding: 20px;
        width: 45%;
        border-radius: 10px;
        transition: all 0.3s ease;
    }

    .small-text {
        font-size: 12px;
    }
}
