Neue Version

This commit is contained in:
Martin Rattensberger
2024-10-21 21:12:59 +02:00
parent 4ce92b168d
commit 21f1ae71bc

View File

@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>AI Consulting</title>
<title>MR AI Consulting</title>
<style>
body {
font-family: Arial, sans-serif;
@@ -46,6 +46,96 @@
a:hover {
text-decoration: underline;
}
/* Responsive layout */
@media (max-width: 768px) {
.hero h1 {
font-size: 2em;
}
.content {
padding: 10px;
}
.hero {
height: 300px;
}
}
/* Modern animations */
.hero {
background-image: url('hero-bild01.png');
background-size: cover;
background-position: center;
height: 400px;
display: flex;
justify-content: center;
align-items: center;
color: white;
opacity: 0;
animation: fadeIn 2s forwards;
}
@keyframes fadeIn {
to {
opacity: 1;
}
}
header, footer {
position: relative;
z-index: 10;
animation: slideDown 1.5s ease-out forwards;
}
@keyframes slideDown {
from {
transform: translateY(-100%);
}
to {
transform: translateY(0);
}
}
.hero-text {
background-color: rgba(0, 0, 0, 0.6);
padding: 20px;
border-radius: 5px;
max-width: 600px;
text-align: center;
animation: float 3s infinite ease-in-out;
}
@keyframes float {
0%, 100% {
transform: translatey(0);
}
50% {
transform: translatey(-10px);
}
}
a {
color: #00f;
text-decoration: none;
transition: color 0.3s;
}
a:hover {
text-decoration: underline;
color: #f00;
}
.hero-text {
background-color: rgba(0, 0, 0, 0.6);
padding: 20px;
border-radius: 5px;
max-width: 600px;
text-align: center;
}
.hero-text h1 {
font-size: 2.5em;
margin-bottom: 10px;
}
.hero-text p {
font-size: 1.3em;
}
</style>
</head>
<body>
@@ -55,7 +145,7 @@
</header>
<div class="hero">
<h1>Willkommen bei MR AI Consulting</h1>
<h1>Entdecken Sie die Zukunft mit MR AI Consulting</h1>
</div>
<div class="content">