* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Root variables for color scheme */
:root {
    --primary: #2196F3;   /* Sky Blue */
    --secondary: #FFC107; /* Yellow */
    --dark: #1976D2;      /* Dark Blue */
    --light: #BBDEFB;     /* Light Sky Blue */
    --success: #4CAF50;   /* Green */
    --navbar-bg: rgba(0, 0, 0, 0.7); /* Semi-transparent black */
    --hover-bg: rgba(255, 255, 255, 0.2);
}

html, body {
    height: auto;
    min-height: 100vh;
    overflow-y: auto;
    margin: 0;
    font-family: 'Arial', sans-serif;
}

body.index {
    background: url('sober.cx.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #00f9ff; /* Light blue text for the index page */
}

body.terms, body.privacy, body.about, body.contact {
    background: url('sober.cx.gradient.jpg');
    color: #00f9ff;
}

.container {
    max-width: 800px;
    margin: 70px auto;
    padding: 20px;
    background: rgba(80, 39, 115, 0.3); /* Purple with slight transparency */
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #00f9ff; /* Light blue text for readability */
    line-height: 1.6; /* Improved spacing for content readability */
}

blockquote {
    font-style: italic;
    color: #00f9ff; /* Light blue text for blockquote */
    margin: 10px 0;
    padding-left: 20px;
    border-left: 3px solid rgba(255, 255, 255, 0.5); /* Subtle left border */
    line-height: 1.5;
}

h1, h2, h3, p {
    margin-bottom: 20px; /* Adds space between text elements */
    color: inherit; /* Inherit color from parent */
}

.navbar {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
}

.menu-items {
    display: none; /* Hidden by default */
    background: rgba(255, 255, 255, 0.95);
    border-radius: 5px;
    margin-top: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: absolute;
    z-index: 1000;
}

.menu-items a {
    display: block;
    padding: 12px 25px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.menu-items a:hover {
    background: rgba(0, 0, 0, 0.1);
}

.menu-trigger {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.menu-trigger:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #000;
}

.login-container {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.login-box input {
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.9);
    color: #333; /* Dark text for input fields */
}

.login-button {
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    background: #4285f4;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-button:hover {
    background: #357abd;
}

.google-login {
    background: white;
    color: #757575;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.google-login:hover {
    background: #f1f1f1;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

h1, h2, h3 {
    color: #00f9ff;
	line-height: 4vh;
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

ul {
    margin-left: 20px;
}

ul li {
    margin: 5px 0;
}