/* cfb_assistant.css */

/* Global styles */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

.container {
    max-width: 480px;
    margin: 0 auto;
    padding: 20px;
}


/* Header styles */
header {
    background-color: #000000;
    text-align: center;
    color: #fff;
    padding: 10px;
    display: flex; /* Use flexbox to create a flexible layout */
    justify-content: center; /* Center the content horizontally */
    align-items: center; /* Center the content vertically */
}

header img {
    max-width: 35px;
    margin-right: 10px; /* Add some spacing between the logo and the title */
}

header a {
    color: #fff;
    text-decoration: none;
    font-size: 24px;
}

/* Page background image */
body {
    background-image: url('https://storage.googleapis.com/thomasd9e.appspot.com/website/kinnick-stadium.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

/* Section styles */
section {
    background-color: #fff;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

#explanation p {
    text-align: center;
}

#question h1 {
    text-align: center;
}

#questionForm {
    text-align: center;
}

/* Make the text input area bigger */
#questionForm textarea {
    width: 80%; /* Use the full available width */
    border: 1px solid #ccc;
    padding: 10px;
    margin: 10px;
    background-color: #f7f7f7;
    font-size: 16px; /* Optionally, adjust the font size */
    resize: none; /* Prevent resizing of the textarea */
    overflow-y: hidden; /* Hide vertical scrollbar */
}

button[type="submit"] {
    background-color: #2b7aafa9;
    color: white;
    padding: 10px 10px;
    border: 1px solid #2b7aafa9;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
  }
  
  button[type="submit"]:hover {
    background-color: #1e5f8aa9;
  }
  


/* Response area styles */
#response {
    margin-top: 20px;
}

#loading {
    display: none; /* Hide the loading div initially */
    text-align: center;
    margin: 20px 0;
}

#loading img {
    max-width: 100px;
}

/* Show the loading div during the request */
.hx-active #loading {
    display: block;
}
