<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Venom - Baldur's Gate 3 Introduction</title>
<style>
/* Reset and base styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Arial', sans-serif;
color: #ffffff;
background: #000000;
overflow-x: hidden;
}
/* Hero section */
.hero {
position: relative;
width: 100%;
height: 100vh;
background: url('https://your-image-url.jpg') no-repeat center center/cover;
}
.hero::after {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(to bottom, rgba(0,0,0,0.7), rgba(0,0,0,0.7));
}
.hero-content {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
text-align: center;
padding: 0 20px;
}
.hero h1 {
font-size: 4rem;
letter-spacing: 2px;
text-transform: uppercase;
margin-bottom: 20px;
}
.hero p {
font-size: 1.2rem;
line-height: 1.5;
max-width: 600px;
margin: 0 auto 30px;
}
.hero a {
display: inline-block;
padding: 15px 30px;
background: #e50914;
color: #ffffff;
text-transform: uppercase;
letter-spacing: 1px;
text-decoration: none;
border-radius: 30px;
transition: background 0.3s;
}
.hero a:hover {
background: #b00610;
}
/* About section */
.about {
padding: 80px 20px;
background: #111111;
text-align: center;
}
.about h2 {
font-size: 2.5rem;
margin-bottom: 40px;
text-transform: uppercase;
letter-spacing: 1px;
}
.about p {
font-size: 1rem;
line-height: 1.6;
max-width: 800px;
margin: 0 auto 20px;
color: #cccccc;
}
/* Responsive styles */
@media (max-width: 768px) {
.hero h1 {
font-size: 2.5rem;
}
.hero p {
font-size: 1rem;
}
.about h2 {
font-size: 2rem;
}
}
</style>
</head>
<body>
<!-- Hero Section -->
<section class="hero">
<div class="hero-content">
<h1>Venom</h1>
<p>Unleash the symbiote within and embark on a dark journey through Baldur's Gate 3. Embrace the power, the chaos, and the untold possibilities that Venom brings to the Forgotten Realms.</p>
<a href="#">Learn More</a>
</div>
</section>
<!-- About Section -->
<section class="about">
<h2>About Venom</h2>
<p>Venom is a complex being, a fusion of human and symbiote that offers unparalleled strength and abilities. In Baldur's Gate 3, this character introduces new dynamics to gameplay, challenging players to harness the duality of their nature.</p>
<p>Navigate the moral ambiguities and make choices that will shape the fate of the realms. Will you control the darkness, or will it control you?</p>
</section>
</body>
</html>
Instructions:
- Replace
'https://your-image-url.jpg' in the CSS background URL with the path or URL of the image you want to use for the hero section background. This image should represent Venom in the context of Baldur's Gate 3.
- All styling is included within the
<style> tags in the <head> section, keeping everything in one file as requested.
- The design features a hero section with a background image, a title, a brief introduction, and a call-to-action button.
- The about section provides additional information and maintains the sleek, dark aesthetic.
- The layout is responsive and adjusts for smaller screens like tablets and mobile devices.
Features of the Design:
- Sleek and Smooth: The use of dark backgrounds with contrasting text creates a modern and immersive look. The color scheme aligns with the mysterious and powerful nature of Venom.
- Typography: Uppercase letters and letter-spacing enhance the impactful presence of headings. The font sizes are adjusted for hierarchy and readability.
- Buttons and Links: The call-to-action button has a hover effect that subtly changes its background color, inviting interaction.
- Responsive Design: Media queries ensure that the content looks good on various screen sizes.
- Simplicity: The code is organized and commented for clarity, making it easy to modify and expand as needed.
Tips for Customization:
- Fonts: You can incorporate custom fonts by linking to Google Fonts or another service. For example, to use a specific font, add the link in the
<head> and update the font-family in the CSS.
- Additional Sections: Feel free to add more sections such as a gallery, features list, or a contact form, following the established styling patterns.
- Animations: For added smoothness, consider using CSS transitions or animations on elements as desired.
Enjoy creating your Venom Baldur's Gate 3 introduction page!