<!--nützt das was?-->
<!DOCTYPE html>
<html>
<head>
<link rel="Stylesheet" type="text/css" href="css/navi.css"/>
</head>
<style>
@import url('https://fonts.googleapis.com/css2?family=Philosopher:ital,wght@1,700&display=swap');
*{
margin: 0;
padding: 0;
font-family: 'Philosopher', sans-serif;
}
.fixed {
position: fixed;
top: 0;
height: 70px;
z-index: 1;
}
a {
text-decoration: none;
}
nav {
position: absolute;
bottom: 0;
width: 100%;
height: 70px;
background-color: rgba(250, 250, 250, 0.3);
text-align: center;
text-shadow: 2px 2px 1px #000000;
letter-spacing: 1px;
font-weight: bold;
-webkit-box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.9);
box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.9);
}
nav li {
display: inline-block;
padding: 24px 10px;
}
nav li a {
color: rgba(213, 85, 39);
text-transform: uppercase;
font-size: 26px;
}
section {
height: 100vh;
}
#one {
background-image: url(../img/start.jpg);
background-repeat: no-repeat;
background-position: center;
background-attachment: fixed;
background-size: cover;
}
h1 {
color: rgb(213, 85, 39);
background-color: rgba(250, 250, 250, 0.3);
padding-top: 30px;
padding-bottom: 30px;
border-style: 1px solid transparent;
border-radius: 30px;
text-align: center;
position: absolute;
top:50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 50px;
font-weight: bold;
text-shadow: 2px 2px 1px #000000;
letter-spacing: 2px;
box-shadow: inset 10px 10px 10px rgba(255, 255, 255, 0.65),
inset -10px -10px 10px rgba(0, 0, 0, 0.65),
10px 10px 20px rgba(0, 0, 0, 0.35);
}
#two {
z-index: 1;
background-color: rgba (250, 250, 250, 0.3);
}
h2 {
text-align: center;
color: rgb(121, 247, 255);
text-shadow: 2px 2px 1px #000000;
letter-spacing: 2px;
font-size: 50px;
}
.gallery {
z-index: 3;
width: 200px;
height: 200px;
-moz-border-radius: 50%;
-webkit-border-radius: 50%;
border-radius: 50%;
background-image: url(..//img/gallery.jpg);
position: relative;;
top:50%;
left: 50%;
transform: translate(-50%, -50%);
-webkit-box-shadow: inset 5px 5px 10px 5px rgba(255,255,255,0.8),
4px 4px 10px 4px rgba(0,0,0,0.7);
box-shadow: inset 5px 5px 10px 5px rgba(255,255,255,0.8),
5px 5px 10px 5px rgba(0,0,0,0.5);
}
.gallery:hover {
background-image: url(../img/gallery_hover.jpg);
}
#three {
background-color: coral;
height: 30vh;
}
@media only screen and (max-width: 520px) {
h1 {
font-size:30px;
}
nav {
text-shadow: none;
}
nav li {
padding: 24px 4px;
}
nav li a {
font-size: 16px;
}
}
</style>
<body>
<section id="one">
<h1>
LEBEN WIRD NICHT GEMESSEN AN DEN ATEMZÜGEN, <br>
DIE WIR NEHMEN, <br>
SONDERN AN DEN MOMENTEN, <br>
DIE UNS DEN ATEM NEHMEN. <br>
</h1>
<nav>
<ul>
<li><a href="#">HOME</a></li>
<li><a href="#">WANDERN</a></li>
<li><a href="#">PILGERN</a></li>
<li><a href="#">CHEMNITZ</a></li>
<li><a href="#">KONTAKT</a></li>
<li><a href="#">IMBRESSUM</a></li>
</ul>
</nav>
</section>
<section id="two">
<!--<h2>DAS BIN ICH</h2>
<div class="gallery"></div>-->
</section>
<!--<section id="three">
</section>-->
</body>
</html>
Alles anzeigen