@import url('https://fonts.googleapis.com/css2?family=MedievalSharp&display=swap'); @import url('https://fonts.googleapis.com/css2?family=UnifrakturCook:wght@700&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Grenze+Gotisch:wght@600&display=swap'); .dnd-page-container { color: #fff; font-family: 'MedievalSharp', cursive; padding-top: 5rem; } .dnd-hero { min-height: calc(100vh - 5rem); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background-size: cover; background-position: center; background-attachment: fixed; /* Keep it fixed relative to viewport */ position: relative; } .dnd-hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.3); /* More transparent dark overlay */ backdrop-filter: blur(4px); } .dnd-hero h1 { font-size: 4rem; color: #ff4500; /* Orangered for a fiery effect */ text-shadow: 2px 2px 4px #000; z-index: 1; } .dnd-title-box { } .dnd-content-box { background-color: rgba( 50, 30, 30, 0.9 ); /* New background color, blacker with a pinch of red */ padding: 5rem 3rem 4rem; /* Adjusted horizontal padding */ width: 90%; max-width: 1200px; /* Narrower for better readability */ margin: 2rem auto; /* Center the box */ border: 1px solid rgba(255, 255, 255, 0.1); /* Subtle light border */ border-radius: 8px; box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4); /* More pronounced shadow */ color: #e8e0b0; /* Subtle yellow-gray text for contrast */ line-height: 1.6; position: relative; /* Ensure pseudo-elements are positioned correctly */ } .dnd-content-box::before, .dnd-content-box::after { content: ''; position: absolute; left: 0; right: 0; height: 50px; /* Adjust height as needed */ background-image: url('../../public/images/stories/border.jpg'); background-size: cover; background-position: center; opacity: 0.3; /* Make it semi-transparent */ z-index: 0; /* Place it behind content */ } .dnd-content-box::before { top: 0; } .dnd-content-box::after { bottom: 0; } .dnd-content-box p { font-size: 1.4rem; /* Make episode text bigger */ margin-bottom: 1rem; /* Add some spacing between paragraphs */ text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8); /* Add text shadow */ } .dnd-about-card { background-color: rgba(50, 30, 30, 0.8); padding: 1.5rem 2rem; width: 90%; max-width: 800px; /* Smaller max-width than content box */ margin: 2rem auto; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 8px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4); color: #e8e0b0; line-height: 1.6; position: relative; z-index: 1; /* Ensure it's above the background overlay */ text-align: center; /* Align text to the center */ } .dnd-about-card h3 { color: #fffacd; font-size: 1.5rem; margin-bottom: 0.8rem; text-shadow: 1px 1px 3px rgba(0, 0, 0, 1); text-align: center; } .dnd-about-card p { font-size: 1.2rem; margin-bottom: 0.5rem; text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8); } .dnd-author-label { color: #ff6b6b; /* A tone of red */ font-weight: bold; } .dnd-content-box ul, .dnd-content-box ol { margin-left: 3rem; /* Indent lists */ margin-bottom: 1rem; padding-left: 0; text-align: left; /* Ensure list items align left */ } .dnd-content-box li { font-size: 1.4rem; /* Match paragraph font size */ color: #e8e0b0; /* Match paragraph color */ text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8); /* Match paragraph text shadow */ margin-bottom: 0.5rem; /* Spacing between list items */ line-height: 1.6; } .dnd-content-box ul { list-style-type: disc; /* Default bullet style */ } .dnd-content-box ol { list-style-type: decimal; /* Default numbered style */ } .dnd-content-box blockquote { font-style: italic; padding: 1.5rem 0.1rem 0.5rem 0; /* top, right, bottom, left */ margin: 2rem 2rem; border: 1px solid #e8e0b0; /* Border matching text color */ color: #e8e0b0; /* Match paragraph color */ text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8); /* Match paragraph text shadow */ border-radius: 4px; line-height: 1.6; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Subtle shadow */ } .dnd-content-box hr { border: none; /* Remove default border */ height: 10px; /* Height of the wavy line */ background-image: repeating-linear-gradient( -45deg, rgba(255, 191, 0, 0.7), rgba(255, 191, 0, 0.7) 2px, transparent 2px, transparent 6px /* Increased transparent part and total repeat length */ ); /* Wavy pattern */ margin: 2rem auto; /* 1rem top/bottom, auto left/right for centering */ width: 90%; /* Make it a bit shorter than full width */ } .dnd-hero-title-white { color: #fffacd; margin-bottom: 1.5rem; font-size: 1.8rem; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); border: 1px solid #fffacd; padding: 0.5rem 1rem; border-radius: 5px; background-color: rgba(255, 250, 205, 0.3); display: inline-block; } /* D&D Cards */ .dnd-cards-container { display: flex; justify-content: center; gap: 2rem; margin-top: 2rem; flex-wrap: wrap; padding: 2rem 2rem 8rem; position: relative; z-index: 1; } .dnd-card { box-sizing: border-box; background-image: url('../../public/images/stories/parchment.png'); background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent dark background */ background-size: contain; /* Preserve image ratio */ background-repeat: no-repeat; /* Prevent image repetition */ background-position: center; border: 2px solid #cd7f32; /* Bronze */ border-radius: 10px; padding: 1.5rem; width: 300px; height: 370px; /* Fixed height for 716x883 aspect ratio (300px width) */ text-align: center; color: #000; text-decoration: none; transition: all 0.3s ease-in-out; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), inset 0 0 10px rgba(0, 0, 0, 0.5); display: flex; flex-direction: column; justify-content: space-between; } .dnd-card:hover { transform: translateY(-10px); /* Move card up */ outline: 6px solid #cd7f32; /* Bolder outline */ outline-offset: -6px; /* Adjust offset for bolder outline */ filter: brightness(1.1) saturate(1.2) hue-rotate(0deg); /* Red tone effect */ } .dnd-card-parchment { background-image: url('../../public/images/stories/parchment.png'); background-size: cover; background-repeat: no-repeat; background-position: center; width: 300px; /* Example width */ height: auto; /* Allow height to adjust based on content */ } .dnd-card h3 { font-family: 'Grenze Gotisch', cursive; font-size: 2.5rem; color: #ff9d7e; margin-bottom: 1rem; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); -webkit-text-stroke: 1px #000; font-weight: 600; } .dnd-card p { font-family: 'MedievalSharp', cursive; font-size: 1.4rem; color: #e6c6a1; text-shadow: 2px 2px 4px rgba(0, 0, 0, 1); } .dnd-author-card { background-color: rgba(50, 30, 30, 0.7); /* Similar to about card */ padding: 2.5rem 1.5rem; width: 350px; /* Fixed width for consistency with dnd-card */ border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 8px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4); color: #e8e0b0; line-height: 1.6; position: relative; z-index: 1; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; } .dnd-author-card::before, .dnd-author-card::after { content: ''; position: absolute; left: 0; right: 0; height: 30px; /* Adjusted height for author card */ background-image: url('../../public/images/stories/border.jpg'); background-size: cover; background-position: center; opacity: 0.3; z-index: 0; } .dnd-author-card::before { top: 0px; } .dnd-author-card::after { bottom: 0px; } .dnd-author-image { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; border: 2px solid #cd7f32; /* Bronze border */ margin-bottom: 0.5rem; } .dnd-author-name { font-family: 'Grenze Gotisch', cursive; font-size: 1.8rem; color: #ff9d7e; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); -webkit-text-stroke: 1px #000; font-weight: 600; margin-bottom: 0.5rem; } .dnd-author-alias { font-size: 1.1rem; color: #e8e0b0; text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8); margin-bottom: 0.5rem; } .dnd-author-website a { color: #fa8072; /* Salmon Red */ text-decoration: none; font-size: 1.1rem; text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8); } .dnd-author-website a:hover { color: #ff8c00; /* DarkOrange */ text-decoration: underline; } .dnd-author-books { margin-top: 1rem; text-align: left; width: 100%; } .dnd-author-books h4 { color: #fffacd; font-size: 1.3rem; margin-bottom: 0.5rem; text-shadow: 1px 1px 3px rgba(0, 0, 0, 1); text-align: center; } .dnd-author-books-separator { border: none; height: 2px; background-color: #cd7f32; /* Bronze color, similar to card border */ margin: 0.5rem auto 1rem auto; width: 80%; } .dnd-author-books ul { list-style: none; padding: 0; margin: 0 auto; /* Center the list */ width: 80%; /* Match the width of the hr */ } .dnd-author-books li { font-size: 1rem; margin-bottom: 0.3rem; text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8); } .dnd-author-books li a { color: #fa8072; /* Salmon Red */ text-decoration: none; } .dnd-author-books li a:hover { color: #ffb03a; text-decoration: underline; } .dnd-content-box h2 { color: #fffacd; margin-bottom: 1.5rem; font-size: 1.8rem; text-shadow: 2px 2px 4px rgba(0, 0, 0, 1); text-decoration: underline; } .dnd-content-box h3 { color: #d4c08c; /* Darker, muted gold/yellow */ margin-bottom: 1.2rem; font-size: 1.6rem; /* Slightly smaller than h2 */ text-shadow: 1px 1px 3px rgba(0, 0, 0, 1); /* No text-decoration to differentiate from h2 */ } /* I will add more styles for the navbar and other components later */ .dnd-navbar { background-color: rgba(42, 10, 10, 0.6); /* Dark red with 60% opacity */ backdrop-filter: blur(10px); border-bottom: 2px solid #ff4500; /* Fiery orange */ padding: 1.5rem 2rem; display: flex; justify-content: space-between; align-items: center; font-family: 'MedievalSharp', cursive; position: fixed; top: 0; width: 100%; z-index: 10; } .dnd-navbar::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 20px; /* Adjust height as needed for the border */ background-size: auto 100%; background-repeat: repeat-x; background-position: center; z-index: 11; /* Ensure it's above the navbar content if needed */ } .dnd-navbar-left, .dnd-navbar-right { flex: 1; display: flex; align-items: center; } .dnd-navbar-right { justify-content: flex-end; } .dnd-navbar-center { text-align: center; } .dnd-navbar-title { color: #ffa500; /* Orange */ font-size: 1.5rem; } .dnd-navbar-link { color: #ffa500; /* Orange */ text-decoration: none; margin: 0 1.5rem; font-size: 1.2rem; transition: color 0.3s ease; } .dnd-navbar-link:hover { color: #ff8c00; /* DarkOrange */ } .dnd-breadcrumbs { display: flex; align-items: center; font-size: 1.2rem; } .dnd-breadcrumb-separator { margin: 0 0.5rem; color: #fbcfcf; } .dnd-breadcrumb-link { color: #ffa500; text-decoration: none; transition: color 0.3s ease; } .dnd-breadcrumb-link:hover { color: #ff8c00; } .dnd-breadcrumb-current { color: #f9ad50; font-weight: bold; } .dnd-logo { font-family: 'UnifrakturCook', cursive; font-size: 2.5rem; color: #ff4500; text-shadow: 1px 1px 2px #000; } .dnd-logo-amp { font-size: 2rem; margin: 0 0.2rem; } .dnd-footer { background-color: rgba(42, 10, 10, 0.6); /* Dark red with 60% opacity */ backdrop-filter: blur(10px); border-top: 2px solid #ff4500; /* Fiery orange */ padding: 2rem 2rem; display: flex; justify-content: space-around; align-items: flex-start; font-family: 'MedievalSharp', cursive; color: #ffa500; /* Orange */ position: relative; z-index: 10; min-height: 200px; /* Make footer larger */ } .dnd-footer p { color: #ffa500; /* Match navbar font color */ } .dnd-footer-logo-section { flex: 1; display: flex; justify-content: center; align-items: center; } .dnd-footer-column { flex: 1; padding: 0 1rem; text-align: left; } .dnd-footer-column h3 { color: #f9ad50; font-size: 1.5rem; margin-bottom: 1rem; text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7); } .dnd-footer-column p { font-size: 0.9rem; color: #e0e0e0; margin-bottom: 0.5rem; } .dnd-footer .dnd-logo { font-size: 5rem; /* Adjust size for footer */ color: #fffacd; text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9); -webkit-text-stroke: 2px #000; } .dnd-footer-copyright { font-size: 0.8rem; color: #e0e0e0; margin-top: 0.5rem; } .dnd-episode-nav-button { color: #e09500; text-decoration: none; font-size: 1.3rem; text-shadow: 2px 2px 4px rgba(0, 0, 0, 1); border: 1px solid #e09500; padding: 0.5rem 1rem; border-radius: 5px; background-color: rgba(90, 54, 0, 0.8); display: inline-block; /* To apply padding and border correctly */ white-space: nowrap; /* Prevent text wrapping */ } .dnd-episode-nav-button:hover { background-color: rgba(150, 90, 0, 0.7); /* Darker on hover */ color: #ffb03a; /* Lighter text on hover */ } .dnd-list-item-link { color: #e09500; text-decoration: none; font-size: 1.5rem; text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8); } .dnd-list-item-link:hover { color: #ffb03a; }