:root {
    /* Text Colors */
    --text-primary: #f8f8f8;
    --text-secondary: #333333;

    /* Background Colors */
    --background: #f8f8f8;

    /* Accent Colors */
    --primary-color: #6200EA; /* Electric Indigo */
    --secondary-color: #00BCD4; /* Moonstone */

    /* Border & States */
    --border-radius: 8px;
    --border-radius-small: 5px;
    --border-radius-large: 15px;

    /* Spacing */
    --spacing-xs: 5px;
    --spacing-sm: 10px;
    --spacing-md: 15px;
    --spacing-lg: 20px;
    --spacing-xl: 30px;
    --spacing-xxl: 45px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
    font-family: Roboto, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    background-color: var(--background);

}

.app-container {
  background-color: var(--primary-color);
  color: var(--text-primary);
  width: 100vw;
  height: 50vh; /* ganze Bildschirmhöhe */
  display: flex;
  justify-content: center; /* horizontal */
  align-items: center;     /* vertikal */
  text-align: center;      /* optional für zentrierten Text */
  flex-direction: column;  /* falls mehrere Elemente untereinander */
}

.content {
  width: 70%;
  margin: 50px auto;        /* zentriert den Block horizontal */
  padding-bottom: 40px;    /* Abstand nach unten */
  text-align: left;      /* sorgt für linksbündigen Text */
}

p {
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

h2 {
    font-size: 3.2rem;
    font-family: "Alkatra", system-ui;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    margin: 0;
}

h3 {
    font-size: 1.2rem;
    /* font-family: "Alkatra", system-ui; */
    font-weight: 320;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

h4 {
    font-size: 2.0rem;
    font-family: "Alkatra", system-ui;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
    margin: 0;
}

.text-footer {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    padding-bottom: var(--spacing-xxl);
    text-align: center;
}

.text-footer a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.text-footer a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.login-input {
    background-color: transparent;
    color: var(--text-secondary);
    padding: 12px 25px;
    border: 2px solid var(--secondary-color);
    border-radius: var(--border-radius-large);
    font-size: 16px;
    font-weight: semibold;
    outline: none;
    transition: border-color 0.3s ease;
    text-align: center;
    width: 240px;
}

.login-input:focus {
    border-color: var(--primary-color);
}

.login-input::placeholder {
    color: #999999;
}

.login-button {
  background-color: var(--secondary-color);
  color: var(--text-primary);
  padding: 12px 50px;         /* Adjust padding to control button size */
  border: 2px solid var(--secondary-color);
  border-radius: var(--border-radius-large);        /* Highly rounded corners */
  font-size: 16px;            /* Adjust font size */
  font-weight: bold;          /* Make text bold if desired */
  cursor: pointer;            /* Indicate it's clickable */
  text-decoration: none;      /* Remove underline if it's an <a> tag */
  display: inline-block;      /* Allows padding and other box model properties to work well */
}

/* Hover Effect */
.login-button:hover {
  background-color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

/* Optional: Focus State (for keyboard navigation accessibility) */
.login-button:focus {
  outline: none; /* Remove default focus outline */
  box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.5); /* Custom focus indicator */
}

.login-form {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: center;
    gap: var(--spacing-md);
}

@media (max-width: 740px) {
    h2 {
        font-size: 2.3rem;
        line-height: 2.6rem;
        padding-bottom: var(--spacing-lg);
    }

    h3 {
        font-size: 1.0rem;
        line-height: 1.3rem;
    }

    h4 {
        font-size: 1.6rem;
    }

    .app-container {
       height: 42%;
        padding: var(--spacing-lg);
    }

    .content {
        width: 90%;
        margin: var(--spacing-xl) auto;
    }

    .login-form {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-top: var(--spacing-md);
    }
    
    .login-input {
        padding: 12px var(--spacing-lg);
        width: 100%;
    }

    .login-button {
        width: 100%;
    }
}