/* auth.css - Styles for login and signup pages */

@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Pixelify+Sans:wght@100..500&family=Press+Start+2P&display=swap');

body {
    margin: 0;
    padding: 0;
    font-family: "Jost", sans-serif;
}

.auth-container {
    height: 100vh;
    width: 100vw;
    margin: 0;
    padding: 0;
    background: url(../images/mountains.png);
    background-size: cover;
    background-position: center;
    display: flex;                /* Add this */
    align-items: center;          /* Center vertically */
    justify-content: center;      /* Center horizontally */
    flex-direction: column;
}
.auth-container a {
    text-decoration: none;
    color: white;
    align-items: center;
    display: flex;
    justify-content: center;
}

.auth-container a img {
    margin-bottom: 20px;
    width: 50dvw;
    max-width: 600px;
    text-align: center;
    top:10px;
    position: absolute;
}
.authBox {
    display: flex;
    backdrop-filter: blur(10px);
    border: 2px solid white;
    border-radius: 10px;
    width: 100%;
    max-width: 400px;
    height: 500px;
}

.authPrompt {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: auto;
}

.authPrompt input {
    width: 80%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid white;
    border-radius: 5px;
    background: transparent;
    color: white;
}

.authPrompt button {
    width: 50%;
    padding: 10px;
    margin: 10px 0;
    border: 2px solid white;
    border-radius: 5px;
    background: transparent;
    color: black;
    cursor: pointer;
    font-size: 1.2rem;
}

.authPrompt button:hover {
    background: rgba(255, 255, 255, 0.5);
    transition: background 0.3s ease;
}

.authPrompt p {
    color: black;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 15px;
    padding: 5px;
    font-size: 1.2rem;
    bottom: 10px;
    position: absolute;
}

.authPrompt h3 {
    font-size: 1.5rem;
    font-family: "Press Start 2P", cursive;
    color: white;
}

.error-message {
    color: red;
    display: none; /* Hide by default */
    margin: 10px 0;
    font-size: 14px;
}

.success-message {
    color: green;
    display: none; /* Hide by default */
    margin: 10px 0;
    font-size: 14px;
}