Projekt_FH/styles.css

63 lines
1.1 KiB
CSS

body {
margin: 0;
padding: 0;
background: url("back_image.png") no-repeat center center fixed;
background-size: cover;
font-family: 'Georgia', serif;
color: #f5deb3;
}
.container {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background: rgba(50, 30, 10, 0.8);
padding: 30px;
border-radius: 15px;
box-shadow: 0 0 15px rgba(0,0,0,0.7);
text-align: center;
width: 90%;
max-width: 500px;
}
h1 {
font-size: 1.8em;
margin-bottom: 20px;
color: #ffd700;
text-shadow: 1px 1px 2px #000;
}
input[type="text"] {
width: 80%;
padding: 10px;
border: 2px solid #c2b280;
border-radius: 8px;
background-color: #fff8dc;
font-size: 1em;
margin-bottom: 15px;
}
button {
padding: 10px 20px;
font-size: 1em;
font-weight: bold;
border: none;
border-radius: 8px;
background-color: #8b4513;
color: #fffacd;
cursor: pointer;
transition: background-color 0.3s ease;
}
button:hover {
background-color: #a0522d;
}
#outputArea {
margin-top: 20px;
font-size: 1.1em;
min-height: 30px;
color: #fffacd;
}