diff --git a/styles.css b/styles.css new file mode 100644 index 0000000..c09d87d --- /dev/null +++ b/styles.css @@ -0,0 +1,111 @@ +body { + font-family: Arial, sans-serif; + background-color: #f5f5f5; + display: flex; + justify-content: center; + align-items: center; + height: 100vh; + margin: 0; +} + +#container { + text-align: center; +} + +.hidden { + display: none; +} + +#intro, +#poem-container { + background: white; + padding: 20px; + border-radius: 10px; + box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); + max-width: 600px; + margin: auto; + transition: max-height 0.5s ease; + overflow: hidden; +} + +#intro h1 { + font-size: 2em; + margin: 0 0 10px; +} + +#intro p { + font-size: 1.2em; + margin: 0 0 20px; +} + +button { + background-color: #1e1f22; + color: white; + border: none; + padding: 10px 20px; + font-size: 1em; + cursor: pointer; + border-radius: 5px; + transition: background-color 0.3s; +} + +button:hover { + background-color: #454954; +} + +#poem-container h2 { + font-size: 1.8em; + margin: 0 0 10px; +} + +#poem-container p { + font-size: 1.2em; + font-style: italic; + margin: 0 0 20px; +} + +#poem { + font-size: 1.2em; + margin: 0 0 20px; +} + +#poem-container.expanded { + max-height: 80vh; + overflow-y: auto; +} + +/* Custom scrollbar styling */ +#poem-container.expanded::-webkit-scrollbar { + width: 10px; +} + +#poem-container.expanded::-webkit-scrollbar-track { + background: #ffffff; + border-radius: 10px; +} + +#poem-container.expanded::-webkit-scrollbar-thumb { + background: #1e1f22; + border-radius: 10px; +} + +#poem-container.expanded::-webkit-scrollbar-thumb:hover { + background: #454954; +} + +footer { + position: fixed; + bottom: 0; + width: 100%; + text-align: center; + padding: 10px; + background: transparent; +} + +footer a { + margin: 0 15px; + display: inline-block; + font-size: 20px; + color: #1e1f22; + animation: neonGlow 2s infinite alternate; +} \ No newline at end of file