body { font-family: Arial, sans-serif; padding: 20px; } h1 { text-align: center; margin-bottom: 20px; } h2 { text-align: center; margin-bottom: 20px; } section { display: flex; flex-direction: column; align-items: center; } .book-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; width: 100%; } article { background-color: #e0f7fa; border-radius: 8px; padding: 15px; width: 200px; text-align: center; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); display: flex; flex-direction: column; align-items: center; margin: 10px; } img { width: 150px; height: auto; margin-bottom: 10px; border-radius: 8px; } h3 { font-size: 1.1em; margin-bottom: 5px; } h4 { font-size: 1em; color: #666; margin: 0; } .errorContainer { height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; font-family: Arial, sans-serif; background-color: #f8f8f8; color: #333; } .errorMessage { font-size: 24px; margin-bottom: 20px; } .errorImage { width: 150px; height: auto; } .backHome { margin-top: 20px; text-decoration: none; color: #007bff; } .formContainer { max-width: 400px; margin: 50px auto; padding: 20px; background-color: #fff; border-radius: 8px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); } h2 { text-align: center; color: #333; } .newsletterForm { display: flex; flex-direction: column; } .formGroup { position: relative; margin-bottom: 15px; } label { margin-bottom: 5px; color: #555; } input { padding: 10px; border: 1px solid #ccc; border-radius: 4px; font-size: 16px; width: 100%; box-sizing: border-box; } input:focus { border-color: #007bff; outline: none; } .charCount { position: absolute; top: 0px; right: 10px; font-size: 12px; color: red; } .subscribeButton { padding: 10px; background-color: #007bff; color: white; border: none; border-radius: 4px; cursor: pointer; font-size: 16px; } .subscribeButton:hover { background-color: #0056b3; } .user-container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; } .user-item { border: 1px solid #ccc; border-radius: 8px; padding: 20px; background-color: #f9f9f9; display: flex; flex-direction: column; align-items: center; text-align: center; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); transition: transform 0.3s ease; } .user-item:hover { transform: translateY(-5px); } .user-details p { margin: 5px 0; } .user-details strong { font-weight: bold; } .user-photo { display: flex; flex-direction: column; align-items: center; margin-bottom: 10px; } .user-image { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin-bottom: 10px; border: 3px solid #ddd; } .user-photo p { font-weight: bold; margin: 0; } @media screen and (max-width: 768px) { article { width: 150px; } } @media screen and (max-width: 480px) { article { width: 100%; } }