/* Allgemeine Stile */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;700&display=swap');

html {
    overflow-x: hidden;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #4a90e2;
    color: #ffffff;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1 {
    background-color: #2e6ab8;
    color: #fff;
    padding: 1rem;
    text-align: center;
    font-weight: 700;
    font-size: 2.5rem;
    border-bottom: 4px solid #1254ad;
}

form {
    max-width: 600px;
    margin: 2rem auto;
    padding: 1rem;
    background-color: #3a74bb;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

fieldset {
    border: 2px solid #1c50a2;
    border-radius: 4px;
    padding: 1rem;
    margin-bottom: 1rem;
}

legend {
    font-size: 18px;
    font-weight: 400;
    padding: 0.2rem;
    color: #ffffff;
}

input[type="text"], select {
    display: block;
    width: 100%;
    padding: 0.5rem;
    margin: 0.5rem 0 1rem;
    font-size: 16px;
    border: 1px solid #3b6cd4;
    border-radius: 4px;
    background-color: #2c3e50;
    color: #ffffff;
}

label {
    display: block;
    font-size: 18px;
    margin-bottom: 0.5rem;
    font-weight: 300;
}

button[type="submit"] {
    display: block;
    width: 100%;
    padding: 0.5rem;
    font-size: 18px;
    color: #fff;
    background-color: #2e6ab8;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 1rem;
    font-weight: 700;
}

button[type="submit"]:hover {
    background-color: #1c50a2;
}

#storyContainer {
    max-width: 800px;
    margin: 1rem auto;
    padding: 1rem;
    background-color: #3a74bb;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

button#speakButton {
    display: block;
    width: 200px;
    padding: 0.5rem;
    font-size: 18px;
    color: #fff;
    background-color: #2e6ab8;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin: 1rem auto;
    font-weight: 700;
}

button#speakButton:hover {
    background-color: #1c50a2;
}

footer {
    background-color: #2e6ab8;
    padding: 1rem;
    text-align: center;
    width: 100%;
    margin-top: auto;
    border-top: 4px solid #1254ad;
}

footer p {
    margin: 0;
}

footer a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 0.5rem;
}

footer a:hover {
    text-decoration: underline;
}

#storyImage {
    display: none;
    margin: 15px auto;
    max-width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* Login and Signup form styles */
.login-form,
.signup-form {
    display: none;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.login-form h2,
.signup-form h2 {
    margin-bottom: 20px;
}

.login-form label,
.signup-form label {
    display: block;
    margin-bottom: 5px;
}

.login-form input,
.signup-form input {
    display: block;
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.login-form button,
.signup-form button {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    background-color: #007bff;
    color: #fff;
    cursor: pointer;
    border-radius: 3px;
}

.login-form button:hover,
.signup-form button:hover {
    background-color: #0056b3;
}

/* User Info styles */
.user-info {
    display: none;
    margin-bottom: 20px;
}

.user-info p {
    display: inline-block;
    margin-right: 10px;
}

.user-info button {
    display: inline-block;
    padding: 5px 10px;
    border: none;
    background-color: #007bff;
    color: #fff;
    cursor: pointer;
    border-radius: 3px;
}

.user-info button:hover {
    background-color: #0056b3;
}

/* Show and hide forms */
.show {
    display: block;
}

.social-login {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    background-color: #4285f4;
    color: #fff;
    cursor: pointer;
    border-radius: 3px;
    margin-bottom: 15px;
    text-align: center;
    max-width: 300px;
    width: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Add a box shadow */
    transition: box-shadow 0.3s ease;
    /* Add a transition for the box shadow */
}

.social-login:hover {
    background-color: #3071d9;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    /* Increase the box shadow on hover */
}


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

.login-btn-container {
    position: absolute;
    top: 10px;
    right: 10px;
  }
  
  .login-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #4285f4;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    border-radius: 3px;
    transition: background-color 0.3s ease;
  }
  
  .login-btn:hover {
    background-color: #3074db;
  }
  
.disabled-banner {
    background-color: #1c2a3a;
    color: #fff;
    text-align: center;
    padding: 0.75rem 1rem;
    font-weight: 700;
}

button[type="submit"]:disabled,
fieldset:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
